feat: cross-OS profile sync

This commit is contained in:
zhom committed 2026-10-11 17:09:42 +04:00
1 parent b7a89ac94e
commit c359049e09
28 files changed
+532 -122

No files matched your search

+3 -2
View File
@@ -1554,10 +1554,11 @@ test("profile notes save through the inspector and real launch failures retain a
)?.note === "Remember the launch context",
{ description: "note saved" },
);
// A cross-platform launch is rejected before starting any process.
// A profile bound to another OS is rejected before starting any process.
// Wayfern profiles run on every OS, so the bound one is another browser's.
const otherOs = process.platform === "darwin" ? "linux" : "macos";
await app.invokeError("launch_browser_profile", {
profile: { ...profile, host_os: otherOs },
profile: { ...profile, browser: "camoufox", host_os: otherOs },
url: null,
});
await waitForSelector(