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
- Alphabetic
- By Inheritance
- TestBrowser
- Serializable
- Product
- Equals
- FluentAdapter
- IFluentAdapter
- FluentControlImpl
- FluentControl
- ChromiumControl
- Configuration
- ConfigurationMutator
- ConfigurationProperties
- PerformanceTimingControl
- CapabilitiesControl
- ComponentInstantiator
- FluentInjectControl
- CssControl
- SeleniumDriverControl
- NavigationControl
- EventsControl
- SnapshotControl
- AlertControl
- JavascriptControl
- InputControl
- AwaitControl
- SearchControl
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new TestBrowser(webDriver: WebDriver, baseUrl: Option[String])
- webDriver
The WebDriver instance to use.
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- def $(arg0: AppiumBy, arg1: <repeated...>[SearchFilter]): FluentList[FluentWebElement]
- Definition Classes
- SearchControl
- Annotations
- @transient()
- def $(arg0: By, arg1: <repeated...>[SearchFilter]): FluentList[FluentWebElement]
- Definition Classes
- SearchControl
- Annotations
- @transient()
- def $(arg0: <repeated...>[SearchFilter]): FluentList[FluentWebElement]
- Definition Classes
- SearchControl
- Annotations
- @transient()
- def $(arg0: String, arg1: <repeated...>[SearchFilter]): FluentList[FluentWebElement]
- Definition Classes
- SearchControl
- Annotations
- @transient()
- def $(arg0: List[WebElement]): FluentList[FluentWebElement]
- Definition Classes
- SearchControl
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- def alert(): Alert
- Definition Classes
- FluentControl → AlertControl
- def asComponentList[L <: List[T], T <: AnyRef](arg0: Class[L], arg1: Class[T], arg2: List[WebElement]): L
- Definition Classes
- FluentControl → ComponentInstantiator
- def asComponentList[T <: AnyRef](arg0: Class[T], arg1: List[WebElement]): ComponentList[T]
- Definition Classes
- FluentControl → ComponentInstantiator
- def asComponentList[L <: List[T], T <: AnyRef](arg0: Class[L], arg1: Class[T], arg2: <repeated...>[WebElement]): L
- Definition Classes
- FluentControl → ComponentInstantiator
- Annotations
- @transient()
- def asComponentList[T <: AnyRef](arg0: Class[T], arg1: Iterable[WebElement]): ComponentList[T]
- Definition Classes
- FluentControl → ComponentInstantiator
- def asComponentList[T <: AnyRef](arg0: Class[T], arg1: <repeated...>[WebElement]): ComponentList[T]
- Definition Classes
- FluentControl → ComponentInstantiator
- Annotations
- @transient()
- def asComponentList[L <: List[T], T <: AnyRef](arg0: Class[L], arg1: Class[T], arg2: Iterable[WebElement]): L
- Definition Classes
- FluentControl → ComponentInstantiator
- def asFluentList(arg0: List[WebElement]): FluentList[FluentWebElement]
- Definition Classes
- FluentControl → ComponentInstantiator
- def asFluentList(arg0: Iterable[WebElement]): FluentList[FluentWebElement]
- Definition Classes
- FluentControl → ComponentInstantiator
- def asFluentList[T <: FluentWebElement](arg0: Class[T], arg1: <repeated...>[WebElement]): FluentList[T]
- Definition Classes
- FluentControl → ComponentInstantiator
- Annotations
- @transient()
- def asFluentList[T <: FluentWebElement](arg0: Class[T], arg1: List[WebElement]): FluentList[T]
- Definition Classes
- FluentControl → ComponentInstantiator
- def asFluentList[T <: FluentWebElement](arg0: Class[T], arg1: Iterable[WebElement]): FluentList[T]
- Definition Classes
- FluentControl → ComponentInstantiator
- def asFluentList(arg0: <repeated...>[WebElement]): FluentList[FluentWebElement]
- Definition Classes
- FluentControl → ComponentInstantiator
- Annotations
- @transient()
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def await(): FluentWait
- Definition Classes
- FluentControl → AwaitControl
- val baseUrl: Option[String]
- def canTakeScreenShot(): Boolean
- Definition Classes
- FluentControl → SnapshotControl
- def capabilities(): Capabilities
- Definition Classes
- FluentControl → CapabilitiesControl
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @HotSpotIntrinsicCandidate() @native()
- def css(): CssSupport
- Definition Classes
- FluentControl → CssControl
- def el(arg0: WebElement): FluentWebElement
- Definition Classes
- FluentControl → SearchControl
- def el(arg0: By, arg1: <repeated...>[SearchFilter]): FluentWebElement
- Definition Classes
- SearchControl
- Annotations
- @transient()
- def el(arg0: AppiumBy, arg1: <repeated...>[SearchFilter]): FluentWebElement
- Definition Classes
- SearchControl
- Annotations
- @transient()
- def el(arg0: <repeated...>[SearchFilter]): FluentWebElement
- Definition Classes
- SearchControl
- Annotations
- @transient()
- def el(arg0: String, arg1: <repeated...>[SearchFilter]): FluentWebElement
- Definition Classes
- SearchControl
- Annotations
- @transient()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def events(): EventsRegistry
- Definition Classes
- FluentControl → EventsControl
- def executeAsyncScript(arg0: String, arg1: <repeated...>[AnyRef]): FluentJavascript
- Definition Classes
- FluentControl → JavascriptControl
- Annotations
- @transient()
- def executeScript(arg0: String, arg1: <repeated...>[AnyRef]): FluentJavascript
- Definition Classes
- FluentControl → JavascriptControl
- Annotations
- @transient()
- def find(arg0: <repeated...>[SearchFilter]): FluentList[FluentWebElement]
- Definition Classes
- FluentControl → SearchControl
- Annotations
- @transient()
- def find(arg0: String, arg1: <repeated...>[SearchFilter]): FluentList[FluentWebElement]
- Definition Classes
- FluentControl → SearchControl
- Annotations
- @transient()
- def find(arg0: List[WebElement]): FluentList[FluentWebElement]
- Definition Classes
- FluentControl → SearchControl
- def find(arg0: By, arg1: <repeated...>[SearchFilter]): FluentList[FluentWebElement]
- Definition Classes
- FluentControl → SearchControl
- Annotations
- @transient()
- def getAppiumDriver(): AppiumDriver
- Definition Classes
- FluentControl → SeleniumDriverControl
- def getAwaitAtMost(): Long
- Definition Classes
- FluentControl → ConfigurationProperties
- def getAwaitPollingEvery(): Long
- Definition Classes
- FluentControl → ConfigurationProperties
- def getBaseUrl(): String
- Definition Classes
- FluentControl → ConfigurationProperties
- def getBrowserTimeout(): Long
- Definition Classes
- FluentControl → ConfigurationProperties
- def getBrowserTimeoutRetries(): Integer
- Definition Classes
- FluentControl → ConfigurationProperties
- def getCapabilities(): Capabilities
- Definition Classes
- FluentControl → ConfigurationProperties
- def getChromiumApi(): ChromiumApi
- Definition Classes
- FluentControl → ChromiumControl
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @HotSpotIntrinsicCandidate() @native()
- def getConfiguration(): io.fluentlenium.configuration.Configuration
- Definition Classes
- FluentControlImpl → FluentControl
- def getConfigurationDefaults(): Class[_ <: ConfigurationProperties]
- Definition Classes
- FluentControl → ConfigurationProperties
- def getConfigurationFactory(): Class[_ <: ConfigurationFactory]
- Definition Classes
- FluentControl → ConfigurationProperties
- def getControlContainer(): FluentControlContainer
- Definition Classes
- FluentControlImpl → FluentControl
- def getCookie(arg0: String): Cookie
- Definition Classes
- FluentControl → NavigationControl
- def getCookies(): Set[Cookie]
- Definition Classes
- FluentControl → NavigationControl
- def getCustomProperty(arg0: String): String
- Definition Classes
- FluentControl → ConfigurationProperties
- def getDeleteCookies(): Boolean
- Definition Classes
- FluentControl → ConfigurationProperties
- final def getDriver(): WebDriver
- Definition Classes
- FluentAdapter → IFluentAdapter → FluentControl → SeleniumDriverControl
- def getDriverLifecycle(): DriverLifecycle
- Definition Classes
- FluentControl → ConfigurationProperties
- def getEventsEnabled(): Boolean
- Definition Classes
- FluentControl → ConfigurationProperties
- def getFluentControl(): ContainerFluentControl
- Definition Classes
- FluentAdapter → IFluentAdapter → FluentControlImpl → FluentControl
- def getHtmlDumpMode(): TriggerMode
- Definition Classes
- FluentControl → ConfigurationProperties
- def getHtmlDumpPath(): String
- Definition Classes
- FluentControl → ConfigurationProperties
- def getImplicitlyWait(): Long
- Definition Classes
- FluentControl → ConfigurationProperties
- def getPageLoadTimeout(): Long
- Definition Classes
- FluentControl → ConfigurationProperties
- def getRemoteUrl(): String
- Definition Classes
- FluentControl → ConfigurationProperties
- def getScreenshotMode(): TriggerMode
- Definition Classes
- FluentControl → ConfigurationProperties
- def getScreenshotPath(): String
- Definition Classes
- FluentControl → ConfigurationProperties
- def getScriptTimeout(): Long
- Definition Classes
- FluentControl → ConfigurationProperties
- def getWebDriver(): String
- Definition Classes
- FluentControl → ConfigurationProperties
- def goTo(arg0: String): Unit
- Definition Classes
- FluentControl → NavigationControl
- def goTo[P <: FluentPage](arg0: P): P
- Definition Classes
- FluentControl → NavigationControl
- def goToInNewTab(arg0: String): Unit
- Definition Classes
- FluentControl → NavigationControl
- def initFluent(arg0: WebDriver): FluentControl
- Definition Classes
- IFluentAdapter
- def initFluent(arg0: WebDriver, arg1: AnyRef): FluentControl
- Definition Classes
- IFluentAdapter
- def inject(arg0: AnyRef): ContainerContext
- Definition Classes
- FluentControl → FluentInjectControl
- def injectComponent(arg0: AnyRef, arg1: AnyRef, arg2: SearchContext): ContainerContext
- Definition Classes
- FluentControl → FluentInjectControl
- def isComponentClass(arg0: Class[_ <: AnyRef]): Boolean
- Definition Classes
- FluentControl → ComponentInstantiator
- def isComponentListClass(arg0: Class[_ <: List[_ <: AnyRef]]): Boolean
- Definition Classes
- FluentControl → ComponentInstantiator
- def isFluentControlAvailable(): Boolean
- Definition Classes
- IFluentAdapter
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def keyboard(): KeyboardActions
- Definition Classes
- FluentControl → InputControl
- def manage: Options
retrieves the underlying option interface that can be used to set cookies, manage timeouts among other things
- def mouse(): MouseActions
- Definition Classes
- FluentControl → InputControl
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def newComponent[T <: AnyRef](arg0: Class[T], arg1: WebElement): T
- Definition Classes
- FluentControl → ComponentInstantiator
- def newComponentList[L <: List[T], T <: AnyRef](arg0: Class[L], arg1: Class[T], arg2: List[T]): L
- Definition Classes
- FluentControl → ComponentInstantiator
- def newComponentList[T <: AnyRef](arg0: Class[T], arg1: <repeated...>[T]): ComponentList[T]
- Definition Classes
- FluentControl → ComponentInstantiator
- Annotations
- @transient()
- def newComponentList[T <: AnyRef](arg0: Class[T]): ComponentList[T]
- Definition Classes
- FluentControl → ComponentInstantiator
- def newComponentList[T <: AnyRef](arg0: Class[T], arg1: List[T]): ComponentList[T]
- Definition Classes
- FluentControl → ComponentInstantiator
- def newComponentList[L <: List[T], T <: AnyRef](arg0: Class[L], arg1: Class[T], arg2: <repeated...>[T]): L
- Definition Classes
- FluentControl → ComponentInstantiator
- Annotations
- @transient()
- def newComponentList[L <: List[T], T <: AnyRef](arg0: Class[L], arg1: Class[T]): L
- Definition Classes
- FluentControl → ComponentInstantiator
- def newFluent(arg0: WebElement): FluentWebElement
- Definition Classes
- FluentControl → ComponentInstantiator
- def newFluentList[T <: FluentWebElement](arg0: Class[T], arg1: <repeated...>[T]): FluentList[T]
- Definition Classes
- FluentControl → ComponentInstantiator
- Annotations
- @transient()
- def newFluentList(arg0: List[FluentWebElement]): FluentList[FluentWebElement]
- Definition Classes
- FluentControl → ComponentInstantiator
- def newFluentList(arg0: <repeated...>[FluentWebElement]): FluentList[FluentWebElement]
- Definition Classes
- FluentControl → ComponentInstantiator
- Annotations
- @transient()
- def newFluentList(): FluentList[FluentWebElement]
- Definition Classes
- FluentControl → ComponentInstantiator
- def newFluentList[T <: FluentWebElement](arg0: Class[T]): FluentList[T]
- Definition Classes
- FluentControl → ComponentInstantiator
- def newFluentList[T <: FluentWebElement](arg0: Class[T], arg1: List[T]): FluentList[T]
- Definition Classes
- FluentControl → ComponentInstantiator
- def newInstance[T <: AnyRef](arg0: Class[T]): T
- Definition Classes
- FluentControl → FluentInjectControl
- def newWebDriver(): WebDriver
- Definition Classes
- IFluentAdapter
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @HotSpotIntrinsicCandidate() @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @HotSpotIntrinsicCandidate() @native()
- def pageSource(): String
- Definition Classes
- FluentControl → NavigationControl
- def performanceTiming(): PerformanceTiming
- Definition Classes
- FluentControl → PerformanceTimingControl
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- def quit(): Unit
- def releaseFluent(): Boolean
- Definition Classes
- IFluentAdapter
- def setAwaitAtMost(arg0: Long): Unit
- Definition Classes
- FluentControl → ConfigurationMutator
- def setAwaitPollingEvery(arg0: Long): Unit
- Definition Classes
- FluentControl → ConfigurationMutator
- def setBaseUrl(arg0: String): Unit
- Definition Classes
- FluentControl → ConfigurationMutator
- def setBrowserTimeout(arg0: Long): Unit
- Definition Classes
- FluentControl → ConfigurationMutator
- def setBrowserTimeoutRetries(arg0: Integer): Unit
- Definition Classes
- FluentControl → ConfigurationMutator
- def setCapabilities(arg0: Capabilities): Unit
- Definition Classes
- FluentControl → ConfigurationMutator
- def setConfigurationFactory(arg0: Class[_ <: ConfigurationFactory]): Unit
- Definition Classes
- FluentControl → ConfigurationMutator
- def setCustomProperty(arg0: String, arg1: String): Unit
- Definition Classes
- FluentControl → ConfigurationMutator
- def setDeleteCookies(arg0: Boolean): Unit
- Definition Classes
- FluentControl → ConfigurationMutator
- def setDriverLifecycle(arg0: DriverLifecycle): Unit
- Definition Classes
- FluentControl → ConfigurationMutator
- def setEventsEnabled(arg0: Boolean): Unit
- Definition Classes
- FluentControl → ConfigurationMutator
- def setFluentControl(arg0: ContainerFluentControl): FluentControl
- Definition Classes
- IFluentAdapter
- def setHtmlDumpMode(arg0: TriggerMode): Unit
- Definition Classes
- FluentControl → ConfigurationMutator
- def setHtmlDumpPath(arg0: String): Unit
- Definition Classes
- FluentControl → ConfigurationMutator
- def setImplicitlyWait(arg0: Long): Unit
- Definition Classes
- FluentControl → ConfigurationMutator
- def setPageLoadTimeout(arg0: Long): Unit
- Definition Classes
- FluentControl → ConfigurationMutator
- def setRemoteUrl(arg0: String): Unit
- Definition Classes
- FluentControl → ConfigurationMutator
- def setScreenshotMode(arg0: TriggerMode): Unit
- Definition Classes
- FluentControl → ConfigurationMutator
- def setScreenshotPath(arg0: String): Unit
- Definition Classes
- FluentControl → ConfigurationMutator
- def setScriptTimeout(arg0: Long): Unit
- Definition Classes
- FluentControl → ConfigurationMutator
- def setWebDriver(arg0: String): Unit
- Definition Classes
- FluentControl → ConfigurationMutator
- 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
submit("#login", fields = "email" -> email, "password" -> password )
Example: - def switchTo(arg0: FluentWebElement): Unit
- Definition Classes
- FluentControl → NavigationControl
- def switchTo(arg0: FluentList[_ <: FluentWebElement]): Unit
- Definition Classes
- FluentControl → NavigationControl
- def switchTo(): Unit
- Definition Classes
- FluentControl → NavigationControl
- def switchToDefault(): Unit
- Definition Classes
- FluentControl → NavigationControl
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def takeHtmlDump(arg0: String): Unit
- Definition Classes
- FluentControl → SnapshotControl
- def takeHtmlDump(): Unit
- Definition Classes
- FluentControl → SnapshotControl
- def takeScreenshot(): File
- Definition Classes
- FluentControl → SnapshotControl
- def takeScreenshot(arg0: String): File
- Definition Classes
- FluentControl → SnapshotControl
- def url(): String
- Definition Classes
- FluentControl → NavigationControl
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- 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
- 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
- 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
- val webDriver: WebDriver
- def window(): WindowAction
- Definition Classes
- FluentControl → NavigationControl
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated
(Since version 9)