Class/Object

play.api.test

TestBrowser

Related Docs: object TestBrowser | package test

Permalink

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
Visibility
  1. Public
  2. All

Instance Constructors

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

    Permalink

    webDriver

    The WebDriver instance to use.

Value Members

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

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

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

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

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

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

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

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

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

    Permalink
    Definition Classes
    Any
  10. def await(): FluentWait

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

    Permalink
  12. def cleanUp(): Unit

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

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

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

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

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

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

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

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

    Permalink
    Definition Classes
    Fluent
  21. def clone(): AnyRef

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

    Permalink
    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

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

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

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

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

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

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

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

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

    Permalink
    Definition Classes
    Fluent
  32. def finalize(): Unit

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

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

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

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

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

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

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

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

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

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

    Permalink
    Definition Classes
    Fluent
  43. def getDefaultBaseUrl(): String

    Permalink
    Definition Classes
    FluentAdapter
  44. def getDefaultConfig(): Unit

    Permalink
    Definition Classes
    FluentAdapter
  45. def getDefaultDriver(): WebDriver

    Permalink
    Definition Classes
    FluentAdapter
  46. def getDriver(): WebDriver

    Permalink
    Definition Classes
    Fluent
  47. def getSearch(): Search

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

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

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

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

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

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

    Permalink
    Definition Classes
    Any
  54. def manage: Options

    Permalink

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

  55. def maximizeWindow(): Fluent

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

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

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

    Permalink
    Definition Classes
    AnyRef
  59. def pageSource(): String

    Permalink
    Definition Classes
    Fluent
  60. def quit(): Unit

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

    Permalink

    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

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

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

    Permalink
    Definition Classes
    Fluent
  65. def switchTo(): Fluent

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

    Permalink
    Definition Classes
    Fluent
  67. def switchToDefault(): Fluent

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

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

    Permalink
    Definition Classes
    Fluent
  70. def takeScreenShot(): Fluent

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

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

    Permalink
    Definition Classes
    Fluent
  73. def title(): String

    Permalink
    Definition Classes
    Fluent
  74. def url(): String

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

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

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

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

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

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

    Permalink

    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

    Permalink

    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

    timeUnit

    duration

    block

    code to be executed

  82. val webDriver: WebDriver

    Permalink

    The WebDriver instance to use.

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

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

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

    Permalink
    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