fix(browser): the shared bot browser never offers to translate, and its window check covers the focus
Chrome 157 no longer reads --disable-features=Translate, so on the virtual monitor every page in another language got a translate bubble over it on the shared screen (seen on the game PC). The profile's preferences now turn translation off before each start, keeping the other preferences. The live screen test also checks that opening the window leaves the focus where it was. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -365,7 +365,8 @@ background (headless), or with `features.browserShare` in a window on the virtua
|
||||
worker. Without it (off, or not installed) nothing starts. A browser that does not start is a
|
||||
warning on the dashboard and in the `browser` log tab; the services run on without it.
|
||||
- Chrome runs with its own profile `browser/profile` (`--user-data-dir`), headless, no first-run,
|
||||
sync, component updates, translation or background networking, and CDP on a free loopback port
|
||||
sync, component updates, translation (also turned off in the profile's preferences before each
|
||||
start, keeping the others, since Chrome no longer reads the switch) or background networking, and CDP on a free loopback port
|
||||
(`--remote-debugging-port=0`; the port is read from the profile's `DevToolsActivePort`, which is
|
||||
removed before each start, and `/json/version` must answer within 30 s). The worker gets
|
||||
`JARVIS_BROWSER_CDP` = `http://127.0.0.1:<port>`.
|
||||
|
||||
Reference in New Issue
Block a user