Appium 升级 appium 以后,使用 swipe 报错

BNN · 2015年05月20日 · 最后由 陈恒捷 回复于 2015年05月20日 · 1186 次阅读

把 appium 升级到 1.4.0,原脚本中使用的 swipe 执行报错,提示

info: [debug] Tried to execute non-existent mobile command 'swipe'. Most mobile commands have been ported to official client library methods. Please check your Appium library for more information and documentation

新版本里面不能用 swipe 了吗?

共收到 2 条回复 时间 点赞

检查
python-client-master\appium\webdriver\webdriver.py 中是否还有这个方法.

1、日志请使用代码块。
2、麻烦附上你的测试脚本和完整的 appium log(从 --> 这样的获取 swipe 的请求 log 开始,到 <-- 这样的返回请求 log)
3、升级你的 client 到最新版再试一下

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