Exploring Advanced Interactions of WebDriver

In the previous chapter, we discussed the WebDriver interface and its features, including taking screenshots, working with Windows, frames, alerts, cookies, and synchronizing tests. In this chapter, we will go through some advanced ways of performing actions on WebElements. We will learn how to perform actions, using the actions API of Selenium WebDriver, including the following:

  • Complex mouse actions, such as moving the mouse, double-clicking, and dragging and dropping
  • Keyboard shortcuts

Get Selenium WebDriver 3 Practical Guide - Second Edition 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.