Scrolling page down and capture all results | Selenium Forum
M
Posted on 19/12/2015
Link:

https://uk.webuy.com/search/index.php?stext=*&section=&catid=956


we need to scroll down the page to see more results. after we scroll ajax is called and more results are shown on page .

I accomplished this task using ((JavascriptExecutor) driver).executeScript("scroll(0,11250);");
Thread.sleep(8000);


But my question is - when you open this link on scrolling at bottom we see Show more records link. on clicking this , we get more results . again we need to scroll and click on show more records link.



How can I capture all games name ( available in this link) this using selenium code?
Please let me know the code.

M
Replied on 20/12/2015

watch module 17.

TRAINING VIDEO - 17