Skip to content
Intermediate20 sessions32 h 9 m82 downloadable files

Playwright Fundamentals

Locators, frames, shadow DOM, downloads, calendars, waits and assertions — the complete browser-automation surface, one session per topic.

  • Five sessions on locators alone, including the accessibility tree
  • Frames, shadow DOM, SVG, alerts, uploads, downloads and calendars
  • Waits, assertions, hooks, tags, annotations and retries

Syllabus

Every session, with its running time

5 sections · 20 sessions · 32 h 9 m

Getting started with Playwright7 h 41 m
  1. Playwright setup and installation · Config overview · Running tests · Architecture2:22:47
  2. Multiple browsers: Chrome, Brave, Opera, Edge, Firefox and WebKit · Projects in the config · Playwright VS Code extension and logs1:41:22
  3. Browser context · Automating a real-time chat app · CLI commands, reports, workers and headed mode1:34:03
  4. CLI commands · Codegen · Inspector · UI mode · Debug mode · pause() · How workers actually work2:02:34
Locators — finding anything on the page8 h 22 m

Five sessions on locators alone. This is where flaky suites are won or lost.

  1. Locators in Playwright · Accessibility locators and getByRole · Inspecting elements · Locators lab1:43:55
  2. Checkboxes and radio buttons · exact matching · getByPlaceholder · getByTestId · Highlighting elements1:46:56
  3. getByText, getByLabel and getByTitle · XPath and CSS · Text with pseudo-classes1:34:02
  4. getAttribute vs inputValue · Multiple locators · Back and forward buttons · Counting every link and image on a page1:49:56
  5. Locator chaining · filter() and hasText · Web table scenarios1:26:47
Handling real-world UI9 h 56 m
  1. Dropdowns: select-based, non-select and jQuery · Google and Amazon search1:09:47
  2. Frames and iframes · Nested frames · Shadow DOM1:31:03
  3. SVG elements · Bounding box · JavaScript alerts and popups · Pseudo-elements1:54:34
  4. Pseudo-elements · page.evaluate() · Multiple browser windows · waitForEvent · File upload1:50:19
  5. File download · Mouse and keyboard actions · Right click, drag and drop, hover · Tab sequence1:46:15
  6. Web table pagination · Calendar handling · Viewports · Maximising the window · Pressing multiple keys1:44:11
Waits, assertions and the test runner5 h 46 m
  1. Waits: waitForSelector, waitForURL, expect waits, the default wait and waits from the config1:53:24
  2. Assertions with expect1:46:11
  3. Custom screenshots · Attaching logs · Test runner options · describe groups, tags and annotations · Hooks · Retrying tests2:06:48
Extra topics24 m

Short, focused clips added after the main sessions.

  1. File download — focused walkthrough9:28
  2. getByRole using the accessibility tree14:16

Downloads with this module

  • Playwright topic notes (PDF)19 files
  • Session code — 43 ready-to-run spec files and a demo app52 files
  • Command cheat sheets and architecture docs11 files

Also included

The rest of the programme

JavaScript for Automation Testers

The language, taught for testing — from variables to promises, async/await and classes. Every flaky test you will ever write comes back to this module.

Sessions
20
Running time
35 h 53 m
Downloadable files
82

Included

Explore

TypeScript for Automation Testers

Types, interfaces, generics-free generics and abstract classes — the exact subset of TypeScript a Playwright framework is written in.

Sessions
5
Running time
7 h 21 m
Downloadable files
22

Included

Explore

Framework Design, CI/CD & DevOps

Build the framework a company would actually pay for: page objects, fixtures, multi-environment config, Allure, GitHub Actions, Jenkins, Docker and sharding.

Sessions
15
Running time
26 h 54 m
Downloadable files
71

Included

Explore

₹999

Playwright Fundamentals

Get access