How to Manage Authentication & State in Your End-to-End Tests with Playwright

Three approaches to working with state data in your Playwright end-to-end tests

Marco Lüthy

--

Cover photo of a lady bug close up
Bugs. They’re what we’re trying to avoid with our E2E tests. Photo by Dustin Humes. Thank you, Dustin!

Playwright is an open source tool by Microsoft for browser automation and end-to-end testing. Playwright can drive Chromium (Chrome), WebKit (Safari) and Firefox in both headed and headless modes (with…

--

--

Marco Lüthy

Hi there! I’m Marco. I write mostly about software development, sometimes about books I’ve read, and occasionally something else to keep things interesting.