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

Fix doc on pdf method. Minor addition to PDF path option docs. #292

Merged
merged 1 commit into from Aug 16, 2017
Merged

Conversation

Garbee
Copy link
Contributor

@Garbee Garbee commented Aug 16, 2017

Someone asked me whether or not they could get the PDF data without writing to a file. When checking the source to see, I saw the docblock was incorrect. So fixed that. Then added a quick note in the API docs about the path to save being optional. This may help people understand they can simply get just the returned buffer data for the PDF if desired.

@RobinMalfait
Copy link

This is also the case for screenshot.

@aslushnikov
Copy link
Contributor

Nice! Can we have the same clarification for the page.screenshot method? These too are symmetrical

@Garbee
Copy link
Contributor Author

Garbee commented Aug 16, 2017

Yup, just looked into that and saw it is optional there as well. Updating now.

@Garbee
Copy link
Contributor Author

Garbee commented Aug 16, 2017

🎉

CI failure on last run was due to some HTTPS thing. No way that could be due to the documentation changes.

Copy link
Contributor

@aslushnikov aslushnikov left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @Garbee!

@aslushnikov aslushnikov merged commit da53218 into puppeteer:master Aug 16, 2017
@Garbee Garbee deleted the fix branch August 16, 2017 18:13
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.

None yet

3 participants