org.fluentlenium.core
Class FluentAdapter

java.lang.Object
  extended by org.fluentlenium.core.Fluent
      extended by org.fluentlenium.core.FluentAdapter
All Implemented Interfaces:
SearchActions
Direct Known Subclasses:
FluentTest, IsolatedTest

public class FluentAdapter
extends Fluent


Constructor Summary
FluentAdapter()
           
FluentAdapter(org.openqa.selenium.WebDriver webDriver)
           
 
Method Summary
static void assertAt(FluentPage fluent)
           
<T extends FluentPage>
T
createPage(Class<T> classOfPage)
           
 String getDefaultBaseUrl()
          Override this method to set the base URL to use when using relative URLs
 void getDefaultConfig()
          Override this method to set some config options on the driver.
 org.openqa.selenium.WebDriver getDefaultDriver()
          Override this method to change the driver
protected
<T extends FluentPage>
T
initClass(Class<T> cls)
           
protected  void initTest()
           
 void quit()
           
 
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
 

Constructor Detail

FluentAdapter

public FluentAdapter(org.openqa.selenium.WebDriver webDriver)

FluentAdapter

public FluentAdapter()
Method Detail

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.