Skip to main content

What It Does

This mode spins up a headless browser, loads the URL you provide, and inspects the DOM to understand structure, user flows, and interactive states. It then proposes layered test suites that combine UI checks, API triggers, and data validations.

DOM Snapshot

Captures hierarchy and attributes for actionable selectors.

Flow Detection

Maps likely journeys (login, checkout, onboarding) based on links and forms.

Auto Tests

Outputs prioritized scenarios with expected results and negative paths.

Inputs & Prerequisites

  • Public or staging URL. For authenticated pages, include session cookies or test credentials via the secure context panel.
  • Optional: short description of the flows you care about (e.g., “guest checkout”) to bias the analysis.
  • Stable environment—avoid pointing to pages mid-deployment.
Pop-ups or interstitials that require clicks may block scraping. Mention them in your prompt so the agent handles them first.

Step-by-Step

  1. Start Coverage Agent → Feature Mode.
  2. Paste the URL and add any gating instructions (“log in with QA creds”).
  3. Click Generate Coverage. The system loads the page, following redirects automatically.
  4. Review the proposed test cases grouped by journey or component.
  5. Ask follow-ups such as “expand accessibility cases” or “limit to smoke”.
  6. Export or copy cases into Craftflow / suites.
Provide multiple URLs (one per message) to build layered coverage across screens while preserving context.

Example Flow

Prompt: "Navigate to https://www.saucedemo.com/ and create smoke + edge tests.
Login with [email protected] / <password>."

Agent Output:
- Smoke: Load billing page, validate plan table, submit payment
- Edge: Expired cards, mid-session refresh, concurrent plan changes
- APIs to watch, DOM selectors, and suggested observability hooks
When the DOM changes significantly, rerun the mode so new selectors and states are captured.