From a8d6f3aa24a3a532bb32f793046f3a2648b60f3c Mon Sep 17 00:00:00 2001 From: Jennifer Shehane Date: Tue, 4 Jun 2024 07:20:45 -0700 Subject: [PATCH] Add note about how to set IGNORE_CHROME_PREFERENCES env var (#5822) * Add note about how to set IGNORE_CHROME_PREFERENCES env var * Add link to browser launch API from the 'launching browsers' guide * lint fix --- docs/api/plugins/browser-launch-api.mdx | 6 ++++++ docs/guides/guides/launching-browsers.mdx | 5 +++++ 2 files changed, 11 insertions(+) diff --git a/docs/api/plugins/browser-launch-api.mdx b/docs/api/plugins/browser-launch-api.mdx index 59db1dffec..b5252f2b8b 100644 --- a/docs/api/plugins/browser-launch-api.mdx +++ b/docs/api/plugins/browser-launch-api.mdx @@ -151,6 +151,12 @@ Here are preferences available for the currently supported browsers: - Firefox: visit `about:config` URL within your Firefox browser to see all available preferences. +:::info + +If you want to ignore Chrome preferences altogether, you can set `IGNORE_CHROME_PREFERENCES` as an environment variable when running Cypress. + +::: + :::cypress-config-plugin-example ```js diff --git a/docs/guides/guides/launching-browsers.mdx b/docs/guides/guides/launching-browsers.mdx index 8ddeb44a5f..a2840d176d 100644 --- a/docs/guides/guides/launching-browsers.mdx +++ b/docs/guides/guides/launching-browsers.mdx @@ -434,3 +434,8 @@ the chrome of the browser. You'll always be able to visually distinguish these. ## Troubleshooting [Having issues launching installed browsers? Read more about troubleshooting browser launching](/guides/references/troubleshooting#Launching-browsers) + +## See also + +- [Browser Launch API](/api/plugins/browser-launch-api) +- [Cross browser Testing](/guides/guides/cross-browser-testing)