How to test links of any website?
public static void main(String[] args) {WebDriver driver = new FirefoxDriver();
driver.get("https://www.google.co.in/");
List
System.out.println(links.size()); // to check the number of links present at webpage
for (int i = 1; i
System.out.println(links.get(i).getText());
}
}