diff options
Diffstat (limited to 'crocoite/browser.py')
-rw-r--r-- | crocoite/browser.py | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/crocoite/browser.py b/crocoite/browser.py index 1b6debf..91f0a0a 100644 --- a/crocoite/browser.py +++ b/crocoite/browser.py @@ -182,11 +182,8 @@ class SiteLoader: tab.Page.enable (), tab.Inspector.enable (), tab.Network.clearBrowserCache (), + tab.Network.clearBrowserCookies (), ]) - resp = await tab.Network.canClearBrowserCookies () - if resp['result']: - await tab.Network.clearBrowserCookies () - return self async def __aexit__ (self, exc_type, exc_value, traceback): |