Chapter 9. Advanced Techniques of Selenium WebDriver

So far in the book, we have seen how to set up Selenium WebDriver for testing web applications and some of the important features and APIs for locating and interacting with various elements in the browser.

In this chapter, we will explore some of the advanced APIs of Selenium WebDriver. These features come in handy when you're testing fairly complex applications.

In this chapter, you will learn more about:

  • Creating tests that simulate keyboard or mouse events using the Actions class
  • Simulating mouse operations such as drag-and-drop and double-click
  • Running JavaScript code
  • Capturing screenshots and movies of test runs
  • Handling browser navigation and cookies

Methods for performing keyboard and mouse actions ...

Get Learning Selenium Testing Tools with Python now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.