Answers for "a link on click"

1

html button click url

# Wrap whole button in a 'a' tag.
 <a href="https://google.com" class="button"><button class="pixel">Button text</button></a>
Posted by: Guest on October-25-2020
0

clicking on hyperlink

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

driver.findElement(By.linkText(“Software Testing Material Website”)).click();
Posted by: Guest on December-05-2020

Browse Popular Code Answers by Language