
Mastering Selenium WebDriver 3.0
Boost the performance and reliability of your automated checks by mastering Selenium WebDriver, 2nd Edition
- 376 pages
- English
- ePUB (mobile friendly)
- Available on iOS & Android
Mastering Selenium WebDriver 3.0
Boost the performance and reliability of your automated checks by mastering Selenium WebDriver, 2nd Edition
About this book
Complement Selenium with useful additions that fit seamlessly into the rich and well-crafted API that Selenium offersAbout This Book⢠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 modeWho This Book Is ForIf 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.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 AppiumIn DetailThe 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.Style and approachThis book is a pragmatic guide that takes you through the process of creating a test framework with Selenium 3. It then shows you how you can extend this framework to overcome common obstacles that you will come across whilst using Selenium.
Frequently asked questions
- Essential is ideal for learners and professionals who enjoy exploring a wide range of subjects. Access the Essential Library with 800,000+ trusted titles and best-sellers across business, personal growth, and the humanities. Includes unlimited reading time and Standard Read Aloud voice.
- Complete: Perfect for advanced learners and researchers needing full, unrestricted access. Unlock 1.4M+ books across hundreds of subjects, including academic and specialized titles. The Complete Plan also includes advanced features like Premium Read Aloud and Research Assistant.
Please note we cannot support devices running on iOS 13 and Android 7 or earlier. Learn more about using the app.
Information
Creating a Fast Feedback Loop
- Java SDK 8
- Maven 3.5.3
- Chrome 66
- Firefox 60
Making it easy for developers to run tests
Building our test project with Apache Maven
sudo apt-get install maven
brew install maven

Table of contents
- Title Page
- Copyright and Credits
- Contributors
- Packt Upsell
- Preface
- Creating a Fast Feedback Loop
- Producing the Right Feedback When Failing
- Exceptions Are Actually Oracles
- The Waiting Game
- Working with Effective Page Objects
- Utilizing the Advanced User Interactions API
- JavaScript Execution with Selenium
- Keeping It Real
- Hooking Docker into Selenium
- Selenium â the Future
- Appendix A: Contributing to Selenium
- Appendix B: Working with JUnit
- Appendix C: Introduction to Appium
- Other Books You May Enjoy