c10h12n2o 0 Posted October 5, 2018 Report Share Posted October 5, 2018 hi, i am having trouble getting the external browser to scroll to the bottom of the page for scraping results from infinite scroll pages the javascript that i normally use doesnt seem to be working many thanks for any advice in external browser("Chrome") { navigate("https://hypem.com/sites/tags/hip%20hop","Wait") click(<id="more-blog-scroll">,"Left Click","No") loop(10) { run javascript("window.scrollTo(0,document.body.scrollHeight);") } } Quote Link to post Share on other sites
Eddie 14 Posted October 5, 2018 Report Share Posted October 5, 2018 add wait command to check,for example. wait(2) Quote Link to post Share on other sites
c10h12n2o 0 Posted October 6, 2018 Author Report Share Posted October 6, 2018 in external browser("Chrome") { navigate("https://hypem.com/sites/tags/hip%20hop","Wait") click(<id="more-blog-scroll">,"Left Click","No") loop(10) { run javascript("window.scrollTo(0,document.body.scrollHeight);") wait(2) } } same problem.. after it clicks the first button it never scrolls down again it works fine in the internal browser (though the internal browser seems to be locking up constantly), the javascript scroll function seems to be working fine in internal but it doesnt seem to do anything in the external browser. is there a better way to do this? thanks Quote Link to post Share on other sites
c10h12n2o 0 Posted October 9, 2018 Author Report Share Posted October 9, 2018 any advice would be greatly appreciated... works fine in the internal browser but it is freezing so often i want to try the external. but the scroll script isnt working on the external browsers 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.