| Package | Description |
|---|---|
| org.fluentlenium.adapter | |
| org.fluentlenium.core | |
| org.fluentlenium.core.action | |
| org.fluentlenium.core.domain | |
| org.fluentlenium.core.page | |
| org.fluentlenium.core.wait |
| Modifier and Type | Class and Description |
|---|---|
class |
FluentAdapter |
class |
FluentTest
All Junit Test should extends this class.
|
class |
FluentTestRunnerAdapter
Adapter used by any class based Test Runners adapters.
|
class |
IsolatedTest
Instead of extending FluentTest, you can instantiate this class directly.
|
| Modifier and Type | Class and Description |
|---|---|
class |
FluentPage
Use the Page Object Pattern to have more resilient tests.
|
| Modifier and Type | Method and Description |
|---|---|
Fluent |
Fluent.clear(Filter... filters)
Clear texts of the all elements filtered by the specified filters.
|
Fluent |
Fluent.clear(FluentList<FluentWebElement> fluentObject)
Clear all elements that are in the list
Be careful - only the visible elements are cleared
|
Fluent |
Fluent.clear(FluentWebElement fluentObject)
Clear the given parameters elements that are in the list
Be careful - only the visible elements are cleared
|
Fluent |
Fluent.clear(String cssSelector,
Filter... filters)
Submit all elements that are in cssSelector with its filters
Be careful - only the visible elements are cleared
|
Fluent |
Fluent.click(Filter... filters)
Click all elements filtered by the specified filters.
|
Fluent |
Fluent.click(FluentDefaultActions fluentObject)
click all elements that are in the list
Be careful - only the visible elements are clicked
|
Fluent |
Fluent.click(String cssSelector,
Filter... filters)
click all elements that are in cssSelector with its filters
Be careful - only the visible elements are clicked
|
Fluent |
Fluent.goTo(String url)
Open the url page
|
Fluent |
Fluent.goToInNewTab(String url)
Open the url page in a new tab
|
protected Fluent |
Fluent.initFluent(org.openqa.selenium.WebDriver driver) |
Fluent |
Fluent.maximizeWindow()
Maximize browser window using webdriver
|
Fluent |
Fluent.submit(Filter... filters)
Submit all elements filtered by the specified filters.
|
Fluent |
Fluent.submit(FluentDefaultActions fluentObject)
Submit all elements that are in the list
Be careful - only the visible elements are submitted
|
Fluent |
Fluent.submit(String cssSelector,
Filter... filters)
Submit all elements that are in cssSelector with its filters
Be careful - only the visible elements are submitted
|
Fluent |
Fluent.switchTo()
Switch to the default element
|
Fluent |
Fluent.switchTo(FluentWebElement element)
Switch to the selected Element (if element is null or not an iframe, or haven't an id then
switch to the default)
|
Fluent |
Fluent.switchToDefault()
Switch to the default element
|
Fluent |
Fluent.takeHtmlDump()
Take a html dump of the browser DOM.
|
Fluent |
Fluent.takeHtmlDump(String fileName)
Take a html dump of the browser DOM into a file given by the fileName param.
|
Fluent |
Fluent.takeScreenShot()
Take a snapshot of the browser.
|
Fluent |
Fluent.takeScreenShot(String fileName)
Take a snapshot of the browser into a file given by the fileName param.
|
Fluent |
Fluent.withDefaultPageWait(long l,
TimeUnit timeUnit)
Define an implicit time to wait for a page to be loaded
|
Fluent |
Fluent.withDefaultSearchWait(long l,
TimeUnit timeUnit)
Define an implicit time to wait when searching an element
|
Fluent |
Fluent.withDefaultUrl(String baseUrl)
Define the default url that will be used in the test and in the relative pages
|
| Modifier and Type | Class and Description |
|---|---|
class |
FillConstructor |
class |
FillSelectConstructor |
| Modifier and Type | Class and Description |
|---|---|
class |
FluentJavascript
Map result of executed javascript.
|
| Modifier and Type | Method and Description |
|---|---|
void |
PageInitializer.initContainer(Fluent container)
Initialize a page or an adapter.
|
| Constructor and Description |
|---|
PageInitializer(Fluent fluent) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
AbstractWaitMatcher.until(FluentWait wait,
com.google.common.base.Predicate<Fluent> present,
String defaultMessage)
Perform the wait.
|
<T> T |
FluentWait.until(com.google.common.base.Function<? super Fluent,T> isTrue)
Wait until the given condition is true.
|
void |
FluentWait.until(com.google.common.base.Predicate<Fluent> isTrue)
Deprecated.
This method is java8 lambda ambigous with
FluentWait.until(Function) and will be removed. |
void |
FluentWait.untilPredicate(com.google.common.base.Predicate<Fluent> predicate)
Wait until the predicate returns true.
|
| Constructor and Description |
|---|
FluentWait(Fluent fluent,
Search search) |
Copyright © 2016 FluentLenium. All Rights Reserved.