Class WebElementSelector

java.lang.Object
com.codeborne.selenide.impl.WebElementSelector

@ParametersAreNonnullByDefault public class WebElementSelector extends Object
Thanks to http://selenium.polteq.com/en/injecting-the-sizzle-css-selector-library/
  • Field Details

  • Constructor Details

    • WebElementSelector

      public WebElementSelector()
  • Method Details

    • findElement

      @CheckReturnValue @Nonnull public org.openqa.selenium.WebElement findElement(Driver driver, @Nullable WebElementSource parent, org.openqa.selenium.By selector, int index)
    • findElement

      @CheckReturnValue @Nonnull public org.openqa.selenium.WebElement findElement(Driver driver, @Nullable WebElementSource parent, org.openqa.selenium.By selector)
    • findElements

      @CheckReturnValue @Nonnull public List<org.openqa.selenium.WebElement> findElements(Driver driver, @Nullable WebElementSource parent, org.openqa.selenium.By selector)
    • checkThatXPathNotStartingFromSlash

      protected void checkThatXPathNotStartingFromSlash(org.openqa.selenium.SearchContext context, org.openqa.selenium.By selector)
    • evaluateSizzleSelector

      @CheckReturnValue @Nonnull protected List<org.openqa.selenium.WebElement> evaluateSizzleSelector(Driver driver, org.openqa.selenium.SearchContext context, org.openqa.selenium.By.ByCssSelector sizzleCssSelector)
    • injectSizzleIfNeeded

      protected void injectSizzleIfNeeded(Driver driver)
    • sizzleLoaded

      protected Boolean sizzleLoaded(Driver driver)
    • injectSizzle

      protected void injectSizzle(Driver driver)