Class HtmlTagFinder

java.lang.Object
org.openqa.selenium.lift.find.BaseFinder<org.openqa.selenium.WebElement,org.openqa.selenium.WebDriver>
org.openqa.selenium.lift.find.HtmlTagFinder
All Implemented Interfaces:
org.hamcrest.SelfDescribing, Finder<org.openqa.selenium.WebElement,org.openqa.selenium.WebDriver>
Direct Known Subclasses:
DivFinder, ImageFinder, InputFinder, LinkFinder, PageTitleFinder, TableCellFinder, TableFinder

@Deprecated public abstract class HtmlTagFinder extends BaseFinder<org.openqa.selenium.WebElement,org.openqa.selenium.WebDriver>
Deprecated.
Base Finder for all types of HTML tags. Subclasses should be created for each specific tag, specifying the tag name (e.g. "a" in the case or an anchor tag), and a description.
  • Constructor Details

    • HtmlTagFinder

      public HtmlTagFinder()
      Deprecated.
  • Method Details

    • extractFrom

      protected Collection<org.openqa.selenium.WebElement> extractFrom(org.openqa.selenium.WebDriver context)
      Deprecated.
      Specified by:
      extractFrom in class BaseFinder<org.openqa.selenium.WebElement,org.openqa.selenium.WebDriver>
    • describeTargetTo

      protected void describeTargetTo(org.hamcrest.Description description)
      Deprecated.
      Specified by:
      describeTargetTo in class BaseFinder<org.openqa.selenium.WebElement,org.openqa.selenium.WebDriver>
    • with

      public HtmlTagFinder with(org.hamcrest.Matcher<org.openqa.selenium.WebElement> matcher)
      Deprecated.
      Specified by:
      with in interface Finder<org.openqa.selenium.WebElement,org.openqa.selenium.WebDriver>
      Overrides:
      with in class BaseFinder<org.openqa.selenium.WebElement,org.openqa.selenium.WebDriver>
    • tagName

      protected abstract String tagName()
      Deprecated.
    • tagDescription

      protected abstract String tagDescription()
      Deprecated.