Class ByDeepShadow

java.lang.Object
com.codeborne.selenide.selector.ByDeepShadow

@ParametersAreNonnullByDefault public class ByDeepShadow extends Object
  • Constructor Details

    • ByDeepShadow

      public ByDeepShadow()
  • Method Details

    • cssSelector

      @CheckReturnValue @Nonnull public static org.openqa.selenium.By cssSelector(String target)
      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.