utsavat 1 Posted March 25, 2013 Report Share Posted March 25, 2013 (edited) I am making a bot in which i have to search for a word and click on the link associated with that.There is no fix site as the sites are loaded by the user.The Work can be anywhere on the page.It may have a link associated with that or may not Please Provide some hints. Edited March 25, 2013 by utsavat Quote Link to post Share on other sites
merkaba 36 Posted March 25, 2013 Report Share Posted March 25, 2013 Here's an example, wont work in all circumstances. The keyword has a wild card before and after, so it will hit pretty much pretty much everything with the keyword in it. On this one it'll hit the "Login ito Your Account" at the bottom of the page. set(#keyword, "Login", "Global") navigate("http://ubotstudio.com", "Wait") if($search page(#keyword)) { then { click(<innertext=w"*{#keyword}*">, "Left Click", "No") } else { } } Quote Link to post Share on other sites
utsavat 1 Posted March 26, 2013 Author Report Share Posted March 26, 2013 What if the word is repeated more than once in the page and all those words are links ? Which link should it click ?That is what also concerns me 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.