попробовал это тоже.
сейчас я пытаюсь с этим кодом, в первый раз он прокручивается вниз к элементу, а во второй раз ошибка с элементом невосстановима
WebElement attendeelist = dr.findElement (By.id ("idView2 - freemantable-tblBody")); java .util.List row =tendeelist.findElements (By.tagName ("tr"));
for(int j=10;j<row.size();j++) {
for(int k=1;k<4;k++) {
if (j>=8)
{
dr.manage().timeouts().implicitlyWait(15,TimeUnit.SECONDS);
WebElement Element = dr.findElement(By.id("__button"+k+"-idView2--freemantable-"+j+"-content"));
js.executeScript("arguments[0].scrollIntoView();", Element);
dr.findElement(By.id("__button"+k+"-idView2--freemantable-"+j+"-content")).click();
dr.manage().timeouts().implicitlyWait(15,TimeUnit.SECONDS);
dr.findElement(By.id("__button4-img")).click();
}
}
}
}
dr.findElement(By.id("idView2--combobox1-arrow")).click();