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,7 +198,8 @@ export class Recorder {
|
|||||||
}, true),
|
}, true),
|
||||||
];
|
];
|
||||||
document.documentElement.appendChild(this._outerGlassPaneElement);
|
document.documentElement.appendChild(this._outerGlassPaneElement);
|
||||||
document.documentElement.appendChild(this._outerToolbarElement);
|
if (window.top === window)
|
||||||
|
document.documentElement.appendChild(this._outerToolbarElement);
|
||||||
}
|
}
|
||||||
|
|
||||||
private _toggleRecording() {
|
private _toggleRecording() {
|
||||||
|
Loading…
Reference in New Issue
Block a user