Jump to content
UBot Underground

How do you click $next list item ??????


Recommended Posts

As weird as it seems, i never had to do this ?

 

I thought that

 

CLICK

  $NEXT LIST ITEM

      %scraped buttons

 

would work but it doesn't ?

 

I scraped a bunch of cancel buttons on a page (got all the ids ex: 34543,48756,49854)

I can't navigate to them by the way.

 

How do you guys do this ?

Thanks

Link to post
Share on other sites

Damn i thought i had it with this one but it didn't work. So i guess i ain't using the right scraping or something.

 

Here is what i think i have to scrape

<button class="button button-gray delete" type="button" id="363059" title="Cancel">Cancel</button>
<button class="button button-gray delete" type="button" id="235765" title="Cancel">Cancel</button>
<button class="button button-gray delete" type="button" id="111285" title="Cancel">Cancel</button>

etc...

UB Code used

add list to list(%deleteprofiles, $scrape attribute(<outerhtml=w"<button class=\"button button-gray delete\" type=\"button\" id=\"*\" title=\"Cancel\">Cancel</button>">, "id"), "Delete", "Global")
click($element from text($next list item(%deleteprofiles)), "Left Click", "No")

Any ideas

Thanks mate !

Link to post
Share on other sites

Well, you also have to tell UBot that you have IDs in list, so that UBot knows that it's clicking element with ID from list....

 

This should work:

click($element from text("<id=\"{$next list item(%deleteprofiles)}\">"), "Left Click", "No")

  • Like 1
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...