Skip to content

Commit

Permalink
chore: use Frame.detached for puppeteer (ghostery#4488)
Browse files Browse the repository at this point in the history
  • Loading branch information
seia-soto authored Dec 3, 2024
1 parent b8c3beb commit 8fc2491
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/adblocker-puppeteer/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -253,7 +253,7 @@ export class PuppeteerBlocker extends FiltersEngine {
// should not actively monitor the DOM for changes.
let numberOfIterations = 0;
do {
if (frame.isDetached()) {
if (frame.detached) {
break;
}

Expand Down

0 comments on commit 8fc2491

Please sign in to comment.