Chapter 6. Working with WebDriver

In Chapter 4, Finding Elements, we saw how we can look for elements. Now let's start working with Selenium WebDriver in different browsers. Remember that Selenium WebDriver is a browser automation framework for all of the major browsers and can access a browser like an end user would.

In this chapter, we will:

  • Run a test with Firefox and work with Firefox profiles
  • Run a test with Google Chrome or Chromium
  • Update the capabilities of the browser
  • Run a test with Opera and work with Opera profiles
  • Run a test with Internet Explorer
  • Work with InternetExplorerDriver

So, let's get on with it.

You will need to download the following items. Make sure that you download the relevant executable for your environment:

  • IE Driver Executable ...

Get Learning Selenium Testing Tools - Third 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.