Traceback (most recent call last):
File "test_case/test_ios.py", line 58, in
ios.test_step2()
File "test_case/test_ios.py", line 24, in test_step2
self.driver.xpath('//Window[1]/Other[1]/Other[1]/Other[1]/Other[1]/Other[1]/Other[3]/Button[1]/StaticText[1]').click()
File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/wda/init.py", line 1516, in click
e = self.get(timeout=timeout)
File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/wda/init.py", line 1478, in get
"timeout %.1f" % timeout)
wda.exceptions.WDAElementNotFoundError: ('element not found', 'timeout 10.0')
Traceback (most recent call last): File "test_case/test_ios.py", line 58, in ios.test_step2() File "test_case/test_ios.py", line 24, in test_step2 self.driver.xpath('//Window[1]/Other[1]/Other[1]/Other[1]/Other[1]/Other[1]/Other[3]/Button[1]/StaticText[1]').click() File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/wda/init.py", line 1516, in click e = self.get(timeout=timeout) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/wda/init.py", line 1478, in get "timeout %.1f" % timeout) wda.exceptions.WDAElementNotFoundError: ('element not found', 'timeout 10.0')
iOS版本:13.1.3 xcode版本:11.3.1 wda:0.3.0