New answers tagged

1

Julian brought up good points, i.e. make sure your element is unique and does not change. If it is not, then make sure you talk to your developer to add an attribute that is unique and unchanging. You can do driver.findElement(By.cssSelector("li input[class='edit']"));



Top 50 recent answers are included