Book description
Get started with Selenium WebDriver, the open source library for automating tests to ensure your web application performs as expected. In this practical hands-on book, author Boni Garcia takes Java developers through Selenium's main features for automating web navigation, browser manipulation, web element interaction, and more, with ready-to-be-executed test examples.
You'll start by learning the core features of Selenium (composed of WebDriver, Grid, and IDE) and its ecosystem. Discover why Selenium WebDriver is the de facto library for developing end-to-end tests on your web application. You'll explore ways to use advanced Selenium WebDriver features, including using web browsers in Docker containers or the DevTools protocol. Selenium WebDriver examples in this book are available on GitHub.
With this book, you'll learn how to:
- Set up a Java project containing end-to-end tests that use Selenium WebDriver
- Conduct automated interaction with web applications
- Use strategies for managing browser-specific capabilities and cross-browser testing
- Interact with web forms, manage pop-up messages, and execute JavaScript
- Control remote browsers and use advanced browser infrastructure for Selenium WebDriver tests in the cloud
- Model web pages using object-oriented classes to ease test maintenance and reduce code duplication
Table of contents
- Foreword
- Preface
- I. Introduction
- 1. A Primer on Selenium
- 2. Preparing for Testing
- II. The Selenium WebDriver API
- 3. WebDriver Fundamentals
- 4. Browser-Agnostic Features
- 5. Browser-Specific Manipulation
- 6. Remote WebDriver
- III. Advanced Concepts
- 7. The Page Object Model (POM)
- 8. Testing Framework Specifics
- 9. Third-Party Integrations
- 10. Beyond Selenium
- A. Whatâs New in Selenium 4
- B. Driver Management
- C. Examples Repository Setup
- Index
- About the Author
Product information
- Title: Hands-On Selenium WebDriver with Java
- Author(s):
- Release date: March 2022
- Publisher(s): O'Reilly Media, Inc.
- ISBN: 9781098110000
You might also like
video
Learn Selenium WebDriver with Java
This course is designed to guide you through Selenium WebDriver and Java, right from the basic …
video
Selenium WebDriver with Java - Basics to Advanced and Frameworks
Do you want to perform automation testing on website applications with Selenium and Java? This video …
video
Learn Automation Testing with Java and Selenium WebDriver
Writing your first automation test with Java and Selenium Webdriver is a lot of fun. Java …
video
Automate Application with Specflow and Selenium WebDriver C#
SpecFlow is a framework that brings Behavior-Driven Development (BDD) into life. It is all about filling …