刚才试了下,将 yml 之前写的
backButton:
- //*[@resource-id='action_back']
改成
- "//*[@resource-id='action_back']"
后保存运行,
依旧在这行报同样的错为 Exception in thread "main" com.fasterxml.jackson.databind.exc.MismatchedInputException: Cannot construct instance of com.testerhome.appcrawler.Step
(although at least one Creator exists): no String-argument constructor/factory method to deserialize from String value ('//*[@resource-id='action_back']')
(o´ω`o) ノ OK 谢谢
1、已经启动 appium 服务
2、手机正常连接
3、用的思寒当时在 2.1.1 版本帖子下的雪球配置文件模板