Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for capturing PNG/JPEG screenshots #25

Merged
merged 3 commits into from
Jul 11, 2019
Merged

Conversation

abrom
Copy link
Contributor

@abrom abrom commented Jul 11, 2019

Doesn't include middleware changes, for now just adding a way to call to the puppeteer screenshot method: https://github.com/GoogleChrome/puppeteer/blob/v1.18.1/docs/api.md#pagescreenshotoptions

Helper methods to_png and to_jpeg are also included

@abrom abrom merged commit f14fe02 into master Jul 11, 2019
@abrom abrom deleted the add-image-support branch July 11, 2019 15:32
@abrom abrom mentioned this pull request Jul 11, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant