Package com.shaft.gui.internal.locator
Class LocatorBuilder
java.lang.Object
com.shaft.gui.internal.locator.LocatorBuilder
-
Method Summary
Modifier and TypeMethodDescriptionand()
Syntactic SugaraxisBy()
org.openqa.selenium.By
build()
containsAttribute
(String attribute, String value) containsClass
(String className) containsId
(String id) containsText
(String text) hasAttribute
(String attribute) hasAttribute
(String attribute, String value) hasIndex
(int index) static LocatorBuilder
hasTagName
(String tagName) insideShadowDom
(org.openqa.selenium.By shadowDomLocator) isFirst()
isLast()
org.openqa.selenium.support.locators.RelativeLocator.RelativeBy
-
Method Details
-
hasTagName
-
hasAttribute
-
hasAttribute
-
containsAttribute
-
hasId
-
containsId
-
hasClass
-
containsClass
-
hasText
-
containsText
-
hasIndex
-
isFirst
-
isLast
-
and
Syntactic Sugar- Returns:
- self reference to continue building the locator
-
relativeBy
public org.openqa.selenium.support.locators.RelativeLocator.RelativeBy relativeBy() -
axisBy
-
build
public org.openqa.selenium.By build() -
insideShadowDom
-