You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
| output | The ouput path for generated image | string | optional |
74
-
| html | The html used to generate image content | string | required |
75
-
| type | The type of the generated image | jpeg or png (default: png) | optional |
76
-
| quality | The quality of the generated image (only applicable to jpg) | number (default: 80) | optional |
77
-
| content | If provided html property is considered an handlebars template and use content value to fill it | object or Array | optional |
78
-
| waitUntil | Define when to consider markup succeded. [Learn more](https://github.com/puppeteer/puppeteer/blob/8370ec88ae94fa59d9e9dc0c154e48527d48c9fe/docs/api.md#pagesetcontenthtml-options). | string or Array<string> (default: networkidle0) | optional |
79
-
| puppeteer | The puppeteer property let you use a different puppeteer library (like puppeteer-core or puppeteer-extra). | object (default: puppeteer) | optional |
80
-
| puppeteerArgs | The puppeteerArgs property let you pass down custom configuration to puppeteer. [Learn more](https://github.com/puppeteer/puppeteer/blob/8370ec88ae94fa59d9e9dc0c154e48527d48c9fe/docs/api.md#puppeteerlaunchoptions). | object | optional |
81
-
| beforeScreenshot | An async function that will execute just before screenshot is taken. Gives access to puppeteer page element. | Function | optional |
82
-
| transparent | The transparent property lets you generate images with transparent background (for png type). | boolean | optional |
83
-
| encoding | The encoding property of the image. Options are `binary` (default) or `base64`. | string | optional |
84
-
| selector | The selector property lets you target a specific element to perform the screenshot on. (default `body`) | string | optional |
85
-
| handlebarsHelpers | The handlebarsHelpers property lets add custom logic to the templates using Handlebars sub-expressions. [Learn more](https://handlebarsjs.com/guide/builtin-helpers.html#sub-expressions). | object | optional |
| output | The ouput path for generated image | string | optional |
74
+
| html | The html used to generate image content | string | required |
75
+
| type | The type of the generated image | jpeg or png (default: png) | optional |
76
+
| quality | The quality of the generated image (only applicable to jpg) | number (default: 80) | optional |
77
+
| content | If provided html property is considered an handlebars template and use content value to fill it | object or Array | optional |
78
+
| waitUntil | Define when to consider markup succeded. [Learn more](https://github.com/puppeteer/puppeteer/blob/8370ec88ae94fa59d9e9dc0c154e48527d48c9fe/docs/api.md#pagesetcontenthtml-options). | string or Array<string> (default: networkidle0) | optional |
79
+
| puppeteer | The puppeteer property let you use a different puppeteer library (like puppeteer-core or puppeteer-extra). | object (default: puppeteer) | optional |
80
+
| puppeteerArgs | The puppeteerArgs property let you pass down custom configuration to puppeteer. [Learn more](https://github.com/puppeteer/puppeteer/blob/8370ec88ae94fa59d9e9dc0c154e48527d48c9fe/docs/api.md#puppeteerlaunchoptions). | object | optional |
81
+
| beforeScreenshot | An async function that will execute just before screenshot is taken. Gives access to puppeteer page element. | Function | optional |
82
+
| transparent | The transparent property lets you generate images with transparent background (for png type). | boolean | optional |
83
+
| encoding | The encoding property of the image. Options are `binary` (default) or `base64`. | string | optional |
84
+
| selector | The selector property lets you target a specific element to perform the screenshot on. (default `body`) | string | optional |
85
+
| handlebarsHelpers | The handlebarsHelpers property lets add custom logic to the templates using Handlebars sub-expressions. [Learn more](https://handlebarsjs.com/guide/builtin-helpers.html#sub-expressions). | object | optional |
86
+
| timeout | Timeout for a [puppeteer-cluster](https://github.com/thomasdondorf/puppeteer-cluster#clusterlaunchoptions) (in `ms`). Defaults to `30000` (30 seconds). | number | optional |
0 commit comments