private boolean waitForLoad(RemoteWebDriver driver) {
JavascriptExecutor je = (driver);
return je.executeScript("return document.readyState").equals("complete");
} // end of method waitForLoad
List<WebElement> anchors = driver.findElements(By.ByTagName.tagName( "a" ));
--
You received this message because you are subscribed to the Google Groups "webdriver" group.
To unsubscribe from this group and stop receiving emails from it, send an email to webdriver+...@googlegroups.com.
To post to this group, send email to webd...@googlegroups.com.
Visit this group at http://groups.google.com/group/webdriver.
For more options, visit https://groups.google.com/d/optout.
foreach WebElement in a List of WebElement {
get the hrefdo some stuff
}
foreach WebElement in a List of WebElement {
copy the href to a List of String
}