feat: apply ad-blocker before running loop

This commit is contained in:
karishmas6
2024-08-21 05:16:15 +05:30
parent cdb7ee0429
commit 1b06d8c00f

View File

@@ -460,6 +460,8 @@ export default class Interpreter extends EventEmitter {
}
private async runLoop(p: Page, workflow: Workflow) {
// apply ad-blocker to the current page
await this.applyAdBlocker(p);
const usedActions: string[] = [];
let lastAction = null;
let repeatCount = 0;