Class WindowByNameOrHandle

  • All Implemented Interfaces:
    com.google.common.base.Function<org.openqa.selenium.WebDriver,​org.openqa.selenium.WebDriver>, java.util.function.Function<org.openqa.selenium.WebDriver,​org.openqa.selenium.WebDriver>, org.openqa.selenium.support.ui.ExpectedCondition<org.openqa.selenium.WebDriver>

    @ParametersAreNonnullByDefault
    public class WindowByNameOrHandle
    extends java.lang.Object
    implements org.openqa.selenium.support.ui.ExpectedCondition<org.openqa.selenium.WebDriver>
    • Constructor Summary

      Constructors 
      Constructor Description
      WindowByNameOrHandle​(java.lang.String nameOrHandleOrTitle)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      org.openqa.selenium.WebDriver apply​(org.openqa.selenium.WebDriver driver)  
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
      • Methods inherited from interface com.google.common.base.Function

        equals
      • Methods inherited from interface java.util.function.Function

        andThen, compose
    • Constructor Detail

      • WindowByNameOrHandle

        public WindowByNameOrHandle​(java.lang.String nameOrHandleOrTitle)
    • Method Detail

      • 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 java.util.function.Function<org.openqa.selenium.WebDriver,​org.openqa.selenium.WebDriver>
      • toString

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