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, FluentControl, org.fluentlenium.configuration.Configuration, ConfigurationMutator, ConfigurationProperties, CapabilitiesControl, ComponentInstantiator, FluentInjectControl, CssControl, SeleniumDriverControl, NavigationControl, EventsControl, SnapshotControl, AlertControl, JavascriptControl, InputControl, AwaitControl, SearchControl[FluentWebElement], AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. TestBrowser
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. FluentAdapter
  7. FluentControl
  8. Configuration
  9. ConfigurationMutator
  10. ConfigurationProperties
  11. CapabilitiesControl
  12. ComponentInstantiator
  13. FluentInjectControl
  14. CssControl
  15. SeleniumDriverControl
  16. NavigationControl
  17. EventsControl
  18. SnapshotControl
  19. AlertControl
  20. JavascriptControl
  21. InputControl
  22. AwaitControl
  23. SearchControl
  24. AnyRef
  25. 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: By, arg1: <repeated...>[SearchFilter]): FluentList[FluentWebElement]

    Permalink
    Definition Classes
    FluentAdapter → SearchControl
  4. def $(arg0: <repeated...>[SearchFilter]): FluentList[FluentWebElement]

    Permalink
    Definition Classes
    FluentAdapter → SearchControl
  5. def $(arg0: String, arg1: <repeated...>[SearchFilter]): FluentList[FluentWebElement]

    Permalink
    Definition Classes
    FluentAdapter → SearchControl
  6. def $(arg0: List[WebElement]): FluentList[FluentWebElement]

    Permalink
    Definition Classes
    FluentAdapter → SearchControl
  7. final def ==(arg0: Any): Boolean

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

    Permalink
    Definition Classes
    FluentAdapter → AlertControl
  9. def asComponentList[L <: List[T], T](arg0: Class[L], arg1: Class[T], arg2: List[WebElement]): L

    Permalink
    Definition Classes
    FluentAdapter → ComponentInstantiator
  10. def asComponentList[L <: List[T], T](arg0: Class[L], arg1: Class[T], arg2: Iterable[WebElement]): L

    Permalink
    Definition Classes
    FluentAdapter → ComponentInstantiator
  11. def asComponentList[L <: List[T], T](arg0: Class[L], arg1: Class[T], arg2: <repeated...>[WebElement]): L

    Permalink
    Definition Classes
    FluentAdapter → ComponentInstantiator
  12. def asComponentList[T](arg0: Class[T], arg1: List[WebElement]): ComponentList[T]

    Permalink
    Definition Classes
    FluentAdapter → ComponentInstantiator
  13. def asComponentList[T](arg0: Class[T], arg1: Iterable[WebElement]): ComponentList[T]

    Permalink
    Definition Classes
    FluentAdapter → ComponentInstantiator
  14. def asComponentList[T](arg0: Class[T], arg1: <repeated...>[WebElement]): ComponentList[T]

    Permalink
    Definition Classes
    FluentAdapter → ComponentInstantiator
  15. def asFluentList[T <: FluentWebElement](arg0: Class[T], arg1: List[WebElement]): FluentList[T]

    Permalink
    Definition Classes
    FluentAdapter → ComponentInstantiator
  16. def asFluentList[T <: FluentWebElement](arg0: Class[T], arg1: Iterable[WebElement]): FluentList[T]

    Permalink
    Definition Classes
    FluentAdapter → ComponentInstantiator
  17. def asFluentList[T <: FluentWebElement](arg0: Class[T], arg1: <repeated...>[WebElement]): FluentList[T]

    Permalink
    Definition Classes
    FluentAdapter → ComponentInstantiator
  18. def asFluentList(arg0: List[WebElement]): FluentList[FluentWebElement]

    Permalink
    Definition Classes
    FluentAdapter → ComponentInstantiator
  19. def asFluentList(arg0: Iterable[WebElement]): FluentList[FluentWebElement]

    Permalink
    Definition Classes
    FluentAdapter → ComponentInstantiator
  20. def asFluentList(arg0: <repeated...>[WebElement]): FluentList[FluentWebElement]

    Permalink
    Definition Classes
    FluentAdapter → ComponentInstantiator
  21. final def asInstanceOf[T0]: T0

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

    Permalink
    Definition Classes
    FluentAdapter → AwaitControl
  23. val baseUrl: Option[String]

    Permalink
  24. def canTakeScreenShot(): Boolean

    Permalink
    Definition Classes
    FluentAdapter → SnapshotControl
  25. def capabilities(): Capabilities

    Permalink
    Definition Classes
    FluentAdapter → CapabilitiesControl
  26. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  27. def css(): CssSupport

    Permalink
    Definition Classes
    FluentAdapter → CssControl
  28. def el(arg0: By, arg1: <repeated...>[SearchFilter]): FluentWebElement

    Permalink
    Definition Classes
    FluentAdapter → SearchControl
  29. def el(arg0: <repeated...>[SearchFilter]): FluentWebElement

    Permalink
    Definition Classes
    FluentAdapter → SearchControl
  30. def el(arg0: String, arg1: <repeated...>[SearchFilter]): FluentWebElement

    Permalink
    Definition Classes
    FluentAdapter → SearchControl
  31. def el(arg0: WebElement): FluentWebElement

    Permalink
    Definition Classes
    FluentAdapter → SearchControl
  32. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  33. def events(): EventsRegistry

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

    Permalink
    Definition Classes
    FluentAdapter → JavascriptControl
  35. def executeScript(arg0: String, arg1: <repeated...>[AnyRef]): FluentJavascript

    Permalink
    Definition Classes
    FluentAdapter → JavascriptControl
  36. def finalize(): Unit

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

    Permalink
    Definition Classes
    FluentAdapter → SearchControl
  38. def find(arg0: <repeated...>[SearchFilter]): FluentList[FluentWebElement]

    Permalink
    Definition Classes
    FluentAdapter → SearchControl
  39. def find(arg0: String, arg1: <repeated...>[SearchFilter]): FluentList[FluentWebElement]

    Permalink
    Definition Classes
    FluentAdapter → SearchControl
  40. def find(arg0: List[WebElement]): FluentList[FluentWebElement]

    Permalink
    Definition Classes
    FluentAdapter → SearchControl
  41. def getAwaitAtMost(): Long

    Permalink
    Definition Classes
    FluentAdapter → ConfigurationProperties
  42. def getAwaitPollingEvery(): Long

    Permalink
    Definition Classes
    FluentAdapter → ConfigurationProperties
  43. def getBaseUrl(): String

    Permalink
    Definition Classes
    FluentAdapter → ConfigurationProperties
  44. def getBrowserTimeout(): Long

    Permalink
    Definition Classes
    FluentAdapter → ConfigurationProperties
  45. def getBrowserTimeoutRetries(): Integer

    Permalink
    Definition Classes
    FluentAdapter → ConfigurationProperties
  46. def getCapabilities(): Capabilities

    Permalink
    Definition Classes
    FluentAdapter → ConfigurationProperties
  47. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  48. def getConfiguration(): org.fluentlenium.configuration.Configuration

    Permalink
    Definition Classes
    FluentAdapter
  49. def getConfigurationDefaults(): Class[_ <: ConfigurationProperties]

    Permalink
    Definition Classes
    FluentAdapter → ConfigurationProperties
  50. def getConfigurationFactory(): Class[_ <: ConfigurationFactory]

    Permalink
    Definition Classes
    FluentAdapter → ConfigurationProperties
  51. def getControlContainer(): FluentControlContainer

    Permalink
    Attributes
    protected[org.fluentlenium.adapter]
    Definition Classes
    FluentAdapter
  52. def getCookie(arg0: String): Cookie

    Permalink
    Definition Classes
    FluentAdapter → NavigationControl
  53. def getCookies(): Set[Cookie]

    Permalink
    Definition Classes
    FluentAdapter → NavigationControl
  54. def getCustomProperty(arg0: String): String

    Permalink
    Definition Classes
    FluentAdapter → ConfigurationProperties
  55. def getDeleteCookies(): Boolean

    Permalink
    Definition Classes
    FluentAdapter → ConfigurationProperties
  56. final def getDriver(): WebDriver

    Permalink
    Definition Classes
    FluentAdapter → SeleniumDriverControl
  57. def getDriverLifecycle(): DriverLifecycle

    Permalink
    Definition Classes
    FluentAdapter → ConfigurationProperties
  58. def getEventsEnabled(): Boolean

    Permalink
    Definition Classes
    FluentAdapter → ConfigurationProperties
  59. def getHtmlDumpMode(): TriggerMode

    Permalink
    Definition Classes
    FluentAdapter → ConfigurationProperties
  60. def getHtmlDumpPath(): String

    Permalink
    Definition Classes
    FluentAdapter → ConfigurationProperties
  61. def getImplicitlyWait(): Long

    Permalink
    Definition Classes
    FluentAdapter → ConfigurationProperties
  62. def getPageLoadTimeout(): Long

    Permalink
    Definition Classes
    FluentAdapter → ConfigurationProperties
  63. def getRemoteUrl(): String

    Permalink
    Definition Classes
    FluentAdapter → ConfigurationProperties
  64. def getScreenshotMode(): TriggerMode

    Permalink
    Definition Classes
    FluentAdapter → ConfigurationProperties
  65. def getScreenshotPath(): String

    Permalink
    Definition Classes
    FluentAdapter → ConfigurationProperties
  66. def getScriptTimeout(): Long

    Permalink
    Definition Classes
    FluentAdapter → ConfigurationProperties
  67. def getWebDriver(): String

    Permalink
    Definition Classes
    FluentAdapter → ConfigurationProperties
  68. def goTo(arg0: String): Unit

    Permalink
    Definition Classes
    FluentAdapter → NavigationControl
  69. def goTo[P <: FluentPage](arg0: P): P

    Permalink
    Definition Classes
    FluentAdapter → NavigationControl
  70. def goToInNewTab(arg0: String): Unit

    Permalink
    Definition Classes
    FluentAdapter → NavigationControl
  71. def initFluent(arg0: WebDriver): Unit

    Permalink
    Definition Classes
    FluentAdapter
  72. def inject(arg0: Any): ContainerContext

    Permalink
    Definition Classes
    FluentAdapter → FluentInjectControl
  73. def injectComponent(arg0: Any, arg1: Any, arg2: SearchContext): ContainerContext

    Permalink
    Definition Classes
    FluentAdapter → FluentInjectControl
  74. def isComponentClass(arg0: Class[_]): Boolean

    Permalink
    Definition Classes
    FluentAdapter → ComponentInstantiator
  75. def isComponentListClass(arg0: Class[_ <: List[_]]): Boolean

    Permalink
    Definition Classes
    FluentAdapter → ComponentInstantiator
  76. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  77. def keyboard(): KeyboardActions

    Permalink
    Definition Classes
    FluentAdapter → InputControl
  78. def manage: Options

    Permalink

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

  79. def mouse(): MouseActions

    Permalink
    Definition Classes
    FluentAdapter → InputControl
  80. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  81. def newComponent[T](arg0: Class[T], arg1: WebElement): T

    Permalink
    Definition Classes
    FluentAdapter → ComponentInstantiator
  82. def newComponentList[L <: List[T], T](arg0: Class[L], arg1: Class[T], arg2: List[T]): L

    Permalink
    Definition Classes
    FluentAdapter → ComponentInstantiator
  83. def newComponentList[L <: List[T], T](arg0: Class[L], arg1: Class[T], arg2: <repeated...>[T]): L

    Permalink
    Definition Classes
    FluentAdapter → ComponentInstantiator
  84. def newComponentList[L <: List[T], T](arg0: Class[L], arg1: Class[T]): L

    Permalink
    Definition Classes
    FluentAdapter → ComponentInstantiator
  85. def newComponentList[T](arg0: Class[T], arg1: List[T]): ComponentList[T]

    Permalink
    Definition Classes
    FluentAdapter → ComponentInstantiator
  86. def newComponentList[T](arg0: Class[T], arg1: <repeated...>[T]): ComponentList[T]

    Permalink
    Definition Classes
    FluentAdapter → ComponentInstantiator
  87. def newComponentList[T](arg0: Class[T]): ComponentList[T]

    Permalink
    Definition Classes
    FluentAdapter → ComponentInstantiator
  88. def newFluent(arg0: WebElement): FluentWebElement

    Permalink
    Definition Classes
    FluentAdapter → ComponentInstantiator
  89. def newFluentList[T <: FluentWebElement](arg0: Class[T], arg1: List[T]): FluentList[T]

    Permalink
    Definition Classes
    FluentAdapter → ComponentInstantiator
  90. def newFluentList[T <: FluentWebElement](arg0: Class[T], arg1: <repeated...>[T]): FluentList[T]

    Permalink
    Definition Classes
    FluentAdapter → ComponentInstantiator
  91. def newFluentList[T <: FluentWebElement](arg0: Class[T]): FluentList[T]

    Permalink
    Definition Classes
    FluentAdapter → ComponentInstantiator
  92. def newFluentList(arg0: List[FluentWebElement]): FluentList[FluentWebElement]

    Permalink
    Definition Classes
    FluentAdapter → ComponentInstantiator
  93. def newFluentList(arg0: <repeated...>[FluentWebElement]): FluentList[FluentWebElement]

    Permalink
    Definition Classes
    FluentAdapter → ComponentInstantiator
  94. def newFluentList(): FluentList[FluentWebElement]

    Permalink
    Definition Classes
    FluentAdapter → ComponentInstantiator
  95. def newInstance[T](arg0: Class[T]): T

    Permalink
    Definition Classes
    FluentAdapter → FluentInjectControl
  96. def newWebDriver(): WebDriver

    Permalink
    Definition Classes
    FluentAdapter
  97. final def notify(): Unit

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

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

    Permalink
    Definition Classes
    FluentAdapter → NavigationControl
  100. def quit(): Unit

    Permalink
  101. def releaseFluent(): Unit

    Permalink
    Definition Classes
    FluentAdapter
  102. def setAwaitAtMost(arg0: Long): Unit

    Permalink
    Definition Classes
    FluentAdapter → ConfigurationMutator
  103. def setAwaitPollingEvery(arg0: Long): Unit

    Permalink
    Definition Classes
    FluentAdapter → ConfigurationMutator
  104. def setBaseUrl(arg0: String): Unit

    Permalink
    Definition Classes
    FluentAdapter → ConfigurationMutator
  105. def setBrowserTimeout(arg0: Long): Unit

    Permalink
    Definition Classes
    FluentAdapter → ConfigurationMutator
  106. def setBrowserTimeoutRetries(arg0: Integer): Unit

    Permalink
    Definition Classes
    FluentAdapter → ConfigurationMutator
  107. def setCapabilities(arg0: Capabilities): Unit

    Permalink
    Definition Classes
    FluentAdapter → ConfigurationMutator
  108. def setConfigurationFactory(arg0: Class[_ <: ConfigurationFactory]): Unit

    Permalink
    Definition Classes
    FluentAdapter → ConfigurationMutator
  109. def setCustomProperty(arg0: String, arg1: String): Unit

    Permalink
    Definition Classes
    FluentAdapter → ConfigurationMutator
  110. def setDeleteCookies(arg0: Boolean): Unit

    Permalink
    Definition Classes
    FluentAdapter → ConfigurationMutator
  111. def setDriverLifecycle(arg0: DriverLifecycle): Unit

    Permalink
    Definition Classes
    FluentAdapter → ConfigurationMutator
  112. def setEventsEnabled(arg0: Boolean): Unit

    Permalink
    Definition Classes
    FluentAdapter → ConfigurationMutator
  113. def setHtmlDumpMode(arg0: TriggerMode): Unit

    Permalink
    Definition Classes
    FluentAdapter → ConfigurationMutator
  114. def setHtmlDumpPath(arg0: String): Unit

    Permalink
    Definition Classes
    FluentAdapter → ConfigurationMutator
  115. def setImplicitlyWait(arg0: Long): Unit

    Permalink
    Definition Classes
    FluentAdapter → ConfigurationMutator
  116. def setPageLoadTimeout(arg0: Long): Unit

    Permalink
    Definition Classes
    FluentAdapter → ConfigurationMutator
  117. def setRemoteUrl(arg0: String): Unit

    Permalink
    Definition Classes
    FluentAdapter → ConfigurationMutator
  118. def setScreenshotMode(arg0: TriggerMode): Unit

    Permalink
    Definition Classes
    FluentAdapter → ConfigurationMutator
  119. def setScreenshotPath(arg0: String): Unit

    Permalink
    Definition Classes
    FluentAdapter → ConfigurationMutator
  120. def setScriptTimeout(arg0: Long): Unit

    Permalink
    Definition Classes
    FluentAdapter → ConfigurationMutator
  121. def setWebDriver(arg0: String): Unit

    Permalink
    Definition Classes
    FluentAdapter → ConfigurationMutator
  122. def submit(selector: String, fields: (String, String)*): FluentList[FluentWebElement]

    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
      )
  123. def switchTo(): Unit

    Permalink
    Definition Classes
    FluentAdapter → NavigationControl
  124. def switchTo(arg0: FluentWebElement): Unit

    Permalink
    Definition Classes
    FluentAdapter → NavigationControl
  125. def switchTo(arg0: FluentList[_ <: FluentWebElement]): Unit

    Permalink
    Definition Classes
    FluentAdapter → NavigationControl
  126. def switchToDefault(): Unit

    Permalink
    Definition Classes
    FluentAdapter → NavigationControl
  127. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  128. def takeHtmlDump(arg0: String): Unit

    Permalink
    Definition Classes
    FluentAdapter → SnapshotControl
  129. def takeHtmlDump(): Unit

    Permalink
    Definition Classes
    FluentAdapter → SnapshotControl
  130. def takeScreenShot(arg0: String): Unit

    Permalink
    Definition Classes
    FluentAdapter → SnapshotControl
  131. def takeScreenShot(): Unit

    Permalink
    Definition Classes
    FluentAdapter → SnapshotControl
  132. def url(): String

    Permalink
    Definition Classes
    FluentAdapter → NavigationControl
  133. final def wait(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  136. 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

  137. 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

  138. val webDriver: WebDriver

    Permalink

    The WebDriver instance to use.

  139. def window(): WindowAction

    Permalink
    Definition Classes
    FluentAdapter → NavigationControl

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from FluentAdapter

Inherited from FluentControl

Inherited from org.fluentlenium.configuration.Configuration

Inherited from ConfigurationMutator

Inherited from ConfigurationProperties

Inherited from CapabilitiesControl

Inherited from ComponentInstantiator

Inherited from FluentInjectControl

Inherited from CssControl

Inherited from SeleniumDriverControl

Inherited from NavigationControl

Inherited from EventsControl

Inherited from SnapshotControl

Inherited from AlertControl

Inherited from JavascriptControl

Inherited from InputControl

Inherited from AwaitControl

Inherited from SearchControl[FluentWebElement]

Inherited from AnyRef

Inherited from Any

Ungrouped