Class By
java.lang.Object
org.openqa.selenium.By
net.serenitybdd.core.annotations.findby.By
- Direct Known Subclasses:
By
,By.ByButtonTextSelector
,By.ByjQuerySelector
,By.ByScLocator
,ByExpandedShadowDom
,ByShadowDom
public abstract class By
extends org.openqa.selenium.By
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
static class
static class
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
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.openqa.selenium.By
className, cssSelector, equals, findElement, findElements, hashCode, id, linkText, name, partialLinkText, tagName, toString, xpath
-
Constructor Details
-
By
public By()
-
-
Method Details
-
sclocator
- Parameters:
scLocator
- The scLocator to use- Returns:
- a By which locates elements via AutoTest
-
jquery
- Parameters:
jQuerySelector
- The jquery to use- Returns:
- a By selector object which locates elements via jQuery
-
buttonText
-