Skip to content

Commit 45aa68e

Browse files
committed
Added verbose UiAutomator message to sample-ui-toggle-buttons.py
1 parent e2622c8 commit 45aa68e

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

AndroidViewClient/examples/sample-ui-toggle-buttons.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,8 @@
2828
from com.dtmilano.android.viewclient import ViewClient, ViewNotFoundException
2929

3030
vc = ViewClient(*ViewClient.connectToDeviceOrExit())
31+
if vc.useUiAutomator:
32+
print "ViewClient: using UiAutomator backend"
3133

3234
# Find the 3 toggle buttons, because the first 2 change their text if they are selected
3335
# we use a regex to find them.

0 commit comments

Comments
 (0)