Skip to main content
Glance Browser Testing Glance is Morph’s vision model, trained specifically to test code changes. Give it a diff and a URL—it figures out what to test and returns video, screenshots, errors, and network logs.

What You Get Back

Embed test recordings directly into your PRs, or use the SDK to integrate into your product—post results to your users’ PRs, Slack, Linear, or anywhere else.

Quick Start

Integration Options

Browser Automation

Managed browser execution—we run the browser, you get results. Best for most use cases.

Agent Tool

Use as a tool in your AI agents (Anthropic, OpenAI, Vercel AI SDK).

GitHub Actions

Automatic PR preview testing with results posted as comments.

Harness API

BYO browser (Playwright, Puppeteer, Browserbase)—Glance provides the decisions.

Harness API

Use this when you want to run your own browser and use Glance as the “brain” for step-by-step decisions.

Endpoints

  • Create session: POST /harness/sessions
  • Next step: POST /harness/sessions/{session_id}/step

Flow

  1. Create a session with url, diff, instructions, and your tools
  2. Take a screenshot in your browser
  3. Send the screenshot to /step, get back tool_calls
  4. Execute the tool calls, take a new screenshot, repeat

Step Response

Send client_step_id with each step for idempotency—retries won’t create duplicate steps.