Docs
Journeys
Record one flow per path. Login is a journey. Payment is a journey. Changing a setting is a journey. Do not record the entire product as one long flow.
One flow per journey
A journey is a single path a person takes to get one thing done. Keep the recording to that path. When the path changes, re-record or edit that flow. Avoid one long script that also logs in, searches, and checks out.
Typical splits:
- Sign in
- Create or update a record
- Add to cart
- Pay
- Toggle a config or feature flag
Why shorter flows help
A long flow that fails halfway still wastes the rest of the run. It is also harder to reuse with a different host, user, or an already open session. Separate journeys can be combined in a folder.
Compose with folders
Put related journeys in a folder and run them in order, such as login, then payment. Select the flows you want. If one fails, the later ones do not start.
Edit instead of re-recording everything
After recording, you can change any step, including waits, asserts, and variables. Optional advanced steps are extract, condition, loop, API call, script, network mock, and prompt/OTP. Use those when the UI needs them, such as a custom widget or an OTP. Do not turn one journey into a long program.
Where a journey lives
A journey is a flow stored in this Chrome browser. It does not run in your build pipeline. If you want a test in your Playwright project, export a .spec.ts file and keep that file in your repo. The extension does not talk to CI.