play.api.test

TestBrowser

Related Docs: object TestBrowser | package test

case class TestBrowser(webDriver: WebDriver, baseUrl: Option[String]) extends FluentAdapter with Product with Serializable

A test browser (Using Selenium WebDriver) with the FluentLenium API (https://github.com/Fluentlenium/FluentLenium).

webDriver

The WebDriver instance to use.

Source
Selenium.scala
Linear Supertypes
Serializable, Serializable, Product, Equals, FluentAdapter, Fluent, SearchActions[E], AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. TestBrowser
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. FluentAdapter
  7. Fluent
  8. SearchActions
  9. AnyRef
  10. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new TestBrowser(webDriver: WebDriver, baseUrl: Option[String])

    webDriver

    The WebDriver instance to use.

Value Members

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

    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Definition Classes
    AnyRef → Any
  3. def $(arg0: Integer, arg1: <repeated...>[Filter]): FluentWebElement

    Definition Classes
    Fluent
  4. def $(arg0: String, arg1: Integer, arg2: <repeated...>[Filter]): FluentWebElement

    Definition Classes
    Fluent
  5. def $(arg0: <repeated...>[Filter]): FluentList[FluentWebElement]

    Definition Classes
    Fluent
  6. def $(arg0: String, arg1: <repeated...>[Filter]): FluentList[FluentWebElement]

    Definition Classes
    Fluent
  7. final def ==(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  8. def alert(): Alert

    Definition Classes
    Fluent
  9. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  10. def await(): FluentWait

    Definition Classes
    Fluent
  11. val baseUrl: Option[String]

  12. def cleanUp(): Unit

    Attributes
    protected[org.fluentlenium.core]
    Definition Classes
    FluentAdapter
  13. def cleanupDriver(): Unit

    Definition Classes
    Fluent
  14. def clear(arg0: FluentWebElement): Fluent

    Definition Classes
    Fluent
  15. def clear(arg0: FluentList[FluentWebElement]): Fluent

    Definition Classes
    Fluent
  16. def clear(arg0: <repeated...>[Filter]): Fluent

    Definition Classes
    Fluent
  17. def clear(arg0: String, arg1: <repeated...>[Filter]): Fluent

    Definition Classes
    Fluent
  18. def click(arg0: FluentDefaultActions): Fluent

    Definition Classes
    Fluent
  19. def click(arg0: <repeated...>[Filter]): Fluent

    Definition Classes
    Fluent
  20. def click(arg0: String, arg1: <repeated...>[Filter]): Fluent

    Definition Classes
    Fluent
  21. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  22. def constructPageWithParams[T <: FluentPage](arg0: Class[T], arg1: Array[AnyRef]): T

    Attributes
    protected[org.fluentlenium.core]
    Definition Classes
    Fluent
    Annotations
    @throws( ... ) @throws( ... ) @throws( ... ) @throws( ... )
  23. def createPage[T <: FluentPage](arg0: Class[T], arg1: <repeated...>[AnyRef]): T

    Definition Classes
    FluentAdapter → Fluent
  24. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  25. def executeAsyncScript(arg0: String, arg1: <repeated...>[AnyRef]): FluentJavascript

    Definition Classes
    Fluent
  26. def executeScript(arg0: String, arg1: <repeated...>[AnyRef]): FluentJavascript

    Definition Classes
    Fluent
  27. def fill(arg0: FluentDefaultActions[_], arg1: <repeated...>[Filter]): FillConstructor

    Definition Classes
    Fluent
  28. def fill(arg0: <repeated...>[Filter]): FillConstructor

    Definition Classes
    Fluent
  29. def fill(arg0: String, arg1: <repeated...>[Filter]): FillConstructor

    Definition Classes
    Fluent
  30. def fillSelect(arg0: <repeated...>[Filter]): FillSelectConstructor

    Definition Classes
    Fluent
  31. def fillSelect(arg0: String, arg1: <repeated...>[Filter]): FillSelectConstructor

    Definition Classes
    Fluent
  32. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  33. def find(arg0: Integer, arg1: <repeated...>[Filter]): FluentWebElement

    Definition Classes
    Fluent → SearchActions
  34. def find(arg0: String, arg1: Integer, arg2: <repeated...>[Filter]): FluentWebElement

    Definition Classes
    Fluent → SearchActions
  35. def find(arg0: <repeated...>[Filter]): FluentList[FluentWebElement]

    Definition Classes
    Fluent → SearchActions
  36. def find(arg0: String, arg1: <repeated...>[Filter]): FluentList[FluentWebElement]

    Definition Classes
    Fluent → SearchActions
  37. def findFirst(arg0: <repeated...>[Filter]): FluentWebElement

    Definition Classes
    Fluent → SearchActions
  38. def findFirst(arg0: String, arg1: <repeated...>[Filter]): FluentWebElement

    Definition Classes
    Fluent → SearchActions
  39. def getBaseUrl(): String

    Definition Classes
    Fluent
  40. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  41. def getCookie(arg0: String): Cookie

    Definition Classes
    Fluent
  42. def getCookies(): Set[Cookie]

    Definition Classes
    Fluent
  43. def getDefaultBaseUrl(): String

    Definition Classes
    FluentAdapter
  44. def getDefaultConfig(): Unit

    Definition Classes
    FluentAdapter
  45. def getDefaultDriver(): WebDriver

    Definition Classes
    FluentAdapter
  46. def getDriver(): WebDriver

    Definition Classes
    Fluent
  47. def getSearch(): Search

    Definition Classes
    Fluent
  48. def goTo(arg0: String): Fluent

    Definition Classes
    Fluent
  49. def goTo[P <: FluentPage](arg0: P): P

    Definition Classes
    Fluent
  50. def initClass[T <: FluentPage](arg0: Class[T], arg1: <repeated...>[AnyRef]): T

    Attributes
    protected[org.fluentlenium.core]
    Definition Classes
    FluentAdapter → Fluent
  51. def initFluent(arg0: WebDriver): Fluent

    Attributes
    protected[org.fluentlenium.core]
    Definition Classes
    Fluent
  52. def initTest(): Unit

    Attributes
    protected[org.fluentlenium.core]
    Definition Classes
    FluentAdapter → Fluent
  53. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  54. def manage: Options

    retrieves the underlying option interface that can be used to set cookies, manage timeouts among other things

  55. def maximizeWindow(): Fluent

    Definition Classes
    Fluent
  56. final def ne(arg0: AnyRef): Boolean

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

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

    Definition Classes
    AnyRef
  59. def pageSource(): String

    Definition Classes
    Fluent
  60. def quit(): Unit

    Definition Classes
    Fluent
  61. def submit(selector: String, fields: (String, String)*): Fluent

    Submits a form with the given field values

    Submits a form with the given field values

    Example:
    1. submit("#login", fields =
        "email" -> email,
        "password" -> password
      )
  62. def submit(arg0: FluentDefaultActions[_]): Fluent

    Definition Classes
    Fluent
  63. def submit(arg0: <repeated...>[Filter]): Fluent

    Definition Classes
    Fluent
  64. def submit(arg0: String, arg1: <repeated...>[Filter]): Fluent

    Definition Classes
    Fluent
  65. def switchTo(): Fluent

    Definition Classes
    Fluent
  66. def switchTo(arg0: FluentWebElement): Fluent

    Definition Classes
    Fluent
  67. def switchToDefault(): Fluent

    Definition Classes
    Fluent
  68. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  69. def takeScreenShot(arg0: String): Fluent

    Definition Classes
    Fluent
  70. def takeScreenShot(): Fluent

    Definition Classes
    Fluent
  71. def text(arg0: <repeated...>[Filter]): List[String]

    Definition Classes
    Fluent
  72. def text(arg0: String, arg1: <repeated...>[Filter]): List[String]

    Definition Classes
    Fluent
  73. def title(): String

    Definition Classes
    Fluent
  74. def url(): String

    Definition Classes
    Fluent
  75. def value(arg0: <repeated...>[Filter]): List[String]

    Definition Classes
    Fluent
  76. def value(arg0: String, arg1: <repeated...>[Filter]): List[String]

    Definition Classes
    Fluent
  77. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  80. def waitUntil[T](block: ⇒ T): T

    Repeatedly applies this instance's input value to the given block until one of the following occurs: the function returns neither null nor false, the function throws an unignored exception, the default timeout expires

    Repeatedly applies this instance's input value to the given block until one of the following occurs: the function returns neither null nor false, the function throws an unignored exception, the default timeout expires

    block

    code to be executed

  81. def waitUntil[T](timeout: Int, timeUnit: TimeUnit)(block: ⇒ T): T

    Repeatedly applies this instance's input value to the given block until one of the following occurs: the function returns neither null nor false, the function throws an unignored exception, the timeout expires

    Repeatedly applies this instance's input value to the given block until one of the following occurs: the function returns neither null nor false, the function throws an unignored exception, the timeout expires

    timeout
    timeUnit

    duration

    block

    code to be executed

  82. val webDriver: WebDriver

    The WebDriver instance to use.

  83. def withDefaultPageWait(arg0: Long, arg1: TimeUnit): Fluent

    Definition Classes
    Fluent
  84. def withDefaultSearchWait(arg0: Long, arg1: TimeUnit): Fluent

    Definition Classes
    Fluent
  85. def withDefaultUrl(arg0: String): Fluent

    Definition Classes
    Fluent

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from FluentAdapter

Inherited from Fluent

Inherited from SearchActions[E]

Inherited from AnyRef

Inherited from Any

Ungrouped