tutorial

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.