@ParametersAreNonnullByDefault
public class WebElementSelector
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
static WebElementSelector |
instance |
protected java.lang.String |
sizzleSource |
| Constructor and Description |
|---|
WebElementSelector() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
checkThatXPathNotStartingFromSlash(org.openqa.selenium.SearchContext context,
org.openqa.selenium.By selector) |
protected java.util.List<org.openqa.selenium.WebElement> |
evaluateSizzleSelector(Driver driver,
org.openqa.selenium.SearchContext context,
org.openqa.selenium.By.ByCssSelector sizzleCssSelector) |
org.openqa.selenium.WebElement |
findElement(Driver driver,
org.openqa.selenium.SearchContext context,
org.openqa.selenium.By selector) |
java.util.List<org.openqa.selenium.WebElement> |
findElements(Driver driver,
org.openqa.selenium.SearchContext context,
org.openqa.selenium.By selector) |
protected void |
injectSizzle(Driver driver) |
protected void |
injectSizzleIfNeeded(Driver driver) |
protected java.lang.Boolean |
sizzleLoaded(Driver driver) |
public static WebElementSelector instance
protected java.lang.String sizzleSource
@CheckReturnValue @Nonnull public org.openqa.selenium.WebElement findElement(Driver driver, org.openqa.selenium.SearchContext context, org.openqa.selenium.By selector)
@CheckReturnValue @Nonnull public java.util.List<org.openqa.selenium.WebElement> findElements(Driver driver, org.openqa.selenium.SearchContext context, org.openqa.selenium.By selector)
protected void checkThatXPathNotStartingFromSlash(org.openqa.selenium.SearchContext context,
org.openqa.selenium.By selector)
@CheckReturnValue @Nonnull protected java.util.List<org.openqa.selenium.WebElement> evaluateSizzleSelector(Driver driver, org.openqa.selenium.SearchContext context, org.openqa.selenium.By.ByCssSelector sizzleCssSelector)
protected void injectSizzleIfNeeded(Driver driver)
protected java.lang.Boolean sizzleLoaded(Driver driver)
protected void injectSizzle(Driver driver)