import { MorphClient } from '@morphllm/morphsdk'Morph Glance
Videos of AI testing your PR, embedded in GitHub
Give it a diff and a URL—Glance figures out what to test. Get video recordings, screenshots, and error logs embedded in your PRs.
The General Intelligence Company
"Glance catches UI regressions before they hit production. It's like having a QA team that never sleeps."
Team, The General Intelligence Company
Jarmin
"We embed Glance videos directly in our PRs. Reviewers can see exactly what changed without spinning up the app."
Team, Jarmin
Morph Glance
Built to be the best at
testing code changes
Diff-powered testing
Glance reads your PR diff and automatically determines what to test. No manual test scripts, no guesswork.
01
02
03
const morph = new MorphClient({ apiKey })04
05
// Give it your diff and staging URL06
const task = await morph.browser.createTask({07
diff: prDiff,08
url: 'https://staging.myapp.com',09
recordVideo: true,10
maxSteps: 30,11
})12
13
// Poll for completion14
const recording = await morph.browser.getRecording(task.recordingId)15
const webp = await recording.getWebp()Videos, in your PRs
Get video recordings (MP4/WebM), animated WebPs for Slack/Notion, screenshots, console errors, and network logs.
BYO browser support
Use managed browsers or bring your own (Playwright, Puppeteer, Browserbase). Glance provides the intelligence, you control the execution.