public abstract class SeleniumTest
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
org.junit.rules.TestWatcher |
printTestName |
org.junit.rules.RuleChain |
ruleChain |
org.junit.rules.TestWatcher |
takeSnapshot |
| Constructor and Description |
|---|
SeleniumTest() |
| Modifier and Type | Method and Description |
|---|---|
protected org.openqa.selenium.WebDriver |
createWebDriver() |
java.lang.String |
currentUrl() |
DomElement |
find(org.openqa.selenium.By selector) |
DomElement |
find(java.lang.String selector) |
abstract java.lang.String |
getDefaultBaseUrl() |
org.openqa.selenium.WebDriver |
getDriver() |
void |
goTo(java.lang.String url) |
java.lang.String |
pageSource() |
java.lang.String |
title() |
public org.junit.rules.TestWatcher printTestName
public org.junit.rules.TestWatcher takeSnapshot
public org.junit.rules.RuleChain ruleChain
protected org.openqa.selenium.WebDriver createWebDriver()
public abstract java.lang.String getDefaultBaseUrl()
public void goTo(java.lang.String url)
public org.openqa.selenium.WebDriver getDriver()
public java.lang.String currentUrl()
public java.lang.String title()
public java.lang.String pageSource()
public DomElement find(java.lang.String selector)
public DomElement find(org.openqa.selenium.By selector)
Copyright © 2014. All Rights Reserved.