New in version 21.17.0 #308
dtmilano
announced in
Announcements
Replies: 1 comment
-
The script used is like this #! /usr/bin/env python3
import time
from com.dtmilano.android.viewclient import ViewClient
helper = ViewClient(*ViewClient.connectToDeviceOrExit(), useuiautomatorhelper=True).uiAutomatorHelper
# google maps
id = 'com.google.android.apps.maps:id/mainmap_container'
oid = helper.ui_device.find_object(ui_selector=f'res@{id}').oid
helper.ui_object.pinch_in(oid, 70, 50)
time.sleep(3)
helper.ui_object.pinch_out(oid, 70, 50) |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
This version add support for two pointer gesture, pinch in, and pinch out.
Here is a demo using Google Maps.
Beta Was this translation helpful? Give feedback.
All reactions