samrob 0 Posted July 15, 2010 Report Share Posted July 15, 2010 I need to run a loop when there is a "next" link on the page. How can I do this? Quote Link to post Share on other sites
alcr 135 Posted July 15, 2010 Report Share Posted July 15, 2010 Use a 'while' or subs run sub 1 sub 1If choose by attribute 'next' then run sub 1 Just make sure that the website eventually runs out of 'next' buttons, or else you'll hit a stackoverflow! Quote Link to post Share on other sites
JohnB 255 Posted July 15, 2010 Report Share Posted July 15, 2010 Here is a bot that shows exactly how to do that. 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.