Package io.fluentlenium.core
Class DefaultFluentContainer
java.lang.Object
io.fluentlenium.core.FluentControlImpl
io.fluentlenium.core.DefaultFluentContainer
- All Implemented Interfaces:
Configuration
,ConfigurationMutator
,ConfigurationProperties
,InputControl
,AlertControl
,CapabilitiesControl
,ComponentInstantiator
,CssControl
,EventsControl
,FluentContainer
,FluentControl
,FluentInjectControl
,NavigationControl
,PerformanceTimingControl
,JavascriptControl
,SearchControl<FluentWebElement>
,SeleniumDriverControl
,SnapshotControl
,AwaitControl
,ChromiumControl
- Direct Known Subclasses:
BaseHook
,FluentPage
Default minimal implementation for
FluentContainer
.
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.fluentlenium.configuration.ConfigurationProperties
ConfigurationProperties.DriverLifecycle, ConfigurationProperties.TriggerMode
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionCreates a new container.DefaultFluentContainer
(FluentControl control) Creates a new container, using given fluent control. -
Method Summary
Modifier and TypeMethodDescriptionfinal org.openqa.selenium.WebDriver
Get the actual underlying Selenium WebDriver.Get Fluent Controlvoid
initFluent
(FluentControl control) Init this container with aFluentControl
instance.Methods inherited from class io.fluentlenium.core.FluentControlImpl
getConfiguration, getControlContainer
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface io.fluentlenium.core.FluentControl
alert, asComponentList, asComponentList, asComponentList, asComponentList, asComponentList, asComponentList, asFluentList, asFluentList, asFluentList, asFluentList, asFluentList, asFluentList, await, canTakeScreenShot, capabilities, css, el, events, executeAsyncScript, executeScript, find, find, find, find, getAppiumDriver, getAwaitAtMost, getAwaitPollingEvery, getBaseUrl, getBrowserTimeout, getBrowserTimeoutRetries, getCapabilities, getChromiumApi, getConfigurationDefaults, getConfigurationFactory, getCookie, getCookies, getCustomProperty, getDeleteCookies, getDriverLifecycle, getEventsEnabled, getHtmlDumpMode, getHtmlDumpPath, getImplicitlyWait, getPageLoadTimeout, getRemoteUrl, getScreenshotMode, getScreenshotPath, getScriptTimeout, getWebDriver, goTo, goTo, goToInNewTab, inject, injectComponent, isComponentClass, isComponentListClass, keyboard, mouse, newComponent, newComponentList, newComponentList, newComponentList, newComponentList, newComponentList, newComponentList, newFluent, newFluentList, newFluentList, newFluentList, newFluentList, newFluentList, newFluentList, newInstance, pageSource, performanceTiming, setAwaitAtMost, setAwaitPollingEvery, setBaseUrl, setBrowserTimeout, setBrowserTimeoutRetries, setCapabilities, setConfigurationFactory, setCustomProperty, setDeleteCookies, setDriverLifecycle, setEventsEnabled, setHtmlDumpMode, setHtmlDumpPath, setImplicitlyWait, setPageLoadTimeout, setRemoteUrl, setScreenshotMode, setScreenshotPath, setScriptTimeout, setWebDriver, switchTo, switchTo, switchTo, switchToDefault, takeHtmlDump, takeHtmlDump, takeScreenshot, takeScreenshot, url, window
-
Field Details
-
control
-
-
Constructor Details
-
DefaultFluentContainer
public DefaultFluentContainer()Creates a new container. -
DefaultFluentContainer
Creates a new container, using given fluent control.- Parameters:
control
- fluent control
-
-
Method Details
-
getFluentControl
Description copied from interface:FluentControl
Get Fluent Control- Specified by:
getFluentControl
in interfaceFluentControl
- Overrides:
getFluentControl
in classFluentControlImpl
- Returns:
- FluentControl instance
-
initFluent
Description copied from interface:FluentContainer
Init this container with aFluentControl
instance.- Specified by:
initFluent
in interfaceFluentContainer
- Parameters:
control
- control interface of the container
-
getDriver
public final org.openqa.selenium.WebDriver getDriver()Description copied from interface:SeleniumDriverControl
Get the actual underlying Selenium WebDriver.To customize the WebDriver, you should configure
FluentControl.getWebDriver()
or overrideIFluentAdapter.newWebDriver()
.This method can't be overridden to customize the WebDriver.
- Specified by:
getDriver
in interfaceFluentControl
- Specified by:
getDriver
in interfaceSeleniumDriverControl
- Returns:
- The actual underlying Selenium WebDriver
-