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 2. Working with Selenium API

In this chapter, we will cover:

  • Checking an element's text
  • Checking an element's attribute values
  • Checking an element's CSS values
  • Using Advanced User Interactions API for mouse and keyboard events
  • Performing double-click on an element
  • Performing drag-and-drop operations
  • Executing JavaScript code
  • Capturing screenshots with Selenium WebDriver
  • Capturing screenshots with RemoteWebDriver/Grid
  • Maximizing the browser window
  • Automating dropdowns and lists
  • Checking options in dropdowns and lists
  • Checking selected options in dropdowns and lists
  • Automating radio buttons and radio groups
  • Automating checkboxes
  • Controlling a Windows process
  • Reading a Windows registry value from Selenium WebDriver
  • Modifying a Windows registry value from Selenium ...

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