We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 65dad1e commit 466704dCopy full SHA for 466704d
examples/java/src/test/java/dev/selenium/elements/LocatorsTest.java
@@ -57,7 +57,7 @@ public void findElementByPartialLinkText() {
57
driver.get("https://www.selenium.dev/selenium/web/locators_tests/locators.html");
58
59
// Find element by partial link text
60
- WebElement element = driver.findElement(By.linkText("Official Page"));
+ WebElement element = driver.findElement(By.partialLinkText("Official Page"));
61
}
62
63
public void findElementByTagName() {
0 commit comments