Package org.openqa.selenium.lift
Class WebDriverTestContext
- java.lang.Object
-
- org.openqa.selenium.lift.WebDriverTestContext
-
- All Implemented Interfaces:
TestContext
@Deprecated public class WebDriverTestContext extends java.lang.Object implements TestContext
Deprecated.Gives the context for a test, holds page state, and interacts with theWebDriver
.
-
-
Constructor Summary
Constructors Constructor Description WebDriverTestContext(org.openqa.selenium.WebDriver driver)
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated 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)
Deprecated.void
assertPresenceOf(Finder<org.openqa.selenium.WebElement,org.openqa.selenium.WebDriver> finder)
Deprecated.void
clickOn(Finder<org.openqa.selenium.WebElement,org.openqa.selenium.WebDriver> finder)
Deprecated.void
clickOnFirst(Finder<org.openqa.selenium.WebElement,org.openqa.selenium.WebDriver> finder)
Deprecated.void
goTo(java.lang.String url)
Deprecated.void
quit()
Deprecated.void
type(java.lang.String input, Finder<org.openqa.selenium.WebElement,org.openqa.selenium.WebDriver> finder)
Deprecated.void
waitFor(Finder<org.openqa.selenium.WebElement,org.openqa.selenium.WebDriver> finder, long timeoutMillis)
Deprecated.
-
-
-
Method Detail
-
quit
public void quit()
Deprecated.- Specified by:
quit
in interfaceTestContext
-
goTo
public void goTo(java.lang.String url)
Deprecated.- Specified by:
goTo
in interfaceTestContext
-
assertPresenceOf
public void assertPresenceOf(Finder<org.openqa.selenium.WebElement,org.openqa.selenium.WebDriver> finder)
Deprecated.- Specified by:
assertPresenceOf
in interfaceTestContext
-
assertPresenceOf
public void assertPresenceOf(org.hamcrest.Matcher<java.lang.Integer> cardinalityConstraint, Finder<org.openqa.selenium.WebElement,org.openqa.selenium.WebDriver> finder)
Deprecated.- Specified by:
assertPresenceOf
in interfaceTestContext
-
type
public void type(java.lang.String input, Finder<org.openqa.selenium.WebElement,org.openqa.selenium.WebDriver> finder)
Deprecated.- Specified by:
type
in interfaceTestContext
-
clickOn
public void clickOn(Finder<org.openqa.selenium.WebElement,org.openqa.selenium.WebDriver> finder)
Deprecated.- Specified by:
clickOn
in interfaceTestContext
-
clickOnFirst
public void clickOnFirst(Finder<org.openqa.selenium.WebElement,org.openqa.selenium.WebDriver> finder)
Deprecated.
-
waitFor
public void waitFor(Finder<org.openqa.selenium.WebElement,org.openqa.selenium.WebDriver> finder, long timeoutMillis)
Deprecated.- Specified by:
waitFor
in interfaceTestContext
-
-