Appearance
Module 18 · UI / Browser Automation
Beyond the 1Z0-830 exam
The exam has nothing on browsers, but end-to-end UI tests are a major part of many SDET roles. This module covers the two dominant Java tools — Selenium WebDriver and Playwright — the Page Object Model that keeps UI suites maintainable, and the discipline that keeps them from going flaky.
Driving and stabilizing browser-based end-to-end tests: WebDriver basics, Playwright's auto-waiting, structuring tests with the Page Object Model, and the practices that make UI tests reliable.
Lab policy
Real Selenium/Playwright tests need a browser and driver binaries, so they're illustrative and excluded from the default mvn -f labs/pom.xml test. This module's lab instead demonstrates the Page Object Model against an in-memory fake browser — pure Java, green by default — because POM is a design pattern you can test without a real browser.
Lessons
| # | Lesson | What it covers |
|---|---|---|
| 01 | Selenium WebDriver Basics | Drivers, locators, explicit vs implicit waits. |
| 02 | Playwright for Java | Auto-waiting, selectors, tracing; vs Selenium. |
| 03 | Page Object Model & Design | POM, components, reducing duplication. |
| 04 | Stable UI Tests | Flakiness causes & fixes, headless, screenshots/video. |
Track your progress
Module Mini-Exam
A mixed quiz over this module. Since this is beyond-exam material, treat it as a self-check rather than exam simulation.
Mini-Exam
- 7 questions
- 12 minutes
- 7 total points
- Pass: 5 pts (68%)