---
name: running-headless-browser-validation-checks
description: "Runs headless browser validation checks against staging deployments, walking login and core user flows and parsing accessibility snapshots to report broken navigation or layout issues. Use when a staging deployment completes or a critical web flow needs verification."
license: CC-BY-4.0
compatibility: "Needs access to: Browser, Terminal, GitHub."
metadata:
  author: "BotBento Editorial"
  version: "2026-10-15"
  source: "https://botbento.com/usecases/running-headless-browser-validation-checks/"
  kind: workflow
  hermes:
    tags: ["browser", "testing", "automation", "cdp", "devtools"]
    category: coding
    requires_toolsets: ["browser", "terminal"]
---
# Running headless browser validation checks

Navigate live web flows and verify critical page elements using compact accessibility snapshots.

## When to use

Inspect web pages, execute interactive user flows, and capture compact DOM snapshots to verify critical user journeys. The bot drives browser sessions via direct developer protocol commands, clicks targeted element references, and reports broken navigation or layout issues.

## Inputs

- `staging_urls`: The designated staging URLs the browser session should navigate and validate.
- `login_credentials`: Credentials the bot needs to fill login forms and reach authenticated user flows.

## Steps

1. When something happens: Deployment completes on staging (A deployment completes on staging)
2. Run browser tests and parse snapshots
3. Request approval to open GitHub issue

## Instructions

Launch headless browser instances to walk through designated staging URLs. Inspect element accessibility snapshots, fill login forms, and trigger core user interactions. If an element fails to render or an unexpected error occurs, record the snapshot references, console logs, and navigation steps. Draft a detailed incident report describing the failure. Ask for user confirmation before opening any new issues or updating tracking tickets on GitHub.

## Approvals

- Opening a new GitHub issue
- Updating tracking tickets on GitHub

## Output

Draft incident report with snapshot references, console logs, and navigation steps, pending approval before any GitHub issue is opened. (format: document)

## Source

Summarized in our own words from [rustwright: Playwright's API on a Rust CDP engine — Chromium browser automation for Python & Node, no driver subprocess. (Alpha)](https://github.com/Skyvern-AI/rustwright) (GitHub, checked 2026-10-15). Any results described there are the authors’ own.

From the BotBento use-case directory: https://botbento.com/usecases/running-headless-browser-validation-checks/. Licence: [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/).
