Styrow.dev
Question 43 of 82

How do we click to hyperlink in selenium?

Question

How do we click to hyperlink in selenium?

Answer

We can use click() method to click hyperlink

driver.findElement(By.linkText(""CodeGreen"")).click();


šŸ“² Practice Offline on Mobile: Download the free QA Automation & SDET Prep app on Google Play & App Store.