appium 每次运行脚本都要安装 uiautomator2

手机已经运行过一次appium脚本,手机上已经安装过ui2驱动,但是每次执行的时候仍然会提示是否安装UI2

 

 

【解决方案】可以在代码的配置项中再增加一个配置,跳过UI2的安装:

skipServerInstallation 设置为True

 

微信答疑:tsu130

posted @ 2021-05-31 17:12  天枢子软件测试  阅读(486)  评论(0)    收藏  举报