Capture the screenshot from the surface, rather than the view.
</td><td>
`true`
</td></tr>
<tr><td>
fullPage
</td><td>
`optional`
</td><td>
boolean
</td><td>
When `true`, takes a screenshot of the full page.
</td><td>
`false`
</td></tr>
<tr><td>
omitBackground
</td><td>
`optional`
</td><td>
boolean
</td><td>
Hides default white background and allows capturing screenshots with transparency.
</td><td>
`false`
</td></tr>
<tr><td>
optimizeForSpeed
</td><td>
`optional`
</td><td>
boolean
</td><td>
</td><td>
`false`
</td></tr>
<tr><td>
path
</td><td>
`optional`
</td><td>
string
</td><td>
The file path to save the image to. The screenshot type will be inferred from file extension. If path is a relative path, then it is resolved relative to current working directory. If no path is provided, the image won't be saved to the disk.
</td><td>
</td></tr>
<tr><td>
quality
</td><td>
`optional`
</td><td>
number
</td><td>
Quality of the image, between 0-100. Not applicable to `png` images.