Skip to content

Commit

Permalink
[java] Fix reference to removed withTagName method in RelativeLocator…
Browse files Browse the repository at this point in the history
… class comment (#9930)
  • Loading branch information
coty committed Oct 15, 2021
1 parent bf7cd04 commit 940d4f8
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -38,7 +38,7 @@
* position on the DOM. Elements are returned ordered by their proximity to
* the last anchor element used for finding them. As an example:
* <pre>
* List<WebElement> elements = driver.findElements(withTagName("p").above(lowest));
* List<WebElement> elements = driver.findElements(with(tagName("p")).above(lowest));
* </pre>
* Would return all {@code p} elements above the {@link WebElement}
* {@code lowest} sorted by the proximity to {@code lowest}.
Expand Down

0 comments on commit 940d4f8

Please sign in to comment.