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 getCapabilities(): Capabilities

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    Permalink

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

  77. def mouse(): MouseActions

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    Permalink
  99. def releaseFluent(): Unit

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    Permalink
    Definition Classes
    FluentAdapter → ConfigurationMutator
  118. 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
      )
  119. def switchTo(): Unit

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

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

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

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

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

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

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

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

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

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

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

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

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

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

  134. val webDriver: WebDriver

    Permalink

    The WebDriver instance to use.

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