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

docs(api): warn about slow screenshots on OS X #2326

Merged
merged 1 commit into from Apr 8, 2018

Conversation

aslushnikov
Copy link
Contributor

No description provided.

@@ -1162,6 +1162,8 @@ Shortcut for [page.mainFrame().executionContext().queryObjects(prototypeHandle)]
- `omitBackground` <[boolean]> Hides default white background and allows capturing screenshots with transparency. Defaults to `false`.
- returns: <[Promise]<[Buffer]>> Promise which resolves to buffer with captured screenshot

> **NOTE** Screenshots take at least 1/6 second on OS X. See https://crbug.com/741689 for discussion.
Copy link
Collaborator

Choose a reason for hiding this comment

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

It’s also windows

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@JoelEinbinder I'm unaware about windows; the bug I refer to explains OS X troubles only

@aslushnikov aslushnikov mentioned this pull request Apr 7, 2018
@aslushnikov
Copy link
Contributor Author

@JoelEinbinder let's land this clarification?

@aslushnikov aslushnikov merged commit 717d4a7 into puppeteer:master Apr 8, 2018
@aslushnikov aslushnikov deleted the slow-osx-screenshots branch May 9, 2018 01: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

2 participants