screenshot
Captures a screenshot of the session's WebView by drawing the view into a bitmap.
Return
ByteArray containing the encoded screenshot bytes.
Parameters
options
Format (PNG, JPEG, WEBP) and quality (0-100).
Throws
ErrorCode.UNSUPPORTED if session is configured with a 1x1 viewport.