A B C D E F G H I J L M N O P Q R S T U V W X

A

AbstractWebDriverEventListener - Class in org.openqa.selenium.support.events
Use this class as base class, if you want to implement a WebDriverEventListener and are only interested in some events.
AbstractWebDriverEventListener() - Constructor for class org.openqa.selenium.support.events.AbstractWebDriverEventListener
 
afterChangeValueOf(WebElement, WebDriver) - Method in class org.openqa.selenium.support.events.AbstractWebDriverEventListener
 
afterChangeValueOf(WebElement, WebDriver) - Method in interface org.openqa.selenium.support.events.WebDriverEventListener
Called after WebElement.clear(), WebElement.sendKeys(...), or WebElement.toggle().
afterClickOn(WebElement, WebDriver) - Method in class org.openqa.selenium.support.events.AbstractWebDriverEventListener
 
afterClickOn(WebElement, WebDriver) - Method in interface org.openqa.selenium.support.events.WebDriverEventListener
Called after WebElement.click().
afterFindBy(By, WebElement, WebDriver) - Method in class org.openqa.selenium.support.events.AbstractWebDriverEventListener
 
afterFindBy(By, WebElement, WebDriver) - Method in interface org.openqa.selenium.support.events.WebDriverEventListener
Called after WebDriver.findElement(...), or WebDriver.findElements(...), or WebElement.findElement(...), or WebElement.findElements(...).
afterNavigateBack(WebDriver) - Method in class org.openqa.selenium.support.events.AbstractWebDriverEventListener
 
afterNavigateBack(WebDriver) - Method in interface org.openqa.selenium.support.events.WebDriverEventListener
Called after WebDriver.navigate().back().
afterNavigateForward(WebDriver) - Method in class org.openqa.selenium.support.events.AbstractWebDriverEventListener
 
afterNavigateForward(WebDriver) - Method in interface org.openqa.selenium.support.events.WebDriverEventListener
Called after WebDriver.navigate().forward().
afterNavigateTo(String, WebDriver) - Method in class org.openqa.selenium.support.events.AbstractWebDriverEventListener
 
afterNavigateTo(String, WebDriver) - Method in interface org.openqa.selenium.support.events.WebDriverEventListener
Called after WebDriver.get(String url) respectively WebDriver.navigate().to(String url).
afterScript(String, WebDriver) - Method in class org.openqa.selenium.support.events.AbstractWebDriverEventListener
 
afterScript(String, WebDriver) - Method in interface org.openqa.selenium.support.events.WebDriverEventListener
Called after WebDriver#executeScript(String).
AjaxElementLocator - Class in org.openqa.selenium.support.pagefactory
An element locator that will wait for the specified number of seconds for an element to appear, rather than failing instantly if it's not present.
AjaxElementLocator(WebDriver, Field, int) - Constructor for class org.openqa.selenium.support.pagefactory.AjaxElementLocator
Main constructor.
AjaxElementLocator(Clock, WebDriver, Field, int) - Constructor for class org.openqa.selenium.support.pagefactory.AjaxElementLocator
 
AjaxElementLocatorFactory - Class in org.openqa.selenium.support.pagefactory
 
AjaxElementLocatorFactory(WebDriver, int) - Constructor for class org.openqa.selenium.support.pagefactory.AjaxElementLocatorFactory
 
allMatching(List<Matcher<S>>, Collection<S>) - Method in class org.openqa.selenium.lift.find.BaseFinder
 
Annotations - Class in org.openqa.selenium.support.pagefactory
 
Annotations(Field) - Constructor for class org.openqa.selenium.support.pagefactory.Annotations
 
assertNotSelected(Finder<WebElement, WebDriver>) - Method in class org.openqa.selenium.lift.HamcrestWebDriverTestCase
 
assertPresenceOf(Finder<WebElement, WebDriver>) - Method in class org.openqa.selenium.lift.HamcrestWebDriverTestCase
 
assertPresenceOf(Matcher<Integer>, Finder<WebElement, WebDriver>) - Method in class org.openqa.selenium.lift.HamcrestWebDriverTestCase
 
assertPresenceOf(Finder<WebElement, WebDriver>) - Method in interface org.openqa.selenium.lift.TestContext
 
assertPresenceOf(Matcher<Integer>, Finder<WebElement, WebDriver>) - Method in interface org.openqa.selenium.lift.TestContext
 
assertPresenceOf(Finder<WebElement, WebDriver>) - Method in class org.openqa.selenium.lift.WebDriverTestContext
 
assertPresenceOf(Matcher<Integer>, Finder<WebElement, WebDriver>) - Method in class org.openqa.selenium.lift.WebDriverTestContext
 
assertSelected(Finder<WebElement, WebDriver>) - Method in class org.openqa.selenium.lift.HamcrestWebDriverTestCase
 
atLeast(int) - Static method in class org.openqa.selenium.lift.match.NumericalMatchers
 
atLeast(int) - Static method in class org.openqa.selenium.lift.Matchers
 
attribute(String, Matcher<String>) - Static method in class org.openqa.selenium.lift.match.AttributeMatcher
 
attribute(String, Matcher<String>) - Static method in class org.openqa.selenium.lift.Matchers
 
AttributeMatcher - Class in org.openqa.selenium.lift.match
hamcrest matcher for attributes of WebElements.

B

BaseFinder<S,T> - Class in org.openqa.selenium.lift.find
Base class for Finders.
BaseFinder() - Constructor for class org.openqa.selenium.lift.find.BaseFinder
 
beforeChangeValueOf(WebElement, WebDriver) - Method in class org.openqa.selenium.support.events.AbstractWebDriverEventListener
 
beforeChangeValueOf(WebElement, WebDriver) - Method in interface org.openqa.selenium.support.events.WebDriverEventListener
Called before WebElement.clear(), WebElement.sendKeys(...), or WebElement.toggle().
beforeClickOn(WebElement, WebDriver) - Method in class org.openqa.selenium.support.events.AbstractWebDriverEventListener
 
beforeClickOn(WebElement, WebDriver) - Method in interface org.openqa.selenium.support.events.WebDriverEventListener
Called before WebElement.click().
beforeFindBy(By, WebElement, WebDriver) - Method in class org.openqa.selenium.support.events.AbstractWebDriverEventListener
 
beforeFindBy(By, WebElement, WebDriver) - Method in interface org.openqa.selenium.support.events.WebDriverEventListener
Called before WebDriver.findElement(...), or WebDriver.findElements(...), or WebElement.findElement(...), or WebElement.findElements(...).
beforeNavigateBack(WebDriver) - Method in class org.openqa.selenium.support.events.AbstractWebDriverEventListener
 
beforeNavigateBack(WebDriver) - Method in interface org.openqa.selenium.support.events.WebDriverEventListener
Called before WebDriver.navigate().back().
beforeNavigateForward(WebDriver) - Method in class org.openqa.selenium.support.events.AbstractWebDriverEventListener
 
beforeNavigateForward(WebDriver) - Method in interface org.openqa.selenium.support.events.WebDriverEventListener
Called before WebDriver.navigate().forward().
beforeNavigateTo(String, WebDriver) - Method in class org.openqa.selenium.support.events.AbstractWebDriverEventListener
 
beforeNavigateTo(String, WebDriver) - Method in interface org.openqa.selenium.support.events.WebDriverEventListener
Called before WebDriver.get(String url) respectively WebDriver.navigate().to(String url).
beforeScript(String, WebDriver) - Method in class org.openqa.selenium.support.events.AbstractWebDriverEventListener
 
beforeScript(String, WebDriver) - Method in interface org.openqa.selenium.support.events.WebDriverEventListener
Called before WebDriver#executeScript(String)
buildBy() - Method in class org.openqa.selenium.support.pagefactory.Annotations
 
buildByFromDefault() - Method in class org.openqa.selenium.support.pagefactory.Annotations
 
buildByFromFindBy(FindBy) - Method in class org.openqa.selenium.support.pagefactory.Annotations
 
buildByFromFindBys(FindBys) - Method in class org.openqa.selenium.support.pagefactory.Annotations
 
buildByFromLongFindBy(FindBy) - Method in class org.openqa.selenium.support.pagefactory.Annotations
 
buildByFromShortFindBy(FindBy) - Method in class org.openqa.selenium.support.pagefactory.Annotations
 
button() - Static method in class org.openqa.selenium.lift.Finders
 
button(String) - Static method in class org.openqa.selenium.lift.Finders
 
ByChained - Class in org.openqa.selenium.support.pagefactory
Mechanism used to locate elements within a document using a series of other lookups.
ByChained(By...) - Constructor for class org.openqa.selenium.support.pagefactory.ByChained
 
ByIdOrName - Class in org.openqa.selenium.support
 
ByIdOrName(String) - Constructor for class org.openqa.selenium.support.ByIdOrName
 

C

CacheLookup - Annotation Type in org.openqa.selenium.support
Marker annotation to be applied to WebElements to indicate that it never changes (that is, that the same instance in the DOM will always be used)
cell() - Static method in class org.openqa.selenium.lift.find.TableCellFinder
 
cell() - Static method in class org.openqa.selenium.lift.Finders
 
cells() - Static method in class org.openqa.selenium.lift.find.TableCellFinder
 
cells() - Static method in class org.openqa.selenium.lift.Finders
 
clickOn(Finder<WebElement, WebDriver>) - Method in class org.openqa.selenium.lift.HamcrestWebDriverTestCase
 
clickOn(Finder<WebElement, WebDriver>) - Method in interface org.openqa.selenium.lift.TestContext
 
clickOn(Finder<WebElement, WebDriver>) - Method in class org.openqa.selenium.lift.WebDriverTestContext
 
clickOnFirst(Finder<WebElement, WebDriver>) - Method in class org.openqa.selenium.lift.WebDriverTestContext
 
Clock - Interface in org.openqa.selenium.support.ui
A simple encapsulation to allowing timing
close() - Method in class org.openqa.selenium.support.events.EventFiringWebDriver
 
com.thoughtworks.selenium - package com.thoughtworks.selenium
 
com.thoughtworks.selenium.condition - package com.thoughtworks.selenium.condition
 
Condition - Class in com.thoughtworks.selenium.condition
Simple predicate class, which also knows how to wait for the condition to be true.
Condition() - Constructor for class com.thoughtworks.selenium.condition.Condition
Creates an instance of Condition with is canonical name as message
Condition(String, Object[]) - Constructor for class com.thoughtworks.selenium.condition.Condition
Creates an instance of Condition with the given message and args, which are in the String.format(String, Object...)
Condition(String) - Constructor for class com.thoughtworks.selenium.condition.Condition
 
Condition(String, Object) - Constructor for class com.thoughtworks.selenium.condition.Condition
 
Condition(String, Object, Object) - Constructor for class com.thoughtworks.selenium.condition.Condition
 
Condition(String, Object, Object, Object) - Constructor for class com.thoughtworks.selenium.condition.Condition
 
Condition(String, Object, Object, Object, Object) - Constructor for class com.thoughtworks.selenium.condition.Condition
 
Condition(String, Object, Object, Object, Object, Object) - Constructor for class com.thoughtworks.selenium.condition.Condition
 
conditionFailed(ConditionRunner.Context, Condition, String) - Method in class com.thoughtworks.selenium.condition.DefaultConditionRunner.Log4jMonitor
 
conditionFailed(ConditionRunner.Context, Condition, String) - Method in interface com.thoughtworks.selenium.condition.DefaultConditionRunner.Monitor
 
conditionFailed(ConditionRunner.Context, Condition, String) - Method in class com.thoughtworks.selenium.condition.DefaultConditionRunner.NoOpMonitor
 
ConditionRunner - Interface in com.thoughtworks.selenium.condition
A ConditionRunner is a class that can execute a Condition, which need certain basic pieces that it needs to execute (e.g. an instance of Selenium).
ConditionRunner.Context - Interface in com.thoughtworks.selenium.condition
Used by implementations of ConditionRunner.waitFor(Condition) to provide context to the Condition#isTrue(com.google.testing.selenium.condition.ConditionRunner.Context) method
conditionWasReached(ConditionRunner.Context, Condition) - Method in class com.thoughtworks.selenium.condition.DefaultConditionRunner.Log4jMonitor
 
conditionWasReached(ConditionRunner.Context, Condition) - Method in interface com.thoughtworks.selenium.condition.DefaultConditionRunner.Monitor
Called whenever a DefaultConditionRunner.waitFor(Condition) is successful (i.e.
conditionWasReached(ConditionRunner.Context, Condition) - Method in class com.thoughtworks.selenium.condition.DefaultConditionRunner.NoOpMonitor
 
createDriver() - Method in class org.openqa.selenium.lift.HamcrestWebDriverTestCase
 
createLocator(Field) - Method in class org.openqa.selenium.support.pagefactory.AjaxElementLocatorFactory
 
createLocator(Field) - Method in class org.openqa.selenium.support.pagefactory.DefaultElementLocatorFactory
 
createLocator(Field) - Method in interface org.openqa.selenium.support.pagefactory.ElementLocatorFactory
When a field on a class needs to be decorated with an ElementLocator this method will be called.

D

decorate(ClassLoader, Field) - Method in class org.openqa.selenium.support.pagefactory.DefaultFieldDecorator
 
decorate(ClassLoader, Field) - Method in interface org.openqa.selenium.support.pagefactory.FieldDecorator
This method is called by PageFactory on all fields to decide how to decorate the field.
DEFAULT_INTERVAL - Static variable in class com.thoughtworks.selenium.Wait
The interval to pause between checking; the default is 500 milliseconds
DEFAULT_TIMEOUT - Static variable in class com.thoughtworks.selenium.Wait
The amount of time to wait before giving up; the default is 30 seconds
DefaultConditionRunner - Class in com.thoughtworks.selenium.condition

This implementation throws a simple RuntimeException when the condition is not met in the DefaultConditionRunner.waitFor(Condition) method.

DefaultConditionRunner(DefaultConditionRunner.Monitor, Selenium, int, int, int) - Constructor for class com.thoughtworks.selenium.condition.DefaultConditionRunner
 
DefaultConditionRunner(DefaultConditionRunner.Monitor, Selenium, int, int) - Constructor for class com.thoughtworks.selenium.condition.DefaultConditionRunner
 
DefaultConditionRunner(Selenium, int, int, int) - Constructor for class com.thoughtworks.selenium.condition.DefaultConditionRunner
Constructs an instance of this class with a DefaultConditionRunner.NoOpMonitor.
DefaultConditionRunner(Selenium, int, int) - Constructor for class com.thoughtworks.selenium.condition.DefaultConditionRunner
Constructs an instance of this class with a DefaultConditionRunner.NoOpMonitor.
DefaultConditionRunner(Selenium) - Constructor for class com.thoughtworks.selenium.condition.DefaultConditionRunner
Constructs an instance of this class with reasonable defaults.
DefaultConditionRunner.Log4jMonitor - Class in com.thoughtworks.selenium.condition
A Log4j implementation of DefaultConditionRunner.Monitor.
DefaultConditionRunner.Log4jMonitor() - Constructor for class com.thoughtworks.selenium.condition.DefaultConditionRunner.Log4jMonitor
 
DefaultConditionRunner.Monitor - Interface in com.thoughtworks.selenium.condition
A DefaultConditionRunner.Monitor can be installed in DefaultConditionRunner as an open ended way of being notified of certain events.
DefaultConditionRunner.NoOpMonitor - Class in com.thoughtworks.selenium.condition
A no-op implementation of DefaultConditionRunner.Monitor.
DefaultConditionRunner.NoOpMonitor() - Constructor for class com.thoughtworks.selenium.condition.DefaultConditionRunner.NoOpMonitor
 
DefaultElementLocator - Class in org.openqa.selenium.support.pagefactory
The default element locator, which will lazily locate an element on a page.
DefaultElementLocator(WebDriver, Field) - Constructor for class org.openqa.selenium.support.pagefactory.DefaultElementLocator
Creates a new element locator.
DefaultElementLocatorFactory - Class in org.openqa.selenium.support.pagefactory
 
DefaultElementLocatorFactory(WebDriver) - Constructor for class org.openqa.selenium.support.pagefactory.DefaultElementLocatorFactory
 
DefaultFieldDecorator - Class in org.openqa.selenium.support.pagefactory
Default decorator for use with PageFactory.
DefaultFieldDecorator(ElementLocatorFactory) - Constructor for class org.openqa.selenium.support.pagefactory.DefaultFieldDecorator
 
describeTargetTo(Description) - Method in class org.openqa.selenium.lift.find.BaseFinder
 
describeTargetTo(Description) - Method in class org.openqa.selenium.lift.find.HtmlTagFinder
 
describeTargetTo(Description) - Method in class org.openqa.selenium.lift.find.XPathFinder
 
describeTo(Description) - Method in class org.openqa.selenium.lift.find.BaseFinder
 
describeTo(Description) - Method in class org.openqa.selenium.lift.match.AttributeMatcher
 
describeTo(Description) - Method in class org.openqa.selenium.lift.match.SelectionMatcher
 
describeTo(Description) - Method in class org.openqa.selenium.lift.match.TextMatcher
 
describeTo(Description) - Method in class org.openqa.selenium.lift.match.ValueMatcher
 
deselectAll() - Method in class org.openqa.selenium.support.ui.Select
Clear all selected entries.
deselectByIndex(int) - Method in class org.openqa.selenium.support.ui.Select
Deselect the option at the given index.
deselectByValue(String) - Method in class org.openqa.selenium.support.ui.Select
Deselect all options that have a value matching the argument.
deselectByVisibleText(String) - Method in class org.openqa.selenium.support.ui.Select
Deselect all options that display text matching the argument.
div() - Static method in class org.openqa.selenium.lift.find.DivFinder
 
div(String) - Static method in class org.openqa.selenium.lift.find.DivFinder
 
div() - Static method in class org.openqa.selenium.lift.Finders
 
div(String) - Static method in class org.openqa.selenium.lift.Finders
 
DivFinder - Class in org.openqa.selenium.lift.find
Finder for HTML div tags.
DivFinder() - Constructor for class org.openqa.selenium.lift.find.DivFinder
 

E

elapsed() - Method in interface com.thoughtworks.selenium.condition.ConditionRunner.Context
Returns the amount of time elapsed since the ConditionRunner.waitFor(Condition) method for this context was called.
ElementLocator - Interface in org.openqa.selenium.support.pagefactory
 
ElementLocatorFactory - Interface in org.openqa.selenium.support.pagefactory
A factory for producing ElementLocators.
escapeQuotes(String) - Method in class org.openqa.selenium.support.ui.Select
 
EventFiringWebDriver - Class in org.openqa.selenium.support.events
A wrapper around an arbitrary WebDriver instance which supports registering of a WebDriverEventListener, e.g. for logging purposes.
EventFiringWebDriver(WebDriver) - Constructor for class org.openqa.selenium.support.events.EventFiringWebDriver
 
exactly(int) - Static method in class org.openqa.selenium.lift.match.NumericalMatchers
 
exactly(int) - Static method in class org.openqa.selenium.lift.Matchers
 
executeScript(String, Object...) - Method in class org.openqa.selenium.support.events.EventFiringWebDriver
 
ExpectedCondition<T> - Interface in org.openqa.selenium.support.ui
Models a condition that might reasonably be expected to eventually evaluate to something that is neither null nor false.
extractFrom(T) - Method in class org.openqa.selenium.lift.find.BaseFinder
 
extractFrom(WebDriver) - Method in class org.openqa.selenium.lift.find.HtmlTagFinder
 
extractFrom(WebDriver) - Method in class org.openqa.selenium.lift.find.XPathFinder
 

F

factory - Variable in class org.openqa.selenium.support.pagefactory.DefaultFieldDecorator
 
FieldDecorator - Interface in org.openqa.selenium.support.pagefactory
Allows the PageFactory to decorate fields.
FindBy - Annotation Type in org.openqa.selenium.support
Used to mark a field on a Page Object to indicate an alternative mechanism for locating the element.
FindBys - Annotation Type in org.openqa.selenium.support
Used to mark a field on a Page Object to indicate that lookup should use a series of @FindBy tags in a chain as described in ByChained Eg:
findElement(SearchContext) - Method in class org.openqa.selenium.support.ByIdOrName
 
findElement(By) - Method in class org.openqa.selenium.support.events.EventFiringWebDriver
 
findElement() - Method in class org.openqa.selenium.support.pagefactory.AjaxElementLocator
Find the element.
findElement(SearchContext) - Method in class org.openqa.selenium.support.pagefactory.ByChained
 
findElement() - Method in class org.openqa.selenium.support.pagefactory.DefaultElementLocator
Find the element.
findElement() - Method in interface org.openqa.selenium.support.pagefactory.ElementLocator
 
findElements(SearchContext) - Method in class org.openqa.selenium.support.ByIdOrName
 
findElements(By) - Method in class org.openqa.selenium.support.events.EventFiringWebDriver
 
findElements(SearchContext) - Method in class org.openqa.selenium.support.pagefactory.ByChained
 
Finder<S,T> - Interface in org.openqa.selenium.lift.find
 
Finders - Class in org.openqa.selenium.lift
 
Finders() - Constructor for class org.openqa.selenium.lift.Finders
 
findFrom(T) - Method in class org.openqa.selenium.lift.find.BaseFinder
 
findFrom(T) - Method in interface org.openqa.selenium.lift.find.Finder
 
first(Finder<WebElement, WebDriver>) - Static method in class org.openqa.selenium.lift.Finders
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)

G

get(String) - Method in class org.openqa.selenium.support.events.EventFiringWebDriver
 
get() - Method in class org.openqa.selenium.support.ui.LoadableComponent
Ensure that the component is currently loaded.
get() - Method in class org.openqa.selenium.support.ui.SlowLoadableComponent
 
getAllSelectedOptions() - Method in class org.openqa.selenium.support.ui.Select
 
getConditionRunner() - Method in interface com.thoughtworks.selenium.condition.ConditionRunner.Context
Returns the condition runner inside which this condition is being run.
getCurrentUrl() - Method in class org.openqa.selenium.lift.HamcrestWebDriverTestCase
Returns the current URL
getCurrentUrl() - Method in class org.openqa.selenium.support.events.EventFiringWebDriver
 
getFirstSelectedOption() - Method in class org.openqa.selenium.support.ui.Select
 
getMessage() - Method in class com.thoughtworks.selenium.condition.Condition
 
getOptions() - Method in class org.openqa.selenium.support.ui.Select
 
getPageSource() - Method in class org.openqa.selenium.lift.HamcrestWebDriverTestCase
Returns the current page source
getPageSource() - Method in class org.openqa.selenium.support.events.EventFiringWebDriver
 
getSelenium() - Method in interface com.thoughtworks.selenium.condition.ConditionRunner.Context
Returns the Selenium associated with this instance.
getTitle() - Method in class org.openqa.selenium.lift.HamcrestWebDriverTestCase
Returns the current page title
getTitle() - Method in class org.openqa.selenium.support.events.EventFiringWebDriver
 
getWebDriver() - Method in class org.openqa.selenium.lift.HamcrestWebDriverTestCase
 
getWindowHandle() - Method in class org.openqa.selenium.support.events.EventFiringWebDriver
 
getWindowHandles() - Method in class org.openqa.selenium.support.events.EventFiringWebDriver
 
getWrappedDriver() - Method in class org.openqa.selenium.support.events.EventFiringWebDriver
 
goTo(String) - Method in class org.openqa.selenium.lift.HamcrestWebDriverTestCase
Cause the browser to navigate to the given URL
goTo(String) - Method in interface org.openqa.selenium.lift.TestContext
 
goTo(String) - Method in class org.openqa.selenium.lift.WebDriverTestContext
 

H

HamcrestWebDriverTestCase - Class in org.openqa.selenium.lift
Base class for tests using the LiFT style API to driver WebDriver.
HamcrestWebDriverTestCase() - Constructor for class org.openqa.selenium.lift.HamcrestWebDriverTestCase
 
How - Enum in org.openqa.selenium.support
 
HtmlTagFinder - Class in org.openqa.selenium.lift.find
Base Finder for all types of HTML tags.
HtmlTagFinder() - Constructor for class org.openqa.selenium.lift.find.HtmlTagFinder
 

I

image() - Static method in class org.openqa.selenium.lift.find.ImageFinder
 
image() - Static method in class org.openqa.selenium.lift.Finders
 
imageButton() - Static method in class org.openqa.selenium.lift.find.InputFinder
 
imageButton(String) - Static method in class org.openqa.selenium.lift.find.InputFinder
 
imageButton() - Static method in class org.openqa.selenium.lift.Finders
 
imageButton(String) - Static method in class org.openqa.selenium.lift.Finders
 
ImageFinder - Class in org.openqa.selenium.lift.find
Finder for HTML image tags.
ImageFinder() - Constructor for class org.openqa.selenium.lift.find.ImageFinder
 
images() - Static method in class org.openqa.selenium.lift.find.ImageFinder
 
images() - Static method in class org.openqa.selenium.lift.Finders
 
info(String) - Method in interface com.thoughtworks.selenium.condition.ConditionRunner.Context
A Condition.isTrue(ConditionRunner.Context) can call this method to set extra information to be displayed upon a failure.
initElements(WebDriver, Class<T>) - Static method in class org.openqa.selenium.support.PageFactory
Instantiate an instance of the given class, and set a lazy proxy for each of the WebElement fields that have been declared, assuming that the field name is also the HTML element's "id" or "name".
initElements(WebDriver, Object) - Static method in class org.openqa.selenium.support.PageFactory
As PageFactory.initElements(org.openqa.selenium.WebDriver, Class) but will only replace the fields of an already instantiated Page Object.
initElements(ElementLocatorFactory, Object) - Static method in class org.openqa.selenium.support.PageFactory
Similar to the other "initElements" methods, but takes an ElementLocatorFactory which is used for providing the mechanism for fniding elements.
initElements(FieldDecorator, Object) - Static method in class org.openqa.selenium.support.PageFactory
Similar to the other "initElements" methods, but takes an FieldDecorator which is used for decorating each of the fields.
InputFinder - Class in org.openqa.selenium.lift.find
Finder for HTML input tags.
InputFinder() - Constructor for class org.openqa.selenium.lift.find.InputFinder
 
into(Finder<WebElement, WebDriver>) - Method in class org.openqa.selenium.lift.HamcrestWebDriverTestCase
Syntactic sugar to use with HamcrestWebDriverTestCase#type(String, Finder), e.g. type("cheese", into(textbox())); The into() method simply returns its argument.
invoke(Object, Method, Object[]) - Method in class org.openqa.selenium.support.pagefactory.internal.LocatingElementHandler
 
isElementUsable(WebElement) - Method in class org.openqa.selenium.support.pagefactory.AjaxElementLocator
By default, elements are considered "found" if they are in the DOM.
isError() - Method in class org.openqa.selenium.support.ui.SlowLoadableComponent
Check for well known error cases, which would mean that loading has finished, but an error condition was seen.
isJavascriptEnabled() - Method in class org.openqa.selenium.support.events.EventFiringWebDriver
 
isLoaded() - Method in class org.openqa.selenium.support.ui.LoadableComponent
Determine whether or not the component is loaded.
isLookupCached() - Method in class org.openqa.selenium.support.pagefactory.Annotations
 
isMultiple() - Method in class org.openqa.selenium.support.ui.Select
 
isNowBefore(long) - Method in interface org.openqa.selenium.support.ui.Clock
 
isNowBefore(long) - Method in class org.openqa.selenium.support.ui.SystemClock
 
isTrue(ConditionRunner.Context) - Method in class com.thoughtworks.selenium.condition.Condition
 
isTrue(ConditionRunner.Context) - Method in class com.thoughtworks.selenium.condition.Not
 
isTrue(ConditionRunner.Context) - Method in class com.thoughtworks.selenium.condition.Presence
 
isTrue(ConditionRunner.Context) - Method in class com.thoughtworks.selenium.condition.Text
 

J

JUnit4AndTestNgConditionRunner - Class in com.thoughtworks.selenium.condition

This class throws an AssertionError when the condition is not met - the same as JUnit4 and TestNG do.

JUnit4AndTestNgConditionRunner(DefaultConditionRunner.Monitor, Selenium, int, int, int) - Constructor for class com.thoughtworks.selenium.condition.JUnit4AndTestNgConditionRunner
 
JUnit4AndTestNgConditionRunner(DefaultConditionRunner.Monitor, Selenium, int, int) - Constructor for class com.thoughtworks.selenium.condition.JUnit4AndTestNgConditionRunner
 
JUnit4AndTestNgConditionRunner(Selenium, int, int, int) - Constructor for class com.thoughtworks.selenium.condition.JUnit4AndTestNgConditionRunner
 
JUnit4AndTestNgConditionRunner(Selenium, int, int) - Constructor for class com.thoughtworks.selenium.condition.JUnit4AndTestNgConditionRunner
 
JUnit4AndTestNgConditionRunner(Selenium) - Constructor for class com.thoughtworks.selenium.condition.JUnit4AndTestNgConditionRunner
 
JUnitConditionRunner - Class in com.thoughtworks.selenium.condition

This class throws an AssertionFailedError when the condition is not met.

JUnitConditionRunner(DefaultConditionRunner.Monitor, Selenium, int, int, int) - Constructor for class com.thoughtworks.selenium.condition.JUnitConditionRunner
 
JUnitConditionRunner(DefaultConditionRunner.Monitor, Selenium, int, int) - Constructor for class com.thoughtworks.selenium.condition.JUnitConditionRunner
 
JUnitConditionRunner(Selenium, int, int, int) - Constructor for class com.thoughtworks.selenium.condition.JUnitConditionRunner
 
JUnitConditionRunner(Selenium, int, int) - Constructor for class com.thoughtworks.selenium.condition.JUnitConditionRunner
 
JUnitConditionRunner(Selenium) - Constructor for class com.thoughtworks.selenium.condition.JUnitConditionRunner
 

L

laterBy(long) - Method in interface org.openqa.selenium.support.ui.Clock
 
laterBy(long) - Method in class org.openqa.selenium.support.ui.SystemClock
 
link() - Static method in class org.openqa.selenium.lift.find.LinkFinder
 
link(String) - Static method in class org.openqa.selenium.lift.find.LinkFinder
 
link() - Static method in class org.openqa.selenium.lift.Finders
 
link(String) - Static method in class org.openqa.selenium.lift.Finders
 
LinkFinder - Class in org.openqa.selenium.lift.find
 
links() - Static method in class org.openqa.selenium.lift.find.LinkFinder
 
links() - Static method in class org.openqa.selenium.lift.Finders
 
load() - Method in class org.openqa.selenium.support.ui.LoadableComponent
When this method returns, the component modeled by the subclass should be fully loaded.
LoadableComponent<T extends LoadableComponent<T>> - Class in org.openqa.selenium.support.ui
Represents any abstraction of something that can be loaded.
LoadableComponent() - Constructor for class org.openqa.selenium.support.ui.LoadableComponent
 
LocatingElementHandler - Class in org.openqa.selenium.support.pagefactory.internal
 
LocatingElementHandler(ElementLocator) - Constructor for class org.openqa.selenium.support.pagefactory.internal.LocatingElementHandler
 
log(String) - Method in class com.thoughtworks.selenium.condition.DefaultConditionRunner.Log4jMonitor
 

M

manage() - Method in class org.openqa.selenium.support.events.EventFiringWebDriver
 
matchers - Variable in class org.openqa.selenium.lift.find.BaseFinder
 
Matchers - Class in org.openqa.selenium.lift
 
Matchers() - Constructor for class org.openqa.selenium.lift.Matchers
 
matchesSafely(WebElement) - Method in class org.openqa.selenium.lift.match.AttributeMatcher
 
matchesSafely(WebElement) - Method in class org.openqa.selenium.lift.match.SelectionMatcher
 
matchesSafely(WebElement) - Method in class org.openqa.selenium.lift.match.TextMatcher
 
matchesSafely(WebElement) - Method in class org.openqa.selenium.lift.match.ValueMatcher
 

N

navigate() - Method in class org.openqa.selenium.support.events.EventFiringWebDriver
 
Not - Class in com.thoughtworks.selenium.condition
Simple predicate class, which also knows how to wait for its condition to be true.
Not(Condition) - Constructor for class com.thoughtworks.selenium.condition.Not
 
now() - Method in interface org.openqa.selenium.support.ui.Clock
 
now() - Method in class org.openqa.selenium.support.ui.SystemClock
 
NumericalMatchers - Class in org.openqa.selenium.lift.match
Various numerical hamcrest Matchers.
NumericalMatchers() - Constructor for class org.openqa.selenium.lift.match.NumericalMatchers
 

O

onException(Throwable, WebDriver) - Method in class org.openqa.selenium.support.events.AbstractWebDriverEventListener
 
onException(Throwable, WebDriver) - Method in interface org.openqa.selenium.support.events.WebDriverEventListener
Called whenever an exception would be thrown.
org.openqa.selenium.lift - package org.openqa.selenium.lift
 
org.openqa.selenium.lift.find - package org.openqa.selenium.lift.find
 
org.openqa.selenium.lift.match - package org.openqa.selenium.lift.match
 
org.openqa.selenium.support - package org.openqa.selenium.support
 
org.openqa.selenium.support.events - package org.openqa.selenium.support.events
 
org.openqa.selenium.support.pagefactory - package org.openqa.selenium.support.pagefactory
 
org.openqa.selenium.support.pagefactory.internal - package org.openqa.selenium.support.pagefactory.internal
 
org.openqa.selenium.support.ui - package org.openqa.selenium.support.ui
 

P

PageFactory - Class in org.openqa.selenium.support
Factory class to make using Page Objects simpler and easier.
PageFactory() - Constructor for class org.openqa.selenium.support.PageFactory
 
PageTitleFinder - Class in org.openqa.selenium.lift.find
A Finder for HTML title tags.
Presence - Class in com.thoughtworks.selenium.condition
Checks whether a given locator exists on the page.
Presence(String) - Constructor for class com.thoughtworks.selenium.condition.Presence
 
proxyForLocator(ClassLoader, ElementLocator, boolean) - Method in class org.openqa.selenium.support.pagefactory.DefaultFieldDecorator
 

Q

quit() - Method in interface org.openqa.selenium.lift.TestContext
 
quit() - Method in class org.openqa.selenium.lift.WebDriverTestContext
 
quit() - Method in class org.openqa.selenium.support.events.EventFiringWebDriver
 

R

radioButton() - Static method in class org.openqa.selenium.lift.find.InputFinder
 
radioButton(String) - Static method in class org.openqa.selenium.lift.find.InputFinder
 
radioButton() - Static method in class org.openqa.selenium.lift.Finders
 
radioButton(String) - Static method in class org.openqa.selenium.lift.Finders
 
register(WebDriverEventListener) - Method in class org.openqa.selenium.support.events.EventFiringWebDriver
 

S

Select - Class in org.openqa.selenium.support.ui
Models a SELECT tag, providing helper methods to select and deselect options.
Select(WebElement) - Constructor for class org.openqa.selenium.support.ui.Select
Constructor.
selectByIndex(int) - Method in class org.openqa.selenium.support.ui.Select
Select the option at the given index.
selectByValue(String) - Method in class org.openqa.selenium.support.ui.Select
Select all options that have a value matching the argument.
selectByVisibleText(String) - Method in class org.openqa.selenium.support.ui.Select
Select all options that display text matching the argument.
selection() - Static method in class org.openqa.selenium.lift.match.SelectionMatcher
 
selection() - Static method in class org.openqa.selenium.lift.Matchers
 
SelectionMatcher - Class in org.openqa.selenium.lift.match
Matcher to match a selected element (e.g. a radio button).
SelectionMatcher() - Constructor for class org.openqa.selenium.lift.match.SelectionMatcher
 
SeleniumCommandTimedOutException - Exception in com.thoughtworks.selenium
Thrown to indicate that the remote process failed to respond within a specified timeout.
SeleniumCommandTimedOutException() - Constructor for exception com.thoughtworks.selenium.SeleniumCommandTimedOutException
 
sleepFor() - Method in class org.openqa.selenium.support.pagefactory.AjaxElementLocator
By default, we sleep for 250ms between polls.
sleepFor() - Method in class org.openqa.selenium.support.ui.SlowLoadableComponent
 
SlowLoadableComponent<T extends LoadableComponent<T>> - Class in org.openqa.selenium.support.ui
A LoadableComponent which might not have finished loading when load() returns.
SlowLoadableComponent(Clock, int) - Constructor for class org.openqa.selenium.support.ui.SlowLoadableComponent
 
submitButton() - Static method in class org.openqa.selenium.lift.find.InputFinder
 
submitButton(String) - Static method in class org.openqa.selenium.lift.find.InputFinder
 
switchTo() - Method in class org.openqa.selenium.support.events.EventFiringWebDriver
 
SystemClock - Class in org.openqa.selenium.support.ui
 
SystemClock() - Constructor for class org.openqa.selenium.support.ui.SystemClock
 

T

table() - Static method in class org.openqa.selenium.lift.find.TableFinder
 
table() - Static method in class org.openqa.selenium.lift.Finders
 
TableCellFinder - Class in org.openqa.selenium.lift.find
A Finder for HTML table cell "td" tags.
TableFinder - Class in org.openqa.selenium.lift.find
A Finder for HTML table tags.
tables() - Static method in class org.openqa.selenium.lift.find.TableFinder
 
tables() - Static method in class org.openqa.selenium.lift.Finders
 
tagDescription() - Method in class org.openqa.selenium.lift.find.DivFinder
 
tagDescription() - Method in class org.openqa.selenium.lift.find.HtmlTagFinder
 
tagDescription() - Method in class org.openqa.selenium.lift.find.ImageFinder
 
tagDescription() - Method in class org.openqa.selenium.lift.find.InputFinder
 
tagDescription() - Method in class org.openqa.selenium.lift.find.LinkFinder
 
tagDescription() - Method in class org.openqa.selenium.lift.find.PageTitleFinder
 
tagDescription() - Method in class org.openqa.selenium.lift.find.TableCellFinder
 
tagDescription() - Method in class org.openqa.selenium.lift.find.TableFinder
 
tagName() - Method in class org.openqa.selenium.lift.find.DivFinder
 
tagName() - Method in class org.openqa.selenium.lift.find.HtmlTagFinder
 
tagName() - Method in class org.openqa.selenium.lift.find.ImageFinder
 
tagName() - Method in class org.openqa.selenium.lift.find.InputFinder
 
tagName() - Method in class org.openqa.selenium.lift.find.LinkFinder
 
tagName() - Method in class org.openqa.selenium.lift.find.PageTitleFinder
 
tagName() - Method in class org.openqa.selenium.lift.find.TableCellFinder
 
tagName() - Method in class org.openqa.selenium.lift.find.TableFinder
 
tearDown() - Method in class org.openqa.selenium.lift.HamcrestWebDriverTestCase
 
TestContext - Interface in org.openqa.selenium.lift
Interface for objects that provide a context (maintaining any state) for web tests.
Text - Class in com.thoughtworks.selenium.condition
Checks whether text exists either anywhere on the page, or inside a given locator.
Text(String) - Constructor for class com.thoughtworks.selenium.condition.Text
Look for text anywhere on the page.
Text(String, String) - Constructor for class com.thoughtworks.selenium.condition.Text
Look for text inside a given locator.
text(Matcher<String>) - Static method in class org.openqa.selenium.lift.match.TextMatcher
 
text(Matcher<String>) - Static method in class org.openqa.selenium.lift.Matchers
 
textbox() - Static method in class org.openqa.selenium.lift.find.InputFinder
 
textbox() - Static method in class org.openqa.selenium.lift.Finders
 
TextMatcher - Class in org.openqa.selenium.lift.match
Matcher for matching text content within WebElements.
throwAssertionException(String) - Method in class com.thoughtworks.selenium.condition.DefaultConditionRunner
 
throwAssertionException(String, Throwable) - Method in class com.thoughtworks.selenium.condition.DefaultConditionRunner
 
throwAssertionException(String) - Method in class com.thoughtworks.selenium.condition.JUnit4AndTestNgConditionRunner
 
throwAssertionException(String, Throwable) - Method in class com.thoughtworks.selenium.condition.JUnit4AndTestNgConditionRunner
 
throwAssertionException(String) - Method in class com.thoughtworks.selenium.condition.JUnitConditionRunner
 
throwAssertionException(String, Throwable) - Method in class com.thoughtworks.selenium.condition.JUnitConditionRunner
 
throwTimeoutException(String, Exception) - Method in class org.openqa.selenium.support.ui.WebDriverWait
Override this method to throw an exception that is idiomatic for a given test infrastructure.
TimeoutException - Exception in org.openqa.selenium.support.ui
A simple exception that is thrown if an ExpectedCondition is not met met by a Wait.
TimeoutException(String) - Constructor for exception org.openqa.selenium.support.ui.TimeoutException
Time out a test, indicating why the timeout occurred.
TimeoutException(String, Throwable) - Constructor for exception org.openqa.selenium.support.ui.TimeoutException
Time out a test, indicating why the timeout occurred and giving a cause.
timeOutInSeconds - Variable in class org.openqa.selenium.support.pagefactory.AjaxElementLocator
 
title() - Static method in class org.openqa.selenium.lift.find.PageTitleFinder
 
title(String) - Static method in class org.openqa.selenium.lift.find.PageTitleFinder
 
title() - Static method in class org.openqa.selenium.lift.Finders
 
title(String) - Static method in class org.openqa.selenium.lift.Finders
 
titles() - Static method in class org.openqa.selenium.lift.find.PageTitleFinder
 
titles() - Static method in class org.openqa.selenium.lift.Finders
 
toString() - Method in class com.thoughtworks.selenium.condition.Condition
 
toString() - Method in class org.openqa.selenium.support.ByIdOrName
 
toString() - Method in class org.openqa.selenium.support.pagefactory.ByChained
 
type(String, Finder<WebElement, WebDriver>) - Method in class org.openqa.selenium.lift.HamcrestWebDriverTestCase
Type characters into an element of the page, typically an input field
type(String, Finder<WebElement, WebDriver>) - Method in interface org.openqa.selenium.lift.TestContext
 
type(String, Finder<WebElement, WebDriver>) - Method in class org.openqa.selenium.lift.WebDriverTestContext
 

U

UnexpectedTagNameException - Exception in org.openqa.selenium.support.ui
 
UnexpectedTagNameException(String, String) - Constructor for exception org.openqa.selenium.support.ui.UnexpectedTagNameException
 
unregister(WebDriverEventListener) - Method in class org.openqa.selenium.support.events.EventFiringWebDriver
 
until() - Method in class com.thoughtworks.selenium.Wait
Returns true when it's time to stop waiting
until(Function<F, T>) - Method in interface org.openqa.selenium.support.ui.Wait
Implementations should wait until the condition evaluates to a value that is neither null nor false.
until(Function<WebDriver, T>) - Method in class org.openqa.selenium.support.ui.WebDriverWait
Implementations should wait until the condition evaluates to a value that is neither null nor false.

V

value(Object) - Static method in class org.openqa.selenium.lift.match.ValueMatcher
 
value(Object) - Static method in class org.openqa.selenium.lift.Matchers
 
ValueMatcher - Class in org.openqa.selenium.lift.match
Matches the value of an element, for example an input field.
ValueMatcher(Object) - Constructor for class org.openqa.selenium.lift.match.ValueMatcher
 
valueOf(String) - Static method in enum org.openqa.selenium.support.How
Returns the enum constant of this type with the specified name.
values() - Static method in enum org.openqa.selenium.support.How
Returns an array containing the constants of this enum type, in the order they are declared.

W

Wait - Class in com.thoughtworks.selenium
A utility class, designed to help the user automatically wait until a condition turns true.
Wait() - Constructor for class com.thoughtworks.selenium.Wait
 
Wait(String) - Constructor for class com.thoughtworks.selenium.Wait
 
wait(String) - Method in class com.thoughtworks.selenium.Wait
Wait until the "until" condition returns true or time runs out.
wait(String, long) - Method in class com.thoughtworks.selenium.Wait
Wait until the "until" condition returns true or time runs out.
wait(String, long, long) - Method in class com.thoughtworks.selenium.Wait
Wait until the "until" condition returns true or time runs out.
Wait<F> - Interface in org.openqa.selenium.support.ui
A generic interface for waiting until a condition is true or not null.
Wait.WaitTimedOutException - Exception in com.thoughtworks.selenium
 
Wait.WaitTimedOutException() - Constructor for exception com.thoughtworks.selenium.Wait.WaitTimedOutException
 
Wait.WaitTimedOutException(String, Throwable) - Constructor for exception com.thoughtworks.selenium.Wait.WaitTimedOutException
 
Wait.WaitTimedOutException(String) - Constructor for exception com.thoughtworks.selenium.Wait.WaitTimedOutException
 
Wait.WaitTimedOutException(Throwable) - Constructor for exception com.thoughtworks.selenium.Wait.WaitTimedOutException
 
waitFor(Condition) - Method in interface com.thoughtworks.selenium.condition.ConditionRunner
This method will, every so often, evaluate the given condition's Condition.isTrue(ConditionRunner.Context) method, until:

it becomes true, in which case it simply returns a certain amount of time is passed, in which case it fails by throwing an failure exception tailored to a given test framework -- e.g.

waitFor(String, Condition) - Method in interface com.thoughtworks.selenium.condition.ConditionRunner
As above but with an additonal 'should' phrase narrative used in the event of the condition failing to become true
waitFor(Condition) - Method in class com.thoughtworks.selenium.condition.DefaultConditionRunner
 
waitFor(String, Condition) - Method in class com.thoughtworks.selenium.condition.DefaultConditionRunner
 
waitFor(Finder<WebElement, WebDriver>) - Method in class org.openqa.selenium.lift.HamcrestWebDriverTestCase
 
waitFor(Finder<WebElement, WebDriver>, long) - Method in class org.openqa.selenium.lift.HamcrestWebDriverTestCase
 
waitFor(Finder<WebElement, WebDriver>, long) - Method in interface org.openqa.selenium.lift.TestContext
 
waitFor(Finder<WebElement, WebDriver>, long) - Method in class org.openqa.selenium.lift.WebDriverTestContext
 
waitHasBegun(ConditionRunner.Context, Condition) - Method in class com.thoughtworks.selenium.condition.DefaultConditionRunner.Log4jMonitor
 
waitHasBegun(ConditionRunner.Context, Condition) - Method in interface com.thoughtworks.selenium.condition.DefaultConditionRunner.Monitor
Called whenever a DefaultConditionRunner.waitFor(Condition) has begun, and is being tracked with the given condition.
waitHasBegun(ConditionRunner.Context, Condition) - Method in class com.thoughtworks.selenium.condition.DefaultConditionRunner.NoOpMonitor
 
WebDriverEventListener - Interface in org.openqa.selenium.support.events
 
WebDriverTestContext - Class in org.openqa.selenium.lift
Gives the context for a test, holds page state, and interacts with the WebDriver.
WebDriverTestContext(WebDriver) - Constructor for class org.openqa.selenium.lift.WebDriverTestContext
 
WebDriverWait - Class in org.openqa.selenium.support.ui
An implementation of the Wait interface that makes use of WebDriver.
WebDriverWait(WebDriver, long) - Constructor for class org.openqa.selenium.support.ui.WebDriverWait
 
WebDriverWait(Clock, WebDriver, long, long) - Constructor for class org.openqa.selenium.support.ui.WebDriverWait
 
with(Matcher<S>) - Method in class org.openqa.selenium.lift.find.BaseFinder
 
with(Matcher<S>) - Method in interface org.openqa.selenium.lift.find.Finder
 
with(Matcher<WebElement>) - Method in class org.openqa.selenium.lift.find.HtmlTagFinder
 

X

XPathFinder - Class in org.openqa.selenium.lift.find
A Finder for elements using XPath expressions
XPathFinder(String) - Constructor for class org.openqa.selenium.lift.find.XPathFinder
 

A B C D E F G H I J L M N O P Q R S T U V W X

Copyright © 2010. All Rights Reserved.