Pre Merge pull request !28 from 又阳月/dev

This commit is contained in:
又阳月 2023-12-07 11:41:45 +00:00 committed by Gitee
commit 0d62c058e6
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -100,6 +100,8 @@ class ChromiumDriver(object):
try:
# self._ws.settimeout(1)
msg_json = self._ws.recv()
# msg_json有概率为空
if msg_json == '': continue
msg = loads(msg_json)
except WebSocketTimeoutException:
continue