screenshot
Take a screenshot of the element.Returns base64 string by default. If
options.encoding is “binary”, the SDK converts the base64 to a Buffer.Return value
Puppeteer Element Handle — screenshots & pdf methods
options.encoding is “binary”, the SDK converts the base64 to a Buffer.