macaca icon indicating copy to clipboard operation
macaca copied to clipboard

真机运行各种弹出框处理办法

Open cloudcrow opened this issue 9 years ago • 4 comments

1.运行脚本,安装apk,不同品牌不同时机会询问安装允许,静默安装等不同提示,如何解决针对各种机型的弹出处理 2.首次运行程序, 会提示GPS使用,信任等弹出提示,如何解决该弹窗问题。

cloudcrow avatar Apr 24 '17 08:04 cloudcrow

@cloudcrow use

autoAcceptAlerts: true

dharmakrish6 avatar Apr 26 '17 14:04 dharmakrish6

@dharmakrish6 💯

xudafeng avatar Apr 28 '17 11:04 xudafeng

为什么我autoAcceptAlerts: true还是没办法自动接受授权,华为mate手机 但是有个奇怪的现象,手机自动锁屏的时候脚本会往下跑,此时解锁就可以正常接受alert

huangwnebin avatar Jun 14 '18 13:06 huangwnebin

This is the translated issue comment: @huangwnebin


Why does my autoAcceptAlerts: true still have no way to automatically accept authorizations for Huawei mate phones? However, there is a strange phenomenon. When the mobile phone automatically locks the screen, the script will run down. At this time, unlocking can normally accept alert.

macaca-bot avatar Jun 14 '18 13:06 macaca-bot