ScreenshotOptions
constructor(scale: Float = 0.5f, quality: Int = 80, format: Bitmap.CompressFormat = Bitmap.CompressFormat.JPEG, keepOnSuccess: Boolean = true)
Parameters
scale
the scale of the screenshot in relation to the original display size. Default: 0.5
quality
the quality of the screenshot. From 0 to 100. Default: 80
format
the image format of the screenshot. Default: JPG
keepOnSuccess
true if images should be kept if the test passes. Default: true