I need to test links with Selenium using javascript.
Is it possible to check two or more links at the same time?
For example, something like this:
driver.get(siteURL);
driver.findElement(webdriver.By.linkText("smth")).click(console.log("MessageForFailure")); driver.findElement(webdriver.By.linkText("smth2")).click(console.log("messageForSuccess"));
Aucun commentaire:
Enregistrer un commentaire