feat: add default args to chrome #8341
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Purpose
Approach
--disable-search-engine-choice-screenDisables the screen that prompts users to select a default search engine when launching the browser for the first time.
--disable-component-extensions-with-background-pagesPrevents component extensions with background pages (extensions running in the background) from being loaded.
--allow-pre-commit-inputAllows user input before a commit action completes, usually related to development or debugging tasks.
--disable-background-networkingDisables any networking tasks that would typically run in the background, such as preloading content or updating components.
--disable-background-timer-throttlingStops the throttling of background timers, ensuring background tabs have the same timer performance as active tabs.
--disable-backgrounding-occluded-windowsPrevents reducing the priority of windows that are fully covered (occluded) by other windows.
--disable-breakpadDisables the Breakpad crash reporting system, preventing crash reports from being sent to developers.
--disable-client-side-phishing-detectionTurns off the browser's built-in phishing detection mechanisms.
--disable-default-appsPrevents default apps from being installed on first run, often used in testing environments.
--disable-extensionsDisables all browser extensions.
--disable-hang-monitorTurns off the monitoring of hung browser processes, which could otherwise trigger recovery or debugging processes.
--disable-infobarsPrevents informational bars (like "Chrome is being controlled by automated test software") from appearing.
--disable-ipc-flooding-protectionRemoves protections against flooding inter-process communication (IPC) channels with too many messages.
--disable-popup-blockingTurns off the browser's pop-up blocker, allowing all pop-ups to appear.
--disable-prompt-on-repostDisables the warning when a form is re-submitted (a repost).
--disable-renderer-backgroundingPrevents renderer processes from being deprioritized when they are in the background.
--disable-syncDisables the browser's syncing features, such as syncing bookmarks, settings, and history.
--enable-automationIndicates that the browser is being controlled by automated testing software (like Selenium).
--export-tagged-pdfExports PDFs with tagged metadata for accessibility.
--generate-pdf-document-outlineGenerates a document outline (e.g., a table of contents) for exported PDFs.
--force-color-profile=srgbForces the use of the sRGB color profile for consistent color rendering.
--metrics-recording-onlyLimits functionality to only record performance metrics, often used for diagnostics.
--no-first-runSkips the first-run experience, such as the welcome screen and initial setup dialogs.
--password-store=basicConfigures the browser to use a simple, unencrypted password store.
--use-mock-keychainReplaces the system's keychain (for password management) with a mock version, typically for testing environments.
References
closes Devexpress/testcafe-private#526
Pre-Merge TODO