lightbulb_outline Help shape the future of the Google Play Console, Android Studio, and Firebase. Start survey

UiAutomationWrapper

public class UiAutomationWrapper
extends Object

java.lang.Object
   ↳ android.support.test.runner.screenshot.UiAutomationWrapper


Wrapper for UiAutomation object.

Ideally we wouldn't need this abstraction but since UiAutomation is final we need an abstraction on top to be able to mock it in tests.

Summary

Public methods

Bitmap takeScreenshot()

Inherited methods

From class java.lang.Object

Public methods

takeScreenshot

Bitmap takeScreenshot ()

Returns
Bitmap