Let’s start by creating a new directory and navigating to it. Assuming you already have Node.js available in your local environment, installing Playwright is achieved with just one instruction:Documentation Index
Fetch the complete documentation index at: https://checkly-422f444a-sync-playwright-reporter-changelog-v1-5-0.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
install-playwright
basic-navigation.spec.ts
run-test
Playwright creates its own browser user profile, which it cleans up on every run. In other words: all runs will be sandboxed and not interfere with one another, as state is always fully reset at the end of a session.When you are first writing and debugging your scripts, it is a good idea to enable “headed” mode, so you can have a look at what your script is doing:
run-test-headed
Further reading
- Getting started guides for Playwright