Mastering Selenium WebDriver

More Information
Learn
  • Provide fast, useful feedback with sensible errors and screenshots
  • Create extensible, well-composed page objects
  • Gain an in-depth understanding of implicit and explicit waits, and how you should use them
  • Leverage the full power of the Actions API
  • Explore the full potential of the JavascriptExecutor
  • Extend Selenium’s capabilities by integrating other applications
  • Learn how to plug third-party products into Selenium, and where it is appropriate to do so
About

Selenium WebDriver, also known as Selenium 2, is a UI automation tool used by software developers and QA engineers to test their web applications on different web browsers. The Selenium WebDriver API is fully object oriented compared with the deprecated Selenium RC. The WebDriver API provides multi-language support and run tests on all the most popular browsers.

In this wide and complex World Wide Web era, this book will teach you how to tame it by gaining an in-depth understanding of the Selenium API.

This book starts with how to solve the difficult problems that you will undoubtedly come across as you start using Selenium in an enterprise environment, followed by producing the right feedback when failing, and what the common exceptions are, explain them properly (including the root cause) and tell you how to fix them. You will also see the differences between the three available implicit waits and explicit waits, and learn to working with effective page objects.

Moving on, the book shows you how to utilize the Advanced User Interactions API, how you can run any JavaScript you need through Selenium, and how to quickly spin up a Selenium Grid using Docker containers.

At the end, the book will discuss the upcoming Selenium W3C specification and how it is going to affect the future of Selenium.

Features
  • Create an extensible test framework supporting parallel execution with TestNG
  • Understand the power, simplicity, and limitations of the core Selenium framework
  • Write clear, simple, readable, and reliable tests that perform complex test automation tasks
Page Count 280
Course Length 8 hours 24 minutes
ISBN 9781784394356
Date Of Publication 26 Aug 2015

Authors

Mark Collin

Mark Collin has been working in the software industry since 2001. He started his career in the financial sector before moving into consultancy. He has an eclectic range of skills and proficiencies, which include test automation, security and penetration testing, and performance testing. Mark is the creator and maintainer of driver-binary-downloader maven-plugin, and the Query library used in this book. He is also a core contributor to jmeter-maven-plugin, a tool that allows you to run JMeter tests through Maven. He has also contributed code to the core Selenium code base.