Playwright Foundations with Java
Starting a new end-to-end test automation project? This course will teach you how to test web applications using the open-source tool Playwright from Microsoft. Try it and never look back!
What you'll learn
Automated tests undeniably protect the quality of software projects, and end-to-end tests are an important part of it. In this course, Automated Web Testing in Java with Playwright 1, you'll learn how to write a variety of automated tests for web applications. First, you'll understand how Playwright is different from the other tools on the market and its advantages, as well as Playwright's API and core concepts. Next, you'll dive into hands-on coding and write a wide variety of UI tests. You'll interact with a range of elements and learn how to handle different tricky situations. Finally, you'll learn advanced concepts provided by Playwright, including handling and manipulating network requests and learn to use debugging tools. When you're finished with this course, you'll have the skills to write your own test suite of automated end-to-end tests.
Table of contents
- Version Check 1m
- Introducing Playwright 3m
- Why Playwright? 5m
- Prerequisites 2m
- Tech Stack Used 1m
- Project Setup 4m
- Getting the Browser Binaries 2m
- Troubleshooting Project Setup 1m
- Writing the First Script 4m
- Writing the Second Script: Browser Support 2m
- Introducing the Demo Website 3m
- Course Overview 1m
- Introduction 1m
- Handling Dialogs 1m
- Demo: Handling Dialogs 2m
- Monitoring Events 2m
- Capturing Uncaught Errors 2m
- Important Note on Handlers 1m
- Coding Challenge 3m
- Manipulating Cookies 2m
- Viewing Browser Storage 3m
- Mapping JSON to POJOs 3m
- Invoking Custom JavaScript Code 5m
- Saving Authentication 5m
- Downloading Files 4m
- Uploading FIles 1m
- Taking Screenshots 3m
- Multi-page Scenarios 1m
- Summary 1m
- Introduction 1m
- Playwright Configuration 1m
- BrowserType Configuration 2m
- Pointing to Real Browsers 3m
- BrowserContext Configuration 2m
- What Default Timeout Affects 4m
- Minding Conflicting Configurations 1m
- Refactoring Contexts 1m
- Emulating a Device 1m
- Challenge: Disable JavaScript 1m
- Changing the Locale 1m
- Setting Geolocation and Permissions 1m
- Summary 1m
- Introduction 2m
- HTTP Crash Course 3m
- Request / Response API 1m
- Demo: Exploring the Request / Response API 3m
- Traffic Handlers 0m
- Monitoring Traffic Activity 3m
- Coding Challenge 2m
- Improving the Coding Challenge 4m
- Discovering the APIRequestContext 4m
- Writing Mixed E2E Tests 8m
- Routing API 1m
- Using Routes to Block 3m
- Using Routes to Fulfill 2m
- Summary 1m