Packages

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, Product, Equals, FluentAdapter, IFluentAdapter, FluentControlImpl, FluentControl, ChromiumControl, io.fluentlenium.configuration.Configuration, ConfigurationMutator, ConfigurationProperties, PerformanceTimingControl, 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. Product
  4. Equals
  5. FluentAdapter
  6. IFluentAdapter
  7. FluentControlImpl
  8. FluentControl
  9. ChromiumControl
  10. Configuration
  11. ConfigurationMutator
  12. ConfigurationProperties
  13. PerformanceTimingControl
  14. CapabilitiesControl
  15. ComponentInstantiator
  16. FluentInjectControl
  17. CssControl
  18. SeleniumDriverControl
  19. NavigationControl
  20. EventsControl
  21. SnapshotControl
  22. AlertControl
  23. JavascriptControl
  24. InputControl
  25. AwaitControl
  26. SearchControl
  27. AnyRef
  28. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

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: AppiumBy, arg1: <repeated...>[SearchFilter]): FluentList[FluentWebElement]
    Definition Classes
    SearchControl
    Annotations
    @transient()
  4. def $(arg0: By, arg1: <repeated...>[SearchFilter]): FluentList[FluentWebElement]
    Definition Classes
    SearchControl
    Annotations
    @transient()
  5. def $(arg0: <repeated...>[SearchFilter]): FluentList[FluentWebElement]
    Definition Classes
    SearchControl
    Annotations
    @transient()
  6. def $(arg0: String, arg1: <repeated...>[SearchFilter]): FluentList[FluentWebElement]
    Definition Classes
    SearchControl
    Annotations
    @transient()
  7. def $(arg0: List[WebElement]): FluentList[FluentWebElement]
    Definition Classes
    SearchControl
  8. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  9. def alert(): Alert
    Definition Classes
    FluentControl → AlertControl
  10. def asComponentList[L <: List[T], T <: AnyRef](arg0: Class[L], arg1: Class[T], arg2: List[WebElement]): L
    Definition Classes
    FluentControl → ComponentInstantiator
  11. def asComponentList[T <: AnyRef](arg0: Class[T], arg1: List[WebElement]): ComponentList[T]
    Definition Classes
    FluentControl → ComponentInstantiator
  12. def asComponentList[L <: List[T], T <: AnyRef](arg0: Class[L], arg1: Class[T], arg2: <repeated...>[WebElement]): L
    Definition Classes
    FluentControl → ComponentInstantiator
    Annotations
    @transient()
  13. def asComponentList[T <: AnyRef](arg0: Class[T], arg1: Iterable[WebElement]): ComponentList[T]
    Definition Classes
    FluentControl → ComponentInstantiator
  14. def asComponentList[T <: AnyRef](arg0: Class[T], arg1: <repeated...>[WebElement]): ComponentList[T]
    Definition Classes
    FluentControl → ComponentInstantiator
    Annotations
    @transient()
  15. def asComponentList[L <: List[T], T <: AnyRef](arg0: Class[L], arg1: Class[T], arg2: Iterable[WebElement]): L
    Definition Classes
    FluentControl → ComponentInstantiator
  16. def asFluentList(arg0: List[WebElement]): FluentList[FluentWebElement]
    Definition Classes
    FluentControl → ComponentInstantiator
  17. def asFluentList(arg0: Iterable[WebElement]): FluentList[FluentWebElement]
    Definition Classes
    FluentControl → ComponentInstantiator
  18. def asFluentList[T <: FluentWebElement](arg0: Class[T], arg1: <repeated...>[WebElement]): FluentList[T]
    Definition Classes
    FluentControl → ComponentInstantiator
    Annotations
    @transient()
  19. def asFluentList[T <: FluentWebElement](arg0: Class[T], arg1: List[WebElement]): FluentList[T]
    Definition Classes
    FluentControl → ComponentInstantiator
  20. def asFluentList[T <: FluentWebElement](arg0: Class[T], arg1: Iterable[WebElement]): FluentList[T]
    Definition Classes
    FluentControl → ComponentInstantiator
  21. def asFluentList(arg0: <repeated...>[WebElement]): FluentList[FluentWebElement]
    Definition Classes
    FluentControl → ComponentInstantiator
    Annotations
    @transient()
  22. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  23. def await(): FluentWait
    Definition Classes
    FluentControl → AwaitControl
  24. val baseUrl: Option[String]
  25. def canTakeScreenShot(): Boolean
    Definition Classes
    FluentControl → SnapshotControl
  26. def capabilities(): Capabilities
    Definition Classes
    FluentControl → CapabilitiesControl
  27. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @HotSpotIntrinsicCandidate() @native()
  28. def css(): CssSupport
    Definition Classes
    FluentControl → CssControl
  29. def el(arg0: WebElement): FluentWebElement
    Definition Classes
    FluentControl → SearchControl
  30. def el(arg0: By, arg1: <repeated...>[SearchFilter]): FluentWebElement
    Definition Classes
    SearchControl
    Annotations
    @transient()
  31. def el(arg0: AppiumBy, arg1: <repeated...>[SearchFilter]): FluentWebElement
    Definition Classes
    SearchControl
    Annotations
    @transient()
  32. def el(arg0: <repeated...>[SearchFilter]): FluentWebElement
    Definition Classes
    SearchControl
    Annotations
    @transient()
  33. def el(arg0: String, arg1: <repeated...>[SearchFilter]): FluentWebElement
    Definition Classes
    SearchControl
    Annotations
    @transient()
  34. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  35. def events(): EventsRegistry
    Definition Classes
    FluentControl → EventsControl
  36. def executeAsyncScript(arg0: String, arg1: <repeated...>[AnyRef]): FluentJavascript
    Definition Classes
    FluentControl → JavascriptControl
    Annotations
    @transient()
  37. def executeScript(arg0: String, arg1: <repeated...>[AnyRef]): FluentJavascript
    Definition Classes
    FluentControl → JavascriptControl
    Annotations
    @transient()
  38. def find(arg0: <repeated...>[SearchFilter]): FluentList[FluentWebElement]
    Definition Classes
    FluentControl → SearchControl
    Annotations
    @transient()
  39. def find(arg0: String, arg1: <repeated...>[SearchFilter]): FluentList[FluentWebElement]
    Definition Classes
    FluentControl → SearchControl
    Annotations
    @transient()
  40. def find(arg0: List[WebElement]): FluentList[FluentWebElement]
    Definition Classes
    FluentControl → SearchControl
  41. def find(arg0: By, arg1: <repeated...>[SearchFilter]): FluentList[FluentWebElement]
    Definition Classes
    FluentControl → SearchControl
    Annotations
    @transient()
  42. def getAppiumDriver(): AppiumDriver
    Definition Classes
    FluentControl → SeleniumDriverControl
  43. def getAwaitAtMost(): Long
    Definition Classes
    FluentControl → ConfigurationProperties
  44. def getAwaitPollingEvery(): Long
    Definition Classes
    FluentControl → ConfigurationProperties
  45. def getBaseUrl(): String
    Definition Classes
    FluentControl → ConfigurationProperties
  46. def getBrowserTimeout(): Long
    Definition Classes
    FluentControl → ConfigurationProperties
  47. def getBrowserTimeoutRetries(): Integer
    Definition Classes
    FluentControl → ConfigurationProperties
  48. def getCapabilities(): Capabilities
    Definition Classes
    FluentControl → ConfigurationProperties
  49. def getChromiumApi(): ChromiumApi
    Definition Classes
    FluentControl → ChromiumControl
  50. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @HotSpotIntrinsicCandidate() @native()
  51. def getConfiguration(): io.fluentlenium.configuration.Configuration
    Definition Classes
    FluentControlImpl → FluentControl
  52. def getConfigurationDefaults(): Class[_ <: ConfigurationProperties]
    Definition Classes
    FluentControl → ConfigurationProperties
  53. def getConfigurationFactory(): Class[_ <: ConfigurationFactory]
    Definition Classes
    FluentControl → ConfigurationProperties
  54. def getControlContainer(): FluentControlContainer
    Definition Classes
    FluentControlImpl → FluentControl
  55. def getCookie(arg0: String): Cookie
    Definition Classes
    FluentControl → NavigationControl
  56. def getCookies(): Set[Cookie]
    Definition Classes
    FluentControl → NavigationControl
  57. def getCustomProperty(arg0: String): String
    Definition Classes
    FluentControl → ConfigurationProperties
  58. def getDeleteCookies(): Boolean
    Definition Classes
    FluentControl → ConfigurationProperties
  59. final def getDriver(): WebDriver
    Definition Classes
    FluentAdapter → IFluentAdapter → FluentControl → SeleniumDriverControl
  60. def getDriverLifecycle(): DriverLifecycle
    Definition Classes
    FluentControl → ConfigurationProperties
  61. def getEventsEnabled(): Boolean
    Definition Classes
    FluentControl → ConfigurationProperties
  62. def getFluentControl(): ContainerFluentControl
    Definition Classes
    FluentAdapter → IFluentAdapter → FluentControlImpl → FluentControl
  63. def getHtmlDumpMode(): TriggerMode
    Definition Classes
    FluentControl → ConfigurationProperties
  64. def getHtmlDumpPath(): String
    Definition Classes
    FluentControl → ConfigurationProperties
  65. def getImplicitlyWait(): Long
    Definition Classes
    FluentControl → ConfigurationProperties
  66. def getPageLoadTimeout(): Long
    Definition Classes
    FluentControl → ConfigurationProperties
  67. def getRemoteUrl(): String
    Definition Classes
    FluentControl → ConfigurationProperties
  68. def getScreenshotMode(): TriggerMode
    Definition Classes
    FluentControl → ConfigurationProperties
  69. def getScreenshotPath(): String
    Definition Classes
    FluentControl → ConfigurationProperties
  70. def getScriptTimeout(): Long
    Definition Classes
    FluentControl → ConfigurationProperties
  71. def getWebDriver(): String
    Definition Classes
    FluentControl → ConfigurationProperties
  72. def goTo(arg0: String): Unit
    Definition Classes
    FluentControl → NavigationControl
  73. def goTo[P <: FluentPage](arg0: P): P
    Definition Classes
    FluentControl → NavigationControl
  74. def goToInNewTab(arg0: String): Unit
    Definition Classes
    FluentControl → NavigationControl
  75. def initFluent(arg0: WebDriver): FluentControl
    Definition Classes
    IFluentAdapter
  76. def initFluent(arg0: WebDriver, arg1: AnyRef): FluentControl
    Definition Classes
    IFluentAdapter
  77. def inject(arg0: AnyRef): ContainerContext
    Definition Classes
    FluentControl → FluentInjectControl
  78. def injectComponent(arg0: AnyRef, arg1: AnyRef, arg2: SearchContext): ContainerContext
    Definition Classes
    FluentControl → FluentInjectControl
  79. def isComponentClass(arg0: Class[_ <: AnyRef]): Boolean
    Definition Classes
    FluentControl → ComponentInstantiator
  80. def isComponentListClass(arg0: Class[_ <: List[_ <: AnyRef]]): Boolean
    Definition Classes
    FluentControl → ComponentInstantiator
  81. def isFluentControlAvailable(): Boolean
    Definition Classes
    IFluentAdapter
  82. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  83. def keyboard(): KeyboardActions
    Definition Classes
    FluentControl → InputControl
  84. def manage: Options

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

  85. def mouse(): MouseActions
    Definition Classes
    FluentControl → InputControl
  86. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  87. def newComponent[T <: AnyRef](arg0: Class[T], arg1: WebElement): T
    Definition Classes
    FluentControl → ComponentInstantiator
  88. def newComponentList[L <: List[T], T <: AnyRef](arg0: Class[L], arg1: Class[T], arg2: List[T]): L
    Definition Classes
    FluentControl → ComponentInstantiator
  89. def newComponentList[T <: AnyRef](arg0: Class[T], arg1: <repeated...>[T]): ComponentList[T]
    Definition Classes
    FluentControl → ComponentInstantiator
    Annotations
    @transient()
  90. def newComponentList[T <: AnyRef](arg0: Class[T]): ComponentList[T]
    Definition Classes
    FluentControl → ComponentInstantiator
  91. def newComponentList[T <: AnyRef](arg0: Class[T], arg1: List[T]): ComponentList[T]
    Definition Classes
    FluentControl → ComponentInstantiator
  92. def newComponentList[L <: List[T], T <: AnyRef](arg0: Class[L], arg1: Class[T], arg2: <repeated...>[T]): L
    Definition Classes
    FluentControl → ComponentInstantiator
    Annotations
    @transient()
  93. def newComponentList[L <: List[T], T <: AnyRef](arg0: Class[L], arg1: Class[T]): L
    Definition Classes
    FluentControl → ComponentInstantiator
  94. def newFluent(arg0: WebElement): FluentWebElement
    Definition Classes
    FluentControl → ComponentInstantiator
  95. def newFluentList[T <: FluentWebElement](arg0: Class[T], arg1: <repeated...>[T]): FluentList[T]
    Definition Classes
    FluentControl → ComponentInstantiator
    Annotations
    @transient()
  96. def newFluentList(arg0: List[FluentWebElement]): FluentList[FluentWebElement]
    Definition Classes
    FluentControl → ComponentInstantiator
  97. def newFluentList(arg0: <repeated...>[FluentWebElement]): FluentList[FluentWebElement]
    Definition Classes
    FluentControl → ComponentInstantiator
    Annotations
    @transient()
  98. def newFluentList(): FluentList[FluentWebElement]
    Definition Classes
    FluentControl → ComponentInstantiator
  99. def newFluentList[T <: FluentWebElement](arg0: Class[T]): FluentList[T]
    Definition Classes
    FluentControl → ComponentInstantiator
  100. def newFluentList[T <: FluentWebElement](arg0: Class[T], arg1: List[T]): FluentList[T]
    Definition Classes
    FluentControl → ComponentInstantiator
  101. def newInstance[T <: AnyRef](arg0: Class[T]): T
    Definition Classes
    FluentControl → FluentInjectControl
  102. def newWebDriver(): WebDriver
    Definition Classes
    IFluentAdapter
  103. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate() @native()
  104. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate() @native()
  105. def pageSource(): String
    Definition Classes
    FluentControl → NavigationControl
  106. def performanceTiming(): PerformanceTiming
    Definition Classes
    FluentControl → PerformanceTimingControl
  107. def productElementNames: Iterator[String]
    Definition Classes
    Product
  108. def quit(): Unit
  109. def releaseFluent(): Boolean
    Definition Classes
    IFluentAdapter
  110. def setAwaitAtMost(arg0: Long): Unit
    Definition Classes
    FluentControl → ConfigurationMutator
  111. def setAwaitPollingEvery(arg0: Long): Unit
    Definition Classes
    FluentControl → ConfigurationMutator
  112. def setBaseUrl(arg0: String): Unit
    Definition Classes
    FluentControl → ConfigurationMutator
  113. def setBrowserTimeout(arg0: Long): Unit
    Definition Classes
    FluentControl → ConfigurationMutator
  114. def setBrowserTimeoutRetries(arg0: Integer): Unit
    Definition Classes
    FluentControl → ConfigurationMutator
  115. def setCapabilities(arg0: Capabilities): Unit
    Definition Classes
    FluentControl → ConfigurationMutator
  116. def setConfigurationFactory(arg0: Class[_ <: ConfigurationFactory]): Unit
    Definition Classes
    FluentControl → ConfigurationMutator
  117. def setCustomProperty(arg0: String, arg1: String): Unit
    Definition Classes
    FluentControl → ConfigurationMutator
  118. def setDeleteCookies(arg0: Boolean): Unit
    Definition Classes
    FluentControl → ConfigurationMutator
  119. def setDriverLifecycle(arg0: DriverLifecycle): Unit
    Definition Classes
    FluentControl → ConfigurationMutator
  120. def setEventsEnabled(arg0: Boolean): Unit
    Definition Classes
    FluentControl → ConfigurationMutator
  121. def setFluentControl(arg0: ContainerFluentControl): FluentControl
    Definition Classes
    IFluentAdapter
  122. def setHtmlDumpMode(arg0: TriggerMode): Unit
    Definition Classes
    FluentControl → ConfigurationMutator
  123. def setHtmlDumpPath(arg0: String): Unit
    Definition Classes
    FluentControl → ConfigurationMutator
  124. def setImplicitlyWait(arg0: Long): Unit
    Definition Classes
    FluentControl → ConfigurationMutator
  125. def setPageLoadTimeout(arg0: Long): Unit
    Definition Classes
    FluentControl → ConfigurationMutator
  126. def setRemoteUrl(arg0: String): Unit
    Definition Classes
    FluentControl → ConfigurationMutator
  127. def setScreenshotMode(arg0: TriggerMode): Unit
    Definition Classes
    FluentControl → ConfigurationMutator
  128. def setScreenshotPath(arg0: String): Unit
    Definition Classes
    FluentControl → ConfigurationMutator
  129. def setScriptTimeout(arg0: Long): Unit
    Definition Classes
    FluentControl → ConfigurationMutator
  130. def setWebDriver(arg0: String): Unit
    Definition Classes
    FluentControl → ConfigurationMutator
  131. def submit(selector: String, fields: (String, String)*): FluentList[FluentWebElement]

    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
      )
  132. def switchTo(arg0: FluentWebElement): Unit
    Definition Classes
    FluentControl → NavigationControl
  133. def switchTo(arg0: FluentList[_ <: FluentWebElement]): Unit
    Definition Classes
    FluentControl → NavigationControl
  134. def switchTo(): Unit
    Definition Classes
    FluentControl → NavigationControl
  135. def switchToDefault(): Unit
    Definition Classes
    FluentControl → NavigationControl
  136. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  137. def takeHtmlDump(arg0: String): Unit
    Definition Classes
    FluentControl → SnapshotControl
  138. def takeHtmlDump(): Unit
    Definition Classes
    FluentControl → SnapshotControl
  139. def takeScreenshot(): File
    Definition Classes
    FluentControl → SnapshotControl
  140. def takeScreenshot(arg0: String): File
    Definition Classes
    FluentControl → SnapshotControl
  141. def url(): String
    Definition Classes
    FluentControl → NavigationControl
  142. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  143. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  144. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  145. 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

  146. def waitUntil[T](timeout: Duration)(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

    duration of how long should wait

    block

    code to be executed

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

    the timeout amount

    timeUnit

    timeout unit

    block

    code to be executed

  148. val webDriver: WebDriver
  149. def window(): WindowAction
    Definition Classes
    FluentControl → NavigationControl

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated

    (Since version 9)

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from FluentAdapter

Inherited from IFluentAdapter

Inherited from FluentControlImpl

Inherited from FluentControl

Inherited from ChromiumControl

Inherited from io.fluentlenium.configuration.Configuration

Inherited from ConfigurationMutator

Inherited from ConfigurationProperties

Inherited from PerformanceTimingControl

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