summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--browser.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/browser.js b/browser.js
index bf4d87c..dfad399 100644
--- a/browser.js
+++ b/browser.js
@@ -37,7 +37,7 @@ module.exports = {
await cookiesStorage.save(cookies)
})
- page.setCookie(...(await cookiesStorage.get()))
+ await page.setCookie(...(await cookiesStorage.get()))
cdpClient = await page.target().createCDPSession();
await cdpClient.send('Network.setRequestInterception', {