Skip to content

PLAYWRIGHT SYNTHETIC MONITORING · BETA

Catch login and checkout failures with Playwright monitoring.

Schedule browser journeys and multi-step API checks. Configure alerts for failures and inspect the run to see which step needs attention.

BROWSER RUNS / MONTH ON FREE
1,000
API RUNS / MONTH ON FREE
10,000
INSPECT FAILED CHECKS
Run evidence
Synthetics run · Example workspace

CHECK THE CUSTOMER'S NEXT STEP

A page can load while the journey breaks.

A successful response does not tell you whether someone can sign in, finish signup or complete checkout. A scripted check exercises the steps and assertions you define.

  • Signing in reaches the expected workspace.
  • Submitting the signup form reaches the expected next step.
  • A checkout test reaches its expected confirmation.

Endpoint check

Confirms how a selected endpoint responds to the request being tested.

Journey check

Exercises a sequence of browser actions or API calls and evaluates the assertions in your test.

WRITE THE CHECK IN PLAYWRIGHT

Turn a focused journey into a scheduled check.

Package a browser test and the local files it needs, then create a monitor with an entry spec, region and schedule.

  • Choose a journey that can run repeatedly against the target environment with dedicated test accounts and data.
  • Keep credentials out of the package; bind secret values through the monitor environment.
  • Put the assertions in the test so the run can report the condition that failed.
  • 1
    Prepare the test package
  • 2
    Create and schedule the monitor
  • 3
    Review runs and configure alerting
import { test, expect } from '@playwright/test';

test('workspace sign-in succeeds', async ({ page }) => {
  await page.goto('https://app.acme.dev/login');
  await page.getByLabel('Email').fill(process.env.TEST_EMAIL!);
  await page.getByLabel('Password').fill(process.env.TEST_PASSWORD!);
  await page.getByRole('button', { name: 'Sign in' }).click();
  await expect(page.getByRole('heading', { name: 'Acme workspace' })).toBeVisible();
});

A focused browser check that signs in and asserts that the workspace is visible.

Package and monitor creation currently use the API. The dashboard provides monitor settings, bindings, revisions and run evidence.

INVESTIGATE A FAILED CHECK

See where the checkout check stopped.

Open a failed run to inspect the step, request or assertion that needs attention. Configure alerting so failures reach your team.

Checkout confirmation · Example failed run
  • See the run's outcome, region, duration and failed step.
  • Review captured browser evidence such as screenshots, video or a Playwright trace.
  • Inspect network, console and runner output to decide what to investigate next.

The step that failed

In this example, the test did not see the expected confirmation after the payment action.

The request to inspect

The example network view shows the checkout confirmation request returning HTTP 502.

The evidence for that run

Open the artifacts that were captured and are still available for the selected execution.

Available artifacts depend on capture and retention. Free retains artifacts for 7 days; paid-plan retention varies. Text artifacts are redacted, but screenshots, video and traces can contain sensitive page data. Use dedicated test accounts.

MULTI-STEP API MONITORING

Check the API flow from the first call to the last.

Use a Playwright request sequence to authenticate, create a resource, read it back and clean up. Assert the expected response at each step.

  • Carry values from one request into the next.
  • Name the steps and check the conditions that make the flow successful.
  • Clean up test resources so the check can run again.

Authenticate

POST /oauth/token

Create invoice

POST /v1/invoices

Read invoice

GET /v1/invoices/:id

Clean up

DELETE /v1/invoices/:id

Sample invoice-roundtrip · 200 → 201 → 200 → 204 · 837 ms total

Example API check

Token → create invoice → read invoice → cleanup.

Know which condition failed

Open the run outcome and recorded evidence to inspect the failed request or assertion.

CHOOSE WHERE THE CHECK RUNS

Run the same journey from the regions you choose.

Select the available regions for each monitor and compare the recorded outcomes by location.

  • Available region identifiers are us-east, us-west, eu-west and ap-south; access and minimum intervals depend on the plan.
  • Each selected region performs a separate execution and uses a run.
  • Targets must be reachable from the selected region; private-network targets are not supported.
Regional outcomes · Example workspace

If the target requires an IP allowlist, ask DevHelm for the current fixed outbound addresses.

PLAN YOUR CHECKS

See what your monitoring schedule will use.

Choose the checks, intervals and regions you need. Estimate browser and API usage against each plan's separate monthly allowances.

Check 1
5,760 runs / mo
Check 2
5,760 runs / mo
Check 3
8,640 runs / mo
Check 4
8,640 runs / mo
Check 5
2,880 runs / mo
Plan for this estimate

Pro

$29 / month
Estimated browser runs / month
11,520 / 15,000
Estimated API runs / month
20,160 / 150,000
Checks in this estimate
5

Based on a 30-day month and the schedules shown. One execution in one region uses one run. Retries use additional runs and are not included in this estimate.

When a monthly run allowance is exhausted, new executions from that pool stop until usage is available again.

How this estimate is calculated
  • One execution in one region uses one run; selecting multiple regions multiplies executions for that schedule.
  • Retries use additional runs and are not included in this estimate.
  • When a monthly run allowance is exhausted, new executions from that pool stop until usage is available again.
  • Use the calculator to compare your monitor schedule with each plan’s included allowances.

BEFORE YOUR FIRST RUN

What you need to set up a check.

Prepare a focused test, its runtime settings and a target the selected region can reach.

TEST PACKAGE
A ZIP with the entry spec and local imports.Create the package and monitor through the API.
CREDENTIALS
Bind secrets through the monitor environment.Read the required values from process.env.
TEST DATA
Use accounts and data suitable for repeat runs.Include cleanup when a check creates resources.
NETWORK ACCESS
The target must be reachable from the selected region.Private locations are not supported.
EVIDENCE
Browser artifacts depend on capture and retention.Free artifact retention is 7 days; paid defaults vary.

WHEN TO USE IT

For the journeys you need to keep checking.

Choose focused browser journeys or API sequences that can run repeatedly against a reachable environment.

Use it when

  • Sign-in, signup, checkout or another defined journey needs a scheduled check.
  • Your team can prepare a Playwright package with suitable accounts and test data.
  • You want configured alerts, run history and captured evidence for failed checks.

Choose another approach when

  • Checks must run inside a private network.
  • You need load testing or observation of real-user traffic.
  • You need an existing full test suite to run unchanged without adapting its environment or dependencies.

FAQ

Questions about Playwright monitoring

Test packages, schedules, run allowances and evidence.

How is this different from an uptime check?

An uptime check evaluates a request to an endpoint. A Synthetics check runs the browser steps or API sequence in your test and evaluates its assertions. The two checks answer different questions about the application.

Can I use existing Playwright tests?

Start with a focused journey and package its entry spec and local imports. Tests that depend on local state, mocked services or unsupported dependencies may need adaptation. This does not promise that an existing full suite will run unchanged.

How do I create a monitor?

Create the package and monitor through the API, with the entry spec, required runtime settings, region and schedule. The dashboard provides settings, bindings, revisions and run evidence.

How do alerts work?

Configure alerting for the monitor so failed checks can reach your team. Use the run history and captured evidence to investigate the recorded failure.

What counts as a run?

One execution in one region is one run. Two selected regions create two executions for that schedule. Browser and API runs use separate monthly allowances, and retry executions also consume runs.

What happens when I use the included runs?

New executions from the exhausted pool stop until usage is available again. The other pool has its own allowance.

What evidence is available?

Browser runs can include screenshots, video, a trace and textual logs when captured and retained. API checks provide their recorded result and evidence without browser screenshots or video. Free artifact retention is 7 days; paid-plan defaults vary.

Can checks reach a private environment?

The target must be reachable from the selected DevHelm region. Checks cannot run from inside a private network. If the target uses an IP allowlist, ask for the current outbound addresses.

Can I configure retries?

Yes. Fast retry accepts 0–10 attempts; 0 disables it. Retry executions use the relevant run allowance. The setting does not mean every failed execution is eligible for a retry.

Is Synthetics in beta?

Yes. The Free monitoring plan includes one browser monitor, one API monitor, 1,000 browser runs and 10,000 API runs per month, with a 60-minute minimum interval.

See a critical journey become a monitor.

Walk through a focused Playwright check, its schedule and alerting, and the run view you use when a step fails.

Playwright Synthetic Monitoring for Browser and API Checks — DevHelm