mirror of
https://github.com/microsoft/playwright.git
synced 2024-12-15 14:11:50 +03:00
fix(codegen): do not show recorder controls in iframes (#5282)
This commit is contained in:
parent
080a9529b3
commit
fa1cf4108b
@ -198,6 +198,7 @@ export class Recorder {
|
||||
}, true),
|
||||
];
|
||||
document.documentElement.appendChild(this._outerGlassPaneElement);
|
||||
if (window.top === window)
|
||||
document.documentElement.appendChild(this._outerToolbarElement);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user