org.fluentlenium.adapter
Class FluentTest
java.lang.Object
org.fluentlenium.core.Fluent
org.fluentlenium.core.FluentAdapter
org.fluentlenium.adapter.FluentTest
- All Implemented Interfaces:
- SearchActions
public abstract class FluentTest
- extends FluentAdapter
All Junit Test should extends this class. It provides default parameters.
| 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 |
classe
public Class classe
name
public org.junit.rules.TestName name
watchman
public org.junit.rules.MethodRule watchman
FluentTest
public FluentTest()
setSnapshotPath
public void setSnapshotPath(String path)
setSnapshotMode
public void setSnapshotMode(FluentTest.Mode mode)
getDefaultDriver
public org.openqa.selenium.WebDriver getDefaultDriver()
- Override this method to change the driver
- Overrides:
getDefaultDriver in class FluentAdapter
- Returns:
setDefaultConfig
@Beta
public void setDefaultConfig()
- Override this method to change the default time to wait for a page to be loaded
assertAt
public static void assertAt(FluentPage fluent)
Copyright © 2012 AConsulting. All Rights Reserved.