New:Socket for Asana Is Now Available.Learn more
Get Started

@snapvisor/puppeteer

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@snapvisor/puppeteer

Puppeteer SDK for visual testing with Snapvisor.

latest
Source
npmnpm
Version
7.0.0
Version published
Maintainers
1
Created
Source

Argos

The open source visual testing platform for AI-native engineering teams.

Official Argos Puppeteer integration

npm version npm dm npm dt

Capture stable Argos screenshots from your Puppeteer tests.

Visit the Puppeteer SDK documentation for guides, the API reference, and more.

Installation

Install the SDK alongside the Argos CLI, which uploads the screenshots to Argos:

npm install --save-dev @snapvisor/puppeteer @snapvisor/cli

Usage

Use argosScreenshot to stabilize the UI and capture a screenshot:

import puppeteer from "puppeteer";
import { argosScreenshot } from "@snapvisor/puppeteer";

const browser = await puppeteer.launch();
const page = await browser.newPage();
await page.goto("http://localhost:3000");
await argosScreenshot(page, "homepage");
await browser.close();

Screenshots are saved locally (in ./screenshots/argos by default). Upload them to Argos with the Argos CLI, usually at the end of your CI job:

npx @snapvisor/cli upload ./screenshots

Keywords

puppeteer

FAQs

Package last updated on 24 Jul 2026

Related posts