iOS 测试 appium 获取 ios App 元素失败,有人遇到类似的问题吗?

tigerwu · 2023年06月07日 · 2885 次阅读

环境:ios 手机版本 14.3 appium 版本 V1.21.0
开始可以获取到元素,后面无法获取到元素,报错信息如下:
[sessionCapabilities()] Error response status: 10, , StaleElementReference - An element command failed because the referenced element is no longer attached to the DOM. Selenium error: The previously found element "Application 'com.apple.springboard'" is not present in the current view anymore. Make sure the application UI has the expected state. Original error: Error getting m
ain window kAXErrorServerNotFound

共收到 0 条回复 时间 点赞
tigerwu 关闭了讨论 06月07日 15:50
需要 登录 后方可回复, 如果你还没有账号请点击这里 注册