Class WebDriverTestContext

java.lang.Object
org.openqa.selenium.lift.WebDriverTestContext
All Implemented Interfaces:
TestContext

@Deprecated public class WebDriverTestContext extends Object implements TestContext
Deprecated.
Gives the context for a test, holds page state, and interacts with the WebDriver.
  • Constructor Summary

    Constructors
    Constructor
    Description
    WebDriverTestContext(org.openqa.selenium.WebDriver driver)
    Deprecated.
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    assertPresenceOf(org.hamcrest.Matcher<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(String url)
    Deprecated.
     
    void
    Deprecated.
     
    void
    type(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.
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • WebDriverTestContext

      public WebDriverTestContext(org.openqa.selenium.WebDriver driver)
      Deprecated.
  • Method Details

    • quit

      public void quit()
      Deprecated.
      Specified by:
      quit in interface TestContext
    • goTo

      public void goTo(String url)
      Deprecated.
      Specified by:
      goTo in interface TestContext
    • assertPresenceOf

      public void assertPresenceOf(Finder<org.openqa.selenium.WebElement,org.openqa.selenium.WebDriver> finder)
      Deprecated.
      Specified by:
      assertPresenceOf in interface TestContext
    • assertPresenceOf

      public void assertPresenceOf(org.hamcrest.Matcher<Integer> cardinalityConstraint, Finder<org.openqa.selenium.WebElement,org.openqa.selenium.WebDriver> finder)
      Deprecated.
      Specified by:
      assertPresenceOf in interface TestContext
    • type

      public void type(String input, Finder<org.openqa.selenium.WebElement,org.openqa.selenium.WebDriver> finder)
      Deprecated.
      Specified by:
      type in interface TestContext
    • clickOn

      public void clickOn(Finder<org.openqa.selenium.WebElement,org.openqa.selenium.WebDriver> finder)
      Deprecated.
      Specified by:
      clickOn in interface TestContext
    • 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 interface TestContext