diff --git a/maxun-core/src/interpret.ts b/maxun-core/src/interpret.ts index b03ed140..101a9d61 100644 --- a/maxun-core/src/interpret.ts +++ b/maxun-core/src/interpret.ts @@ -1,5 +1,7 @@ /* eslint-disable no-await-in-loop, no-restricted-syntax */ import { Page, PageScreenshotOptions } from 'playwright'; +import { fullLists, PlaywrightBlocker, Request } from '@cliqz/adblocker-playwright'; +import fetch from 'cross-fetch'; import path from 'path'; import { EventEmitter } from 'events'; @@ -46,6 +48,8 @@ export default class Interpreter extends EventEmitter { private log: typeof log; + private blocker: PlaywrightBlocker | null = null; + constructor(workflow: WorkflowFile, options?: Partial) { super(); this.workflow = workflow.workflow;