Creating an extension for the jQueryUI Tab widget

jQuery UI is a jQuery user-interface library. It provides interactions, widgets, effects, and theming for building rich Internet applications. jQuery UI provides a number of UI widgets, such as Accordion, Datepicker, Slider, Dialog, and Tabs.

These widgets are built using a number of low-level HTML elements, such as DIVs, unordered lists, and input tags. While Selenium can recognize these elements individually, we can build support for Selenium to recognize these controls as native jQuery UI widgets. We can then perform native operations supported by jQuery framework.

In this recipe, we will implement support for the jQuery UI Tab widget.

Getting ready

Visit http://jqueryui.com/demos/tabs/ to understand ...

Get Selenium Testing Tools Cookbook 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.