Package io.fluentlenium.core
Class FluentControlImpl
java.lang.Object
io.fluentlenium.core.FluentControlImpl
- All Implemented Interfaces:
Configuration
,ConfigurationMutator
,ConfigurationProperties
,InputControl
,AlertControl
,CapabilitiesControl
,ComponentInstantiator
,CssControl
,EventsControl
,FluentControl
,FluentInjectControl
,NavigationControl
,PerformanceTimingControl
,JavascriptControl
,SearchControl<FluentWebElement>
,SeleniumDriverControl
,SnapshotControl
,AwaitControl
,ChromiumControl
- Direct Known Subclasses:
ContainerFluentControl
,DefaultFluentContainer
,FluentAdapter
,FluentDriver
Default implementation of
FluentControl
.
It delegates all calls to an underlying FluentControlContainer
containing the FluentDriver
instance, and a Configuration
instance.
Do not put any logic here. Consider it as a proxy exposing fluentlenium-core to end user
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.fluentlenium.configuration.ConfigurationProperties
ConfigurationProperties.DriverLifecycle, ConfigurationProperties.TriggerMode
-
Constructor Summary
ConstructorsConstructorDescriptionFluentControlImpl
(FluentControlContainer controlContainer) The configuration for this control is provided via itself, without having aFluentConfiguration
annotation specified.FluentControlImpl
(FluentControlContainer controlContainer, Class clazz) Creates a new fluent adapter, using given control interface container.FluentControlImpl
(FluentControl fluentControl) Creates a new fluent adapter using the providedFluentControl
which may be e.g. -
Method Summary
Modifier and TypeMethodDescriptionGet the test adapter configuration.Get the control interface containerGet Fluent ControlMethods 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, getDriver, 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
-
Constructor Details
-
FluentControlImpl
public FluentControlImpl() -
FluentControlImpl
The configuration for this control is provided via itself, without having aFluentConfiguration
annotation specified.- Parameters:
controlContainer
- the control interface container
-
FluentControlImpl
Creates a new fluent adapter, using given control interface container.- Parameters:
controlContainer
- control interface containerclazz
- class from whichFluentConfiguration
annotation configuration will be looked up
-
FluentControlImpl
Creates a new fluent adapter using the providedFluentControl
which may be e.g. aFluentDriver
instance.- Parameters:
fluentControl
- the fluent control
-
-
Method Details
-
getControlContainer
Description copied from interface:FluentControl
Get the control interface container- Specified by:
getControlContainer
in interfaceFluentControl
- Returns:
- control interface container
-
getFluentControl
Description copied from interface:FluentControl
Get Fluent Control- Specified by:
getFluentControl
in interfaceFluentControl
- Returns:
- FluentControl instance
-
getConfiguration
Description copied from interface:FluentControl
Get the test adapter configuration.- Specified by:
getConfiguration
in interfaceFluentControl
- Returns:
- configuration
-