Appium An unknown server-side error occurred while processing the command. 这个问题怎么解决?

huiyu · 2018年01月05日 · 最后由 huiyu 回复于 2018年01月06日 · 1594 次阅读

selenium.common.exceptions.WebDriverException: Message: An unknown server-side error occurred while processing the command.
这个问题怎么解决?

我跑的脚本经常出现这个问题,语句没啥问题,有时也能跑得通,有时候就报错。

这次是 driver.tap([(x, y)], 1) 报错,有时候滑动 swipe 的那个也报错。
请问有人知道为什么吗

共收到 4 条回复 时间 点赞
季文洪 回复

不是,我的是 desired_caps['automationName']='appium' 原生的那个。
控制台是没有报错的
现在观察到的情况,切换 Activity 的时候,如果使用 tap 就会报错。
不知道应该怎么办了

看看是这个问题吗?
https://testerhome.com/topics/11403
解决是注释掉了:
#desired_caps['automationName']='uiautomator2'

是不是断链了。。。

我查看了控制台的 log,没有发现报错。。。。

需要 登录 后方可回复, 如果你还没有账号请点击这里 注册