i have the follow problem:
I'm working with a table, and this table shows information. this information is clickable in any place of the row (can be clickable in the first td, or the second td, etc). The thing is when i try to locate the path, i receive the follow error:
Unable to find element with xpath == //*[@id='id9e']/td[2]/div
the html code is:
<table class="table table-bordered table-striped dataview" id="id102">
<tbody>
<tr id="id9e">
<td>
<div>300374 </div>
</td>
<td>
<div>0300374034</div>
</td>
Java Code is:
Actions dclick = new Actions(driver);
WebElement element = driver.findElement(By.xpath("//*[@id='id9e']/td[2]/div"));
dclick.doubleClick(element).perform();
Im trying to click the second td. I get the xpath directly from the DOM
could you Help me with this?
Thanks guys