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