Annotation Interface DeepShadow


@Retention(RUNTIME) @Target(FIELD) public @interface DeepShadow
Provides to find specific page factory locators inside shadow roots. For example:

    @DeepShadow
    @FindBy(...targetLocator...)
    public SelenideElement locatorInShadowRoot;
 

This mechanism does not care how deep the desired locator is situated inside the Shadow DOM, it would traverse across the whole tree to find it.

See Also: