I am facing this problem on v.59, Selenium 3.11.0. I just click on an , like this:

.findElement(By.id("row_0")).click();

and I get exception:

org.openqa.selenium.ElementNotInteractableException: Element <tr id="row_0" class="row_0 txtSearchColor1"> could not be  into 

I already try with JavascriptExecutor like this:

js.executeScript("arguments[0].scrollIntoView(true);", webDriver.findElement(By.id("row_0")));
js.executeScript("arguments[0].click();", webDriver.findElement(By.id("row_0")));

but nothing works, it does nothing. This is element HTML:

<tr id="row_0" class="row_0 txtSearchColor1">
   <td></td>
   <td></td>
   <td></td>
</tr>

Note that, all the solutions work normally on Chrome (v65) and this element is visible. Does anyone have the same problem and a solution? Thanks

EDIT: HTML code of the elements:
enter image description here



Source link https://sqa.stackexchange.com/questions/32697/webdriver-firefox-element-could-not-be-scrolled-into-view

LEAVE A REPLY

Please enter your comment!
Please enter your name here