Uses of Interface
org.fluentlenium.core.FluentControl
-
-
Uses of FluentControl in org.fluentlenium.adapter
Subinterfaces of FluentControl in org.fluentlenium.adapter Modifier and Type Interface Description interface
IFluentAdapter
Classes in org.fluentlenium.adapter that implement FluentControl Modifier and Type Class Description class
FluentAdapter
Generic adapter toFluentDriver
.class
FluentStandalone
Create an instance of this class if you want to use FluentLenium as an automation framework only.class
FluentStandaloneRunnable
Extend this class and implementFluentStandaloneRunnable.doRun()
if you want to use FluentLenium as an automation framework only.class
FluentTestRunnerAdapter
FluentLenium Test Runner Adapter.class
IsolatedTest
Deprecated.use eitherFluentStandaloneRunnable
andFluentStandalone
.Methods in org.fluentlenium.adapter that return FluentControl Modifier and Type Method Description FluentControl
DefaultFluentControlContainer. getFluentControl()
FluentControl
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 FluentControlMethods in org.fluentlenium.adapter with parameters of type FluentControl Modifier and Type Method Description static 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 org.fluentlenium.core
Subinterfaces of FluentControl in org.fluentlenium.core Modifier and Type Interface Description interface
FluentPageControl
Provides controls for a Page Object.Classes in org.fluentlenium.core that implement FluentControl Modifier and Type Class Description class
DefaultFluentContainer
Default minimal implementation forFluentContainer
.class
FluentControlImpl
Default implementation ofFluentControl
.class
FluentDriver
Wrapper class for aWebDriver
instance which also offers shortcut and convenience methods, as well as methods to work with mouse, keyboard and windows.class
FluentPage
Use the Page Object Pattern to have more resilient tests.Fields in org.fluentlenium.core declared as FluentControl Modifier and Type Field Description protected FluentControl
DefaultFluentContainer. control
Methods in org.fluentlenium.core that return FluentControl Modifier and Type Method Description FluentControl
DefaultFluentContainer. getFluentControl()
FluentControl
FluentControl. getFluentControl()
Get Fluent ControlFluentControl
FluentControlImpl. getFluentControl()
FluentControl
FluentControlProvider. getFluentControl()
Methods in org.fluentlenium.core with parameters of type FluentControl Modifier and Type Method Description FluentWait
FluentDriverWait. 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.Constructors in org.fluentlenium.core with parameters of type FluentControl Constructor Description DefaultFluentContainer(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 org.fluentlenium.core.action
Constructors in org.fluentlenium.core.action with parameters of type FluentControl Constructor Description WindowAction(FluentControl control, ComponentInstantiator instantiator, org.openqa.selenium.WebDriver driver)
Creates a new window action. -
Uses of FluentControl in org.fluentlenium.core.components
Constructors in org.fluentlenium.core.components with parameters of type FluentControl Constructor Description ComponentsManager(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 org.fluentlenium.core.conditions.wait
Method parameters in org.fluentlenium.core.conditions.wait with type arguments of type FluentControl Modifier and Type Method Description protected 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 org.fluentlenium.core.domain
Fields in org.fluentlenium.core.domain declared as FluentControl Modifier and Type Field Description protected FluentControl
Component. control
protected FluentControl
ComponentList. control
Methods in org.fluentlenium.core.domain that return FluentControl Modifier and Type Method Description FluentControl
FluentWebElement. getFluentControl()
Constructors in org.fluentlenium.core.domain with parameters of type FluentControl Constructor Description Component(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 org.fluentlenium.core.events
Constructors in org.fluentlenium.core.events with parameters of type FluentControl Constructor Description EventsRegistry(FluentControl control)
Creates a new registry of event listeners. -
Uses of FluentControl in org.fluentlenium.core.hook
Classes in org.fluentlenium.core.hook that implement FluentControl Modifier and Type Class Description class
BaseFluentHook<T>
Base hook supportingFluentWebElement
API.class
BaseHook<T>
Base hook implementation.Methods in org.fluentlenium.core.hook with parameters of type FluentControl Modifier and Type Method Description protected 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.Constructors in org.fluentlenium.core.hook with parameters of type FluentControl Constructor Description BaseFluentHook(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 org.fluentlenium.core.hook.wait
Classes in org.fluentlenium.core.hook.wait that implement FluentControl Modifier and Type Class Description class
WaitHook
Hook that automatically wait for actions beeing available on the underlying element.Constructors in org.fluentlenium.core.hook.wait with parameters of type FluentControl Constructor Description WaitHook(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 org.fluentlenium.core.inject
Classes in org.fluentlenium.core.inject that implement FluentControl Modifier and Type Class Description class
ContainerFluentControl
Container global FluentLenium control interface.Methods in org.fluentlenium.core.inject that return FluentControl Modifier and Type Method Description FluentControl
ContainerFluentControl. getAdapterControl()
Get the underlying control from the test adapter.FluentControl
ContainerFluentControl. getFluentControl()
Constructors in org.fluentlenium.core.inject with parameters of type FluentControl Constructor Description ContainerFluentControl(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 org.fluentlenium.core.wait
Method parameters in org.fluentlenium.core.wait with type arguments of type FluentControl Modifier and Type Method Description protected 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.Constructors in org.fluentlenium.core.wait with parameters of type FluentControl Constructor Description FluentWait(FluentControl control)
Creates a new fluent wait.
-