fix(browser): keep tab stable across snapshot and act

This commit is contained in:
Peter Steinberger
2026-01-15 09:36:48 +00:00
parent 415ff7f483
commit f9170c5d02
4 changed files with 134 additions and 11 deletions

View File

@@ -12,6 +12,8 @@ export type { BrowserTab };
export type ProfileRuntimeState = {
profile: ResolvedBrowserProfile;
running: RunningChrome | null;
/** Sticky tab selection when callers omit targetId (keeps snapshot+act consistent). */
lastTargetId?: string | null;
};
export type BrowserServerState = {