|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.fluentlenium.core.Fluent org.fluentlenium.core.FluentAdapter play.test.TestBrowser
public class TestBrowser
A test browser (Using Selenium WebDriver) with the FluentLenium API (https://github.com/Fluentlenium/FluentLenium).
Constructor Summary | |
---|---|
TestBrowser(java.lang.Class<? extends org.openqa.selenium.WebDriver> webDriver)
A test browser (Using Selenium WebDriver) with the FluentLenium API (https://github.com/Fluentlenium/FluentLenium). |
|
TestBrowser(org.openqa.selenium.WebDriver webDriver)
A test browser (Using Selenium WebDriver) with the FluentLenium API (https://github.com/Fluentlenium/FluentLenium). |
Method Summary | |
---|---|
org.openqa.selenium.Cookie |
getCookie(java.lang.String name)
Retrieves a cookie. |
java.util.Set<org.openqa.selenium.Cookie> |
getCookies()
Retrieves all cookies. |
java.lang.String |
pageSource()
The current page HTML source. |
java.lang.String |
title()
The current page URL. |
java.lang.String |
url()
/** The current page URL. |
Methods inherited from class org.fluentlenium.core.FluentAdapter |
---|
assertAt, createPage, getDefaultDriver, getDefaultWait, initClass, initTest, quit |
Methods inherited from class org.fluentlenium.core.Fluent |
---|
$, $, await, clear, clear, click, click, executeScript, fill, fill, find, find, findFirst, getDriver, goTo, goTo, setDriver, submit, submit, text, value |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TestBrowser(java.lang.Class<? extends org.openqa.selenium.WebDriver> webDriver) throws java.lang.Exception
webDriver
- The WebDriver instance to use.
java.lang.Exception
public TestBrowser(org.openqa.selenium.WebDriver webDriver)
webDriver
- The WebDriver instance to use.Method Detail |
---|
public java.lang.String url()
url
in class org.fluentlenium.core.Fluent
public java.lang.String title()
title
in class org.fluentlenium.core.Fluent
public java.lang.String pageSource()
pageSource
in class org.fluentlenium.core.Fluent
public java.util.Set<org.openqa.selenium.Cookie> getCookies()
getCookies
in class org.fluentlenium.core.Fluent
public org.openqa.selenium.Cookie getCookie(java.lang.String name)
getCookie
in class org.fluentlenium.core.Fluent
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |