public interface PageBinder
| Modifier and Type | Method and Description |
|---|---|
<P> P |
bind(Class<P> pageClass,
Object... args)
Builds and binds the page object to the page.
|
<P> DelayedBinder<P> |
delayedBind(Class<P> pageClass,
Object... args)
Creates a delayed binder that gives the caller full control over the lifecycle of the page object.
|
<P extends Page> |
navigateToAndBind(Class<P> pageClass,
Object... args)
Constructs the page object, changes the browser URL to the desired page URL, then binds the object to the page.
|
<P> void |
override(Class<P> oldClass,
Class<? extends P> newClass)
Overrides a page object
|
<P extends Page> P navigateToAndBind(Class<P> pageClass, Object... args)
P - The page typepageClass - The page classargs - Arguments to pass to the page object constructor.<P> P bind(Class<P> pageClass, Object... args)
P - The page typepageClass - The page object classargs - Arguments to pass to the page object constructor.<P> DelayedBinder<P> delayedBind(Class<P> pageClass, Object... args)
DelayedBinder methods are called.P - The page typepageClass - The page object classargs - The arguments to pass to the page object constructorCopyright © 2015 Atlassian. All rights reserved.