Chapter 6. Extending Selenium
In this chapter, we will cover:
- Creating an extension class for web tables
- Creating an extension for the jQueryUI Tab widget
- Implementing an extension for the WebElement object to set the element attribute values
- Implementing an extension for the WebElement object to highlight elements
- Creating an object map for Selenium tests
- Capturing screenshots of elements in the Selenium WebDriver
- Comparing images in Selenium
Selenium WebDriver provides a highly flexible and robust API to extend the features and commands and add customization for building a scalable test automation framework. This chapter covers some of the important recipes for extending Selenium WebDriver for various practical scenarios.
In this chapter ...