Package org.openqa.selenium.lift
Interface TestContext
-
- All Known Implementing Classes:
WebDriverTestContext
public interface TestContext
Interface for objects that provide a context (maintaining any state) for web tests.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
assertPresenceOf(org.hamcrest.Matcher<java.lang.Integer> cardinalityConstraint, Finder<org.openqa.selenium.WebElement,org.openqa.selenium.WebDriver> finder)
void
assertPresenceOf(Finder<org.openqa.selenium.WebElement,org.openqa.selenium.WebDriver> finder)
void
clickOn(Finder<org.openqa.selenium.WebElement,org.openqa.selenium.WebDriver> finder)
void
goTo(java.lang.String url)
void
quit()
void
type(java.lang.String input, Finder<org.openqa.selenium.WebElement,org.openqa.selenium.WebDriver> finder)
void
waitFor(Finder<org.openqa.selenium.WebElement,org.openqa.selenium.WebDriver> finder, long timeout)
-
-
-
Method Detail
-
goTo
void goTo(java.lang.String url)
-
assertPresenceOf
void assertPresenceOf(Finder<org.openqa.selenium.WebElement,org.openqa.selenium.WebDriver> finder)
-
assertPresenceOf
void assertPresenceOf(org.hamcrest.Matcher<java.lang.Integer> cardinalityConstraint, Finder<org.openqa.selenium.WebElement,org.openqa.selenium.WebDriver> finder)
-
type
void type(java.lang.String input, Finder<org.openqa.selenium.WebElement,org.openqa.selenium.WebDriver> finder)
-
clickOn
void clickOn(Finder<org.openqa.selenium.WebElement,org.openqa.selenium.WebDriver> finder)
-
waitFor
void waitFor(Finder<org.openqa.selenium.WebElement,org.openqa.selenium.WebDriver> finder, long timeout)
-
quit
void quit()
-
-