感谢老师回答 我研究一下 谢谢
拜托论坛里各位老师帮我看看是什么问题,好几天了都没解决,换了很多 appium 版本 使用 UIautomator2 脚本就报 Encountered internal error running command:StaleElementReferenceError:io.appium.uiautomator2.common.exceptions.StaleElementReferenceException: Cached elements 'By.id: item_linear' do not exist in DOM anymore。
不使用 UIautomator2 脚本顺利执行,求帮助~
升级 appium 到 1.14.0 后部分脚本可以执行,但遇到遍历脚本时都报这个错误
[MJSONWP] Matched JSONWP error code 10 to StaleElementReferenceError
[debug] [W3C (c7a85ee6)] Encountered internal error running command: StaleElementReferenceError: io.appium.uiautomator2.common.exceptions.StaleElementReferenceException: Cached elements 'By.id: item_linear' do not exist in DOM anymore
是不兼容的问题吗 我用的是 appium sever 启动的,升到哪个版本好呢