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 HtmlTagFinder
button()
static HtmlTagFinder
button(java.lang.String label)
static HtmlTagFinder
cell()
static HtmlTagFinder
cells()
static HtmlTagFinder
div()
static HtmlTagFinder
div(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 HtmlTagFinder
image()
static HtmlTagFinder
imageButton()
static HtmlTagFinder
imageButton(java.lang.String label)
static HtmlTagFinder
images()
static HtmlTagFinder
link()
static HtmlTagFinder
link(java.lang.String anchorText)
static HtmlTagFinder
links()
static HtmlTagFinder
radioButton()
static HtmlTagFinder
radioButton(java.lang.String id)
static HtmlTagFinder
table()
static HtmlTagFinder
tables()
static HtmlTagFinder
textbox()
static HtmlTagFinder
title()
static HtmlTagFinder
title(java.lang.String title)
static HtmlTagFinder
titles()
-
-
-
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
-
-