1 Answer

0 votes
by
We use click() method in Selenium to click on the hyperlink

driver.findElement(By.linkText(“Software Testing Material Website”)).click();

1

driver.findElement(By.linkText(“Software Testing Material Website”)).click();
...