Package io.jmix.masquerade
Class JSelectors.ByDisplayedText
java.lang.Object
org.openqa.selenium.By
org.openqa.selenium.By.ByXPath
io.jmix.masquerade.JSelectors.ByDisplayedText
- All Implemented Interfaces:
org.openqa.selenium.By.Remotable
- Enclosing class:
- JSelectors
public static class JSelectors.ByDisplayedText
extends org.openqa.selenium.By.ByXPath
The
By selector, which find a web-element by its displayed text.-
Nested Class Summary
Nested classes/interfaces inherited from class org.openqa.selenium.By
org.openqa.selenium.By.ByClassName, org.openqa.selenium.By.ByCssSelector, org.openqa.selenium.By.ById, org.openqa.selenium.By.ByLinkText, org.openqa.selenium.By.ByName, org.openqa.selenium.By.ByPartialLinkText, org.openqa.selenium.By.ByTagName, org.openqa.selenium.By.ByXPath, org.openqa.selenium.By.RemotableNested classes/interfaces inherited from interface org.openqa.selenium.By.Remotable
org.openqa.selenium.By.Remotable.Parameters -
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionByDisplayedText(String displayedText) ByDisplayedText(String displayedText, int elementPosition) ByDisplayedText(String displayedText, String tagName) ByDisplayedText(String displayedText, String tagName, int elementPosition) protectedByDisplayedText(String displayedText, String tagName, String elementPosition) -
Method Summary
Modifier and TypeMethodDescriptionorg.openqa.selenium.WebElementfindElement(org.openqa.selenium.SearchContext arg0) List<org.openqa.selenium.WebElement>findElements(org.openqa.selenium.SearchContext arg0) final org.openqa.selenium.By.Remotable.ParameterstoJson()toString()Methods inherited from class org.openqa.selenium.By
className, cssSelector, equals, getJavascriptExecutor, getWebDriver, hashCode, id, linkText, name, partialLinkText, tagName, xpath
-
Field Details
-
displayedText
-
tagName
-
elementPosition
-
-
Constructor Details
-
ByDisplayedText
-
ByDisplayedText
-
ByDisplayedText
-
ByDisplayedText
-
ByDisplayedText
-
-
Method Details
-
toString
- Overrides:
toStringin classorg.openqa.selenium.By.ByXPath
-
findElement
public org.openqa.selenium.WebElement findElement(org.openqa.selenium.SearchContext arg0) - Overrides:
findElementin classorg.openqa.selenium.By
-
findElements
- Specified by:
findElementsin classorg.openqa.selenium.By
-
getRemoteParameters
public final org.openqa.selenium.By.Remotable.Parameters getRemoteParameters()- Specified by:
getRemoteParametersin interfaceorg.openqa.selenium.By.Remotable
-
toJson
-