webdriver library

Classes

ByCheckTag
Finder annotations. See CssFinder for usage details. Finds elements by the page object's @CheckTag contents. [...]
ByClass
Finds elements by their CSS class.
ByCss
Finds elements by some arbitrary CSS selector.
ByDebugId
Finds element by debugid.
ById
Finds element by ID.
ByTagName
Finds elements by tag name.
Checker
Checks some property of annotated element. Fails if this property does not hold at runtime. [...]
CheckTag
Checker annotations. See Checker for usage details. Checks the tag for a page object. [...]
CheckTags
Checks that a tag is one of the tag names provided. [...]
ContextFinder
Finder based on page loader context.
CssFinder
Finder based on cssSelector.
EnsureTag
Combines @ByTagName and @CheckTag. For use only on class declarations. [...]
Filter
Filters all elements found by a CssFinder.
Finder
Finds all matching elements STRICTLY underneath the parent context. [...]
First
Given a finder select the first element.
Global
Finds elements based on the global context.
IsDisplayed
Keeps PageLoaderElement that are displayed or non-displayed based on 'display' style. [...]
IsTag
Keeps only PageLoaderElements that correspond to the given tag.
MouseButton
Common mouse button for webdriver. [...]
NullPageLoaderElement
Null PageLoaderElement is used in place of 'null' value. [...]
NullPageLoaderElementAccessException
PageElementIterable
Interface for iterables of PageLoaderElements. [...]
PageLoaderAttributes
Generic attributes interface, allowing bracket notation referencing.
PageLoaderElement
Base class for interacting with raw DOM elements, e.g. buttons, input fields, etc.
PageLoaderException
PageLoaderKeyboard
Keyboard object used to group keyboard events that should be executed consecutively. [...]
PageLoaderListener
Listener for PageLoader events. [...]
PageLoaderMouse
Interface for the mouse.
PageLoaderSource
Base class for Pageloader entities that behave as the source for other PageLoaderElements.
PageObject
This annotation is required by the pageloader generator. Class level annotation, present on all page objects. If this is not present no generation will take place.
PageObjectIterable<E>
Iterable for collections of page objects and PageLoaderElements. [...]
PageObjectIterator<E>
Iterator for page objects. [...]
PageObjectList<E>
List implementation specific for Pageloader. Iterable for collections of page objects and PageLoaderElements. [...]
PageUtils
Convenience methods that vary based on environment.
SinglePageObjectException
WebDriverMouse
Support for mouse in WebDriver context.
WebDriverPageLoaderElement
Implements PageLoaderElement for WebDriver test environments. [...]
WebDriverPageUtils
Support for PageUtils in WebDriver context.
WithAttribute
Keeps only PageLoaderElements that have the given attribute with the given value.
WithClass
Keeps only PageLoaderElements with the given class.
WithInnerText
Keeps only PageLoaderElements with the given inner text.
WithProperty
Keeps only PageLoaderElements that have the given property with the given value.
WithVisibleText
Keeps only PageLoaderElements with the given visible text.

Constants

Mouse → const _Mouse
Convenience annotation for using PageLoaderMouse within a page object. [...]
const _Mouse()
nullElement → const _NullElement
Labels a PageLoaderElement or PageObject as an empty entity. Calling 'exists' on a PageLoaderElement or PageObject annotated with '@nullElement' will always return false. An empty PageLoaderElement or PageObject should be used in place of returning a null value. [...]
const _NullElement()
root → const _Root
Matches the root PageLoaderElement being used for constructing the current page object. Allows PageLoaderElement interactions (e.g. clicking) directly on a page object. [...]
const _Root()

Enums

KeyboardEventType
Keyboard event type.
PageLoaderSpecialKey
Special key that may be sent on an element. [...]

Typedefs

PageObjectConstructor<E>(PageLoaderElement e) → E
Function for constructing a page object.