Summary

In this chapter, we learned about the PageObject pattern and how we can implement a test framework using PageObjects. It has numerous advantages. The PageObject pattern and the LoadableComponents class provide a test framework that adapts easily to changes made to the target application, without changing any test cases. We should always remember that a well-designed test framework is always flexible to changes made to the target application. In the next chapter, we will look at testing iOS and Android mobile applications using, Appium.

Get Selenium WebDriver 3 Practical Guide - Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.