AirtestProject / AirtestProject/Airtest

连接不了手机,识别不到app

Open
#1,122 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
9.6k
Forks
1.5k
PR merge metrics
No merged PRs in 30d

Description

**描述问题bug**

项目运行后,打开相应APP,会循环出现以下提示信息:

iOS connection failed, please try pressing the home button to return to the desktop and try again.
iOS连接失败,请尝试按home键回到桌面后再重试

最后项目停止报错信息如下:

wda.exceptions.WDAStaleElementReferenceError: WDARequestError(status=110, value={'error': 'stale element reference', 'message': 'The previously found element "Application ID" is not present in the current view anymore. Make sure the application UI has the expected state. Original error: Error getting main window kAXErrorServerNotFound'})

**python 版本:** `python3.9`

**airtest 版本:** `1.2.6`

**设备:**
iPhone8

**其他相关信息**
更换iPhone12,可正常运行

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.