TestProject Forum
Powered by leading experts in the test automation community

Scroll to bottom of page with selenium

I want to run some tests on the page footer of my website.

I want to scroll all the way down to the bottom of some pages before I start comparing elements etc.

How can I do this with selenium framework ?

Selenium framework already calls the element into view when interacting with it (via click, actions etc.)

If you are certain that elements exist at the bottom of the page then doing anything to an element will cause the page to scroll.