Modifier and Type | Method and Description |
---|---|
static <T> T |
CustomPageFactory.initElements(Browser browser,
Class<T> pageClassToProxy)
Custom Page Factory method that initializes the Selenium PageFactory based element locators
PageFactory
with the passed driver object. |
static <T> T |
CustomPageFactory.initElements(Browser browser,
Class<T> pageClassToProxy,
File file)
Custom Page Factory method that initializes the Selenium PageFactory based element locators
PageFactory
with the passed browser object. |
static <T> T |
CustomPageFactory.initElements(Browser browser,
Class<T> pageClassToProxy,
String filePath)
Custom Page Factory method that initializes the Selenium PageFactory based element locators
PageFactory
with the passed browser object. |
static <T> T |
CustomPageFactory.initElements(Browser browser,
T pageClassObjectToProxy)
As
PageFactory.initElements(org.openqa.selenium.WebDriver, Class)
but will use the TAF Browser class object for getting the driver. |
static <T> T |
CustomPageFactory.initElements(Browser browser,
T pageClassObjectToProxy,
File file)
Custom Page Factory method that initializes the Selenium PageFactory based element locators
PageFactory
with the passed browser object. |
static <T> T |
CustomPageFactory.initElements(Browser browser,
T pageClassObjectToProxy,
String filePath)
Custom Page Factory method that initializes the Selenium PageFactory based element locators
PageFactory
with the passed driver object. |
Constructor and Description |
---|
BrowserBasedElementLocator(ILocatorFile locatorFile,
Browser browser,
Field field) |
BrowserBasedSimpleElementLocator(Browser browser,
Field field) |
KeywordBasedLocatorFactory(ILocatorFile locatorFile,
Browser browser) |
SimpleLocatorFactory(Browser browser) |
Modifier and Type | Method and Description |
---|---|
void |
AbstractPageClass.init(Browser browser)
Intialization method for the Page class
|
Modifier and Type | Field and Description |
---|---|
protected Browser |
PageObjectUtils.browser |
Modifier and Type | Method and Description |
---|---|
void |
PageObjectUtils.setBrowser(Browser browser) |
void |
Utilities.waitForPage(Browser browser,
Class<?> pageClass)
Util method for waiting for the page object model page to appear or displayed.
|
void |
Utilities.waitForPage(Browser browser,
Class<?> pageClass,
long timeout)
Util method for waiting for the page object model page to appear or displayed.
|
Copyright © 2014. All rights reserved.