I'm trying to send value "100" in to Position (row: 2, column 3) of Table, here:
https://keisan.casio.com/exec/system/13800848854767
With this code below, could you tell me, what's wrong?
Code:
driver.get("https://keisan.casio.com/exec/system/13800848854767");
List<WebElement> inputTable = driver.findElements(By.xpath("//*[@id='var_a_EXL']//tbody//tr"));
System.out.println(inputTable.size());
List<WebElement> columns;
for (int rows = 0; rows < inputTable.size(); rows++) {
if (rows == 2) {
columns = inputTable.get(rows).findElements(By.tagName("td"));
for (int i = 0; i < columns.size(); i++) {
if (i == 3) {
columns.get(i).clear();
columns.get(i).sendKeys("100");
}
}
}
}
