OptionalMaxConsecutive transient failures (timeouts, unknown errors) after which capture is disabled for the session. Default 3.
OptionalMaxThe longest edge of the frame, in pixels; larger elements are scaled down. Default 1024.
OptionalMaxElements with more descendants than this are not rasterized (the synchronous clone would freeze the page). Default 3000.
OptionalOnCalled once, with the reason, the first time capture is degraded. Default: console.warn.
OptionalQualityJPEG quality, 0 to 1. Default 0.6 (a frame of a dashboard is roughly 40 to 120 KB).
OptionalRasterizeThe rasterizer. Default: html-to-image's toJpeg.
OptionalTimeoutHow long to wait for one capture before giving up on it. Default 4000 ms.
Options for CreateDomFrameCapturer.