Skip to content

Conversation

@aslushnikov
Copy link
Contributor

No description provided.

- `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
Contributor

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.

2 participants