Class WindowByIndex

java.lang.Object
com.codeborne.selenide.impl.windows.WindowByIndex
All Implemented Interfaces:
com.google.common.base.Function<org.openqa.selenium.WebDriver,org.openqa.selenium.WebDriver>, Function<org.openqa.selenium.WebDriver,org.openqa.selenium.WebDriver>, org.openqa.selenium.support.ui.ExpectedCondition<org.openqa.selenium.WebDriver>

@ParametersAreNonnullByDefault public class WindowByIndex extends Object implements org.openqa.selenium.support.ui.ExpectedCondition<org.openqa.selenium.WebDriver>
  • Constructor Details

    • WindowByIndex

      public WindowByIndex(int index)
  • Method Details

    • apply

      @Nullable public org.openqa.selenium.WebDriver apply(org.openqa.selenium.WebDriver driver)
      Specified by:
      apply in interface com.google.common.base.Function<org.openqa.selenium.WebDriver,org.openqa.selenium.WebDriver>
      Specified by:
      apply in interface Function<org.openqa.selenium.WebDriver,org.openqa.selenium.WebDriver>
    • toString

      @CheckReturnValue @Nonnull public String toString()
      Overrides:
      toString in class Object