Exploring the Features of WebDriver

So far, we have looked at various basic and advanced interactions that a user can perform on a web page using WebDriver. In this chapter, we will discuss the different capabilities and features of WebDriver that enable test script developers to have better control over WebDriver, and consequently of the web application that is being tested. The features that we are going to cover in this chapter are as follows:

  • Taking screenshots
  • Locating target windows and iFrames
  • Exploring Navigate
  • Waiting for WebElements to load
  • Handling cookies

Let's get started without any further delay.

Get Learn Selenium now with the O’Reilly learning platform.

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