当前位置:首页 > 数据库 > 正文

如何实现Appium每次运行可不用卸载手机上的Appium Settings 和Unlock

2020-02-12 数据库

转自:https://blog.csdn.net/Jennifer_Xue/article/details/82705486

1.首先进入Appium的安装目录,例如D:softwarePathAppiumnode_modulesappiumlibdevicesandroid,找到android.js文件

2.使用编辑器编辑该文件,在113和114行,注释掉this.pushSettingsApp.bind(this),
this.pushUnlock.bind(this), 重启Appium

3.大功告成,不用每次都卸载Appium Settings 和Unlock啦~

 

温馨提示: 本文由Jm博客推荐,转载请保留链接: https://www.jmwww.net/SQL/14461.html