O'Reilly logo

Mastering Selenium WebDriver by Mark Collin

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Summary

After reading through this chapter, you should:

  • Be able to set up a basic project using Maven to download your dependencies, configure your class path, and build your code.
  • Know what advantages you gain by running your tests in parallel with multiple instances of the same browser in TestNG.
  • Know how to automatically download the driver binaries using a Maven plugin, making your test code very portable.
  • Be able to determine the correct number of threads to use as a default value when running your tests. You should also know how to override this, if required.
  • Know how to add GhostDriver into the mix so that you can run your tests heedlessly.

In the next chapter, we are going to have a look at how to cope when things go wrong. We will also examine ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required