Edge browser doesnot click on the part of webpage which is not being visible[scroll up its visible]

10 views
Skip to first unread message

Raja Rajan

unread,
May 19, 2017, 2:13:29 AM5/19/17
to Geb User Mailing List
In edge browser, if i perform any operation on webelement present in bottom of page,the control passed to the bottom of the page and it is clicked successfully .And if i try to click on button present in top of the page [the one you can see once you scroll up the page],it is not being clicked.

This problem persists in edge browser alone .I tried with following solution of Javascript executor scroll up ,It is not being scrolled up.

int coor= prodButton(0).getY()
JavascriptExecutor jse = (JavascriptExecutor)browser.config.driver;
String jsToExecute=String.format("window.scrollBy(0,%s)",coor)
  jse.executeScript(jsToExecute);

Any solution please to click on the webelement 

Regards,
Rajarajan C 
Reply all
Reply to author
Forward
0 new messages