Learn Puppeteer & Playwright

Tips, tricks and in-depth guides from the trenches


Recent guides

Using script recorders

With Puppeteer and Playwright, writing scripts by hand is not the only option. Since browser automation first became possible, there have always been tools trying to simplify script creation. Such ins ...

E2E File Download

Websites might expose files for users to download and then access from their local machine. Common cases are downloading tickets, receipts and itineraries. Steps This example runs against our [te ...

Intercepting requests

When we browse the web, a series of HTTP requests and responses are exchanged between our browser and the pages we are visiting. There are scenarios in which it is useful to monitor or manipulate this ...

Scraping pages

We call the action of extracting data from web pages web scraping. Scraping is useful for a variety of use cases: In testing and monitoring, asserting against the state of one or more elements o ...

Challenging automation flows

While automation tools are fundamental to modern software development, they also have the innate potential to be used for malicious purposes. This applies to Puppeteer and Playwright, too. As a conse ...

E2E Account Settings

Most services allow users to manage their account settings. These oftentimes have far-reaching implications on how the user experiences the platform. Verifying that the account settings can be viewed ...

What is Puppeteer

and Playwright

Headless Contributors