diff --git a/uiautomator/__init__.py b/uiautomator/__init__.py index 677b0b7..de21492 100644 --- a/uiautomator/__init__.py +++ b/uiautomator/__init__.py @@ -469,6 +469,7 @@ def start(self, timeout=5): else: self.install() cmd = ["shell", "am", "instrument", "-w", + "-e", "class", "com.github.uiautomator.stub.Stub", "com.github.uiautomator.test/android.support.test.runner.AndroidJUnitRunner"] self.uiautomator_process = self.adb.cmd(*cmd)