mirror of
https://github.com/dgtlmoon/changedetection.io.git
synced 2026-09-27 07:46:22 +00:00
Puppeteer - setting cache enabled should be awaited
This commit is contained in:
@@ -105,7 +105,7 @@ class fetcher(Fetcher):
|
||||
# SOCKS5 with authentication is not supported (yet)
|
||||
# https://github.com/microsoft/playwright/issues/10567
|
||||
self.page.setDefaultNavigationTimeout(0)
|
||||
self.page.setCacheEnabled(True)
|
||||
await self.page.setCacheEnabled(True)
|
||||
if self.proxy:
|
||||
# Setting Proxy-Authentication header is deprecated, and doing so can trigger header change errors from Puppeteer
|
||||
# https://github.com/puppeteer/puppeteer/issues/676 ?
|
||||
|
||||
Reference in New Issue
Block a user