Uses of Interface
io.fluentlenium.core.FluentControl
Packages that use FluentControl
Package
Description
-
Uses of FluentControl in io.fluentlenium.adapter
Subinterfaces of FluentControl in io.fluentlenium.adapterClasses in io.fluentlenium.adapter that implement FluentControlModifier and TypeClassDescriptionclassGeneric adapter toFluentDriver.classCreate an instance of this class if you want to use FluentLenium as an automation framework only.classExtend this class and implementFluentStandaloneRunnable.doRun()if you want to use FluentLenium as an automation framework only.classFluentLenium Test Runner Adapter.classDeprecated.Methods in io.fluentlenium.adapter that return FluentControlModifier and TypeMethodDescriptionDefaultFluentControlContainer.getFluentControl()ThreadLocalFluentControlContainer.getFluentControl()default FluentControlIFluentAdapter.initFluent(org.openqa.selenium.WebDriver webDriver) default FluentControlIFluentAdapter.initFluent(org.openqa.selenium.WebDriver webDriver, Object container) Load aWebDriverinto this adapter.default FluentControlIFluentAdapter.setFluentControl(ContainerFluentControl fluentControl) Sets FluentControlMethods in io.fluentlenium.adapter with parameters of type FluentControlModifier and TypeMethodDescriptionstatic voidTestRunnerCommon.doHtmlDump(Class<?> testClass, String testName, FluentControl fluentControl, Configuration configuration) static voidTestRunnerCommon.doScreenshot(Class<?> testClass, String testName, FluentControl fluentControl, Configuration configuration) voidDefaultFluentControlContainer.setFluentControl(FluentControl fluentControl) voidFluentControlContainer.setFluentControl(FluentControl fluentControl) Set the FluentControl for actual test.voidThreadLocalFluentControlContainer.setFluentControl(FluentControl fluentControl) -
Uses of FluentControl in io.fluentlenium.core
Subinterfaces of FluentControl in io.fluentlenium.coreModifier and TypeInterfaceDescriptioninterfaceProvides controls for a Page Object.Classes in io.fluentlenium.core that implement FluentControlModifier and TypeClassDescriptionclassDefault minimal implementation forFluentContainer.classDefault implementation ofFluentControl.classWrapper class for aWebDriverinstance which also offers shortcut and convenience methods, as well as methods to work with mouse, keyboard and windows.classUse the Page Object Pattern to have more resilient tests.Fields in io.fluentlenium.core declared as FluentControlMethods in io.fluentlenium.core that return FluentControlModifier and TypeMethodDescriptionDefaultFluentContainer.getFluentControl()FluentControl.getFluentControl()Get Fluent ControlFluentControlImpl.getFluentControl()FluentControlProvider.getFluentControl()Methods in io.fluentlenium.core with parameters of type FluentControlModifier and TypeMethodDescriptionFluentDriverWait.await(FluentControl control) Creates aFluentWaitinstance with the argumentFluentControl, and configures the FluentWait with theawaitAtMostandpollingEveryvalues from aConfigurationif they are set in that configuration.voidDefaultFluentContainer.initFluent(FluentControl control) voidFluentContainer.initFluent(FluentControl control) Init this container with aFluentControlinstance.Constructors in io.fluentlenium.core with parameters of type FluentControlModifierConstructorDescriptionDefaultFluentContainer(FluentControl control) Creates a new container, using given fluent control.FluentControlImpl(FluentControl fluentControl) Creates a new fluent adapter using the providedFluentControlwhich 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
Constructors in io.fluentlenium.core.action with parameters of type FluentControlModifierConstructorDescriptionWindowAction(FluentControl control, ComponentInstantiator instantiator, org.openqa.selenium.WebDriver driver) Creates a new window action. -
Uses of FluentControl in io.fluentlenium.core.components
Constructors in io.fluentlenium.core.components with parameters of type FluentControlModifierConstructorDescriptionComponentsManager(FluentControl control) Creates a new components manager.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
Method parameters in io.fluentlenium.core.conditions.wait with type arguments of type FluentControlModifier and TypeMethodDescriptionprotected voidWaitConditionInvocationHandler.until(Predicate<FluentControl> present, String message) Perform the wait.protected voidWaitConditionInvocationHandler.until(Predicate<FluentControl> present, Supplier<String> messageSupplier) Perform the wait. -
Uses of FluentControl in io.fluentlenium.core.domain
Fields in io.fluentlenium.core.domain declared as FluentControlModifier and TypeFieldDescriptionprotected FluentControlComponent.controlprotected final FluentControlComponentList.controlMethods in io.fluentlenium.core.domain that return FluentControlConstructors in io.fluentlenium.core.domain with parameters of type FluentControlModifierConstructorDescriptionComponent(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.FluentWebElement(org.openqa.selenium.WebElement element, FluentControl control, ComponentInstantiator instantiator, org.openqa.selenium.interactions.Actions actions) Creates a new fluent web element. -
Uses of FluentControl in io.fluentlenium.core.events
Constructors in io.fluentlenium.core.events with parameters of type FluentControlModifierConstructorDescriptionEventsRegistry(FluentControl control) Creates a new registry of event listeners. -
Uses of FluentControl in io.fluentlenium.core.hook
Classes in io.fluentlenium.core.hook that implement FluentControlModifier and TypeClassDescriptionclassBase hook supportingFluentWebElementAPI.classBaseHook<T>Base hook implementation.Methods in io.fluentlenium.core.hook with parameters of type FluentControlModifier 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.Constructors in io.fluentlenium.core.hook with parameters of type FluentControlModifierConstructorDescriptionBaseFluentHook(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
Classes in io.fluentlenium.core.hook.wait that implement FluentControlModifier and TypeClassDescriptionclassHook that automatically wait for actions beeing available on the underlying element.Constructors in io.fluentlenium.core.hook.wait with parameters of type FluentControlModifierConstructorDescriptionWaitHook(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
Classes in io.fluentlenium.core.inject that implement FluentControlModifier and TypeClassDescriptionclassContainer global FluentLenium control interface.Methods in io.fluentlenium.core.inject that return FluentControlModifier and TypeMethodDescriptionContainerFluentControl.getAdapterControl()Get the underlying control from the test adapter.ContainerFluentControl.getFluentControl()Constructors in io.fluentlenium.core.inject with parameters of type FluentControlModifierConstructorDescriptionContainerFluentControl(FluentControl adapterControl) Creates a new container fluent control.ContainerFluentControl(FluentControl adapterControl, ContainerContext context) Creates a new container fluent 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
Method parameters in io.fluentlenium.core.wait with type arguments of type FluentControlModifier and TypeMethodDescriptionprotected voidBaseWaitConditions.until(FluentWait wait, Predicate<FluentControl> present, String message) Perform the wait.protected voidBaseWaitConditions.until(FluentWait wait, Predicate<FluentControl> present, Supplier<String> messageSupplier) Perform the wait.<T> TFluentWait.until(Function<? super FluentControl, T> function) <T> TFluentWaitElement.until(Function<? super FluentControl, T> function) Deprecated.<T> TFluentWaitElementList.until(Function<? super FluentControl, T> function) Deprecated.voidFluentWait.untilPredicate(Predicate<FluentControl> predicate) voidFluentWaitElement.untilPredicate(Predicate<FluentControl> predicate) voidFluentWaitElementList.untilPredicate(Predicate<FluentControl> predicate) voidFluentWaitFunctional.untilPredicate(Predicate<FluentControl> predicate) Wait until the predicate returns true.Constructors in io.fluentlenium.core.wait with parameters of type FluentControl
FluentStandaloneRunnableandFluentStandalone.