Running your plans
A run plays your plans in real browsers, on your computer, and gives you a report in plain words.
Browsers and devices
Section titled “Browsers and devices”In Project settings, under Browsers and devices, choose:
- Browsers: Chromium (the engine of Chrome and Edge), Firefox and WebKit (the engine Safari is built on). Choose at least one.
- Devices: Computer (a desktop window) and any phone or tablet Playwright knows, such as iPhone 15 or Pixel 7. Choose at least one.
Every plan runs on every browser with every device. Three browsers and two devices make six results per plan.
Run all plans, or one
Section titled “Run all plans, or one”- All of them: on the Plans page, click Run all.
- One of them: on the Plans page, click the run button on its row. Or open the plan and click Run this plan.
If the project has a sign-in plan, it always runs first, even when you run only one plan (see Secrets and signing in).
The report opens and updates by itself while the plans run. You can Stop the run at any time. Only one run goes at a time.
While it runs, a bar shows how many results are in, and the Log below it shows the latest steps as they start, then each plan passing or failing on each browser and device. Each step shows how long it took once it has ended.

To read it, see Run and read the report and Understand a failure.
From the command line, allgreen run does the same: see the command line reference.
To send the result of a run to someone, see Share a report.
Run differently…
Section titled “Run differently…”In the plan editor, Run differently… offers three other ways to run the open plan.
Watch it in a browser window
Section titled “Watch it in a browser window”Choose Watch it in a browser window, then a Browser and a Device. The plan runs in a window you can see, slowed down, on that one browser and device, with no new try. Useful to understand what a plan really does.
Turn on Step by step to stop before each step. The report shows the step about to run; click Continue to play it, or Play all to let the rest go. The browser window waits for you as long as you like.
Repeat it
Section titled “Repeat it”Choose Repeat it and How many times (from 2 to 10). The plan runs that many times on every browser and device, with no new try, so you see whether it always passes or only sometimes.
A screenshot at each step
Section titled “A screenshot at each step”Choose For a report to send: a screenshot at each step. The plan runs on every browser and device, a little slower, with a screenshot after every step. For every plan at once, open the menu next to Run all on the Plans page. See Share a report.
Running settings
Section titled “Running settings”In Project settings, under Running:
| Setting | What it does | Default |
|---|---|---|
| New tries after a failure | A plan that fails is tried again this many times (0, 1 or 2). If a new try passes, the plan counts as Passed, unstable. | 1 |
| Patience (seconds) | How long a step waits for an element or a check before it fails, from 1 to 60. | Empty: 10 seconds for an action, 5 for a check |
| Stop after this many failures | The run stops once this many results (a plan on one browser and device) have failed. | Empty: the run goes to the end |
What the site sees of the visitor
Section titled “What the site sees of the visitor”To test your site in another language or time zone, or in dark mode, fill What the site sees of the visitor in Project settings. For a big computer screen, or the real Google Chrome or Microsoft Edge, set Computer screen size or Chromium plans run in under Browsers and devices. They apply to every plan. See What the site sees of the visitor.
Flaky results
Section titled “Flaky results”A plan that failed once, then passed on a new try, shows Passed, unstable. It works, but not reliably. The report counts them: “1 plan passed only on a second try”.
Common causes:
- The site is sometimes slow. Raise Patience.
- A step acts too early, before the page is ready. Add Wait until… an element appears, before that step.
- A step names an element too loosely, and sometimes catches another one. Make it more precise.
To check a fix, use Run differently…, then Repeat it, 10 times.
History of runs
Section titled “History of runs”The Runs page lists every run, the most recent first: All green, Failed, Running or Interrupted (a run stopped before the end, for example because Allgreen was closed). Click a run to open its report.
The Plans page also shows, for each plan, when it last passed or failed.
Each run is kept with its screenshots, videos and downloaded files. With the command line, runs are kept in .allgreen/runs/ in your project folder: delete old run folders to free space. See where files are kept.
For the Playwright settings behind these, see For developers.