Package com.codeborne.selenide.selector
Class ByDeepShadow
java.lang.Object
com.codeborne.selenide.selector.ByDeepShadow
-
Nested Class Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic org.openqa.selenium.By
cssSelector
(String target) Find target elements.
-
Constructor Details
-
ByDeepShadow
public ByDeepShadow()
-
-
Method Details
-
cssSelector
Find target elements. It pierces Shadow DOM roots without knowing the path through nested shadow roots.
For example: #shadow-host #inner-shadow-host target-element- Parameters:
target
- CSS expression of target element- Returns:
- A By which locates elements by CSS inside DOM with shadow-roots.
-