Skip to content

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

#LessonWhat it covers
01Selenium WebDriver BasicsDrivers, locators, explicit vs implicit waits.
02Playwright for JavaAuto-waiting, selectors, tracing; vs Selenium.
03Page Object Model & DesignPOM, components, reducing duplication.
04Stable UI TestsFlakiness causes & fixes, headless, screenshots/video.

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%)