Class By.ByScLocator
java.lang.Object
org.openqa.selenium.By
net.serenitybdd.core.annotations.findby.By
net.serenitybdd.core.annotations.findby.By.ByScLocator
- Enclosing class:
- By
public static class By.ByScLocator extends By
-
Nested Class Summary
Nested classes/interfaces inherited from class net.serenitybdd.core.annotations.findby.By
By.ByButtonTextSelector, By.ByjQuerySelector, By.ByScLocatorNested 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 -
Constructor Summary
Constructors Constructor Description ByScLocator(java.lang.String scLocator) -
Method Summary
Modifier and Type Method Description org.openqa.selenium.WebElementfindElement(org.openqa.selenium.SearchContext context)java.util.List<org.openqa.selenium.WebElement>findElements(org.openqa.selenium.SearchContext context)java.lang.StringtoString()Methods inherited from class net.serenitybdd.core.annotations.findby.By
buttonText, jquery, sclocatorMethods inherited from class org.openqa.selenium.By
className, cssSelector, equals, hashCode, id, linkText, name, partialLinkText, tagName, xpathMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Constructor Details
-
ByScLocator
public ByScLocator(java.lang.String scLocator)
-
-
Method Details
-
findElements
public java.util.List<org.openqa.selenium.WebElement> findElements(org.openqa.selenium.SearchContext context)- Specified by:
findElementsin classorg.openqa.selenium.By
-
findElement
public org.openqa.selenium.WebElement findElement(org.openqa.selenium.SearchContext context)- Overrides:
findElementin classorg.openqa.selenium.By
-
toString
public java.lang.String toString()- Overrides:
toStringin classorg.openqa.selenium.By
-