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 2b27bbf commit 7f6fa4bCopy full SHA for 7f6fa4b
java/test/org/openqa/selenium/support/locators/RelativeLocatorTest.java
@@ -118,7 +118,7 @@ void shouldFindElementsLeftOfAnother() {
118
119
WebElement midpoint = driver.findElement(By.id("center"));
120
121
- List<WebElement> elements = driver.findElements(with(tagName("td")).left(midpoint));
+ List<WebElement> elements = driver.findElements(with(tagName("td")).toLeftOf(midpoint));
122
List<String> ids =
123
elements.stream().map(e -> e.getAttribute("id")).collect(Collectors.toList());
124
0 commit comments