处理每次运行appium脚本弹出Unlock和setting的安装提示

关于处理appium每次运行都要安装Unlock,setting

window的appium安装目录下

appium/node-modules/appium/lib/devices/android/android.js中注释如下行:

//this.uninstallApp.bind(this),108

//this.installAppForTest.bind(this),109

//this.pushSettingsApp.bind(this),113

//this.pushUnlock.bind(this),114

注释掉以上代码即可,如果要自动安装解开注释即可

108和109的代码可以不注释掉,因为这是关于测试的APP的安装包是否安装的

最后编辑于
©著作权归作者所有,转载或内容合作请联系作者
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

推荐阅读更多精彩内容