public class ByShadow
extends org.openqa.selenium.By
implements org.openqa.selenium.By.Remotable
Modifier and Type | Class and Description |
---|---|
static class |
ByShadow.ByShadowBuilder |
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.Remotable
Modifier | Constructor and Description |
---|---|
protected |
ByShadow(org.openqa.selenium.By target,
String shadowHost,
String[] innerShadowHosts) |
Modifier and Type | Method and Description |
---|---|
static ByShadow.ByShadowBuilder |
css(String target) |
static ByShadow |
cssSelector(org.openqa.selenium.By target,
String shadowHost,
String... innerShadowHosts) |
static ByShadow |
cssSelector(String target,
String shadowHost,
String... innerShadowHosts) |
org.openqa.selenium.WebElement |
findElement(org.openqa.selenium.SearchContext context) |
List<org.openqa.selenium.WebElement> |
findElements(org.openqa.selenium.SearchContext context) |
org.openqa.selenium.By.Remotable.Parameters |
getRemoteParameters() |
static ByShadow.ByShadowBuilder |
located(org.openqa.selenium.By byLocator) |
ByShadow |
thenInHost(String nestedHost) |
String |
toString() |
public static ByShadow cssSelector(String target, String shadowHost, String... innerShadowHosts)
public static ByShadow cssSelector(org.openqa.selenium.By target, String shadowHost, String... innerShadowHosts)
public String toString()
toString
in class org.openqa.selenium.By
public static ByShadow.ByShadowBuilder css(String target)
public static ByShadow.ByShadowBuilder located(org.openqa.selenium.By byLocator)
public org.openqa.selenium.By.Remotable.Parameters getRemoteParameters()
getRemoteParameters
in interface org.openqa.selenium.By.Remotable
public org.openqa.selenium.WebElement findElement(org.openqa.selenium.SearchContext context)
findElement
in class org.openqa.selenium.By
public List<org.openqa.selenium.WebElement> findElements(org.openqa.selenium.SearchContext context)
findElements
in class org.openqa.selenium.By
Copyright © 2022. All rights reserved.