Introduction
Selenium WebDriver provides a highly flexible and robust API to extend the features and commands and add customization to build a scalable test automation framework. This chapter covers some of the important recipes to extend Selenium WebDriver for various practical scenarios.
In this chapter, we will write Selenium WebDriver extensions that support web tables, object maps, and image comparison features.
We will also build an extension for jQuery UI control. You can use this pattern to implement support for a third-party or the custom controls used in your application by hiding technical details from the tests. This makes test development a lot easier.