public class PageInitializer extends Object
| Constructor and Description |
|---|
PageInitializer(Fluent fluent) |
| Modifier and Type | Method and Description |
|---|---|
<T extends FluentPage> |
createPage(Class<T> cls,
Object... params)
Creates a new page from it's class name and constructor parameters.
|
void |
initContainer(Fluent container)
Initialize a page or an adapter.
|
void |
release()
Release FluentPages loaded.
|
public PageInitializer(Fluent fluent)
public void release()
public <T extends FluentPage> T createPage(Class<T> cls, Object... params)
T - cls - Page classparams - public void initContainer(Fluent container) throws IllegalAccessException, ClassNotFoundException
container - FluentPage or FluentAdapter object.IllegalAccessExceptionClassNotFoundExceptionCopyright © 2016 FluentLenium. All Rights Reserved.