Can we use Selenium RC to move the browser’s scroll bar up or down?
Thanks.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
whatever you can do with Javascript could be done with Selenium RC 1.X.
The reason being, it provides a bridge between Client Driver/Program environment and the Browser Javascript Engine context.
consider Java and Selenium RC 1.x environment.
selenium.getEval(“window.scrollTo(0,0)”);
that simple.
If you actually want to take control of Scroll Bar, i don’t know now. This is, you are working on document through Window and it indirectly moves the Scroll bar.
hope i have resolved