ios自动化处理不掉系统d窗,点击或者滑动报错WDARequestError

ios自动化处理不掉系统d窗,点击或者滑动报错WDARequestError,第1张

ios自动化处理不掉系统d窗,点击或者滑动报错WDARequestError
[I 220419 20:57:13 __init__:1242] Alert detected, buttons: ['要求App不跟踪', '允许']
[I 220419 20:57:13 __init__:1245] Alert click: 允许
Traceback (most recent call last):
  File "/Users/tangwenbo6/IdeaProjects/uiClimber2021/uiClimber/webservice/test.py", line 547, in 
    ios()
  File "/Users/tangwenbo6/IdeaProjects/uiClimber2021/uiClimber/webservice/test.py", line 350, in ios
    c.click(316 / 818, 1672 / 1792)
  File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/wda/__init__.py", line 920, in click
    return self.tap(x, y)
  File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/wda/__init__.py", line 898, in tap
    return self._session_http.post('/wda/tap/0', dict(x=x, y=y))
  File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/wda/utils.py", line 47, in _inner
    return fn(*args, **kwargs)
  File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/wda/__init__.py", line 460, in _fetch
    response = httpdo(url, method, data, timeout)
  File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/wda/__init__.py", line 130, in httpdo
    return _unsafe_httpdo(url, method, data, timeout)
  File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/wda/__init__.py", line 186, in _unsafe_httpdo
    raise errCls(status, value)
wda.exceptions.WDAUnknownError: WDARequestError(status=110, value={'error': 'unknown error', 'message': '*** -[__NSArrayM insertObject:atIndex:]: object cannot be nil'})

解决办法

重新拉wda代码(appuim或者airtest的wda),重新安装wda

欢迎分享,转载请注明来源:内存溢出

原文地址: http://outofmemory.cn/langs/725845.html

(0)
打赏 微信扫一扫 微信扫一扫 支付宝扫一扫 支付宝扫一扫
上一篇 2022-04-26
下一篇 2022-04-26

发表评论

登录后才能评论

评论列表(0条)

保存