We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0003dae commit c8e3772Copy full SHA for c8e3772
1 file changed
src/WaitForHelper.ts
@@ -136,10 +136,8 @@ export class WaitForHelper {
136
void dialog.accept();
137
}
138
};
139
- // @ts-expect-error The Dialog type from CdpPage and Page are incompatible due to private properties.
140
this.#page.on('dialog', dialogHandler);
141
this.#abortController.signal.addEventListener('abort', () => {
142
143
this.#page.off('dialog', dialogHandler);
144
});
145
0 commit comments