TakeScreenshotOnFailureInterceptor

constructor(screenshotOptions: ScreenshotOptions = ScreenshotOptions( format = Bitmap.CompressFormat.PNG, scale = 1.0f ), description: String = "Screenshot of failure")

Parameters

screenshotOptions

the options for the screenshot file

description

the description of the attachment file