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

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.