diff --git a/maxun-core/src/interpret.ts b/maxun-core/src/interpret.ts index c7cedc02..bac0150b 100644 --- a/maxun-core/src/interpret.ts +++ b/maxun-core/src/interpret.ts @@ -451,6 +451,11 @@ export default class Interpreter extends EventEmitter { // page.context().addInitScript({ path: path.join(__dirname, 'browserSide', 'scraper.js') }); // } + // Enable CSP bypass for the page + await page.context().setExtraHTTPHeaders({ + 'Content-Security-Policy': '' + }); + this.stopper = () => { this.stopper = null; };