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

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

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

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

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

原文地址:https://www.cnblogs.com/daiwl/p/11884582.html