premganz / SeleniumPageObjects

An implementation of the Page Object Pattern in Selenium along with a bunch of other features like KeyWords for oft used Webdriver calls, driver lifecycle management, effective logging and Test Script Templates
Other
2 stars 1 forks source link

Make pagefactory a singleton factory #5

Closed premganz closed 9 years ago

premganz commented 9 years ago

This will help to store the last set state and make it relevant while gathering up formData

premganz commented 9 years ago

The singleton page factory is useful for having Page Objects that maintain state , for example the 'state' name can be used for returning appropriate formData