Package org.openqa.selenium.lift
Interface TestContext
-
- All Known Implementing Classes:
WebDriverTestContext
public interface TestContextInterface 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 voidassertPresenceOf(org.hamcrest.Matcher<java.lang.Integer> cardinalityConstraint, Finder<org.openqa.selenium.WebElement,org.openqa.selenium.WebDriver> finder)voidassertPresenceOf(Finder<org.openqa.selenium.WebElement,org.openqa.selenium.WebDriver> finder)voidclickOn(Finder<org.openqa.selenium.WebElement,org.openqa.selenium.WebDriver> finder)voidgoTo(java.lang.String url)voidquit()voidtype(java.lang.String input, Finder<org.openqa.selenium.WebElement,org.openqa.selenium.WebDriver> finder)voidwaitFor(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()
-
-