I have been using Selenium 2 along with Robot Framework in order to automate our application. Despite implementing the JavaScript code below to scroll down the page, I am encountering difficulty in successfully scrolling..
My intention is to input text into a textbox after scrolling, however, I keep receiving the error message:
Element not visible
The textbox is only partially visible on the screen by default, and becomes completely visible upon manual scrolling. Unfortunately, Selenium robot framework seems unable to execute this action.
I have attempted the following solutions:
Execute JavaScript window.scrollTo(0,200)
Execute JavaScript window.scrollBy(0,200)
Execute JavaScript window.scrollTo(0, document.body.scrollHeight)
How can this issue be resolved?