我是通过路径找到的元素,有时候运行没错,有时候会报错。
报错信息如下:
self =
response = {'status': 500, 'value': '{"status":13,"value":{"message":"An unknown server-side error occurred while processing the command.","origValue":"elementId 3 could not be tapped"},"sessionId":"f98dfd83-eda7-4a2d-adaa-84adaf59e351"}'}
def check_response(self, response):
try:
super(MobileErrorHandler, self).check_response(response)
except WebDriverException as wde:
if wde.msg == 'No such context found.':
raise NoSuchContextException(wde.msg, wde.screen, wde.stacktrace)
else:
raise wde
E WebDriverException: Message: An unknown server-side error occurred while processing the command.
应该怎么解决啊?