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