Writing new tests
This page walks through the steps of creating a new test with Playwright Codegen.
Creating a new test
Playwright Codegen makes it significantly easier to write new tests. In the example below we view a user's profile.
Filling out a form
You can also use Playwright Codegen to type in a form. In the example below, we search for the user "Ervin" and click to view his profile.
Waiting for a value to be prsent
You can also use Playwright Codegen to add assertions for when a value is present. In the example below, we wait for the invoice to load before changing the title to "Expensive!".