Skip to content

Commit

Permalink
Add note about how to set IGNORE_CHROME_PREFERENCES env var (#5822)
Browse files Browse the repository at this point in the history
* Add note about how to set IGNORE_CHROME_PREFERENCES env var

* Add link to browser launch API from the 'launching browsers' guide

* lint fix
  • Loading branch information
jennifer-shehane committed Jun 4, 2024
1 parent aeae26b commit a8d6f3a
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
6 changes: 6 additions & 0 deletions docs/api/plugins/browser-launch-api.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
5 changes: 5 additions & 0 deletions docs/guides/guides/launching-browsers.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -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)

0 comments on commit a8d6f3a

Please sign in to comment.