0.1.1 • Published 5 years ago

puppet-timeline-gif v0.1.1

Weekly downloads
1
License
MIT
Repository
-
Last release
5 years ago

Turn your Puppeteer session into gif

Dead simple example

const { getPage } = require('puppet-pool');
const { startCapture, endCapture } = require('puppet-timeline-gif');

(async () => {
    const { page, closePage } = await getPage();

    const { endCapture } = await startCapture(page);

    await page.goto('https://www.apple.com');

    await endCapture();
    await closePage();
})();