Package org.openqa.selenium.lift
Class Finders
- java.lang.Object
-
- org.openqa.selenium.lift.Finders
-
public class Finders extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Finders()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static HtmlTagFinderbutton()static HtmlTagFinderbutton(java.lang.String label)static HtmlTagFindercell()static HtmlTagFindercells()static HtmlTagFinderdiv()static HtmlTagFinderdiv(java.lang.String id)static Finder<org.openqa.selenium.WebElement,org.openqa.selenium.WebDriver>first(Finder<org.openqa.selenium.WebElement,org.openqa.selenium.WebDriver> finder)A finder which returns the first element matched - such as if you have multiple elements which match the finder (such as multiple links with the same text on a page etc)static HtmlTagFinderimage()static HtmlTagFinderimageButton()static HtmlTagFinderimageButton(java.lang.String label)static HtmlTagFinderimages()static HtmlTagFinderlink()static HtmlTagFinderlink(java.lang.String anchorText)static HtmlTagFinderlinks()static HtmlTagFinderradioButton()static HtmlTagFinderradioButton(java.lang.String id)static HtmlTagFindertable()static HtmlTagFindertables()static HtmlTagFindertextbox()static HtmlTagFindertitle()static HtmlTagFindertitle(java.lang.String title)static HtmlTagFindertitles()
-
-
-
Method Detail
-
div
public static HtmlTagFinder div()
-
div
public static HtmlTagFinder div(java.lang.String id)
-
link
public static HtmlTagFinder link()
-
link
public static HtmlTagFinder link(java.lang.String anchorText)
-
links
public static HtmlTagFinder links()
-
titles
public static HtmlTagFinder titles()
-
title
public static HtmlTagFinder title()
-
title
public static HtmlTagFinder title(java.lang.String title)
-
images
public static HtmlTagFinder images()
-
image
public static HtmlTagFinder image()
-
table
public static HtmlTagFinder table()
-
tables
public static HtmlTagFinder tables()
-
cell
public static HtmlTagFinder cell()
-
cells
public static HtmlTagFinder cells()
-
imageButton
public static HtmlTagFinder imageButton()
-
imageButton
public static HtmlTagFinder imageButton(java.lang.String label)
-
radioButton
public static HtmlTagFinder radioButton()
-
radioButton
public static HtmlTagFinder radioButton(java.lang.String id)
-
textbox
public static HtmlTagFinder textbox()
-
button
public static HtmlTagFinder button()
-
button
public static HtmlTagFinder button(java.lang.String label)
-
first
public static Finder<org.openqa.selenium.WebElement,org.openqa.selenium.WebDriver> first(Finder<org.openqa.selenium.WebElement,org.openqa.selenium.WebDriver> finder)
A finder which returns the first element matched - such as if you have multiple elements which match the finder (such as multiple links with the same text on a page etc)- Parameters:
finder- finder from which context to search- Returns:
- finder that will return the first match
-
-