diff --git a/src/context.ts b/src/context.ts index e94d903..9afea59 100644 --- a/src/context.ts +++ b/src/context.ts @@ -51,7 +51,7 @@ export class Context { this._page.on('console', event => this._console.push(event)); this._page.on('framenavigated', frame => { if (!frame.parentFrame()) - this._console.length = 0 + this._console.length = 0; }); })(); return this._initializePromise;