openatx / facebook-wda

Facebook WebDriverAgent Python Client Library (not official)
MIT License
1.72k stars 266 forks source link

module 'wda' has no attribute 'PORTRAIT'是什么原因 #143

Open xiaocaipab opened 7 months ago

xiaocaipab commented 7 months ago

File "D:\gitcode\manmanbuy\venv\lib\site-packages\airtest\core\ios\ios.py", line 25, in from airtest.core.ios.constant import CAP_METHOD, TOUCH_METHOD, IME_METHOD, ROTATION_MODE, KEY_EVENTS, \ File "D:\gitcode\manmanbuy\venv\lib\site-packages\airtest\core\ios\constant.py", line 43, in 0: wda.PORTRAIT, AttributeError: module 'wda' has no attribute 'PORTRAIT'

youngfreeFJS commented 7 months ago

建议把错误代码也贴上来,包括使用的airtest的版本。 目前master是有这个attr的,并且最近修改是三年前:https://github.com/openatx/facebook-wda/blob/master/wda/__init__.py#L57

xiaocaipab commented 7 months ago

建议把错误代码也贴上来,包括使用的airtest的版本。 目前master是有这个attr的,并且最近修改是三年前:https://github.com/openatx/facebook-wda/blob/master/wda/__init__.py#L57

image image