18 January 2026:


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.

Scrolling the web page in Mozilla FireFox

swaroopswaroop Members
edited November -1 in Sahi - Open Source
Please let me know, How i can script for the scroll bar so that the scroll bar should come down to the end of scroll bar then click on a button. or else the script will not work for my application.
Pls help.

OS Windows 7
Browser Mozilla 4
Build : 2011-07-19 (change log)

Comments

  • Try _focus an element on the bottom, maybe the viewport is changing then.

    Regards
    Wormi
  • TheeranTheeran Members
    Hi swaroop,

    Try with,
    _eval("window.scrollTo(0, document.body.scrollHeight)");
    

    This might help you.

    Thanks,
    Theeran.
Sign In or Register to comment.