Mastering Selenium WebDriver 3.0, 2nd Edition
- Length: 376 pages
- Edition: 2nd Revised edition
- Language: English
- Publisher: Packt Publishing
- Publication Date: 2018-06-29
- ISBN-10: 1788299671
- ISBN-13: 9781788299671
- Sales Rank: #926221 (See Top 100 Books)
Mastering Selenium WebDriver 3.0: Boost the performance and reliability of your automated checks by mastering Selenium WebDriver, 2nd Edition
Complement Selenium with useful additions that fit seamlessly into the rich and well-crafted API that Selenium offers
Key Features
- Understand the power, simplicity, and limitations of the core Selenium framework
- Write clear, readable, and reliable tests that perform complex test automation tasks
- Work with ChromeDriver and GeckoDriver in headless mode
Book Description
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.
What you will learn
- Provide fast, useful feedback with screenshots
- Create extensible, well-composed page objects
- Utilize ChromeDriver and GeckoDriver in headless mode
- Leverage the full power of Advanced User Interactions APIs
- Use JavascriptExecutor to execute JavaScript snippets in the browser through Selenium
- Build user interaction into your test script using JavascriptExecutor
- Learn the basics of working with Appium
Who This Book Is For
If you are a software tester or a developer with working experience in Selenium and competency with Java, who is interested in automation and are looking forward to taking the next step in their learning journey, then this is the book for you.
Table of Contents
Chapter 1. Creating a Fast Feedback Loop
Chapter 2. Producing the Right Feedback When Failing
Chapter 3. Exceptions Are Actually Oracles
Chapter 4. The Waiting Game
Chapter 5. Working with Effective Page Objects
Chapter 6. Utilizing the Advanced User Interactions API
Chapter 7. JavaScript Execution with Selenium
Chapter 8. Keeping It Real
Chapter 9. Hooking Docker into Selenium
Chapter 10. Selenium the Future
Chapter 11. Contributing to Selenium
Chapter 12. Working with jUnit
Chapter 13. Introduction to Appium