string a='headsete' List ele=driver.findElements(By.xpath("//*[@id="rct-3YbUK0N"]/ol/li1/span/label/span1")); System.out.println(Integer.toString(ele.size())); for (i=0 i<=a i++) { el.click(); } using this lines unable to fix errors Aim: To select a child checkbox "Add eSeal Product"
Aucun commentaire:
Enregistrer un commentaire