public interface Path
| Modifier and Type | Method and Description |
|---|---|
Path |
after(Path path) |
Path |
afterSibling(Path path) |
Path |
ancestorOf(Path path) |
Path |
and(ElementProperty... prop) |
Path |
before(Path path) |
Path |
beforeSibling(Path path) |
Path |
childOf(Path path) |
Path |
containing(Path path) |
Path |
contains(Path path) |
Path |
descendantOf(Path path) |
Path |
describedBy(String description) |
Optional<String> |
getDescribedBy() |
List<ElementProperty> |
getElementProperties() |
Optional<org.openqa.selenium.WebElement> |
getUnderlyingSource() |
Optional<String> |
getXPath() |
Optional<String> |
getXpathExplanation() |
Path |
inside(Path path) |
Path |
or(Path path) |
Path |
parentOf(Path path) |
Path |
that(ElementProperty... prop) |
Path |
withClass(String cssClass) |
Path |
withClasses(String... cssClasses) |
Path |
withGlobalIndex(Integer index) |
Path |
withText(String txt) |
Path |
withTextContaining(String txt) |
Optional<org.openqa.selenium.WebElement> getUnderlyingSource()
List<ElementProperty> getElementProperties()
Path that(ElementProperty... prop)
Path and(ElementProperty... prop)
Copyright © 2016. All rights reserved.