Skip navigation links
A B C D E G I L M N P R S U V W 

A

after() - Method in class io.devcon5.pageobjects.SeleniumContext
 

B

baseUrl(String) - Method in class io.devcon5.pageobjects.SeleniumContext.SeleniumContextBuilder
 
before() - Method in class io.devcon5.pageobjects.SeleniumContext
 
build() - Method in class io.devcon5.pageobjects.SeleniumContext.SeleniumContextBuilder
 
builder() - Static method in class io.devcon5.pageobjects.SeleniumContext
Creates a new context builder for fluent setup and instantiation.

C

createDefaultInstance(Class<?>) - Static method in class io.devcon5.pageobjects.PageObjectsInjector
Creates an instance using the default constructor
currentContext() - Static method in class io.devcon5.pageobjects.SeleniumContext
Returns the current context.
currentDriver() - Static method in class io.devcon5.pageobjects.SeleniumContext
Returns the currentContext driver.

D

driver(Supplier<WebDriver>) - Method in class io.devcon5.pageobjects.SeleniumContext.SeleniumContextBuilder
 
driverOptions(Consumer<WebDriver.Options>) - Method in class io.devcon5.pageobjects.SeleniumContext.SeleniumContextBuilder
 
Drivers - Enum in io.devcon5.pageobjects
Choice of Drivers to use for Selenium testing

E

ElementGroup - Interface in io.devcon5.pageobjects
An element group is the base class for the entire page object model.
ExecutionStopWatch - Class in io.devcon5.pageobjects
A functional stop watch for measuring the time for executing a specific task

G

getBaseUrl() - Method in class io.devcon5.pageobjects.SeleniumContext
The base URL of the application to test
getDriver() - Method in class io.devcon5.pageobjects.SeleniumContext
Returns the driver of this context.
getDuration() - Method in class io.devcon5.pageobjects.ExecutionStopWatch
 
getLoginTime() - Method in class io.devcon5.pageobjects.SeleniumContext
Returns the duration of the login process
getPassword() - Method in class io.devcon5.pageobjects.User
 
getResult() - Method in class io.devcon5.pageobjects.ExecutionStopWatch
 
getSearchContext() - Method in interface io.devcon5.pageobjects.ElementGroup
Returns the search context for locating elements inside the element group.
getUsername() - Method in class io.devcon5.pageobjects.User
 

I

injectFields(ElementGroup) - Static method in class io.devcon5.pageobjects.PageObjectsInjector
Injects WebElement suppliers in all fields according to the Locator annotation on that field
injectMethods(ElementGroup) - Static method in class io.devcon5.pageobjects.PageObjectsInjector
Injects WebElement suppliers in all setter methods according to the Locator annotation on that method
injectWebElement(ElementGroup, Field, Locator) - Static method in class io.devcon5.pageobjects.PageObjectsInjector
Injects a WebElement supplier into the specified field of the target.
invokeSetter(Method, ElementGroup, Locator) - Static method in class io.devcon5.pageobjects.PageObjectsInjector
Invokes the specified setter method to inject a WebElement supplier
io.devcon5.pageobjects - package io.devcon5.pageobjects
 
isLoggedIn() - Method in class io.devcon5.pageobjects.SeleniumContext
Indicates if a user is logged in to the application

L

locate(String) - Method in enum io.devcon5.pageobjects.Locator.ByLocator
Locates the web element on the current page using the appropriate locator strategy
locate(SearchContext, String) - Method in enum io.devcon5.pageobjects.Locator.ByLocator
Locates the web element on the current page using the appropriate locator strategy
locate(Locator) - Static method in class io.devcon5.pageobjects.WebElementLocator
Locates the element using the current driver as search context.
locate(SearchContext, Locator) - Static method in class io.devcon5.pageobjects.WebElementLocator
Locates the element using the search context and locator, waiting for the timeout specified in the locator.
locateElements() - Method in interface io.devcon5.pageobjects.ElementGroup
Locates all elements specified either by field annotation or method annotation and injects the web element suppliers to each element.
Locator - Annotation Type in io.devcon5.pageobjects
A locator annotation to declare how a page or an element can be addressed
Locator.ByLocator - Enum in io.devcon5.pageobjects
 
login(User) - Method in class io.devcon5.pageobjects.SeleniumContext
Performs the login action with the specified user
loginAction(BiConsumer<User, WebDriver>) - Method in class io.devcon5.pageobjects.SeleniumContext.SeleniumContextBuilder
 
logout() - Method in class io.devcon5.pageobjects.SeleniumContext
Performs the logout action
logoutAction(Consumer<WebDriver>) - Method in class io.devcon5.pageobjects.SeleniumContext.SeleniumContextBuilder
 

M

measure(Runnable) - Static method in class io.devcon5.pageobjects.ExecutionStopWatch
Creates a new stop watch for measuring the execution time of a runnable.
measure(Callable) - Static method in class io.devcon5.pageobjects.ExecutionStopWatch
Creates a new stop watch for measuring the execution time of a callable

N

navigateTo() - Method in interface io.devcon5.pageobjects.Page
Default implementation navigates to the url of the page specified by locator annotation.
navigateTo(Class<T>) - Static method in interface io.devcon5.pageobjects.Page
Navigates to a specific page of the page object model.

P

Page - Interface in io.devcon5.pageobjects
Interface to declare a page of an application
PageObjectsInjector - Class in io.devcon5.pageobjects
Injector to inject WebElement suppliers to Fields and Methods of a Page

R

resolve(String) - Static method in class io.devcon5.pageobjects.SeleniumContext
Resolves the URL path relative to the base URL.

S

SeleniumContext - Class in io.devcon5.pageobjects
Context for running selenium based tests.
SeleniumContext() - Constructor for class io.devcon5.pageobjects.SeleniumContext
 
SeleniumContext.SeleniumContextBuilder - Class in io.devcon5.pageobjects
Builder for creating a Selenium test context

U

User - Class in io.devcon5.pageobjects
A user object to run a test
User(String, String) - Constructor for class io.devcon5.pageobjects.User
 

V

valueOf(String) - Static method in enum io.devcon5.pageobjects.Drivers
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum io.devcon5.pageobjects.Locator.ByLocator
Returns the enum constant of this type with the specified name.
values() - Static method in enum io.devcon5.pageobjects.Drivers
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum io.devcon5.pageobjects.Locator.ByLocator
Returns an array containing the constants of this enum type, in the order they are declared.

W

waitForElement(SearchContext, By, int) - Static method in class io.devcon5.pageobjects.WebElementLocator
Waits for the presence of a specific web element until a timeout is reached.
waitForElement(By, int) - Static method in class io.devcon5.pageobjects.WebElementLocator
Waits for the presence of an element until a timeout is reached.
WebElementLocator - Class in io.devcon5.pageobjects
Helper class to locate WebElements by a Locator literal
withSelector(String) - Method in enum io.devcon5.pageobjects.Locator.ByLocator
Transforms the ByLocator to a Selenium By literal.
A B C D E G I L M N P R S U V W 
Skip navigation links

Copyright © 2016 DevCon5 GmbH. All rights reserved.