Selenium webdriver “Element cannot be scrolled into view”

On June 19, 2014, in Javascript, Testing, by Anuj Gakhar

If you are trying to write a functional test with the Selenium webdriver, you might occasionally run into this error :- [js]Error: Failed to execute clickElement({"ELEMENT":"2"}): Error response status: 3 4. Element cannot be scrolled into view:javascript:void(0) Command duration or timeout: 33 milliseconds[/js] This is happening because the webdriver is trying to scroll the element […]

Tagged with:  
© 2011 Anuj Gakhar