Browser Monitor

Browser monitor: scripted steps in a real headless browser

HTTP checks cannot tell you whether a JavaScript app renders or a login flow works. Uptinio browser (UI) monitors run a script in a headless browser (open a URL, click, fill, wait, assert text) and open an incident when a step fails.

What the browser monitor does

A browser monitor runs a script in a headless browser that mimics user actions. You define steps; Uptinio executes them on a schedule and records whether the run succeeded and how long the whole journey took.

Because a real browser executes your page, client-side rendering, SPAs, and multi-step flows are exercised in the same way a user would trigger them. A failed step creates an incident, like any other monitor type.

  • Steps: navigate, click, fill, select option, wait for selector, assert text
  • Elements are targeted with CSS selectors
  • Each run records success or failure and total journey time
  • Failures create incidents and notify your integrations
  • Choose which check regions run the script

Example browser_script steps

navigate
open a URL
fill
type into a field (CSS selector)
click
click an element (CSS selector)
select_option
choose a dropdown value
wait_for_selector
wait for an element (timeout in seconds)
assert_text
text that must appear

These are the step actions available in the monitor editor.

The problem: status codes do not prove the app works

A single-page app can return 200 OK and still render a blank screen because a bundle failed to load, an API call errored, or a form no longer submits. Login and checkout flows are the most common places this happens, and the least visible to HTTP-level checks.

To catch it you need to run the flow the way a user does: in a browser, step by step, with an assertion at the end.

Who needs browser monitoring

SRE and DevOps teams

Verify critical user paths end to end, and catch front-end regressions that infrastructure checks miss.

Front-end and full-stack developers

Keep a continuous smoke test on SPAs and server-rendered apps that depends on JavaScript.

Product teams with revenue flows

Monitor sign-in, sign-up, and checkout paths where a silent failure costs conversions.

How browser monitoring works in Uptinio

Write the steps yourself in the editor or generate them from a plain-English description.

  1. 1

    Define the flow

    Add steps in the monitor editor: navigate to a URL, fill fields, click, wait for an element, and assert the text that proves success.

  2. 2

    Or generate the script

    Describe the flow and a URL, and Uptinio can generate the script. Generation validates the script by running it against your URL, retrying up to 3 times, so you start from steps that pass.

  3. 3

    Uptinio runs it on schedule

    The script runs in a headless browser. Each run records pass or fail and total journey time.

  4. 4

    Failures open incidents

    A failing step creates an incident and notifies the integrations attached to the monitor.

A login flow as browser_script JSON

[
  { "action": "navigate", "url": "https://example.com/login" },
  { "action": "fill", "selector": "#email", "value": "monitor@example.com" },
  { "action": "fill", "selector": "#password", "value": "YOUR_TEST_PASSWORD" },
  { "action": "click", "selector": "button[type=submit]" },
  { "action": "wait_for_selector", "selector": "#dashboard", "timeout": 10 },
  { "action": "assert_text", "selector": "h1", "text": "Dashboard" }
]

Browser monitoring use cases

Login flows

Open the login page, submit credentials for a dedicated test account, and assert that the dashboard loads.

JavaScript-rendered pages

Wait for an element that only exists after client-side rendering and assert its text.

Forms and multi-step flows

Fill a form, select options, submit, and confirm the success message appears.

Fast start with generated scripts

Describe a flow in plain English and refine the generated steps instead of writing them from scratch.

Scope and limits

Step-and-assert checks, not visual regression

Browser monitors assert on elements and text. They do not compare screenshots or detect visual changes.

Use a dedicated test account

Scripts contain the values they type. Use credentials for a low-privilege monitoring account, not a real user.

Only need to check text in a response?

A keyword monitor is lighter and does not start a browser.

Keyword monitor

Only need status and latency?

Use an HTTP monitor for plain availability.

Website monitor

How the browser monitor fits in Uptinio

Browser (UI) is one of six Uptinio monitor types, and it is the one that powers synthetics-style user-journey monitoring. Read how the two relate on the synthetics monitor page.

Incidents, notifications, and status pages work the same as for HTTP, TCP, ping, keyword, and heartbeat monitors.

Documentation

Browser (UI) monitors and the script generation endpoint are documented in the Uptinio docs.

Frequently asked questions

What actions can a browser monitor script use?

navigate, click, fill, select_option, wait_for_selector, and assert_text. Elements are located with CSS selectors.

Does the browser monitor do visual regression testing?

No. It runs steps and asserts on elements and text. It does not compare screenshots.

Can Uptinio write the script for me?

Yes. Give it a URL and a short description of the flow and it generates a script, validating it against your URL before returning it. You can edit the steps afterwards.

Run your critical flow on a schedule

Create a free account and set up a browser monitor. No credit card required. See pricing for plan limits.