diff options
author | Evgeny Zinoviev <me@ch1p.io> | 2022-03-14 03:00:22 +0300 |
---|---|---|
committer | Evgeny Zinoviev <me@ch1p.io> | 2022-03-14 03:00:22 +0300 |
commit | b33e6f0abab13b986e167997ed862f78399ee18a (patch) | |
tree | 26461c35d433f471a99d2d36da40c025aa4959ed | |
parent | 88bc698e878d608f696008e58c9570fcdc6606b1 (diff) |
page.setCookie async fix
-rw-r--r-- | browser.js | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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', { |