Page Object Pattern for Selenium

Kim Schiller's picture
by Kim Schiller on August 3, 2016

I love writing Seleniums test scripts, but I have been getting frustrated with the messy structure of my tests. It seems that over time the test scripts get longer and all the WebDriver calls obscure the intent of the test and make it less and less readable. So, I was relieved to find that I was not alone in this frustration, and in fact, all my concerns where addressed in a test design pattern: Page Object Pattern.

Implementing the Page Object Pattern was fantastic. It was a perfect fit. So I wanted to share my experience, and wrote a tutorial for getting started with it. And it is now featured on the excellent Pluralsight Guides. Go check it out and give it a "like" if you find it useful.

Link to tutorial: Getting started with Page Object Pattern for your Selenium tests