Closed Phil2048 closed 2 years ago
可以,根据你的设备和需求来写就可以了
常规密码
//密码:1234
desc(1).findOne().click();
desc(2).findOne().click();
desc(3).findOne().click();
desc(4).findOne().click();
手势密码
//密码:Z字型
gesture(
500, // 滑动时间:毫秒
[
252, // 滑动起点 x 坐标
1236 // 滑动起点 y 坐标
],
[
252, // x2
1820 // y2
],
[
838, // 滑动终点 x 坐标:屏幕宽度的一半
1236 // 滑动终点 y 坐标:距离屏幕顶部 10% 的位置
]
)
是要去掉锁屏密码吗