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.