-
Notifications
You must be signed in to change notification settings - Fork 3.4k
fix: Add new flags and preferences for Chrome #32811
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
d753dc2
10ba39a
c9c7a79
e051cfc
f846bcb
9011909
ab4a44b
6de304e
d49533f
5d105ec
06f18dd
ec55f05
f2ce594
1d839c0
4bec6a5
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -9,8 +9,9 @@ _Released 10/20/2025 (PENDING)_ | |
|
|
||
| **Bugfixes:** | ||
|
|
||
| - Fixed an issue where grouped command text jumps up and down when expanding and collapsing in the command log. Addressed in [#32757](https://github.com/cypress-io/cypress/pull/32757). | ||
| - Fixed an issue where command snapshots were not correctly displayed in Studio. Addressed in [#32808](https://github.com/cypress-io/cypress/pull/32808). | ||
| - Chrome's autofill popup is now disabled when filling address and credit card forms during test execution. We also added some other Chrome flags and preferences that are common when automating browsers. Fixes [#25608](https://github.com/cypress-io/cypress/issues/25608). Addressed in [#32811](https://github.com/cypress-io/cypress/pull/32811). | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Bug: Changelog Duplicate Entry for Command Snapshot FixThe |
||
| - Fixed an issue where grouped command text jumps up and down when expanding and collapsing in the command log. Addressed in [#32757](https://github.com/cypress-io/cypress/pull/32757). | ||
| - Fixed an issue with grouped console prop items having a hard to read blue color in the console log and duplicate `:` characters being displayed. Addressed in [#32776](https://github.com/cypress-io/cypress/pull/32776). | ||
| - Added more context to the error message shown when `cy.prompt()` fails to download. Addressed in [#32822](https://github.com/cypress-io/cypress/pull/32822). | ||
|
|
||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,12 +1,34 @@ | ||
| const disabledFeatures = [ | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Some of this was just alphabetizing and also adding new flags |
||
| // Disable manual option and popup prompt of Chrome translation | ||
| // https://github.com/cypress-io/cypress/issues/28225 | ||
| 'Translate', | ||
| // Uncomment to force the deprecation of unload events | ||
| // 'DeprecateUnloadByUserAndOrigin', | ||
|
|
||
| // Hide toolbar button that opens dialog for controlling media sessions. | ||
| 'GlobalMediaControls', | ||
|
|
||
| // Disables the Interest Feed Content Suggestions, | ||
| // which is a feature that shows content suggestions based on the user's interests. | ||
| // https://www.google.com/interests/saved | ||
| 'InterestFeedContentSuggestions', | ||
|
|
||
| // Hides the Lens feature in the URL address bar. | ||
| 'LensOverlay', | ||
|
|
||
| // Avoid the startup dialog for _Do you want the application 'Chromium.app' to accept incoming network connections?_. | ||
| // Also disables the Chrome Media Router https://chromium.googlesource.com/chromium/src/+/HEAD/docs/media/media_router.md | ||
| // which creates background networking activity to discover cast targets. A superset of disabling `DialMediaRouteProvider`. | ||
| 'MediaRouter', | ||
|
|
||
| // Disable the Chrome Optimization Guide https://chromium.googlesource.com/chromium/src/+/HEAD/components/optimization_guide/) | ||
| // and networking with its service API | ||
| 'OptimizationHints', | ||
|
|
||
| // Disables "Enhanced ad privacy in Chrome" dialog | ||
| // https://github.com/cypress-io/cypress/issues/29199 | ||
| 'PrivacySandboxSettings4', | ||
| // Uncomment to force the deprecation of unload events | ||
| // 'DeprecateUnloadByUserAndOrigin', | ||
|
|
||
| // Disable manual option and popup prompt of Chrome translation | ||
| // https://github.com/cypress-io/cypress/issues/28225 | ||
| 'Translate', | ||
| ] | ||
|
|
||
| // Common Chrome Flags for Automation | ||
|
|
@@ -20,6 +42,11 @@ const DEFAULT_FLAGS = [ | |
| 'no-first-run', | ||
| 'noerrdialogs', | ||
| 'enable-fixed-layout', | ||
| // Disables Domain Reliability Monitoring, which tracks whether the browser has | ||
| // difficulty contacting Google-owned sites and uploads reports to Google. | ||
| 'disable-domain-reliability', | ||
| // Disable field trial tests configured in fieldtrial_testing_config.json. | ||
| 'disable-field-trial-config', | ||
| 'disable-popup-blocking', | ||
| 'disable-password-generation', | ||
| 'disable-single-click-autofill', | ||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.