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
Publisher resources
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
Selenium WebDriver with Java - Basics to Advanced and Frameworks
This comprehensive course on Selenium WebDriver with Java begins with a thorough introduction to Selenium's features …
video
Learn Selenium WebDriver with Java
This course is designed to guide you through Selenium WebDriver and Java, right from the basic …
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
Selenium WebDriver 4 with Java - Zero To Hero
Selenium WebDriver is an open-source automation tool that works easily across multiple OS and browsers and …