wizeone17 7 Posted January 16, 2014 Report Share Posted January 16, 2014 Hi Guys, I'm scraping pages and after each page i need to navigate to the next page until there's no more pages.To navigate to next page I click "Next", which works well until I get to the last page where it still says "Next" butit's not clickable. How do I get the bot to stop at the last next when it's no longer a clickable link? Thanks,Wize Quote Link to post Share on other sites
giganut 109 Posted January 16, 2014 Report Share Posted January 16, 2014 I can probably help you but I would need to see the page. Quote Link to post Share on other sites
Gogetta 263 Posted January 16, 2014 Report Share Posted January 16, 2014 Loop while exists and select the Next button but use the outerhtml so that it includes the href or something that's only displayed when the text is a live link. Remember you can always use the * (wildcard) where its needed also. 1 Quote Link to post Share on other sites
wizeone17 7 Posted January 16, 2014 Author Report Share Posted January 16, 2014 I can probably help you but I would need to see the page.This one is still clickable...http://imagizer.imageshack.us/v2/800x600q90/849/kwav.jpg This one isn't clickable...http://imagizer.imageshack.us/v2/800x600q90/844/nah0.jpg Thanks Giganut! Quote Link to post Share on other sites
wizeone17 7 Posted January 16, 2014 Author Report Share Posted January 16, 2014 Loop while exists and select the Next button but use the outerhtml so that it includes the href or something that's only displayed when the text is a live link. Remember you can always use the * (wildcard) where its needed also.Cool Gogetta, Ima give this a shot. Quote Link to post Share on other sites
wizeone17 7 Posted January 16, 2014 Author Report Share Posted January 16, 2014 Loop while exists and select the Next button but use the outerhtml so that it includes the href or something that's only displayed when the text is a live link. Remember you can always use the * (wildcard) where its needed also. Thanks Gogetta, that nailed it!!!! 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.