public abstract class WebTest extends Object
See ju-testing-ee_default.properties on how to configure tests.
| Modifier and Type | Field and Description |
|---|---|
protected org.openqa.selenium.WebDriver |
driver |
DriverRule |
driverRule |
protected org.slf4j.Logger |
logger |
| Constructor and Description |
|---|
WebTest() |
| Modifier and Type | Method and Description |
|---|---|
static void |
closeDriver() |
protected void |
getPage(String pageUrl)
Gets the page specified with the pageUrl, e.g. web-app/page.jsf.
|
protected org.openqa.selenium.WebDriver driver
protected org.slf4j.Logger logger
public DriverRule driverRule
public static void closeDriver()
protected final void getPage(String pageUrl)
pageUrl - Page URL without protocol, hostname and portCopyright © 2017. All rights reserved.