Uses of Interface
io.fluentlenium.core.FluentControl
Package
Description
-
Uses of FluentControl in io.fluentlenium.adapter
Modifier and TypeClassDescriptionclass
Generic adapter toFluentDriver
.class
Create an instance of this class if you want to use FluentLenium as an automation framework only.class
Extend this class and implementFluentStandaloneRunnable.doRun()
if you want to use FluentLenium as an automation framework only.class
FluentLenium Test Runner Adapter.class
Deprecated.Modifier and TypeMethodDescriptionDefaultFluentControlContainer.getFluentControl()
ThreadLocalFluentControlContainer.getFluentControl()
default FluentControl
IFluentAdapter.initFluent
(org.openqa.selenium.WebDriver webDriver) default FluentControl
IFluentAdapter.initFluent
(org.openqa.selenium.WebDriver webDriver, Object container) Load aWebDriver
into this adapter.default FluentControl
IFluentAdapter.setFluentControl
(ContainerFluentControl fluentControl) Sets FluentControlModifier and TypeMethodDescriptionstatic void
TestRunnerCommon.doHtmlDump
(Class<?> testClass, String testName, FluentControl fluentControl, Configuration configuration) static void
TestRunnerCommon.doScreenshot
(Class<?> testClass, String testName, FluentControl fluentControl, Configuration configuration) void
DefaultFluentControlContainer.setFluentControl
(FluentControl fluentControl) void
FluentControlContainer.setFluentControl
(FluentControl fluentControl) Set the FluentControl for actual test.void
ThreadLocalFluentControlContainer.setFluentControl
(FluentControl fluentControl) -
Uses of FluentControl in io.fluentlenium.adapter.cucumber
Modifier and TypeClassDescriptionclass
Cucumber FluentLenium Test Runner Adapter. -
Uses of FluentControl in io.fluentlenium.adapter.junit
-
Uses of FluentControl in io.fluentlenium.adapter.junit.jupiter
-
Uses of FluentControl in io.fluentlenium.adapter.testng
Modifier and TypeClassDescriptionclass
TestNG FluentLenium Test Runner Adapter.class
TestNG FluentLenium Test Runner Adapter. -
Uses of FluentControl in io.fluentlenium.core
Modifier and TypeInterfaceDescriptioninterface
Provides controls for a Page Object.Modifier and TypeClassDescriptionclass
Default minimal implementation forFluentContainer
.class
Default implementation ofFluentControl
.class
Wrapper class for aWebDriver
instance which also offers shortcut and convenience methods, as well as methods to work with mouse, keyboard and windows.class
Use the Page Object Pattern to have more resilient tests.Modifier and TypeMethodDescriptionDefaultFluentContainer.getFluentControl()
FluentControl.getFluentControl()
Get Fluent ControlFluentControlImpl.getFluentControl()
FluentControlProvider.getFluentControl()
Modifier and TypeMethodDescriptionFluentDriverWait.await
(FluentControl control) Creates aFluentWait
instance with the argumentFluentControl
, and configures the FluentWait with theawaitAtMost
andpollingEvery
values from aConfiguration
if they are set in that configuration.void
DefaultFluentContainer.initFluent
(FluentControl control) void
FluentContainer.initFluent
(FluentControl control) Init this container with aFluentControl
instance.ModifierConstructorDescriptionDefaultFluentContainer
(FluentControl control) Creates a new container, using given fluent control.FluentControlImpl
(FluentControl fluentControl) Creates a new fluent adapter using the providedFluentControl
which may be e.g.FluentDriver
(org.openqa.selenium.WebDriver driver, Configuration configuration, FluentControl adapter) Wrap the driver into a Fluent driver.FluentPage
(FluentControl control) Creates a new fluent page, using given fluent control. -
Uses of FluentControl in io.fluentlenium.core.action
ModifierConstructorDescriptionWindowAction
(FluentControl control, ComponentInstantiator instantiator, org.openqa.selenium.WebDriver driver) Creates a new window action. -
Uses of FluentControl in io.fluentlenium.core.components
ModifierConstructorDescriptionComponentsManager
(FluentControl control) Creates a new components manager.DefaultComponentInstantiator
(FluentControl control) Creates a new component instantiator, using given fluent control.DefaultComponentInstantiator
(FluentControl control, ComponentInstantiator instantiator) Creates a new component instantiator, using given fluent control and underlying instantiator. -
Uses of FluentControl in io.fluentlenium.core.conditions.wait
Modifier and TypeMethodDescriptionprotected void
WaitConditionInvocationHandler.until
(Predicate<FluentControl> present, String message) Perform the wait.protected void
WaitConditionInvocationHandler.until
(Predicate<FluentControl> present, Supplier<String> messageSupplier) Perform the wait. -
Uses of FluentControl in io.fluentlenium.core.domain
Modifier and TypeFieldDescriptionprotected FluentControl
Component.control
protected final FluentControl
ComponentList.control
ModifierConstructorDescriptionComponent
(org.openqa.selenium.WebElement webElement, FluentControl control, ComponentInstantiator instantiator) Creates a new componentComponentList
(Class<T> componentClass, List<T> list, FluentControl control, ComponentInstantiator instantiator) Creates a new list of componentsFluentListImpl
(Class<E> componentClass, List<E> list, FluentControl control, ComponentInstantiator instantiator) Creates a new fluent list.FluentWebElement
(org.openqa.selenium.WebElement element, FluentControl control, ComponentInstantiator instantiator) Creates a new fluent web element. -
Uses of FluentControl in io.fluentlenium.core.events
ModifierConstructorDescriptionEventsRegistry
(FluentControl control) Creates a new registry of event listeners. -
Uses of FluentControl in io.fluentlenium.core.hook
Modifier and TypeClassDescriptionclass
Base hook supportingFluentWebElement
API.class
BaseHook<T>
Base hook implementation.Modifier and TypeMethodDescriptionprotected FluentHook<?>
DefaultHookChainBuilder.newInstance
(Class<? extends FluentHook<?>> hookClass, FluentControl fluentControl, ComponentInstantiator instantiator, Supplier<org.openqa.selenium.WebElement> elementSupplier, Supplier<org.openqa.selenium.support.pagefactory.ElementLocator> locatorSupplier, Supplier<String> toStringSupplier, Object options) Creates a new hook instance.ModifierConstructorDescriptionBaseFluentHook
(FluentControl control, ComponentInstantiator instantiator, Supplier<org.openqa.selenium.WebElement> elementSupplier, Supplier<org.openqa.selenium.support.pagefactory.ElementLocator> locatorSupplier, Supplier<String> toStringSupplier, T options) create a new base fluent hook.BaseHook
(FluentControl control, ComponentInstantiator instantiator, Supplier<org.openqa.selenium.WebElement> elementSupplier, Supplier<org.openqa.selenium.support.pagefactory.ElementLocator> locatorSupplier, Supplier<String> toStringSupplier, T options) Creates a new base hook.DefaultHookChainBuilder
(FluentControl control, ComponentInstantiator instantiator) Creates a new default hook chain builderHookControlImpl
(T self, Object proxy, FluentControl control, ComponentInstantiator instantiator, Supplier<T> noHookInstanceSupplier) Creates a new control implementation for hooks. -
Uses of FluentControl in io.fluentlenium.core.hook.wait
Modifier and TypeClassDescriptionclass
Hook that automatically wait for actions beeing available on the underlying element.ModifierConstructorDescriptionWaitHook
(FluentControl control, ComponentInstantiator instantiator, Supplier<org.openqa.selenium.WebElement> elementSupplier, Supplier<org.openqa.selenium.support.pagefactory.ElementLocator> locatorSupplier, Supplier<String> toStringSupplier, WaitHookOptions options) Creates a new wait hook -
Uses of FluentControl in io.fluentlenium.core.inject
Modifier and TypeClassDescriptionclass
Container global FluentLenium control interface.Modifier and TypeMethodDescriptionContainerFluentControl.getAdapterControl()
Get the underlying control from the test adapter.ContainerFluentControl.getFluentControl()
ModifierConstructorDescriptionContainerFluentControl
(FluentControl adapterControl) Creates a new container fluent control.ContainerFluentControl
(FluentControl adapterControl, ContainerContext context) Creates a new container fluent control.DefaultContainerInstantiator
(FluentControl control) Creates a new container instantiatorFluentInjector
(FluentControl control, EventsRegistry eventsRegistry, ComponentsManager componentsManager, ContainerInstantiator instantiator) Creates a new injector. -
Uses of FluentControl in io.fluentlenium.core.wait
Modifier and TypeMethodDescriptionprotected void
BaseWaitConditions.until
(FluentWait wait, Predicate<FluentControl> present, String message) Perform the wait.protected void
BaseWaitConditions.until
(FluentWait wait, Predicate<FluentControl> present, Supplier<String> messageSupplier) Perform the wait.<T> T
FluentWait.until
(Function<? super FluentControl, T> function) <T> T
FluentWaitElement.until
(Function<? super FluentControl, T> function) Deprecated.<T> T
FluentWaitElementList.until
(Function<? super FluentControl, T> function) Deprecated.void
FluentWait.untilPredicate
(Predicate<FluentControl> predicate) void
FluentWaitElement.untilPredicate
(Predicate<FluentControl> predicate) void
FluentWaitElementList.untilPredicate
(Predicate<FluentControl> predicate) void
FluentWaitFunctional.untilPredicate
(Predicate<FluentControl> predicate) Wait until the predicate returns true.
FluentStandaloneRunnable
andFluentStandalone
.