We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e4120a5 commit 58b34f2Copy full SHA for 58b34f2
1 file changed
packages/agent/src/translator/browser.ts
@@ -1517,7 +1517,7 @@ export class BrowserExecutor {
1517
private invalidateSessionTarget(targetId: string): void {
1518
const ownedFrames = new Set<string>();
1519
for (const entry of this.refs.values()) {
1520
- if (entry.sessionTargetId === targetId) ownedFrames.add(entry.frameId);
+ if (entry.sessionTargetId === targetId && entry.frameId !== targetId) ownedFrames.add(entry.frameId);
1521
}
1522
this.invalidateFrame(targetId);
1523
for (const frameKey of ownedFrames) this.invalidateFrame(frameKey);
0 commit comments