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

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

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

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

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

  133. val webDriver: WebDriver
  134. def window(): WindowAction
    Definition Classes
    FluentControl → NavigationControl