docs(page): remove note that screenshot takes 1/6+s (#5945)

This commit is contained in:
Max Schmitt 2021-03-25 04:02:14 +01:00 committed by GitHub
parent 4fea83c6d8
commit 601c09f7f1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 0 additions and 7 deletions

View File

@ -2158,10 +2158,6 @@ handler function to route the request.
Returns the buffer with the captured screenshot.
:::note
Screenshots take at least 1/6 second on Chromium OS X and Chromium Windows. See https://crbug.com/741689 for discussion.
:::
### option: Page.screenshot.path
- `path` <[path]>

3
types/types.d.ts vendored
View File

@ -2359,9 +2359,6 @@ export interface Page {
/**
* Returns the buffer with the captured screenshot.
*
* > NOTE: Screenshots take at least 1/6 second on Chromium OS X and Chromium Windows. See https://crbug.com/741689 for
* discussion.
* @param options
*/
screenshot(options?: {