Appium命令-Interactions
作者:互联网
Shake
在设备上执行摇动动作
self.driver.shake();
Lock(锁定设备)
# Python
self.driver.lock();
Unlock(解锁设备)
self.driver.unlock();
Is Locked(设备是否锁定)
self.driver.is_locked()
Rotate以三维方式旋转设备
driver.rotateDevice({x: 114, y: 198, duration: 5, radius: 3, rotation: 220, touchCount: 2});
标签:Appium,198,Interactions,lock,self,driver,命令,锁定,设备 来源: https://www.cnblogs.com/muxs/p/15185197.html