public abstract class By
extends org.openqa.selenium.By
Modifier and Type | Class and Description |
---|---|
static class |
By.ByButtonTextSelector |
static class |
By.ByjQuerySelector |
static class |
By.ByScLocator |
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 and Description |
---|
By() |
Modifier and Type | Method and Description |
---|---|
static By |
buttonText(java.lang.String text) |
static By |
jquery(java.lang.String jQuerySelector) |
static By |
sclocator(java.lang.String scLocator) |
public static By sclocator(java.lang.String scLocator)
scLocator
- The scLocator to usepublic static By jquery(java.lang.String jQuerySelector)
jQuerySelector
- The jquery to usepublic static By buttonText(java.lang.String text)