Skip to content

Open-source Grok Bot alternative with a virtual machine that bots can use

test(browser): disable native search requests in Chrome fixtures

leonongoinga47806be7613
diff --git a/server/testing/chrome-pipe.ts b/server/testing/chrome-pipe.ts
index 4e52d66f0a..ffcc9ba7e9 100644
--- a/server/testing/chrome-pipe.ts
+++ b/server/testing/chrome-pipe.ts
@@ -35,7 +35,7 @@ export function chromeLaunchArgs(profile: string, args: string[], platform: Node
return [
"--headless=new", "--remote-debugging-pipe", `--user-data-dir=${profile}`,
"--no-first-run", "--no-default-browser-check", "--disable-background-networking", "--disable-component-update",
- "--disable-sync", "--disable-features=Translate,OptimizationHints,MediaRouter",
+ "--disable-sync", "--disable-features=Translate,OptimizationHints,MediaRouter,AimEnabled,PreconnectToSearch",
...credentialStoreFlags(platform),
// Ubuntu 23.10+ restricts the unprivileged user namespaces Chrome's sandbox needs; the sandbox is not under test here.
...(platform === "linux" ? ["--no-sandbox"] : []),