

With Playwright, we’d like to take it one step further and offer the same functionality for all the popular rendering engines. We are the same team that originally built Puppeteer at Google. The resemblance to Google’s Puppeteer is striking, and for good reason.

We’ll be using these throughout our e2e examples as a best practice.

You can import Playwright’s provided test and expect functions to declare tests and add assertions. Our focus in this guide will be on the Javascript & Typescript side of things. By using the Playwright API, you can write JavaScript, Typescript and other languages to create new browser pages, navigate to URLs and then interact with elements on a page. Playwright provides a set of APIs to automate Chromium, Firefox and WebKit browsers. The official documentation for Playwright reads:
