Playwright is a framework for Web Testing and Automation. It allows testing Chromium, Firefox and WebKit with a single API.
TypeScript automationchromechromiume2e-testingelectronend-to-end-testingfirefoxjavascriptplaywrighttesttest-automationtestingtesting-toolswebwebkit
fix(recorder): check that glass pane is in the current document (#8891)
Pavel Feldman478a7bcc9085
diff --git a/src/server/supplements/injected/recorder.ts b/src/server/supplements/injected/recorder.tsindex 66ee13c9ae..e56c771913 100644--- a/src/server/supplements/injected/recorder.ts+++ b/src/server/supplements/injected/recorder.ts@@ -130,7 +130,8 @@ export class Recorder {}private _refreshListenersIfNeeded() {- if (this._outerGlassPaneElement.parentElement)+ // Ensure we are attached to the current document, and we are on top (last element);+ if (this._outerGlassPaneElement.parentElement === document.documentElement && !this._outerGlassPaneElement.nextElementSibling)return;removeEventListeners(this._listeners);this._listeners = [