diff options
Diffstat (limited to 'crocoite')
-rw-r--r-- | crocoite/browser.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/crocoite/browser.py b/crocoite/browser.py index e1feda9..9f0c2d0 100644 --- a/crocoite/browser.py +++ b/crocoite/browser.py @@ -137,6 +137,8 @@ class SiteLoader: tab.Page.stopLoading () tab.Network.disable () tab.Page.disable () + # XXX: we can’t drain the event queue directly, so insert (yet another) wait + tab.wait (1) tab.Network.requestWillBeSent = None tab.Network.responseReceived = None tab.Network.loadingFinished = None |