@Test
public void DisplayAllLinksNames()
public void DisplayAllLinksNames()
{
driver.get("http://seleniumsubbu.blogspot.in//");
List<WebElement> alllinks= driver.findElements(By.tagName("a"));
for(WebElement link:alllinks)
System.out.println(link.getText());
}
driver.get("http://seleniumsubbu.blogspot.in//");
List<WebElement> alllinks= driver.findElements(By.tagName("a"));
for(WebElement link:alllinks)
System.out.println(link.getText());
}