DEV Community

Playwright Web Testing & Automation Framework 🎭

Playwright is an open-source framework for Web Testing and Automation. It enables reliable end-to-end testing for modern web apps across browsers and platforms, using one API! Playwright supports resilient testing (with features like auto-wait, web-first assertions and tracing) with powerful tooling for authoring, debugging and profiling your end-to-end tests!

Posts

đź‘‹ Sign in for the ability to sort posts by relevant, latest, or top.
Why AI Agents Get Flagged — and What Changed in AdsCrawl’s Cloud Browser

Why AI Agents Get Flagged — and What Changed in AdsCrawl’s Cloud Browser

Comments
12 min read
How to Connect Playwright to a Remote Browser over CDP

How to Connect Playwright to a Remote Browser over CDP

Comments
8 min read
Your Automated Tests Passed. Can You Prove They Tested the Right Thing?

Your Automated Tests Passed. Can You Prove They Tested the Right Thing?

6
Comments 1
13 min read
Playwright --update-snapshots Overwrote a Good Baseline and Passed: 226 of 226 Runs

Playwright --update-snapshots Overwrote a Good Baseline and Passed: 226 of 226 Runs

Comments 1
4 min read
How to test a web app built with Claude Code or Cursor before you ship

How to test a web app built with Claude Code or Cursor before you ship

Comments
5 min read
Your Automated Tests Are Passing. Here's What They Might Be Missing.

Your Automated Tests Are Passing. Here's What They Might Be Missing.

6
Comments
7 min read
Understanding Playwright's Accessibility Tree: Providing Better Context for AI-Driven Locator Generation

Understanding Playwright's Accessibility Tree: Providing Better Context for AI-Driven Locator Generation

Comments 2
5 min read
Your Playwright test is green. Your checkout is broken

Your Playwright test is green. Your checkout is broken

Comments 1
4 min read
What Playwright's waits guarantee before a screenshot: load, networkidle, fonts.ready and lazy images, tested

What Playwright's waits guarantee before a screenshot: load, networkidle, fonts.ready and lazy images, tested

Comments
8 min read
Playwright Page Object Model in TypeScript (the Right Way)

Playwright Page Object Model in TypeScript (the Right Way)

Comments
8 min read
Playwright Proxy Authentication: Common Connection Errors and How to Fix Them

Playwright Proxy Authentication: Common Connection Errors and How to Fix Them

Comments
11 min read
Five bugs that made my form-filling bot look like it had a 0% success rate

Five bugs that made my form-filling bot look like it had a 0% success rate

Comments 2
5 min read
I open-sourced the arithmetic behind "how much should I risk per trade" (~120 lines, no deps)

I open-sourced the arithmetic behind "how much should I risk per trade" (~120 lines, no deps)

Comments
2 min read
AI isn't making me a better coder. The way I use AI is.

AI isn't making me a better coder. The way I use AI is.

Comments
2 min read
Validating the URL before page.goto() is not enough: redirects slip past Playwright's page.route()

Validating the URL before page.goto() is not enough: redirects slip past Playwright's page.route()

Comments
8 min read
đź‘‹ Sign in for the ability to sort posts by relevant, latest, or top.