| Modifier and Type | Class and Description |
|---|---|
class |
FluentAdapter
Generic adapter to
FluentDriver. |
class |
FluentTestRunnerAdapter
FluentLenium Test Runner Adapter.
|
class |
IsolatedTest
Instead of extending FluentTest, you can instantiate this class directly.
|
| Modifier and Type | Method and Description |
|---|---|
FluentControl |
ThreadLocalFluentControlContainer.getFluentControl() |
FluentControl |
DefaultFluentControlContainer.getFluentControl() |
| Modifier and Type | Method and Description |
|---|---|
void |
ThreadLocalFluentControlContainer.setFluentControl(FluentControl fluentControl) |
void |
FluentControlContainer.setFluentControl(FluentControl fluentControl)
Set the FluentControl for actual test.
|
void |
DefaultFluentControlContainer.setFluentControl(FluentControl fluentControl) |
| Modifier and Type | Interface and Description |
|---|---|
interface |
FluentPageControl
Control a Page Object.
|
| Modifier and Type | Class and Description |
|---|---|
class |
DefaultFluentContainer
Default minimal implementation for
FluentContainer. |
class |
FluentDriver
Util Class which offers some shortcut to webdriver methods
|
class |
FluentPage
Use the Page Object Pattern to have more resilient tests.
|
| Modifier and Type | Field and Description |
|---|---|
protected FluentControl |
DefaultFluentContainer.control |
| Modifier and Type | Method and Description |
|---|---|
FluentControl |
FluentControlProvider.getFluentControl() |
| Modifier and Type | Method and Description |
|---|---|
void |
FluentContainer.initFluent(FluentControl control)
Init this container with a
FluentControl instance. |
void |
DefaultFluentContainer.initFluent(FluentControl control) |
| Constructor and Description |
|---|
DefaultFluentContainer(FluentControl control)
Creates a new container, using given fluent control.
|
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.
|
| Constructor and Description |
|---|
WindowAction(FluentControl control,
ComponentInstantiator instantiator,
org.openqa.selenium.WebDriver driver)
Creates a new window action.
|
| Constructor and 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.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
WaitConditionInvocationHandler.until(com.google.common.base.Predicate<FluentControl> present,
String message)
Perform the wait.
|
protected void |
WaitConditionInvocationHandler.until(com.google.common.base.Predicate<FluentControl> present,
com.google.common.base.Supplier<String> messageSupplier)
Perform the wait.
|
| Modifier and Type | Field and Description |
|---|---|
protected FluentControl |
ComponentList.control |
protected FluentControl |
Component.control |
| Constructor and Description |
|---|
Component(org.openqa.selenium.WebElement webElement,
FluentControl control,
ComponentInstantiator instantiator)
Creates a new component
|
ComponentList(Class<T> componentClass,
List<T> list,
FluentControl control,
ComponentInstantiator instantiator)
Creates a new list of components
|
FluentListImpl(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.
|
| Constructor and Description |
|---|
EventsRegistry(FluentControl control)
Creates a new registry of event listeners.
|
| Modifier and Type | Class and Description |
|---|---|
class |
BaseFluentHook<T>
Base hook supporting
FluentWebElement API. |
class |
BaseHook<T>
Base hook implementation.
|
| Modifier and Type | Method and Description |
|---|---|
protected FluentHook<?> |
DefaultHookChainBuilder.newInstance(Class<? extends FluentHook<?>> hookClass,
FluentControl fluentControl,
ComponentInstantiator instantiator,
com.google.common.base.Supplier<org.openqa.selenium.WebElement> elementSupplier,
com.google.common.base.Supplier<org.openqa.selenium.support.pagefactory.ElementLocator> locatorSupplier,
com.google.common.base.Supplier<String> toStringSupplier,
Object options)
Creates a new hook instance.
|
| Constructor and Description |
|---|
BaseFluentHook(FluentControl control,
ComponentInstantiator instantiator,
com.google.common.base.Supplier<org.openqa.selenium.WebElement> elementSupplier,
com.google.common.base.Supplier<org.openqa.selenium.support.pagefactory.ElementLocator> locatorSupplier,
com.google.common.base.Supplier<String> toStringSupplier,
T options)
create a new base fluent hook.
|
BaseHook(FluentControl control,
ComponentInstantiator instantiator,
com.google.common.base.Supplier<org.openqa.selenium.WebElement> elementSupplier,
com.google.common.base.Supplier<org.openqa.selenium.support.pagefactory.ElementLocator> locatorSupplier,
com.google.common.base.Supplier<String> toStringSupplier,
T options)
Creates a new base hook.
|
DefaultHookChainBuilder(FluentControl control,
ComponentInstantiator instantiator)
Creates a new default hook chain builder
|
HookControlImpl(T self,
Object proxy,
FluentControl control,
ComponentInstantiator instantiator,
com.google.common.base.Supplier<T> noHookInstanceSupplier)
Creates a new control implementation for hooks.
|
| Modifier and Type | Class and Description |
|---|---|
class |
WaitHook
Hook that automatically wait for actions beeing available on the underlying element.
|
| Constructor and Description |
|---|
WaitHook(FluentControl control,
ComponentInstantiator instantiator,
com.google.common.base.Supplier<org.openqa.selenium.WebElement> elementSupplier,
com.google.common.base.Supplier<org.openqa.selenium.support.pagefactory.ElementLocator> locatorSupplier,
com.google.common.base.Supplier<String> toStringSupplier,
WaitHookOptions options)
Creates a new wait hook
|
| Modifier and Type | Class and Description |
|---|---|
class |
ContainerFluentControl
Container global FluentLenium control interface.
|
| Modifier and Type | Method and Description |
|---|---|
FluentControl |
ContainerFluentControl.getAdapterControl()
Get the underlying control from the test adapter.
|
| Constructor and Description |
|---|
ContainerFluentControl(FluentControl adapterControl)
Creates a new container fluent control.
|
ContainerFluentControl(FluentControl adapterControl,
ContainerContext context)
Creates a new container fluent control.
|
DefaultContainerInstanciator(FluentControl control)
Creates a new container instanciator
|
FluentInjector(FluentControl control,
EventsRegistry eventsRegistry,
ComponentsManager componentsManager,
ContainerInstanciator instanciator)
Creates a new injector.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
BaseWaitConditions.until(FluentWait wait,
com.google.common.base.Predicate<FluentControl> present,
String message)
Perform the wait.
|
protected void |
BaseWaitConditions.until(FluentWait wait,
com.google.common.base.Predicate<FluentControl> present,
com.google.common.base.Supplier<String> messageSupplier)
Perform the wait.
|
<T> T |
FluentWaitElementList.until(com.google.common.base.Function<? super FluentControl,T> function) |
<T> T |
FluentWaitElement.until(com.google.common.base.Function<? super FluentControl,T> isTrue) |
<T> T |
FluentWait.until(com.google.common.base.Function<? super FluentControl,T> function) |
void |
FluentWaitFunctional.untilPredicate(com.google.common.base.Predicate<FluentControl> predicate)
Wait until the predicate returns true.
|
void |
FluentWaitElementList.untilPredicate(com.google.common.base.Predicate<FluentControl> predicate) |
void |
FluentWaitElement.untilPredicate(com.google.common.base.Predicate<FluentControl> predicate) |
void |
FluentWait.untilPredicate(com.google.common.base.Predicate<FluentControl> predicate) |
| Constructor and Description |
|---|
FluentWait(FluentControl control)
Creates a new fluent wait.
|
Copyright © 2016 FluentLenium. All Rights Reserved.