Integrate automated visual regression testing into your CI/CD pipeline. Compare screenshots across deployments to detect unintended UI changes instantly.
Drop into GitHub Actions, GitLab CI, or any pipeline with a simple API call.
Capture entire pages including below-the-fold content for comprehensive visual coverage.
Test across mobile, tablet, and desktop viewports in a single pipeline run.
Download screenshots as PNG for pixel-level diffing with your preferred comparison tool.
// In your CI/CD pipeline
const baseline = await captureScreenshot(url, 'baseline');
const current = await captureScreenshot(url, 'current');
async function captureScreenshot(url, label) {
const res = await fetch('https://example.com', {
method: 'POST',
headers: { 'x-api-key': process.env.SCREENSHOT_API_KEY, 'Content-Type': 'application/json' },
body: JSON.stringify({ url, fullPage: true, format: 'png' })
});
return res.arrayBuffer();
}