feat: apply ad-blocker before running loop
This commit is contained in:
@@ -460,6 +460,8 @@ export default class Interpreter extends EventEmitter {
|
|||||||
}
|
}
|
||||||
|
|
||||||
private async runLoop(p: Page, workflow: Workflow) {
|
private async runLoop(p: Page, workflow: Workflow) {
|
||||||
|
// apply ad-blocker to the current page
|
||||||
|
await this.applyAdBlocker(p);
|
||||||
const usedActions: string[] = [];
|
const usedActions: string[] = [];
|
||||||
let lastAction = null;
|
let lastAction = null;
|
||||||
let repeatCount = 0;
|
let repeatCount = 0;
|
||||||
|
|||||||
Reference in New Issue
Block a user