Capture screenshots of your web app in CI/CD, compare them against baselines, and catch visual bugs before they reach production. No Puppeteer setup required.
Get Free API KeyAdd screenshot capture to your test suite. Before each release, GrabShot captures your key pages. Compare them against baseline images using your preferred diff tool (pixelmatch, resemble.js, or our sister product DiffShot). Any visual change gets flagged for review.
// In your CI pipeline (GitHub Actions, GitLab CI, etc.)
const pages = ['/home', '/pricing', '/docs', '/login'];
for (const page of pages) {
const res = await fetch('https://grabshot.dev/api/screenshot', {
method: 'POST',
headers: {
'Content-Type': 'application/json',
'X-API-Key': process.env.GRABSHOT_KEY
},
body: JSON.stringify({
url: `https://staging.yourapp.com${page}`,
width: 1440,
fullPage: true,
format: 'png'
})
});
// Save and compare against baseline
const buffer = Buffer.from(await res.arrayBuffer());
fs.writeFileSync(`screenshots/current${page.replace('/', '-')}.png`, buffer);
}
GrabShot captures screenshots. DiffShot compares them. Together they form a complete visual regression testing pipeline — all API-based, no local dependencies.
25 free screenshots/month. Perfect for testing your setup before upgrading.
Get Your API Key →