C# Class OpenQA.Selenium.Support.PageObjects.PageFactory

Provides the ability to produce Page Objects modeling a page. This class cannot be inherited.
Exibir arquivo Open project: asynchrony/Selenium2 Class Usage Examples

Public Methods

Method Description
InitElements ( ISearchContext driver, object page ) : void

Initializes the elements in the Page Object.

Private Methods

Method Description
PageFactory ( ) : System

Prevents a default instance of the PageFactory class from being created.

Method Details

InitElements() public static method

Initializes the elements in the Page Object.
public static InitElements ( ISearchContext driver, object page ) : void
driver ISearchContext The driver used to find elements on the page.
page object The Page Object to be populated with elements.
return void