feat: disable ad blocker

This commit is contained in:
karishmas6
2024-08-21 05:24:41 +05:30
parent 1b06d8c00f
commit 130f59a7c9

View File

@@ -95,6 +95,13 @@ export default class Interpreter extends EventEmitter {
} }
} }
private async disableAdBlocker(page: Page): Promise<void> {
if (this.blocker) {
await this.blocker.disableBlockingInPage(page);
}
}
/** /**
* Returns the context object from given Page and the current workflow.\ * Returns the context object from given Page and the current workflow.\
* \ * \