Book Image

Mastering Selenium WebDriver 3.0 - Second Edition

Book Image

Mastering Selenium WebDriver 3.0 - Second Edition

Overview of this book

The second edition of Mastering Selenium 3.0 WebDriver starts by showing you how to build your own Selenium framework with Maven. You'll then look at how you can solve the difficult problems that you will undoubtedly come across as you start using Selenium in an enterprise environment and learn how to produce the right feedback when failing. Next, you’ll explore common exceptions that you will come across as you use Selenium, the root causes of these exceptions, and how to fix them. Along the way, you’ll use Advanced User Interactions APIs, running any JavaScript you need through Selenium; and learn how to quickly spin up a Selenium Grid using Docker containers. In the concluding chapters, you‘ll work through a series of scenarios that demonstrate how to extend Selenium to work with external libraries and applications so that you can be sure you are using the right tool for the job.
Table of Contents (15 chapters)

Summary

In this chapter, we have had a look at the various things that Selenium cannot do. We have also explored the ways in which we can extend Selenium to work with other tools that can provide us with a more complete testing toolbox.

By the time you have reached the end of this chapter, you should have some good strategies to check for dead links on web pages you are testing. You should also have sensible solutions for downloading and validating files. We also learned how to integrate Selenium with various proxies. This then gave us the ability to use our Selenium tests as a base for performance tests in JMeter; as well as a way to build attack profiles for penetration tests using the OWASP Zed Attack Proxy.

In the next chapter, we are going to look at how we can use Docker with Selenium. We will see how easy it is to start spinning up your own grid in Docker. We will...