puppet-timeline-gif

0.1.1 • Public • Published

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();
})();

/puppet-timeline-gif/

    Package Sidebar

    Install

    npm i puppet-timeline-gif

    Weekly Downloads

    3

    Version

    0.1.1

    License

    MIT

    Unpacked Size

    249 kB

    Total Files

    7

    Last publish

    Collaborators

    • khanghoang