18 January 2026:
Sahi Pro is an enterprise grade test automation platform which can automate web, mobile, API, windows and java based applications and SAP.
This forum is now archived and is in read-only mode. Please continue discussions on our improved new Sahi Pro Community forum.
Sahi Pro is an enterprise grade test automation platform which can automate web, mobile, API, windows and java based applications and SAP.
How can I access data of a page which gets loaded upon scrolling down the website?
I am working on a website that employs lazy loading i.e. the page content is displayed when user scrolls down the website. I want to access the content of such a page. Is there a way to achieve this?
Answers
_call(window.scrollTo(0,500)); 50o- y co-odrinates for scrolling.
Regards,
Bhavitha
You can either scroll the entire page using javascript (CKBhavita's answer above) and then perform actions on the elements (which should all be loaded).
Or, you can scroll upto a point where you know that the element will have loaded(by checking how much to scroll to load that particular element) and then perform actions on it.
Regards.