org.scalatestplus.play.BrowserFactory

GrumpyDriver

sealed abstract class GrumpyDriver extends WebDriver

A null-object implementation of the Selenium WebDriver interface that throws UnsupportedOperationException from all of its methods, used when either 1) a WebDriver field has not yet been initialized, 2) a requested Selenium WebDriver is unavailable on the host platform, or 3) a test that did not declare it needed a WebDriver in AllBrowserPerSuite or AllBrowserPerTest attempts to use one.

This is named GrumpyDriver because all it does is complain. No matter what you ask of it, it throws an UnsupportedOperationException back at you.

Linear Supertypes
WebDriver, SearchContext, AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. GrumpyDriver
  2. WebDriver
  3. SearchContext
  4. AnyRef
  5. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new GrumpyDriver()

Abstract Value Members

  1. abstract def complain(): Nothing

    Throws UnsupportedOperationException with an appropriate error message and, optionally, cause.

    Throws UnsupportedOperationException with an appropriate error message and, optionally, cause.

    Attributes
    protected

Concrete Value Members

  1. final def !=(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

    Definition Classes
    AnyRef → Any
  4. final def ==(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  5. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  6. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  7. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  8. final def close(): Unit

    Throws UnsupportedOperationException.

    Throws UnsupportedOperationException.

    Definition Classes
    GrumpyDriver → WebDriver
  9. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  10. def equals(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  11. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  12. final def findElement(by: By): WebElement

    Throws UnsupportedOperationException.

    Throws UnsupportedOperationException.

    Definition Classes
    GrumpyDriver → WebDriver → SearchContext
  13. final def findElements(by: By): List[WebElement]

    Throws UnsupportedOperationException.

    Throws UnsupportedOperationException.

    Definition Classes
    GrumpyDriver → WebDriver → SearchContext
  14. final def get(url: String): Unit

    Throws UnsupportedOperationException.

    Throws UnsupportedOperationException.

    Definition Classes
    GrumpyDriver → WebDriver
  15. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  16. final def getCurrentUrl(): String

    Throws UnsupportedOperationException.

    Throws UnsupportedOperationException.

    Definition Classes
    GrumpyDriver → WebDriver
  17. final def getPageSource(): String

    Throws UnsupportedOperationException.

    Throws UnsupportedOperationException.

    Definition Classes
    GrumpyDriver → WebDriver
  18. final def getTitle(): String

    Throws UnsupportedOperationException.

    Throws UnsupportedOperationException.

    Definition Classes
    GrumpyDriver → WebDriver
  19. final def getWindowHandle(): String

    Throws UnsupportedOperationException.

    Throws UnsupportedOperationException.

    Definition Classes
    GrumpyDriver → WebDriver
  20. final def getWindowHandles(): Set[String]

    Throws UnsupportedOperationException.

    Throws UnsupportedOperationException.

    Definition Classes
    GrumpyDriver → WebDriver
  21. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  22. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  23. final def manage(): Options

    Throws UnsupportedOperationException.

    Throws UnsupportedOperationException.

    Definition Classes
    GrumpyDriver → WebDriver
  24. final def navigate(): Navigation

    Throws UnsupportedOperationException.

    Throws UnsupportedOperationException.

    Definition Classes
    GrumpyDriver → WebDriver
  25. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  26. final def notify(): Unit

    Definition Classes
    AnyRef
  27. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  28. final def quit(): Unit

    Throws UnsupportedOperationException.

    Throws UnsupportedOperationException.

    Definition Classes
    GrumpyDriver → WebDriver
  29. final def switchTo(): TargetLocator

    Throws UnsupportedOperationException.

    Throws UnsupportedOperationException.

    Definition Classes
    GrumpyDriver → WebDriver
  30. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  31. def toString(): String

    Definition Classes
    AnyRef → Any
  32. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  33. final def wait(arg0: Long, arg1: Int): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  34. final def wait(arg0: Long): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from WebDriver

Inherited from SearchContext

Inherited from AnyRef

Inherited from Any

Ungrouped