webpro 31 Posted November 17, 2013 Report Share Posted November 17, 2013 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 Quote Link to post Share on other sites
UBotDev 276 Posted November 17, 2013 Report Share Posted November 17, 2013 Put "$next list item" into "$element from text" and it should work if you have selected element properly. Quote Link to post Share on other sites
webpro 31 Posted November 17, 2013 Author Report Share Posted November 17, 2013 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 ideasThanks mate ! Quote Link to post Share on other sites
UBotDev 276 Posted November 17, 2013 Report Share Posted November 17, 2013 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") 1 Quote Link to post Share on other sites
webpro 31 Posted November 17, 2013 Author Report Share Posted November 17, 2013 Ahhhhh thanks !Really appreciated ! Quote Link to post Share on other sites
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.