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