org.fluentlenium.core
Class FluentAdapter
java.lang.Object
org.fluentlenium.core.Fluent
org.fluentlenium.core.FluentAdapter
- All Implemented Interfaces:
- SearchActions
- Direct Known Subclasses:
- FluentTest, IsolatedTest
public class FluentAdapter
- extends Fluent
| Methods inherited from class org.fluentlenium.core.Fluent |
$, $, await, clear, clear, clear, click, click, executeScript, fill, fill, find, find, findFirst, getBaseUrl, getCookie, getCookies, getDriver, goTo, goTo, initFluent, pageSource, submit, submit, takeScreenShot, takeScreenShot, text, title, url, value, withDefaultPageWait, withDefaultSearchWait, withDefaultUrl |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FluentAdapter
public FluentAdapter(org.openqa.selenium.WebDriver webDriver)
FluentAdapter
public FluentAdapter()
initTest
protected void initTest()
createPage
public <T extends FluentPage> T createPage(Class<T> classOfPage)
initClass
protected <T extends FluentPage> T initClass(Class<T> cls)
getDefaultDriver
public org.openqa.selenium.WebDriver getDefaultDriver()
- Override this method to change the driver
- Returns:
getDefaultBaseUrl
public String getDefaultBaseUrl()
- Override this method to set the base URL to use when using relative URLs
- Returns:
- The base URL, or null if relative URLs should be passed to the driver untouched
getDefaultConfig
public void getDefaultConfig()
- Override this method to set some config options on the driver. For example withDefaultSearchWait and withDefaultPageWait
Remember that you can access to the WebDriver object using this.getDriver().
assertAt
public static void assertAt(FluentPage fluent)
quit
public void quit()
Copyright © 2012 AConsulting. All Rights Reserved.