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.