feat: disable ad blocker
This commit is contained in:
@@ -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.\
|
||||||
* \
|
* \
|
||||||
|
|||||||
Reference in New Issue
Block a user