data class CaptureScreenshotRequest
(source)
Represents request frame that can be used with Page.captureScreenshot method call.
Capture page screenshot.
CaptureScreenshotRequest(format: String? = null, quality: Int? = null, clip: Viewport? = null, fromSurface: Boolean? = null)
Represents request frame that can be used with Page.captureScreenshot method call. |
val clip: Viewport?
Capture the screenshot of a given region only. |
|
val format: String?
Image compression format (defaults to png). |
|
val fromSurface: Boolean?
Capture the screenshot from the surface, rather than the view. Defaults to true. |
|
val quality: Int?
Compression quality from range 0..100 (jpeg only). |