O'Reilly logo

Selenium Testing Tools Cookbook by Unmesh Gundecha

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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

Introduction

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required