summaryrefslogtreecommitdiff
path: root/crocoite
diff options
context:
space:
mode:
Diffstat (limited to 'crocoite')
-rw-r--r--crocoite/browser.py5
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):