mirror of
https://gitee.com/g1879/DrissionPage.git
synced 2024-12-10 04:00:23 +08:00
修复关闭tab时小几率报错问题
This commit is contained in:
parent
f97a7c80de
commit
2b1b7f6188
@ -93,6 +93,9 @@ class ChromiumDriver(object):
|
|||||||
|
|
||||||
continue
|
continue
|
||||||
|
|
||||||
|
except Exception:
|
||||||
|
return None
|
||||||
|
|
||||||
finally:
|
finally:
|
||||||
self.method_results.pop(message['id'], None)
|
self.method_results.pop(message['id'], None)
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user