Tag Archives: java

Browser testing tip: decompose page objects into panel objects

The problem If you are writing browser-driven tests, the Page Object pattern is a really useful abstraction to use. Let’s assume that our test wants to interact with the navigation bar on a complex page (eg The Guardian homepage): We could create methods for doing this on the page object class: However, for a page […]