Jump to content

click link within a frame

Recommended Posts

this is the code I'm trying to use but it cannot find the link

Local $theFrame = _IEGetObjById($oIE,"iframe--Client-Create")
Local $oLinks = _IELinkGetCollection($theFrame)
MsgBox(0, "Link Count", @extended & " links found")
Local $sMyString = "Client Lead Partner"
Local $oLinks = _IELinkGetCollection($theFrame)
For $oLink In $oLinks
    Local $sLinkText = _IEPropertyGet($oLink, "innertext")
    If StringInStr($sLinkText, $sMyString) Then
        _IEAction($oLink, "click")
the html is attached



Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Create New...