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

tigerwu · June 07, 2023 · 2943 hits

环境: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 关闭了讨论 07 Jun 15:50
需要 Sign In 后方可回复, 如果你还没有账号请点击这里 Sign Up