Package | Description |
---|---|
org.openqa.selenium.lift | |
org.openqa.selenium.lift.find |
Modifier and Type | Method and Description |
---|---|
static Finder<org.openqa.selenium.WebElement,org.openqa.selenium.WebDriver> |
Finders.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)
|
protected Finder<org.openqa.selenium.WebElement,org.openqa.selenium.WebDriver> |
HamcrestWebDriverTestCase.into(Finder<org.openqa.selenium.WebElement,org.openqa.selenium.WebDriver> input)
Syntactic sugar to use with
HamcrestWebDriverTestCase , e.g. |
Modifier and Type | Method and Description |
---|---|
protected void |
HamcrestWebDriverTestCase.assertNotSelected(Finder<org.openqa.selenium.WebElement,org.openqa.selenium.WebDriver> finder) |
void |
WebDriverTestContext.assertPresenceOf(Finder<org.openqa.selenium.WebElement,org.openqa.selenium.WebDriver> finder) |
void |
TestContext.assertPresenceOf(Finder<org.openqa.selenium.WebElement,org.openqa.selenium.WebDriver> finder) |
protected void |
HamcrestWebDriverTestCase.assertPresenceOf(Finder<org.openqa.selenium.WebElement,org.openqa.selenium.WebDriver> finder) |
void |
WebDriverTestContext.assertPresenceOf(org.hamcrest.Matcher<Integer> cardinalityConstraint,
Finder<org.openqa.selenium.WebElement,org.openqa.selenium.WebDriver> finder) |
void |
TestContext.assertPresenceOf(org.hamcrest.Matcher<Integer> cardinalityConstraint,
Finder<org.openqa.selenium.WebElement,org.openqa.selenium.WebDriver> finder) |
protected void |
HamcrestWebDriverTestCase.assertPresenceOf(org.hamcrest.Matcher<Integer> cardinalityConstraint,
Finder<org.openqa.selenium.WebElement,org.openqa.selenium.WebDriver> finder) |
protected void |
HamcrestWebDriverTestCase.assertSelected(Finder<org.openqa.selenium.WebElement,org.openqa.selenium.WebDriver> finder) |
void |
WebDriverTestContext.clickOn(Finder<org.openqa.selenium.WebElement,org.openqa.selenium.WebDriver> finder) |
void |
TestContext.clickOn(Finder<org.openqa.selenium.WebElement,org.openqa.selenium.WebDriver> finder) |
protected void |
HamcrestWebDriverTestCase.clickOn(Finder<org.openqa.selenium.WebElement,org.openqa.selenium.WebDriver> finder) |
void |
WebDriverTestContext.clickOnFirst(Finder<org.openqa.selenium.WebElement,org.openqa.selenium.WebDriver> finder) |
static Finder<org.openqa.selenium.WebElement,org.openqa.selenium.WebDriver> |
Finders.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)
|
protected Finder<org.openqa.selenium.WebElement,org.openqa.selenium.WebDriver> |
HamcrestWebDriverTestCase.into(Finder<org.openqa.selenium.WebElement,org.openqa.selenium.WebDriver> input)
Syntactic sugar to use with
HamcrestWebDriverTestCase , e.g. |
void |
WebDriverTestContext.type(String input,
Finder<org.openqa.selenium.WebElement,org.openqa.selenium.WebDriver> finder) |
void |
TestContext.type(String input,
Finder<org.openqa.selenium.WebElement,org.openqa.selenium.WebDriver> finder) |
protected void |
HamcrestWebDriverTestCase.type(String text,
Finder<org.openqa.selenium.WebElement,org.openqa.selenium.WebDriver> inputFinder)
Type characters into an element of the page, typically an input field
|
protected void |
HamcrestWebDriverTestCase.waitFor(Finder<org.openqa.selenium.WebElement,org.openqa.selenium.WebDriver> finder) |
void |
WebDriverTestContext.waitFor(Finder<org.openqa.selenium.WebElement,org.openqa.selenium.WebDriver> finder,
long timeoutMillis) |
void |
TestContext.waitFor(Finder<org.openqa.selenium.WebElement,org.openqa.selenium.WebDriver> finder,
long timeout) |
protected void |
HamcrestWebDriverTestCase.waitFor(Finder<org.openqa.selenium.WebElement,org.openqa.selenium.WebDriver> finder,
long timeout) |
Modifier and Type | Class and Description |
---|---|
class |
BaseFinder<S,T>
Base class for
Finder s. |
class |
DivFinder
Finder for HTML div tags. |
class |
HtmlTagFinder
Base
Finder for all types of HTML tags. |
class |
ImageFinder
Finder for HTML image tags. |
class |
InputFinder
Finder for HTML input tags. |
class |
LinkFinder |
class |
PageTitleFinder
A
Finder for HTML title tags. |
class |
TableCellFinder
A
Finder for HTML table cell "td" tags. |
class |
TableFinder
A
Finder for HTML table tags. |
class |
XPathFinder
A
Finder for elements using XPath expressions |
Modifier and Type | Method and Description |
---|---|
Finder<S,T> |
Finder.with(org.hamcrest.Matcher<S> textMatcher) |
Finder<S,T> |
BaseFinder.with(org.hamcrest.Matcher<S> matcher) |
Copyright © 2016. All rights reserved.