percy-puppeteer
Percy integration for Google Puppeteer.
Install
$ npm install puppeteer percy-puppeteer --dev
Usage
;; // Create a percy clientconst percy = loaders: buildDir: './some-local-folder' mountPath: '/public/' ; // Start a buildawait percy; // Do some stuffs with puppeteerconst browser = await puppeteer;const page = await browser;await page; // Take a screemshotawait percy; // Push the result to Percyawait percy;