vemcogroup/puppeteer-docker-integration

Interact with puppeteer in alekzonder's docker images.

1.2.0 2020-09-11 07:23 UTC

This package is auto-updated.

Last update: 2021-10-11 09:41:09 UTC


README

Description

Interact with puppeteer within alekzonder/puppeteer's docker image

Installation

Via composer

composer require vemcogroup/puppeteer-docker-integration

Usage

(new Puppeteer)
    ->setScreenshotPath('/my-screenshots')
    ->setCanvas('https://example.com')
    ->setResolution('1920x1080')
    ->setScreenshotType('full_screenshot_series')
    ->shoot();

Your screenshot should now be available in /my-screenshots