Package com.codeborne.selenide
Annotation Interface ShadowHost
Provides to find specific page factory locators inside shadow roots. For example:
@ShadowHost({@FindBy(...shadowHost...), @FindBy(...innerShadowHost...)})
@FindBy(...targetLocator...)
public SelenideElement locatorInShadowRoot;
The order of locators inside this annotation is important. Every next locator means more deep shadow host.- Since:
- 7.8.0
-
Required Element Summary
Required Elements
-
Element Details
-
value
org.openqa.selenium.support.FindBy[] value- Returns:
- array of shadow hosts
-