getScreenshotAs

open override fun <X : Any> getScreenshotAs(target: OutputType<X>): X