Brutal 164 Posted June 19, 2013 Report Share Posted June 19, 2013 Hi guys, Is there a way to just randomly click a link on any given page... Like a search engine results page? If you know how - Please take a moment to detail it for me. (very appreciated). Clarification: I need it to actually click on a random link on the page rather than scrape a list of urls and navigate to one randomly. - I actually need the click. I figured it out.... here it is in case anyone else ever needs it... set(#randomlink, $scrape attribute(<outerhtml=w"<a href=\"*\" h=\"ID=SERP,*.1\">*</a>">, "innertext"), "Global") add list to list(%randomlist, $list from text(#randomlink, $new line), "Delete", "Global") set(#randomlink, $nothing, "Global") set list position(%randomlist, 0) set(#randomlink, $random list item(%randomlist), "Global") click(<innertext=#randomlink>, "Left Click", "No") 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.