Dallonses logo

Playwright

What is Playwright?

Playwright is an open-source framework, built by Microsoft, for automating browsers. It drives Chromium, Firefox, and WebKit through a single API, so one test suite can confirm a site behaves the same in Chrome, Safari, and Firefox. You write a script that clicks, types, and navigates like a user would, then assert that the right things happen. It's a leading tool for end-to-end testing of web apps.

What sets Playwright apart from older tools is how it handles timing. Selenium and similar frameworks often needed manual waits sprinkled through tests, which made suites slow and flaky. Playwright auto-waits for elements to be ready before acting on them, which removes a whole category of intermittent failures. It runs tests in parallel out of the box, captures traces, screenshots, and video on failure, and can intercept network requests to mock an API. A Playwright test might log in, add an item to a cart, complete checkout, and assert the confirmation page appears, all running headless in a few seconds.

It fits naturally into a CI/CD pipeline. Tests run on every push, across browsers, in parallel, and a failure blocks the merge. The trace viewer then lets a developer step back through exactly what the test saw at the moment it broke, which turns "it fails sometimes in CI" into a problem you can actually diagnose.

Playwright at Dallonses

Playwright is our default for end-to-end browser testing, and it's part of how we work day to day. We use it to cover the journeys a client can't afford to lose, the sign-ups, the checkouts, the forms that feed the pipeline, and we run those tests across real browser engines so a bug in WebKit doesn't slip past a green Chrome run.

These suites live in the CI/CD pipeline, gating every merge. When a test fails, the trace and screenshots tell us why in minutes instead of leaving us guessing. The auto-waiting matters more than it sounds: it's the difference between automated testing the team trusts and a flaky suite people start ignoring. When a client needs reliable end-to-end coverage that won't rot into noise, Playwright is usually where we point them.

Want end-to-end tests that catch real bugs instead of crying wolf? Let's build them.

Talk to us about automated testing

Related services


Ready to work together?

Book a meeting
Aymón holding a Tools magazine in front of their facem
Ari working on a laptop outdoors surrounded by plants
Top-down view of a wooden desk with a keyboard, mouse, and headphones
Hand-drawn illustration of a hand snapping fingers
Nico leaning against a water cooler next to a fire extinguishe
Close-up of an open computer with circuit board and components on a wooden desk
Bernat and Andreu collaborating at a desk with monitors and a laptop
Hand-drawn illustration of an open hand waving
Aymón holding a Tools magazine in front of their facem
Ari working on a laptop outdoors surrounded by plants
Top-down view of a wooden desk with a keyboard, mouse, and headphones
Hand-drawn illustration of a hand snapping fingers
Nico leaning against a water cooler next to a fire extinguishe
Close-up of an open computer with circuit board and components on a wooden desk
Bernat and Andreu collaborating at a desk with monitors and a laptop
Hand-drawn illustration of an open hand waving