Aug 22, 2019 in Selenium
Q: How to click on a hyperlink using Selenium WebDriver?

1 Answer

0 votes
Aug 22, 2019
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();
Click here to read more about Selenium
Click here to read more about Insurance

Related questions

+1 vote
Aug 22, 2019 in Selenium
...