Jump to content
UBot Underground

[Resolved]Help me find the first occurrence!


Recommended Posts

Hi,I Have a page I navigate to where I need to click the first "to the application" link as this page dont use any class or id whatsoever. Im having a hard time figuring this out:Here is the html:http://pastebin.com/bf5Tep0mCan anybody help me?Thanks!

Link to post
Share on other sites

try this

clear list(%urls)
navigate("http://pastebin.com/bf5Tep0m", "Wait")
add list to list(%urls, $scrape attribute(<outerhtml=w"<span class=\"st0\">\"http://ui.zanox.com/bin/z_in_frm.dll?*\"</span>">, "innertext"), "Delete", "Global")

Link to post
Share on other sites

Thanks for the replies!

 

I just tried the suggestion Kreatus offered and it works fine. I have also found this regex that helped as well:

 

 

 

click($element offset(<a innertext=r"\\b(?:to\\W+(?:\\w+\\W+)\{1,6\}?|to)\\b">, 1), "Left Click", "No")

 

Thanks

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...