.screenshot() Suggest edits
Take a screenshot of the current page.
Usage
Parameters
| Name | Type | description |
|---|---|---|
log_screenshot_data |
boolean | Whether or not the screenshot data should appear in the logs when running with --verbose |
callback |
function | Callback function which is called with the result value. |