We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0a6aaa5 commit 0ed086eCopy full SHA for 0ed086e
1 file changed
src/PageCollector.ts
@@ -288,11 +288,6 @@ class PageEventSubscriber {
288
this.#page.on('framenavigated', this.#onFrameNavigated);
289
this.#page.on('issue', this.#onIssueAdded);
290
this.#session.on('Runtime.exceptionThrown', this.#onExceptionThrown);
291
- try {
292
- await this.#session.send('Audits.enable');
293
- } catch (error) {
294
- logger('Error subscribing to issues', error);
295
- }
296
}
297
298
unsubscribe() {
@@ -307,9 +302,6 @@ class PageEventSubscriber {
307
302
this.#onAggregatedIssue,
308
303
);
309
304
310
- void this.#session.send('Audits.disable').catch(() => {
311
- // might fail.
312
- });
313
305
314
306
315
#onAggregatedIssue = (
0 commit comments