diff --git a/maxun-core/src/interpret.ts b/maxun-core/src/interpret.ts index 2f20bcc1..ff0607f8 100644 --- a/maxun-core/src/interpret.ts +++ b/maxun-core/src/interpret.ts @@ -89,6 +89,12 @@ export default class Interpreter extends EventEmitter { }) } + private async applyAdBlocker(page: Page): Promise { + if (this.blocker) { + await this.blocker.enableBlockingInPage(page); + } + } + /** * Returns the context object from given Page and the current workflow.\ * \