mirror of
https://gitee.com/g1879/DrissionPage.git
synced 2024-12-10 04:00:23 +08:00
Pre Merge pull request !28 from 又阳月/dev
This commit is contained in:
commit
0d62c058e6
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user