< 1 minute readHere is how to click a link by text with Selenium WebDriver in Java using the built in WebDriver helper methods or by XPath: Click link by full text using Selenium WebDriver WebElement linkByText = driver.findElement(By.linkText(“My Link”)); linkByText.click(); [emaillocker] Click link by partial text using Selenium WebDriver WebElement linkByPartialText = driver.findElement(By.partialLinkText(“First”)) linkByPartialText.click(); Click link by… Read more »