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

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

1.首先进入Appium的安装目录,例如D:\softwarePath\Appium\node_modules\appium\lib\devices\android,找到android.js文件

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

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

猜你喜欢

转载自www.cnblogs.com/daiwl/p/11884582.html