Multi-Step Scenarios & Flows ๐ŸŽฌ

BrowserTrack allows developers, testers, and designers to record sequential multi-step user reproduction scenarios (e.g., "First I clicked this, then I entered this promo code, and here is where the price overflow occurred").


โšก Continuous Recording Workflow (Save & Next Step) #

Instead of manually reopening tools for each step, BrowserTrack provides a continuous capture loop:

Mermaid Diagram
View diagram source
graph LR
    A[๐ŸŽฌ Start Flow] -->|Click Element 1| B[Step 1 Modal]
    B -->|โžก๏ธ Save & Next Step| C[Hover Element 2]
    C -->|Click Element 2| D[Step 2 Modal]
    D -->|โžก๏ธ Save & Next Step| E[Drag Region 3]
    E -->|โœ“ Save & Finish Flow| F[Complete Multi-Step Scenario]
  1. Start Recording: Click ๐ŸŽฌ Flow in the floating bottom-right dock (or click โžก๏ธ Save as Step 1 (Flow) from any note).
  2. Step Progression:
    • Hover and click the first target element (or drag a region).
    • Enter your description/action.
    • Click โžก๏ธ Save & Next Step (or press โŒ˜+Enter / Ctrl+Enter).
    • The step is saved instantly, the counter increments to Step 2, and the inspector automatically reactivates element inspection mode so you can immediately click the next element without touching the toolbar!
  3. Finish Recording: On the final step, click โœ“ Save & Finish Flow or click the active ๐ŸŽฌ Step N (Finish) button in the dock.

๐Ÿ“Œ Numbered Step Markers on Screen #

When notes belong to a scenario:

  • Glowing Amber/Cyan Step Pins: Displayed on target elements with ๐ŸŽฌ Step 1, ๐ŸŽฌ Step 2, ๐ŸŽฌ Step 3 badges.
  • Dynamic Anchoring: Pins remain attached to elements during scrolling, viewport resizing, or SPA route transitions.

๐Ÿ” Interactive Stepper Walk-Through #

Clicking any step pin opens the Note & Scenario Card:

  • Header: Shows the scenario title and current step (e.g. ๐ŸŽฌ Step 2 of 4: Checkout Promo Flow).
  • Sequential Stepper Bar:
    • Click โ—€ Step 1 to inspect the previous action.
    • Click Step 3 โ–ถ to advance to the next action.
  • Actions:
    • โœ… Resolve Note: Mark individual steps as resolved.
    • ๐Ÿ—‘๏ธ Delete: Delete single step.
    • ๐Ÿ—‘๏ธ Delete Flow: Wipe the entire multi-step scenario from the database.

๐Ÿค– AI Coding Agent MCP Integration #

AI agents can retrieve the full step-by-step reproduction journey using MCP tools:

1. list_scenarios #

Lists all recorded scenarios for a project with total step counts and statuses.

2. get_scenario #

Retrieves all ordered steps in chronological sequence with selectors, bounding boxes, routes, and screenshots.

TYPESCRIPT
// Example agent query
const scenario = await client.callTool("get_scenario", {
  scenarioId: "scen_checkout_123"
});

// Returns:
// {
//   id: "scen_checkout_123",
//   title: "Checkout Promo Flow",
//   stepsCount: 3,
//   steps: [
//     { stepNumber: 1, type: "element", message: "Click Cart button", targetSelector: "#btn-cart", route: "/shop" },
//     { stepNumber: 2, type: "element", message: "Enter coupon PROMO", targetSelector: "#input-coupon", route: "/cart" },
//     { stepNumber: 3, type: "region", message: "Price overflow", route: "/cart", screenshot: "..." }
//   ]
// }
2 min read ยท Updated