@ParametersAreNonnullByDefault
public class ByShadow
extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
static class |
ByShadow.ByShadowCss |
| Constructor and Description |
|---|
ByShadow() |
| Modifier and Type | Method and Description |
|---|---|
static org.openqa.selenium.By |
cssSelector(java.lang.String target,
java.lang.String shadowHost,
java.lang.String... innerShadowHosts)
Find target elements inside shadow-root that attached to shadow-host.
|
@CheckReturnValue
@Nonnull
public static org.openqa.selenium.By cssSelector(java.lang.String target,
java.lang.String shadowHost,
java.lang.String... innerShadowHosts)
target - CSS expression of target elementshadowHost - CSS expression of the shadow-host with attached shadow-rootinnerShadowHosts - subsequent inner shadow-hosts