Live Preview

Live preview lets you watch tests execute in real-time with a browser window showing exactly what the AI sees and does.

Starting a Live Preview

  1. Open a test case in the editor
  2. Click the Run button
  3. A split view opens:
    • Left panel - Steps and status
    • Right panel - Live browser preview

The Preview Interface

Steps Panel (Left)

Shows all test steps with status indicators:

IconStatus
Pending
In progress
Completed
Failed

Click a step to see AI reasoning for that step.

Browser Preview (Right)

A live view of the browser session:

The preview is a real browser session running in the cloud. You can see everything the AI sees.

During Execution

Step Execution

For each step, the AI:

  1. Takes a page snapshot
  2. Identifies the target element
  3. Performs the action (click, type, etc.)
  4. Waits for any specified condition
  5. Moves to next step

AI Reasoning

As steps execute, you can see AI reasoning:

Step: Click the "Sign In" button

Reasoning: Found a button element with text "Sign In"
in the header navigation. Clicking this button to
proceed with the login flow.

This helps debug when things go wrong.

Wait Conditions

When a step has a waitUntil condition:

  1. AI takes screenshot after action
  2. Evaluates condition against page state
  3. Retries with exponential backoff if not met
  4. Times out after 30 seconds if never met

After Completion

Successful Run

All steps show green checkmarks:

✓ Step 1: Navigate to login page
✓ Step 2: Enter email
✓ Step 3: Enter password
✓ Step 4: Click login button
✓ Step 5: Wait for dashboard

Failed Run

Failed step shows red X with error:

✓ Step 1: Navigate to login page
✓ Step 2: Enter email
✗ Step 3: Enter password
  Error: Could not find password field

Review AI reasoning to understand the failure.

Rerunning Tests

Click Run again to restart the test:

Debugging Tips

Step Fails to Find Element

Wrong Element Clicked

Wait Condition Times Out

Test Works Manually But Fails in Bug0

Best Practices

During Development

Before Publishing

Debugging Failures

  1. Identify which step failed
  2. Read the AI reasoning
  3. Check browser preview state
  4. Adjust step description or add waits
  5. Rerun to verify fix

Technical Details

Browser Sessions

Execution Environment