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.WebDriverGet the actual underlying Selenium WebDriver.Get Fluent ControlvoidinitFluent(FluentControl control) Init this container with aFluentControlinstance.Methods inherited from class io.fluentlenium.core.FluentControlImpl
getConfiguration, getControlContainerMethods 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, 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:FluentControlGet Fluent Control- Specified by:
getFluentControlin interfaceFluentControl- Overrides:
getFluentControlin classFluentControlImpl- Returns:
- FluentControl instance
-
initFluent
Description copied from interface:FluentContainerInit this container with aFluentControlinstance.- Specified by:
initFluentin interfaceFluentContainer- Parameters:
control- control interface of the container
-
getDriver
public final org.openqa.selenium.WebDriver getDriver()Description copied from interface:SeleniumDriverControlGet 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:
getDriverin interfaceFluentControl- Specified by:
getDriverin interfaceSeleniumDriverControl- Returns:
- The actual underlying Selenium WebDriver
-