What is the Page Object Pattern in Selenium WebDriver? [closed]
The documentation has already covered this. If you have any specific questions, feel free to edit your main post.
Official:
- Page Objects and PageFactory on Selenuim Wiki.
- Page Object Design Pattern on Selenium official site.
Unofficial:Do a Google search, you will get a lot info on this.
[Edited to respond to the reply below. And thanks, I'll do better.]
The purpose of the page object pattern is to completely encapsulate the testing interface to the web page. This follows the time-honored practice of data hiding.
Here's the Selenium article about the page object.
And here's my post "Keep Your Page Objects DRY".