From a7e91dc1266085ae3139e395fb2681e134e2dad6 Mon Sep 17 00:00:00 2001 From: Nicolas Gryman Date: Mon, 10 Jul 2017 23:15:20 +0200 Subject: [PATCH] Fix docs typo in page.screenshot description (#67) --- docs/api.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/api.md b/docs/api.md index b8936a37e27..ca6f50c9513 100644 --- a/docs/api.md +++ b/docs/api.md @@ -192,7 +192,7 @@ Pages could be closed by `page.close()` method. - `options` <[Object]> Options object which might have the following properties: - `path` <[string]> The file path to save the image to. The screenshot type will be inferred from file extension. - `type` <[string]> Specify screenshot type, could be either `jpeg` or `png`. - - `quality` <[number]> The quality of the image, between 0-100. Not applicable to `.jpg` images. + - `quality` <[number]> The quality of the image, between 0-100. Not applicable to `.png` images. - `fullPage` <[boolean]> When true, takes a screenshot of the full scrollable page. - `clip` <[Object]> An object which specifies clipping region of the page. Should have the following fields: - `x` <[number]> x-coordinate of top-left corner of clip area