My Account Log in

1 option

Hands-on Selenium WebDriver with Java : a deep dive into the development of end-to-end tests / Boni Garcia ; foreword by Simon Stewart.

O'Reilly Online Learning: Academic/Public Library Edition Available online

View online
Format:
Book
Author/Creator:
Garcia, Boni, author.
Contributor:
Stewart, Simon, writer of foreword.
Language:
English
Subjects (All):
Application software--Testing.
Application software.
Web applications.
Java (Computer program language).
Selenium (Software framework).
Physical Description:
1 online resource (392 pages) : illustrations
Edition:
[First edition].
Place of Publication:
[Sebastopol, California] : O'Reilly Media, Inc., [2022]
Summary:
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.
Contents:
Intro
Copyright
Table of Contents
Foreword
Preface
Who Should Read This Book
Why I Wrote This Book
Navigating This Book
Part I, Introduction
Part II, The Selenium WebDriver API
Part III, Advanced Concepts
Conventions Used in This Book
Using Code Examples
O'Reilly Online Learning
How to Contact Us
Acknowledgments
Part I. Introduction
Chapter 1. A Primer on Selenium
Selenium Core Components
Selenium WebDriver
Selenium Grid
Selenium IDE
Selenium Ecosystem
Language Bindings
Driver Managers
Locator Tools
Frameworks
Browser Infrastructure
Community
Software Testing Fundamentals
Levels of Testing
Types of Testing
Testing Methodologies
Test Automation Tools
Summary and Outlook
Chapter 2. Preparing for Testing
Requirements
Java Virtual Machine
Text Editor or IDE
Browsers and Drivers
Build Tools
Optional Software
Project Setup
Project Layout
Dependencies
Hello World
Using Additional Browsers
Part II. The Selenium WebDriver API
Chapter 3. WebDriver Fundamentals
Basic WebDriver Usage
WebDriver Creation
WebDriver Methods
Session Identifier
WebDriver Disposal
Locating WebElements
The Document Object Model (DOM)
WebElement Methods
Location Strategies
Finding Locators on a Web Page
Compound Locators
Relative Locators
What Strategy Should You Use?
Keyboard Actions
File Uploading
Range Sliders
Mouse Actions
Web Navigation
Checkboxes and Radio Buttons
User Gestures
Right-Click and Double-Click
Mouseover
Drag and Drop
Click and Hold
Copy and Paste
Waiting Strategies
Implicit Wait
Explicit Wait
Fluent Wait
Summary and Outlook
Chapter 4. Browser-Agnostic Features
Executing JavaScript
Synchronous Scripts
Pinned Scripts
Asynchronous Scripts
Timeouts
Page Loading Timeout
Script Loading Timeout
Screenshots
WebElement Screenshots
Window Size and Position
Browser History
The Shadow DOM
Cookies
Dropdown Lists
Data List Elements
Navigation Targets
Tabs and Windows
Frames and Iframes
Dialog Boxes
Alerts, Confirms, and Prompts
Modal Windows
Web Storage
Event Listeners
WebDriver Exceptions
Chapter 5. Browser-Specific Manipulation
Browser Capabilities
Headless Browser
Page Loading Strategies
Device Emulation
Web Extensions
Geolocation
Notifications
Browser Binary
Web Proxies
Log Gathering
Get User Media
Loading Insecure Pages
Localization
Incognito
Edge in Internet Explorer Mode
The Chrome DevTools Protocol
CDP Selenium Wrappers
CDP Raw Commands
Location Context
Web Authentication
Print Page
WebDriver BiDi
Chapter 6. Remote WebDriver
Selenium WebDriver Architecture
Creation of RemoteWebDriver Objects
Notes:
OCLC-licensed vendor bibliographic record.
Includes index.
ISBN:
9781098109998
1098109996
OCLC:
1308981122

The Penn Libraries is committed to describing library materials using current, accurate, and responsible language. If you discover outdated or inaccurate language, please fill out this feedback form to report it and suggest alternative language.

Find

Home Release notes

My Account

Shelf Request an item Bookmarks Fines and fees Settings

Guides

Using the Find catalog Using Articles+ Using your account