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 aFluentConfigurationannotation 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 providedFluentControlwhich 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, waitMethods 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 aFluentConfigurationannotation 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 whichFluentConfigurationannotation configuration will be looked up
-
FluentControlImpl
Creates a new fluent adapter using the providedFluentControlwhich may be e.g. aFluentDriverinstance.- Parameters:
fluentControl- the fluent control
-
-
Method Details
-
getControlContainer
Description copied from interface:FluentControlGet the control interface container- Specified by:
getControlContainerin interfaceFluentControl- Returns:
- control interface container
-
getFluentControl
Description copied from interface:FluentControlGet Fluent Control- Specified by:
getFluentControlin interfaceFluentControl- Returns:
- FluentControl instance
-
getConfiguration
Description copied from interface:FluentControlGet the test adapter configuration.- Specified by:
getConfigurationin interfaceFluentControl- Returns:
- configuration
-