Chapter 12. Advanced Topics

In this chapter, we will have a look at a number of advanced topics associated with Selenium WebDriver. These are not required to use Selenium WebDriver, but will be useful when there will be problems with testing.

In this chapter, we will learn the following topics:

  • Capturing screenshots
  • Using XVFB with Selenium
  • Working with Browsermob Proxy

So, let's get on with it.

Before we start, it will be good to download all the necessary items. Download the latest version from Browsermob Proxy: https://github.com/webmetrics/browsermob-proxy/downloads, and for XVFB, select sudo apt-get install xvfb.

XVFB only works reliably on Linux. Unfortunately, this will not work on Windows. The following is a screenshot displaying the information ...

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.