Chromedriver的参数选项

就我个人习惯而言,我喜欢用Selenium+Chromedriver来做一些自动化的网页浏览程序。例如抓取文章等。如下的列表是Chromedriver的所有可选参数。通常情况下用到的是--headless来实现后台静默操作,然而还有很多其他有用的值得发掘。
ConditionExplanation
--Report pseudo allocation traces. Pseudo traces are derived from currently active trace events.
--/prefetch:1[1]/prefetch:# arguments to use when launching various process types. It has been observed that when file reads are consistent for 3 process launches with the same /prefetch:# argument, the Windows prefetcher starts issuing reads in batch at process launch. Because reads depend on the process type, the prefetcher wouldn't be able to observe consistent reads if no /prefetch:# arguments were used. Note that the browser process has no /prefetch:# argument; as such all other processes must have one in order to avoid polluting its profile. Note: # must always be in [1, 8]; otherwise it is ignored by the Windows prefetcher.
--/prefetch:2[1]No description
--/prefetch:3[1]No description
--/prefetch:4[1]No description
--/prefetch:5[1]/prefetch:# arguments for the browser process launched in background mode and for the watcher process. Use profiles 5, 6 and 7 as documented on kPrefetchArgument* in content_switches.cc.
--/prefetch:6[1]No description
--/prefetch:8[1]Prefetch arguments are used by the Windows prefetcher to disambiguate different execution modes (i.e. process types) of the same executable image so that different types of processes don't trample each others' prefetch behavior. Legal values are integers in the range [1, 8]. We reserve 8 to mean "whatever", and this will ultimately lead to processes with /prefetch:8 having inconsistent behavior thus disabling prefetch in practice. TODO(rockot): Make it possible for embedders to override this argument on a per-service basis.
--0Value of the --profiler-timing flag that will disable timing information for chrome://profiler.
--?No description
--accept-resource-providerFlag indicating that a resource provider must be set up to provide cast receiver with resources. Apps cannot start until provided resources. This flag implies --alsa-check-close-timeout=0.
--account-consistency[2]Command line flag for enabling account consistency. Default mode is disabled. Mirror is a legacy mode in which Google accounts are always addded to Chrome, and Chrome then adds them to the Google authentication cookies. Dice is a new experiment in which Chrome is aware of the accounts in the Google authentication cookies.
--adaboostNo description
--aec-refined-adaptive-filterEnables a new tuning of the WebRTC Acoustic Echo Canceler (AEC). The new tuning aims at resolving two issues with the AEC: https://bugs.chromium.org/p/webrtc/issues/detail?id=5777 https://bugs.chromium.org/p/webrtc/issues/detail?id=5778 TODO(hlundin): Remove this switch when experimentation is over; crbug.com/603821.
--agc-startup-min-volumeOverride the default minimum starting volume of the Automatic Gain Control algorithm in WebRTC used with audio tracks from getUserMedia. The valid range is 12-255. Values outside that range will be clamped to the lowest or highest valid value inside WebRTC. TODO(tommi): Remove this switch when crbug.com/555577 is fixed.
--aggressiveNo description
--aggressive-cache-discardNo description
--aggressive-tab-discardNo description
--all[3]No description
--allarticlesNo description
--allow-cross-origin-auth-promptAllows third-party content included on a page to prompt for a HTTP basic auth username/password pair.
--allow-external-pagesAllow access to external pages during layout tests.
--allow-failed-policy-fetch-for-testIf this flag is passed, failed policy fetches will not cause profile initialization to fail. This is useful for tests because it means that tests don't have to mock out the policy infrastructure.
--allow-file-access-from-filesBy default, file:// URIs cannot read other file:// URIs. This is an override for developers who need the old behavior for testing.
--allow-hidden-media-playbackAllows media playback for hidden WebContents
--allow-http-background-pageAllows non-https URL for background_page for hosted apps.
--allow-http-screen-captureAllow non-secure origins to use the screen capture API and the desktopCapture extension API.
--allow-insecure-localhostEnables TLS/SSL errors on localhost to be ignored (no interstitial, no blocking of requests).
--allow-legacy-extension-manifestsAllows the browser to load extensions that lack a modern manifest when that would otherwise be forbidden.
--allow-loopback-in-peer-connectionAllows loopback interface to be added in network list for peer connection.
--allow-nacl-crxfs-api[4]Specifies comma-separated list of extension ids or hosts to grant access to CRX file system APIs.
--allow-nacl-file-handle-api[4]Specifies comma-separated list of extension ids or hosts to grant access to file handle APIs.
--allow-nacl-socket-api[4]Specifies comma-separated list of extension ids or hosts to grant access to TCP/UDP socket APIs.
--allow-no-sandbox-jobEnables the sandboxed processes to run without a job object assigned to them. This flag is required to allow Chrome to run in RemoteApps or Citrix. This flag can reduce the security of the sandboxed processes and allow them to do certain API calls like shut down Windows or access the clipboard. Also we lose the chance to kill some processes until the outer job that owns them finishes.
--allow-outdated-pluginsDon't block outdated plugins.
--allow-ra-in-dev-modeAllows remote attestation (RA) in dev mode for testing purpose. Usually RA is disabled in dev mode because it will always fail. However, there are cases in testing where we do want to go through the permission flow even in dev mode. This can be enabled by this flag.
--allow-running-insecure-contentBy default, an https page cannot run JavaScript, CSS or plugins from http URLs. This provides an override to get the old insecure behavior.
--allow-sandbox-debuggingAllows debugging of sandboxed processes (see zygote_main_linux.cc).
--allow-silent-pushAllows Web Push notifications that do not show a notification.
--alsa-check-close-timeoutTime in ms to wait before closing the PCM handle when no more mixer inputs remain. Assumed to be 0 if --accept-resource-provider is present.
--alsa-enable-upsamplingFlag that enables resampling audio with sample rate below 32kHz up to 48kHz. Should be set to true for internal audio products.
--alsa-fixed-output-sample-rateOptional flag to set a fixed sample rate for the alsa device.
--alsa-input-device[5]The Alsa device to use when opening an audio input stream.
--alsa-mute-device-nameName of the device the mute mixer should be opened on. If this flag is not specified it will default to the same device as kAlsaVolumeDeviceName.
--alsa-mute-element-nameName of the simple mixer control element that the ALSA-based media library should use to mute the system.
--alsa-output-avail-minMinimum number of available frames for scheduling a transfer.
--alsa-output-buffer-sizeSize of the ALSA output buffer in frames. This directly sets the latency of the output device. Latency can be calculated by multiplying the sample rate by the output buffer size.
--alsa-output-device[5]The Alsa device to use when opening an audio stream.
--alsa-output-period-sizeSize of the ALSA output period in frames. The period of an ALSA output device determines how many frames elapse between hardware interrupts.
--alsa-output-start-thresholdHow many frames need to be in the output buffer before output starts.
--alsa-volume-device-nameName of the device the volume control mixer should be opened on. Will use the same device as kAlsaOutputDevice and fall back to "default" if kAlsaOutputDevice is not supplied.
--alsa-volume-element-nameName of the simple mixer control element that the ALSA-based media library should use to control the volume.
--also-emit-success-logsAlso emit full event trace logs for successful tests.
--alternativeThe Chrome-Proxy "exp" directive value used by data reduction proxy to receive an alternative back end implementation.
--always-authorize-pluginsPrevents Chrome from requiring authorization to run certain widely installed but less commonly used plugins.
--always-onNo description
--always-use-complex-textAlways use the complex text path for layout tests.
--alwaystrueNo description
--android-fonts-pathUses the android SkFontManager on linux. The specified directory should include the configuration xml file with the name "fonts.xml". This is used in blimp to emulate android fonts on linux.
--android-stderr-port[6]Redirect stderr to the given port. Only supported on Android.
--android-stdin-port[6]Redirect stdin to the given port. Only supported on Android.
--android-stdout-port[6]Redirect stdout to the given port. Only supported on Android.
--angleNo description
--appSpecifies that the associated value should be launched in "application" mode.
--app-auto-launchedSpecifies whether an app launched in kiosk mode was auto launched with zero delay. Used in order to properly restore auto-launched state during session restore flow.
--app-idSpecifies that the extension-app with the specified id should be launched according to its configuration.
--app-mode-auth-codeValue of GAIA auth code for --force-app-mode.
--app-mode-oauth-tokenValue of OAuth2 refresh token for --force-app-mode.
--app-mode-oem-manifestPath for app's OEM manifest file.
--app-shell-allow-roamingAllow roaming in the cellular network.
--app-shell-host-window-sizeSize for the host window to create (i.e. "800x600").
--app-shell-preferred-networkSSID of the preferred WiFi network.
--app-shell-refresh-tokenRefresh token for identity API calls for the current user. Used for testing.
--app-shell-userUser email address of the current user.
--appleNo description
--apps-gallery-download-urlThe URL that the webstore APIs download extensions from. Note: the URL must contain one '%s' for the extension ID.
--apps-gallery-update-urlThe update url used by gallery/webstore extensions.
--apps-gallery-urlThe URL to use for the gallery link in the app launcher.
--apps-keep-chrome-alive-in-tests[7]Prevents Chrome from quitting when Chrome Apps are open.
--arc-availabilitySignals ARC support status on this device. This can take one of the following three values. - none: ARC is not installed on this device. (default) - installed: ARC is installed on this device, but not officially supported. Users can enable ARC only when Finch experiment is turned on. - officially-supported: ARC is installed and supported on this device. So users can enable ARC via settings etc.
--arc-availableDEPRECATED: Please use --arc-availability=installed. Signals the availability of the ARC instance on this device.
--arc-start-modeDefines how to start ARC. This can take one of the following values: - always-start automatically start with Play Store UI support. - always-start-with-no-play-store automatically start without Play Store UI. In both cases ARC starts after login screen in almost all cases. Secondary profile is an exception where ARC won't start. If it is not set, then ARC is started in default mode.
--artifacts-dirScreenshot testing: specifies the directoru where artifacts will be stored.
--ash-animate-from-boot-splash-screenEnables an animated transition from the boot splash screen (Chrome logo on a white background) to the login screen. Implies |kAshCopyHostBackgroundAtBoot| and doesn't make much sense if used in conjunction with |kDisableBootAnimation| (since the transition begins at the same time as the white/grayscale login screen animation).
--ash-copy-host-background-at-bootCopies the host window's content to the system background layer at startup. Can make boot slightly slower, but also hides an even-longer awkward period where we display a white background if the login wallpaper takes a long time to load.
--ash-debug-shortcutsEnable keyboard shortcuts useful for debugging.
--ash-dev-shortcutsEnable keyboard shortcuts used by developers only.
--ash-disable-smooth-screen-rotationDisables a smoother animation for screen rotation.
--ash-disable-touch-exploration-modeDisable the Touch Exploration Mode. Touch Exploration Mode will no longer be turned on automatically when spoken feedback is enabled when this flag is set.
--ash-enable-magnifier-key-scrollerEnables key bindings to scroll magnified screen.
--ash-enable-mirrored-screenEnables mirrored screen.
--ash-enable-night-lightEnable the Night Light feature.
--ash-enable-palette-on-all-displaysEnables the palette on every display, instead of only the internal one.
--ash-enable-scale-settings-trayEnables display scale tray settings. This uses force-device-scale-factor flag to modify the dsf of the device to any non discrete value.
--ash-enable-software-mirroringEnables software based mirroring.
--ash-enable-unified-desktop[8]Enables unified desktop mode.
--ash-estimated-presentation-delaySpecifies the estimated time (in milliseconds) from VSYNC event until when visible light can be noticed by the user.
--ash-hide-notifications-for-factoryHides notifications that are irrelevant to Chrome OS device factory testing, such as battery level updates.
--ash-host-window-boundsSets a window size, optional position, and optional scale factor. "1024x768" creates a window of size 1024x768. "100+200-1024x768" positions the window at 100,200. "1024x768*2" sets the scale factor to 2 for a high DPI display. "800,0+800-800x800" for two displays at 800x800 resolution. "800,0+800-800x800,0+1600-800x800" for three displays at 800x800 resolution.
--ash-shelf-colorEnables the shelf color to be derived from the wallpaper.
--ash-shelf-color-schemeThe color scheme to be used when the |kAshShelfColor| feature is enabled.
--ash-touch-hudEnables the heads-up display for tracking touch points.
--ash-webui-initWhen wallpaper boot animation is not disabled this switch is used to override OOBE/sign in WebUI init type. Possible values: parallel|postpone. Default: parallel.
--attestation-serverDetermines which Google Privacy CA to use for attestation.
--audio-buffer-sizeAllow users to specify a custom buffer size for debugging purpose.
--audio-output-channelsNumber of audio output channels. This will be used to send audio buffer with specific number of channels to ALSA and generate loopback audio. Default value is 2.
--aura-legacy-power-button(Most) Chrome OS hardware reports ACPI power button releases correctly. Standard hardware reports releases immediately after presses. If set, we lock the screen or shutdown the system immediately in response to a press instead of displaying an interactive animation.
--auth-ext-pathEnables overriding the path for the default authentication extension.
--auth-server-whitelistWhitelist for Negotiate Auth servers
--auth-spnego-account-type[6]Android authentication account type for SPNEGO authentication
--autoThe values the kTouchEventFeatureDetection switch may have, as in --touch-events=disabled. auto: enabled at startup when an attached touchscreen is present.
--auto-open-devtools-for-tabsThis flag makes Chrome auto-open DevTools window for each tab. It is intended to be used by developers and automation to not require user interaction for opening DevTools.
--auto-select-desktop-capture-sourceThis flag makes Chrome auto-select the provided choice when an extension asks permission to start desktop capture. Should only be used for tests. For instance, --auto-select-desktop-capture-source="Entire screen" will automatically select to share the entire screen in English locales.
--autoplay-policyCommand line flag name to set the autoplay policy.
--blink-settingsSet blink settings. Format is <name>[=<value],<name>[=<value>],... The names are declared in Settings.json5. For boolean type, use "true", "false", or omit '=<value>' part to set to true. For enum type, use the int value of the enum value. Applied after other command line flags and prefs.
--bootstrapValues for the kExtensionContentVerification flag. See ContentVerifierDelegate::Mode for more explanation.
--browser[3]No description
--browser-startup-dialogCauses the browser process to display a dialog on launch.
--browser-subprocess-pathPath to the exe to run for the renderer and plugin subprocesses.
--browser-testTells Content Shell that it's running as a content_browsertest.
--bwsiIndicates that the browser is in "browse without sign-in" (Guest session) mode. Should completely disable extensions, sync and bookmarks.
--bypass-app-banner-engagement-checksThis flag causes the user engagement checks for showing app banners to be bypassed. It is intended to be used by developers who wish to test that their sites otherwise meet the criteria needed to show app banners.
--canvas-msaa-sample-countThe number of MSAA samples for canvas2D. Requires MSAA support by GPU to have an effect. 0 disables MSAA.
--cast-initial-screen-heightNo description
--cast-initial-screen-widthUsed to pass initial screen resolution to GPU process. This allows us to set screen size correctly (so no need to resize when first window is created).
--cc-layer-tree-test-long-timeoutIncreases timeout for memory checkers.
--cc-layer-tree-test-no-timeoutPrevents the layer tree unit tests from timing out.
--cc-rebaseline-pixeltestsMakes pixel tests write their output instead of read it.
--cellular-firstIf this flag is set, it indicates that this device is a "Cellular First" device. Cellular First devices use cellular telephone data networks as their primary means of connecting to the internet. Setting this flag has two consequences: 1. Cellular data roaming will be enabled by default. 2. UpdateEngine will be instructed to allow auto-updating over cellular data connections.
--cellular-onlyNo description
--check-for-update-intervalHow often (in seconds) to check for updates. Should only be used for testing purposes.
--check-layout-test-sys-depsCheck whether all system dependencies for running layout tests are met.
--child-wallpaper-largeDefault large wallpaper to use for kids accounts (as path to trusted, non-user-writable JPEG file).
--child-wallpaper-smallDefault small wallpaper to use for kids accounts (as path to trusted, non-user-writable JPEG file).
--chrome-home-swipe-logic[6]Android authentication account type for SPNEGO authentication
--ChromeOSMemoryPressureHandlingThe memory pressure thresholds selection which is used to decide whether and when a memory pressure event needs to get fired.
--cipher-suite-blacklistComma-separated list of SSL cipher suites to disable.
--clamshellNo description
--class[9]The same as the --class argument in X applications. Overrides the WM_CLASS window property with the given value.
--clear-token-serviceClears the token service before using it. This allows simulating the expiration of credentials during testing.
--cloud-print-fileTells chrome to display the cloud print dialog and upload the specified file for printing.
--cloud-print-file-typeSpecifies the mime type to be used when uploading data from the file referenced by cloud-print-file. Defaults to "application/pdf" if unspecified.
--cloud-print-job-titleUsed with kCloudPrintFile to specify a title for the resulting print job.
--cloud-print-print-ticketUsed with kCloudPrintFile to specify a JSON print ticket for the resulting print job. Defaults to null if unspecified.
--cloud-print-setup-proxySetup cloud print proxy for provided printers. This does not start service or register proxy for autostart.
--cloud-print-urlThe URL of the cloud print service to use, overrides any value stored in preferences, and the default. Only used if the cloud print service has been enabled. Used for testing.
--cloud-print-xmpp-endpointThe XMPP endpoint the cloud print service will use. Only used if the cloud print service has been enabled. Used for testing.
--compensate-for-unstable-pinch-zoomEnable compensation for unstable pinch zoom. Some touch screens display significant amount of wobble when moving a finger in a straight line. This makes two finger scroll trigger an oscillating pinch zoom. See crbug.com/394380 for details.
--compile-shader-always-succeedsAlways return success when compiling a shader. Linking will still fail.
--component-updaterComma-separated options to troubleshoot the component updater. Only valid for the browser process.
--connectivity-check-urlUrl for network connectivity checking. Default is "https://clients3.google.com/generate_204".
--conservativeNo description
--content-image-texture-targetTexture target for CHROMIUM_image backed content textures.
--content-shell-host-window-sizeSize for the content_shell's host window (i.e. "800x600").
--controllerNo description
--crash-dumps-dirThe directory breakpad should store minidumps in.
--crash-on-failureWhen specified to "enable-leak-detection" command-line option, causes the leak detector to cause immediate crash when found leak.
--crash-on-hang-threadsComma-separated list of BrowserThreads that cause browser process to crash if the given browser thread is not responsive. UI,IO,DB,FILE,CACHE are the list of BrowserThreads that are supported. For example: --crash-on-hang-threads=UI:3:18,IO:3:18 --> Crash the browser if UI or IO is not responsive for 18 seconds and the number of browser threads that are responding is less than or equal to 3.
--crash-server-urlServer url to upload crash data to. Default is "http://clients2.google.com/cr/report" for prod devices. Default is "http://clients2.google.com/cr/staging_report" for non prod.
--crash-testCauses the browser process to crash on startup.
--crashpad-handlerA process type (switches::kProcessType) that indicates chrome.exe or setup.exe is being launched as crashpad_handler. This is only used on Windows. We bundle the handler into chrome.exe on Windows because there is high probability of a "new" .exe being blocked or interfered with by application firewalls, AV software, etc. On other platforms, crashpad_handler is a standalone executable.
--create-browser-on-startup-for-testsSome platforms like ChromeOS default to empty desktop. Browser tests may need to add this switch so that at least one browser instance is created on startup. TODO(nkostylev): Investigate if this switch could be removed. (http://crbug.com/148675)
--create-default-gl-contextAsk the GLX driver for the default context instead of trying to get the highest version possible.
--cros-gaia-api-v1Forces use of Chrome OS Gaia API v1.
--cros-regionForces CrOS region value.
--cros-regions-modeControl regions data load ("" is default).
--crosh-command[8]Custom crosh command.
--cryptauth-http-hostOverrides the default URL for Google APIs (https://www.googleapis.com) used by CryptAuth.
--custom-devtools-frontendSpecify a custom path to devtools for devtools tests
--custom-launcher-pageSpecifies the chrome-extension:// URL for the contents of an additional page added to the app launcher.
--custom_summary[6]Forces a custom summary to be displayed below the update menu item.
--d3d-support[1]No description
--d3d11No description
--d3d9No description
--daemonNo description
--dark_mutedNo description
--dark_vibrantNo description
--data-pathMakes Content Shell use the given path for its data directory.
--data-reduction-proxy-config-urlThe URL from which to retrieve the Data Reduction Proxy configuration.
--data-reduction-proxy-experimentThe name of a Data Reduction Proxy experiment to run. These experiments are defined by the proxy server. Use --force-fieldtrials for Data Reduction Proxy field trials.
--data-reduction-proxy-http-proxiesThe semicolon-separated list of proxy server URIs to override the list of HTTP proxies returned by the Data Saver API. It is illegal to use |kDataReductionProxy| or |kDataReductionProxyFallback| switch in conjunction with |kDataReductionProxyHttpProxies|. If the URI omits a scheme, then the proxy server scheme defaults to HTTP, and if the port is omitted then the default port for that scheme is used. E.g. "http://foo.net:80", "http://foo.net", "foo.net:80", and "foo.net" are all equivalent.
--data-reduction-proxy-lo-fiThe mode for Data Reduction Proxy Lo-Fi. The various modes are always-on, cellular-only, slow connections only and disabled.
--data-reduction-proxy-pingback-urlNo description
--data-reduction-proxy-secure-proxy-check-urlSets a secure proxy check URL to test before committing to using the Data Reduction Proxy. Note this check does not go through the Data Reduction Proxy.
--data-reduction-proxy-server-experiments-disabledDisables server experiments that may be enabled through field trial.
--dbus-stubForces the stub implementation of dbus clients.
--debug-devtoolsRun devtools tests in debug mode (not bundled and minified)
--debug-enable-frame-toggleEnables a frame context menu item that toggles the frame in and out of glass mode (Windows Vista and up only).
--debug-packed-appsAdds debugging entries such as Inspect Element to context menus of packed apps.
--debug-print[10]Enables support to debug printing subsystem.
--defaultNo description
--default-background-colorThe background color to be used if the page doesn't specify one. Provided as RGBA integer value in hex, e.g. 'ff0000ff' for red or '00000000' for transparent.
--default-tile-heightNo description
--default-tile-widthSets the tile size used by composited layers.
--default-wallpaper-is-oemIndicates that the wallpaper images specified by kAshDefaultWallpaper{Large,Small} are OEM-specific (i.e. they are not downloadable from Google).
--default-wallpaper-largeDefault large wallpaper to use (as path to trusted, non-user-writable JPEG file).
--default-wallpaper-smallDefault small wallpaper to use (as path to trusted, non-user-writable JPEG file).
--demoOptional value for Data Saver prompt on cellular networks.
--derelict-detection-timeoutTime in seconds before a machine at OOBE is considered derelict.
--derelict-idle-timeoutTime in seconds before a derelict machines starts demo mode.
--desktopNo description
--desktop-window-1080pWhen present, desktop cast_shell will create 1080p window (provided display resolution is high enough). Otherwise, cast_shell defaults to 720p.
--deterministic-fetchInstructs headless_shell to cause network fetches to complete in order of creation. This removes a significant source of network related non-determinism at the cost of slower page loads.
--device-management-urlSpecifies the URL at which to fetch configuration policy from the device management backend.
--device-scale-factor[1]Device scale factor passed to certain processes like renderers, etc.
--devtools-flagsPasses command line parameters to the DevTools front-end.
--diagnosticsTriggers a plethora of diagnostic modes.
--diagnostics-formatSets the output format for diagnostic modes enabled by diagnostics flag.
--diagnostics-recoveryTells the diagnostics mode to do the requested recovery step(s).
--dice[2]No description
--dice_fix_auth_errorsNo description
--disableValues for the kShowSavedCopy flag.
--disable-2d-canvas-clip-aaDisable antialiasing on 2d canvas clips
--disable-2d-canvas-image-chromiumDisables Canvas2D rendering into a scanout buffer for overlay support.
--disable-3d-apisDisables client-visible 3D APIs, in particular WebGL and Pepper 3D. This is controlled by policy and is kept separate from the other enable/disable switches to avoid accidentally regressing the policy support for controlling access to these APIs.
--disable-accelerated-2d-canvasDisable gpu-accelerated 2d canvas.
--disable-accelerated-jpeg-decodingDisable partially decoding jpeg images using the GPU. At least YUV decoding will be accelerated when not using this flag. Has no effect unless GPU rasterization is enabled.
--disable-accelerated-mjpeg-decodeDisable hardware acceleration of mjpeg decode for captured frame, where available.
--disable-accelerated-video-decodeDisables hardware acceleration of video decode, where available.
--disable-app-info-dialog-mac[7]Disable the toolkit-views App Info dialog for Mac.
--disable-app-list-dismiss-on-blurIf set, the app list will not be dismissed when it loses focus. This is useful when testing the app list or a custom launcher page. It can still be dismissed via the other methods (like the Esc key).
--disable-app-window-cycling[7]Disables custom Cmd+` window cycling for platform apps and hosted apps.
--disable-appcontainerNo description
--disable-arc-data-wipeDisables android user data wipe on opt out.
--disable-arc-opt-in-verificationDisables ARC Opt-in verification process and ARC is enabled by default.
--disable-audio-support-for-desktop-shareNo description
--disable-avfoundation-overlays[11]Disable use of AVFoundation to draw video content.
--disable-background-networkingDisable several subsystems which run network requests in the background. This is for use when doing network performance testing to avoid noise in the measurements.
--disable-background-timer-throttlingDisable task throttling of timer tasks from background pages.
--disable-backing-store-limitDisable limits on the number of backing stores. Can prevent blinking for users with many windows/tabs and lots of memory.
--disable-blink-featuresDisable one or more Blink runtime-enabled features. Use names from RuntimeEnabledFeatures.json5, separated by commas. Applied after kEnableBlinkFeatures, and after other flags that change these features.
--disable-bookmark-reorderingDisables bookmark reordering.
--disable-boot-animationDisables wallpaper boot animation (except of OOBE case).
--disable-breakpadDisables the crash reporting.
--disable-browser-task-schedulerNo description
--disable-bundled-ppapi-flashDisables the bundled PPAPI version of Flash.
--disable-canvas-aaDisable antialiasing on 2d canvas.
--disable-captive-portal-bypass-proxyDisables bypass proxy for captive portal authorization.
--disable-cast-streaming-hw-encodingDisables hardware encoding support for Cast Streaming.
--disable-checker-imagingDisabled defering image decodes to the image decode service.
--disable-clear-browsing-data-countersDisables data volume counters in the Clear Browsing Data dialog.
--disable-client-side-phishing-detectionDisables the client-side phishing detection feature. Note that even if client-side phishing detection is enabled, it will only be active if the user has opted in to UMA stats and SafeBrowsing is enabled in the preferences.
--disable-cloud-importDisables cloud backup feature.
--disable-component-cloud-policyDisables fetching and storing cloud policy for components.
--disable-component-extensions-with-background-pagesDisable default component extensions with background pages - useful for performance tests where these pages may interfere with perf results.
--disable-component-updateNo description
--disable-composited-antialiasingDisables layer-edge anti-aliasing in the compositor.
--disable-contextual-searchDisables Contextual Search.
--disable-d3d11Disables use of D3D11.
--disable-databasesDisables HTML5 DB support.
--disable-datasaver-promptDisables Data Saver prompt on cellular networks.
--disable-default-appsDisables installation of default apps on first run. This is used during automated testing.
--disable-demo-modeDisables the Chrome OS demo.
--disable-device-disablingIf this switch is set, the device cannot be remotely disabled by its owner.
--disable-device-discovery-notificationsDisables device discovery notifications.
--disable-dinosaur-easter-eggDisables the dinosaur easter egg on the offline interstitial.
--disable-direct-compositionDisables the use of DirectComposition to draw to the screen.
--disable-direct-composition-layersDisables using DirectComposition layers.
--disable-directwrite-for-ui[1]Disables DirectWrite font rendering for general UI elements.
--disable-display-color-calibration[8]No description
--disable-display-list-2d-canvasNo description
--disable-distance-field-textDisables distance field text.
--disable-domain-blocking-for-3d-apisDisable the per-domain blocking for 3D APIs after GPU reset. This switch is intended only for tests.
--disable-domain-reliabilityDisables Domain Reliability Monitoring.
--disable-drive-search-in-app-launcherNo description
--disable-dwm-compositionDisables use of DWM composition for top level windows.
--disable-encryption-migrationDisable encryption migration for user's cryptohome to run latest Arc.
--disable-eol-notificationDisables notification when device is in end of life status.
--disable-es3-apisDisable OpenGL ES 3 APIs. This in turn will disable WebGL2.
--disable-es3-gl-contextDisables use of ES3 backend (use ES2 backend instead).
--disable-extensionsDisable extensions.
--disable-extensions-exceptDisable extensions except those specified in a comma-separated list.
--disable-extensions-file-access-checkDisable checking for user opt-in for extensions that want to inject script into file URLs (ie, always allow it). This is used during automated testing.
--disable-extensions-http-throttlingDisable the net::URLRequestThrottlerManager functionality for requests originating from extensions.
--disable-featuresLists separated by commas the name of features to disable. See base::FeatureList::InitializeFromCommandLine for details.
--disable-field-trial-configDisable field trial tests configured in fieldtrial_testing_config.json.
--disable-file-manager-touch-modeTouchscreen-specific interactions of the Files app.
--disable-file-systemDisable FileSystem API.
--disable-flash-3dDisable 3D inside of flapper.
--disable-flash-stage3dDisable Stage3D inside of flapper.
--disable-fullscreen-low-power-mode[7]Disables fullscreen low power mode on Mac.
--disable-fullscreen-tab-detaching[7]Disables tab detaching in fullscreen mode on Mac.
--disable-gaia-servicesDisables GAIA services such as enrollment and OAuth session restore. Used by 'fake' telemetry login.
--disable-gesture-editingNo description
--disable-gesture-requirement-for-presentationDisable user gesture requirement for presentation.
--disable-gesture-typingNo description
--disable-gl-drawing-for-testsDisables GL drawing operations which produce pixel output. With this the GL output will not be correct but tests will run faster.
--disable-gl-error-limitDisable the GL error log limit.
--disable-gl-extensionsDisables specified comma separated GL Extensions if found.
--disable-glsl-translatorDisable the GLSL translator.
--disable-gpuDisables GPU hardware acceleration. If software renderer is not in place, then the GPU process won't launch.
--disable-gpu-compositingPrevent the compositor from using its GPU implementation.
--disable-gpu-driver-bug-workaroundsDisable workarounds for various GPU driver bugs.
--disable-gpu-early-initDisable proactive early init of GPU process.
--disable-gpu-memory-buffer-compositor-resourcesDo not force that all compositor resources be backed by GPU memory buffers.
--disable-gpu-memory-buffer-video-framesDisable GpuMemoryBuffer backed VideoFrames.
--disable-gpu-process-crash-limitDisable the limit on the number of times the GPU process may be restarted. For tests and platforms where software fallback is disabled.
--disable-gpu-program-cacheTurn off gpu program caching
--disable-gpu-rasterizationDisable GPU rasterization, i.e. rasterize on the CPU only. Overrides the kEnableGpuRasterization and kForceGpuRasterization flags.
--disable-gpu-sandboxDisable the GPU process sandbox.
--disable-gpu-shader-disk-cacheDisables the GPU shader on disk cache.
--disable-gpu-vsyncStop the GPU from synchronizing on the vsync before presenting. We can select from the options below: beginframe: Next frame can start without any delay on cc::scheduler in renderer compositors. gpu: Disable display and browser vsync. default: Set both flags.
--disable-gpu-watchdogDisable the thread that crashes the GPU process if it stops responding to messages.
--disable-hang-monitorSuppresses hang monitor dialogs in renderer processes. This may allow slow unload handlers on a page to prevent the tab from closing, but the Task Manager can be used to terminate the offending process in this case.
--disable-hid-detection-on-oobeDisables HID-detection OOBE screen.
--disable-histogram-customizerDisable the RenderThread's HistogramCustomizer.
--disable-hosted-app-shim-creation[7]Disables app shim creation for hosted apps on Mac.
--disable-hosted-apps-in-windows[7]Prevents hosted apps from being opened in windows on Mac.
--disable-in-process-stack-tracesDisable the in-process stack traces.
--disable-infobarsPrevent infobars from appearing.
--disable-input-viewNo description
--disable-ios-password-suggestionsDisable showing available password credentials in the keyboard accessory view when focused on form fields.
--disable-ios-physical-webDisables Physical Web scanning for nearby URLs.
--disable-javascript-harmony-shippingDisable latest shipping ECMAScript 6 features.
--disable-kill-after-bad-ipcDon't kill a child process when it sends a bad IPC message. Apart from testing, it is a bad idea from a security perspective to enable this switch.
--disable-lcd-textDisables LCD text.
--disable-legacy-window[1]Disable the Legacy Window which corresponds to the size of the WebContents.
--disable-local-storageDisable LocalStorage.
--disable-loggingForce logging to be disabled. Logging is enabled by default in debug builds.
--disable-logging-redirect[8]Disables logging redirect for testing.
--disable-login-animationsAvoid doing expensive animations upon login.
--disable-login-screen-apps[8]Disables apps on the login screen. By default, they are allowed and can be installed through policy.
--disable-low-end-device-modeForce disabling of low-end device mode when set.
--disable-low-latency-dxvaDisables using CODECAPI_AVLowLatencyMode when creating DXVA decoders.
--disable-low-res-tilingWhen using CPU rasterizing disable low resolution tiling. This uses less power, particularly during animations, but more white may be seen during fast scrolling especially on slower devices.
--disable-mac-overlays[11]Fall back to using CAOpenGLLayers display content, instead of the IOSurface based overlay display path.
--disable-mac-views-native-app-windows[7]Disables use of toolkit-views based native app windows.
--disable-machine-cert-requestDisables requests for an enterprise machine certificate during attestation.
--disable-main-frame-before-activationDisables sending the next BeginMainFrame before the previous commit activates. Overrides the kEnableMainFrameBeforeActivation flag.
--disable-md-oobeDisables material design OOBE UI.
--disable-media-session-api[6]Disable Media Session API
--disable-media-suspendNo description
--disable-merge-key-char-events[1]Disables merging the key event (WM_KEY*) with the char event (WM_CHAR).
--disable-mojo-local-storageDont use a Mojo-based LocalStorage implementation.
--disable-mojo-renderer[12]Rather than use the renderer hosted remotely in the media service, fall back to the default renderer within content_renderer. Does not change the behavior of the media service.
--disable-mtp-write-supportDisables mtp write support.
--disable-multi-display-layoutDisables the multiple display layout UI.
--disable-namespace-sandboxDisables usage of the namespace sandbox.
--disable-native-gpu-memory-buffersDisables native GPU memory buffer support.
--disable-network-portal-notificationDisables notifications about captive portals in session.
--disable-new-channel-switcher-uiDisables new channel switcher UI.
--disable-new-korean-imeDisables the new Korean IME in chrome://settings/languages.
--disable-new-virtual-keyboard-behaviorDisable new window behavior for virtual keyboard (do not change work area in non-sticky mode).
--disable-new-zip-unpackerDisables the new File System Provider API based ZIP unpacker.
--disable-notificationsDisables the Web Notification and the Push APIs.
--disable-ntp-most-likely-favicons-from-serverDisables the new Google favicon server for fetching favicons for Most Likely tiles on the New Tab Page.
--disable-ntp-popular-sitesDisables showing popular sites on the NTP.
--disable-nv12-dxgi-videoDisables the video decoder from drawing to an NV12 textures instead of ARGB.
--disable-offer-store-unmasked-wallet-cardsForce hiding the local save checkbox in the autofill dialog box for getting the full credit card number for a wallet card. The card will never be stored locally.
--disable-offer-upload-credit-cardsDisables offering to upload credit cards.
--disable-office-editing-component-extensionDisables Office Editing for Docs, Sheets & Slides component app so handlers won't be registered, making it possible to install another version for testing.
--disable-offline-auto-reloadDisable auto-reload of error pages if offline.
--disable-offline-auto-reload-visible-onlyDisable only auto-reloading error pages when the tab is visible.
--disable-origin-trial-controlled-blink-featuresDisables all RuntimeEnabledFeatures that can be enabled via OriginTrials.
--disable-overscroll-edge-effect[6]Disable overscroll edge effects like those found in Android views.
--disable-panel-fitting[8]Disables panel fitting (used for mirror mode).
--disable-partial-rasterDisable partial raster in the renderer. Disabling this switch also disables the use of persistent gpu memory buffers.
--disable-password-generationDisables password generation when we detect that the user is going through account creation.
--disable-pepper-3dDisable Pepper3D.
--disable-pepper-3d-image-chromiumDisable Image Chromium for Pepper 3d.
--disable-per-user-timezoneDisables per-user timezone.
--disable-permission-action-reportingDisables permission action reporting to Safe Browsing servers for opted in users.
--disable-permissions-apiDisables the Permissions API.
--disable-physical-keyboard-autocorrectDisables suggestions while typing on a physical keyboard.
--disable-pinchDisables compositor-accelerated touch-screen pinch gestures.
--disable-pnacl-crash-throttlingDisables crash throttling for Portable Native Client.
--disable-popup-blockingDisable pop-up blocking.
--disable-prefer-compositing-to-lcd-textDisable the creation of compositing layers when it would prevent LCD text.
--disable-presentation-apiDisables the Presentation API.
--disable-print-previewDisables print preview (For testing, and for users who don't like us. :[ )
--disable-prompt-on-repostNormally when the user attempts to navigate to a page that was the result of a post we prompt to make sure they want to. This switch may be used to disable that check. This switch is used during automated testing.
--disable-proximity-auth-bluetooth-low-energy-discoveryDisables discovery of the phone over Bluetooth Low Energy.
--disable-pull-to-refresh-effect[6]Disable the pull-to-refresh effect when vertically overscrolling content.
--disable-push-api-background-modeEnable background mode for the Push API.
--disable-reading-from-canvasTaints all <canvas> elements, regardless of origin.
--disable-remote-core-animation[11]Disable use of cross-process CALayers to display content directly from the GPU process on Mac.
--disable-remote-fontsDisables remote web font support. SVG font should always work whether this option is specified or not.
--disable-remote-playback-apiDisables the RemotePlayback API.
--disable-renderer-accessibilityTurns off the accessibility in the renderer.
--disable-renderer-backgroundingPrevent renderer process backgrounding when set.
--disable-renderer-priority-managementNo not manage renderer process priority at all when set.
--disable-resize-lockWhether the resize lock is disabled. Default is false. This is generally only useful for tests that want to force disabling.
--disable-rgba-4444-texturesDisables RGBA_4444 textures.
--disable-rollback-optionDisables rollback option on reset screen.
--disable-rtc-smoothness-algorithmDisables the new rendering algorithm for webrtc, which is designed to improve the rendering smoothness.
--disable-screen-orientation-lock[6]Disable the locking feature of the screen orientation API.
--disable-search-geolocation-disclosureDisables showing the search geolocation disclosure UI. Used for perf testing.
--disable-seccomp-filter-sandboxDisable the seccomp filter sandbox (seccomp-bpf) (Linux only).
--disable-setuid-sandboxDisable the setuid sandbox (Linux only).
--disable-shader-name-hashingTurn off user-defined name hashing in shaders.
--disable-shared-workersDisable shared workers.
--disable-signin-promoDisables sign-in promo.
--disable-signin-scoped-device-idDisables sending signin scoped device id to LSO with refresh token request.
--disable-single-click-autofillThe "disable" flag for kEnableSingleClickAutofill.
--disable-skia-runtime-optsDo not use runtime-detected high-end CPU optimizations in Skia. This is useful for forcing a baseline code path for e.g. layout tests.
--disable-slim-navigation-managerDisables the WKBackForwardList based navigation manager experiment.
--disable-slimming-paint-invalidationDisable paint invalidation based on slimming paint. See kEnableSlimmingPaintInvalidation.
--disable-smooth-scrollingDisable smooth scrolling for testing.
--disable-software-rasterizerDisables the use of a 3D software rasterizer.
--disable-speech-apiDisables the Web Speech API.
--disable-suggestions-uiDisables the Suggestions UI
--disable-surface-referencesDisable surface lifetime management using surface references. This enables adding surface sequences and disables adding temporary references.
--disable-syncDisables syncing browser data to a Google Account.
--disable-sync-app-listNo description
--disable-sync-typesDisables syncing one or more sync data types that are on by default. See sync/base/model_type.h for possible types. Types should be comma separated, and follow the naming convention for string representation of model types, e.g.: --disable-synctypes='Typed URLs, Bookmarks, Autofill Profiles'
--disable-system-timezone-automatic-detectionDisables SystemTimezoneAutomaticDetection policy.
--disable-tab-for-desktop-shareEnables tab for desktop sharing.
--disable-third-party-keyboard-workaroundDisables the 3rd party keyboard omnibox workaround.
--disable-threaded-animationNo description
--disable-threaded-compositingDisable multithreaded GPU compositing of web content.
--disable-threaded-scrollingDisable multithreaded, compositor scrolling of web content.
--disable-timeouts-for-profiling[6]Disable timeouts that may cause the browser to die when running slowly. This is useful if running with profiling (such as debug malloc).
--disable-touch-adjustmentDisables touch adjustment.
--disable-touch-drag-dropDisables touch event based drag and drop.
--disable-translate-new-ux[7]Disables Translate experimental new UX which replaces the infobar.
--disable-usb-keyboard-detect[1]Disables the USB keyboard detection for blocking the OSK on Win8+.
--disable-v8-idle-tasksDisable V8 idle tasks.
--disable-vaapi-accelerated-video-encode[8]Disables VA-API accelerated video encode.
--disable-virtual-keyboard-overscrollNo description
--disable-voice-inputNo description
--disable-volume-adjust-soundDisables volume adjust sound.
--disable-wake-on-wifiDisables wake on wifi features.
--disable-web-notification-custom-layoutsDisables Web Notification custom layouts.
--disable-web-securityDon't enforce the same-origin policy. (Used by people testing their sites.)
--disable-webglDisable experimental WebGL support.
--disable-webgl-image-chromiumDisables WebGL rendering into a scanout buffer for overlay support.
--disable-webrtc-encryption[13]Disables encryption of RTP Media for WebRTC. When Chrome embeds Content, it ignores this switch on its stable and beta channels.
--disable-webrtc-hw-decoding[13]Disables HW decode acceleration for WebRTC.
--disable-webrtc-hw-encoding[13]Disables HW encode acceleration for WebRTC.
--disable-win32k-lockdown[1]Disables the Win32K process mitigation policy for child processes.
--disable-xss-auditorDisables Blink's XSSAuditor. The XSSAuditor mitigates reflective XSS.
--disable-zero-browsers-open-for-testsSome tests seem to require the application to close when the last browser window is closed. Thus, we need a switch to force this behavior for ChromeOS Aura, disable "zero window mode". TODO(pkotwicz): Investigate if this bug can be removed. (http://crbug.com/119175)
--disable-zero-copyDisable rasterizer that writes directly to GPU memory associated with tiles.
--disable-zero-copy-dxgi-videoDisable the video decoder from drawing directly to a texture.
--disableddisabled: touch events are disabled.
--disabled-new-style-notificationNo description
--disallow-non-exact-resource-reuseDisable re-use of non-exact resources to fulfill ResourcePool requests. Intended only for use in layout or pixel tests to reduce noise.
--disk-cache-dirUse a specific disk cache location, rather than one derived from the UserDatadir.
--disk-cache-sizeForces the maximum disk space to be used by the disk cache, in bytes.
--display[14]Which X11 display to connect to. Emulates the GTK+ "--display=" command line argument.
--dmg-device[7]When switches::kProcessType is switches::kRelauncherProcess, if this switch is also present, the relauncher process will unmount and eject a mounted disk image and move its disk image file to the trash. The argument's value must be a BSD device name of the form "diskN" or "diskNsM".
--dns-log-detailsNo description
--document-user-activation-requiredAutoplay policy that requires a document user activation.
--dom-automationSpecifies if the |DOMAutomationController| needs to be bound in the renderer. This binding happens on per-frame basis and hence can potentially be a performance bottleneck. One should only enable it when automating dom based tests.
--draftNo description
--draw-view-bounds-rectsDraws a semitransparent rect to indicate the bounds of each view.
--duck-flash[4]This value is used as an option for |kEnableAudioFocus|. Flash will be ducked when losing audio focus.
--dump-blink-runtime-call-statsLogs Runtime Call Stats for Blink. --single-process also needs to be used along with this for the stats to be logged.
--dump-browser-histogramsRequests that a running browser process dump its collected histograms to a given file. The file is overwritten if it exists.
--dump-domInstructs headless_shell to print document.body.innerHTML to stdout.
--eafe-pathEAFE path to use for Easy bootstrapping.
--eafe-urlEAFE URL to use for Easy bootstrapping.
--easy-unlock-app-pathOverrides the path of Easy Unlock component app.
--edge-touch-filtering[15]Tells Chrome to do edge touch filtering. Useful for convertible tablet.
--eglNo description
--elevateNo description
--embedded-extension-optionsEnables extension options to be embedded in chrome://extensions rather than a new tab.
--emphasize-titles-in-omnibox-dropdownCauses the omnibox dropdown to emphasize the titles of URL suggestions for query-like inputs.
--emulate-shader-precisionEmulate ESSL lowp and mediump float precisions by mutating the shaders to round intermediate values in ANGLE.
--enable-accelerated-2d-canvasEnable accelerated 2D canvas.
--enable-accelerated-vpx-decode[1]Enables experimental hardware acceleration for VP8/VP9 video decoding. Bitmask - 0x1=Microsoft, 0x2=AMD, 0x03=Try all.
--enable-accessibility-tab-switcher[6]Enable the accessibility tab switcher.
--enable-adaptive-selection-handle-orientation[6]Enable inverting of selection handles so that they are not clipped by the viewport boundaries.
--enable-aggressive-domstorage-flushingEnable the aggressive flushing of DOM Storage to minimize data loss.
--enable-android-wallpapers-appEnables the Android Wallpapers App as the default app on Chrome OS.
--enable-app-info-dialog-mac[7]Enable the toolkit-views App Info dialog for Mac. This is accessible from chrome://apps and chrome://extensions and is already enabled on non-mac.
--enable-app-listIf set, the app list will be enabled as if enabled from CWS.
--enable-app-window-cycling[7]Enables custom Cmd+` window cycling for platform apps and hosted apps.
--enable-appcontainerEnable or disable appcontainer/lowbox for renderer on Win8+ platforms.
--enable-arcDEPRECATED. Please use --arc-availability=officially-supported. Enables starting the ARC instance upon session start.
--enable-arc-oobe-optinEnables ARC OptIn flow in OOBE.
--enable-async-event-targetingWindowServer uses the asynchronous event targeting logic.
--enable-audio-debug-recordings-from-extensionIf the WebRTC logging private API is active, enables audio debug recordings.
--enable-audio-focus[16]Enable a internal audio focus management between tabs in such a way that two tabs can't play on top of each other. The allowed values are: "" (empty) or |kEnableAudioFocusDuckFlash|.
--enable-automationInform users that their browser is being controlled by an automated test.
--enable-background-blurIf set, the app list will have background blur.
--enable-benchmarkingTODO(asvitkine): Consider removing or renaming this functionality. Enables the benchmarking extensions.
--enable-ble-advertising-in-appsEnable BLE Advertisiing in apps.
--enable-blink-featuresEnable one or more Blink runtime-enabled features. Use names from RuntimeEnabledFeatures.json5, separated by commas. Applied before kDisableBlinkFeatures, and after other flags that change these features.
--enable-bookmark-reorderingEnables bookmark reordering.
--enable-bookmark-undoEnables the multi-level undo system for bookmarks.
--enable-browser-side-navigationPlzNavigate: Use the experimental browser-side navigation path.
--enable-browser-task-schedulerNo description
--enable-cast-receiverEnables the Cast Receiver.
--enable-checker-imagingEnables defering image decodes to the image decode service.
--enable-chromevox-arc-supportEnables native ChromeVox support for Arc.
--enable-clear-browsing-data-countersEnables data volume counters in the Clear Browsing Data dialog.
--enable-cloud-print-proxyThis applies only when the process type is "service". Enables the Cloud Print Proxy component within the service process.
--enable-cloud-print-xps[1]Fallback to XPS. By default connector uses CDD.
--enable-consumer-kioskEnables consumer kiosk mode for Chrome OS.
--enable-contextual-searchEnables Contextual Search.
--enable-crash-reporterEnable chrash reporter for headless.
--enable-crash-reporter-for-testing[17]Used for turning on Breakpad crash reporting in a debug environment where crash reporting is typically compiled but disabled.
--enable-crx-hash-checkEnable package hash check: the .crx file sha256 hash sum should be equal to the one received from update manifest.
--enable-data-reduction-proxy-bypass-warningEnable the data reduction proxy bypass warning.
--enable-data-reduction-proxy-force-pingbackEnables sending a pageload metrics pingback after every page load.
--enable-data-reduction-proxy-lite-pageEnables lite page from the data reduction proxy. This means a lite page should be requested instead of placeholders whenever Lo-Fi mode is on. Lo-fi must also be enabled via a flag or field trial.
--enable-data-reduction-proxy-savings-promoEnables a 1 MB savings promo for the data reduction proxy.
--enable-datasaver-promptEnables Data Saver prompt on cellular networks.
--enable-device-discovery-notificationsEnable device discovery notifications.
--enable-devtools-experimentsIf true devtools experimental settings are enabled.
--enable-direct-composition-layersEnables using DirectComposition layers, even if hardware overlays aren't supported.
--enable-display-list-2d-canvasEnables display list based 2d canvas implementation. Options: 1. Enable: allow browser to use display list for 2d canvas (browser makes decision). 2. Force: browser always uses display list for 2d canvas.
--enable-distance-field-textEnables using signed distance fields when rendering text. Only valid if GPU rasterization is enabled as well.
--enable-distillability-serviceNo description
--enable-dom-distillerNo description
--enable-domain-reliabilityEnables Domain Reliability Monitoring.
--enable-drive-search-in-app-launcherEnable/disable drive search in chrome launcher.
--enable-drm-atomicTry to enable drm atomic. This works only with drm platform.
--enable-embedded-extension-optionsHack so that feature switch can work with about_flags. See kEnableScriptsRequireAction.
--enable-encryption-migrationEnables encryption migration for user's cryptohome to run latest Arc.
--enable-encryption-selection[9]Enables the feature of allowing the user to disable the backend via a setting.
--enable-es3-apisEnable OpenGL ES 3 APIs.
--enable-exclusive-audio[1]Use exclusive mode audio streaming for Windows Vista and higher. Leads to lower latencies for audio streams which uses the AudioParameters::AUDIO_PCM_LOW_LATENCY audio path. See http://msdn.microsoft.com/en-us/library/windows/desktop/dd370844.aspx for details.
--enable-experimental-accessibility-featuresShows additional checkboxes in Settings to enable Chrome OS accessibility features that haven't launched yet.
--enable-experimental-canvas-featuresEnable experimental canvas features, e.g. canvas 2D context attributes
--enable-experimental-extension-apisEnables extension APIs that are in development.
--enable-experimental-fullscreen-exit-uiEnables an experimental full screen exit UI to allow exiting fullscreen from mouse or touch.
--enable-experimental-input-view-featuresNo description
--enable-experimental-web-platform-featuresEnables Web Platform features that are in development.
--enable-extension-activity-log-testingNo description
--enable-extension-activity-loggingEnables logging for extension activity.
--enable-extension-assets-sharingEnables sharing assets for installed default apps.
--enable-fast-unloadEnable the fast unload controller, which speeds up tab/window close by running a tab's onunload js handler independently of the GUI - crbug.com/142458 .
--enable-featuresLists separated by commas the name of features to disable. See base::FeatureList::InitializeFromCommandLine for details.
--enable-file-manager-touch-modeNo description
--enable-first-run-ui-transitionsEnables animated transitions during first-run tutorial.
--enable-floating-virtual-keyboardNo description
--enable-font-antialiasingEnable font antialiasing for pixel tests.
--enable-fullscreen-app-listIf set, fullscreen app list will be enabled as if the feature flag was set.
--enable-fullscreen-tab-detaching[7]Enables tab detaching in fullscreen mode on Mac.
--enable-fullscreen-toolbar-reveal[7]Enables the fullscreen toolbar to reveal itself for tab strip changes.
--enable-google-branded-context-menu[18]Shows a Google icon next to context menu items powered by Google services.
--enable-gpu-async-worker-contextMakes the GL worker context run asynchronously by using a separate stream.
--enable-gpu-benchmarkingEnables the GPU benchmarking extension
--enable-gpu-client-loggingEnable GPU client logging.
--enable-gpu-client-tracingEnables TRACE for GL calls in the renderer.
--enable-gpu-command-loggingTurn on Logging GPU commands.
--enable-gpu-debuggingTurn on Calling GL Error after every command.
--enable-gpu-driver-debug-loggingEnable logging of GPU driver debug messages.
--enable-gpu-memory-buffer-compositor-resourcesSpecify that all compositor resources should be backed by GPU memory buffers.
--enable-gpu-memory-buffer-video-framesEnable GpuMemoryBuffer backed VideoFrames.
--enable-gpu-rasterizationAllow heuristics to determine when a layer tile should be drawn with the Skia GPU backend. Only valid with GPU accelerated compositing + impl-side painting.
--enable-gpu-service-loggingTurns on GPU logging (debug build only).
--enable-gpu-service-tracingTurns on calling TRACE for every GL call.
--enable-hardware-overlaysEnable compositing individual elements via hardware overlays when permitted by device. Setting the flag to "single-fullscreen" will try to promote a single fullscreen overlay and use it as main framebuffer where possible.
--enable-harfbuzz-rendertext[7]Enables the HarfBuzz port of RenderText on Mac (it's already used only for text editing; this enables it for everything else).
--enable-heap-profilingMakes memory allocators keep track of their allocations and context, so a detailed breakdown of memory usage can be presented in chrome://tracing when the memory-infra category is enabled.
--enable-hosted-app-quit-notification[7]Shows a notification when quitting Chrome with hosted apps running. Default behavior is to also quit all hosted apps.
--enable-hosted-apps-in-windows[7]Allows hosted apps to be opened in windows on Mac.
--enable-hotword-hardwareEnables experimental hotword features specific to always-on.
--enable-hung-renderer-infobar[6]Enables a hung renderer InfoBar allowing the user to close or wait on unresponsive web content.
--enable-inband-text-tracksEnables support for inband text tracks in media content.
--enable-internal-media-session[19]Turns on the internal media session backend. This should be used by embedders that want to control the media playback with the media session interfaces.
--enable-ios-handoff-to-other-devicesEnables support for Handoff from Chrome on iOS to the default browser of other Apple devices.
--enable-ios-physical-webEnables Physical Web scanning for nearby URLs.
--enable-layer-listsSwitches cc machinery to use layer lists instead of layer trees
--enable-lcd-textEnables LCD text.
--enable-leak-detectionEnables the leak detection of loading webpages. This allows us to check whether or not reloading a webpage releases web-related objects correctly.
--enable-local-file-accessesEnable file accesses. It should not be enabled for most Cast devices.
--enable-local-sync-backendEnabled the local sync backend implemented by the LoopbackServer.
--enable-lock-screen-appsEnables action handler apps (e.g. creating new notes) on lock screen.
--enable-loggingControls whether console logging is enabled and optionally configures where it's routed.
--enable-longpress-drag-selection[6]Enable drag manipulation of longpress-triggered text selections.
--enable-low-end-device-modeForce low-end device mode when set.
--enable-low-res-tilingWhen using CPU rasterizing generate low resolution tiling. Low res tiles may be displayed during fast scrolls especially on slower devices.
--enable-mac-views-native-app-windows[7]Enables use of toolkit-views based native app windows.
--enable-main-frame-before-activationEnables sending the next BeginMainFrame before the previous commit activates.
--enable-md-feedbackEnables the Material Design feedback form.
--enable-media-suspendSuspend media pipeline on background tabs.
--enable-merge-key-char-events[1]Enables merging the key event (WM_KEY*) with the char event (WM_CHAR).
--enable-message-center-always-scroll-up-upon-notification-removalEnables message center to always move other notifications upwards when a notification is removed, no matter whether the message center is displayed top down or not.
--enable-naclRuns the Native Client inside the renderer process and enables GPU plugin (internally adds lEnableGpuPlugin to the command line).
--enable-nacl-debugEnables debugging via RSP over a socket.
--enable-nacl-nonsfi-modeEnables Non-SFI mode, in which programs can be run without NaCl's SFI sandbox.
--enable-native-gpu-memory-buffersEnable native GPU memory buffer support when available.
--enable-natural-scroll-defaultEnables natural scroll by default.
--enable-navigation-tracingEnables tracing for each navigation. It will attempt to trace each navigation for 10s, until the buffer is full, or until the next navigation. It only works if a URL was provided by --trace-upload-url.
--enable-net-benchmarkingEnables the network-related benchmarking extensions.
--enable-network-information-downlink-maxEnables the type, downlinkMax attributes of the NetInfo API. Also, enables triggering of change attribute of the NetInfo API when there is a change in the connection type.
--enable-network-portal-notificationEnables notifications about captive portals in session.
--enable-ntp-most-likely-favicons-from-serverEnables the new Google favicon server for fetching favicons for Most Likely tiles on the New Tab Page.
--enable-ntp-popular-sitesEnables showing popular sites on the NTP.
--enable-ntp-search-engine-country-detectionEnables using the default search engine country to show country specific popular sites on the NTP.
--enable-offer-store-unmasked-wallet-cardsForce showing the local save checkbox in the autofill dialog box for getting the full credit card number for a wallet card.
--enable-offer-upload-credit-cardsEnables offering to upload credit cards.
--enable-offline-auto-reloadEnable auto-reload of error pages if offline.
--enable-offline-auto-reload-visible-onlyOnly auto-reload error pages when the tab is visible.
--enable-osk-overscroll[6]Enables overscrolling for the OSK on Android.
--enable-override-bookmarks-uiEnables extensions to hide bookmarks UI elements.
--enable-partial-rasterEnable partial raster in the renderer.
--enable-password-generationEnables password generation when we detect that the user is going through account creation.
--enable-pepper-testingEnables the testing interface for PPAPI.
--enable-permission-action-reportingEnables permission action reporting to Safe Browsing servers for opted in users.
--enable-physical-keyboard-autocorrectEnables suggestions while typing on a physical keyboard.
--enable-picture-in-pictureEnables the picture in picture feature for videos.
--enable-pinchEnables compositor-accelerated touch-screen pinch gestures.
--enable-pixel-canvas-recordingIf enabled, all draw commands recorded on canvas are done in pixel aligned measurements. This also enables scaling of all elements in views and layers to be done via corner points. See https://goo.gl/Dqig5s
--enable-pixel-output-in-testsForces tests to produce pixel output when they normally wouldn't.
--enable-plugin-placeholder-testingEnables testing features of the Plugin Placeholder. For internal use only.
--enable-potentially-annoying-security-featuresEnables a number of potentially annoying security features (strict mixed content mode, powerful feature restrictions, etc.)
--enable-power-overlayEnables the Power overlay in Settings.
--enable-precise-memory-infoMake the values returned to window.performance.memory more granular and more up to date in shared worker. Without this flag, the memory information is still available, but it is bucketized and updated less frequently. This flag also applys to workers.
--enable-prefer-compositing-to-lcd-textEnable the creation of compositing layers when it would prevent LCD text.
--enable-print-browserEnables PrintBrowser mode, in which everything renders as though printed.
--enable-print-preview-register-promosEnables showing unregistered printers in print preview
--enable-profile-shortcut-manager[1]Force-enables the profile shortcut manager. This is needed for tests since they use a custom-user-data-dir which disables this.
--enable-profilingEnables tracking of tasks in profiler for viewing via about:profiler. To predominantly disable tracking (profiling), use the command line switch: --enable-profiling=0 Some tracking will still take place at startup, but it will be turned off during chrome_browser_main.
--enable-push-api-background-modeEnable background mode for the Push API.
--enable-reader-mode-toolbar-iconEnables context-sensitive reader mode button in the toolbar.
--enable-request-tablet-siteEnables request of tablet site (via user agent override).
--enable-rgba-4444-texturesEnables RGBA_4444 textures.
--enable-sandboxEnables the sandbox on this process.
--enable-sandbox-loggingCause the OS X sandbox write to syslog every time an access to a resource is denied by the sandbox.
--enable-screenshot-testing-with-modeEnables using screenshots in tests and seets mode.
--enable-scripts-require-actionFeatureSwitch and about_flags don't play nice. Feature switch expects either --enable-<feature> or --<feature>=1, but about_flags expects the command line argument to enable it (or a selection). Hack this in, so enabling it in about_flags enables the feature. Appending this flag has the same effect as --scripts-require-action=1.
--enable-scroll-predictionEnable scroll prediction for scroll update events.
--enable-service-manager-tracingEnable the tracing service.
--enable-sgi-video-syncEnable use of the SGI_video_sync extension, which can have driver/sandbox/window manager compatibility issues.
--enable-signin-promoEnables sign-in promo.
--enable-single-click-autofillEnables/disables suggestions without typing anything (on first click).
--enable-site-settingsEnables the site settings all sites list and site details pages in the Chrome settings UI.
--enable-skia-benchmarkingEnables the Skia benchmarking extension
--enable-slim-navigation-managerEnables the WKBackForwardList based navigation manager experiment.
--enable-slimming-paint-invalidationEnables paint invalidation based on slimming paint but without the full slimming paint v2 compositing code. See: https://goo.gl/eQczQW
--enable-slimming-paint-v2Enables slimming paint phase 2: http://www.chromium.org/blink/slimming-paint
--enable-smooth-scrollingOn platforms that support it, enables smooth scroll animation.
--enable-spatial-navigationEnable spatial navigation
--enable-spdy-proxy-authEnable the data reduction proxy.
--enable-speech-dispatcher[20]Allows sending text-to-speech requests to speech-dispatcher, a common Linux speech service. Because it's buggy, the user must explicitly enable it so that visiting a random webpage can't cause instability.
--enable-spelling-feedback-field-trial[21]Enables participation in the field trial for user feedback to spelling service.
--enable-spotlight-actionsEnables the Spotlight actions.
--enable-stats-collection-bindingsSpecifies if the |StatsCollectionController| needs to be bound in the renderer. This binding happens on per-frame basis and hence can potentially be a performance bottleneck. One should only enable it when running a test that needs to access the provided statistics.
--enable-stats-tableEnables StatsTable, logging statistics to a global named shared memory table.
--enable-strict-mixed-content-checkingBlocks all insecure requests from secure contexts, and prevents the user from overriding that decision.
--enable-strict-powerful-feature-restrictionsBlocks insecure usage of a number of powerful features (device orientation, for example) that we haven't yet deprecated for the web at large.
--enable-suggestions-uiEnables the Suggestions UI
--enable-suggestions-with-substring-matchEnables suggestions with substring matching instead of prefix matching.
--enable-supervised-user-managed-bookmarks-folderEnables the supervised user managed bookmarks folder.
--enable-surface-synchronizationEnables multi-client Surface synchronization. In practice, this indicates that LayerTreeHost expects to be given a valid viz::LocalSurfaceId provided by the parent compositor.
--enable-swap-buffers-with-boundsEnables SwapBuffersWithBounds if it is supported.
--enable-sync-app-listEnable/disable syncing of the app list independent of extensions.
--enable-sync-articlesNo description
--enable-tab-audio-mutingEnables user control over muting tab audio from the tab strip.
--enable-tablet-splitviewEnables the split view on tablet mode.
--enable-tcp-fastopenEnable use of experimental TCP sockets API for sending data in the SYN packet.
--enable-third-party-keyboard-workaroundEnables the 3rd party keyboard omnibox workaround.
--enable-threaded-compositingEnabled threaded compositing for layout tests.
--enable-threaded-texture-mailboxesSimulates shared textures when share groups are not available. Not available everywhere.
--enable-tile-compressionCompress tile textures for GPUs supporting it.
--enable-touch-calibration-settingEnables the touch calibration option in MD settings UI for valid touch displays.
--enable-touch-drag-dropEnables touch event based drag and drop.
--enable-touchpad-three-finger-clickEnables touchpad three-finger-click as middle button.
--enable-touchviewEnables the observation of accelerometer events to enter touch-view mode.
--enable-trace-app-sourcePass launch source to platform apps.
--enable-tracingEnable tracing during the execution of browser tests.
--enable-tracing-outputThe filename to write the output of the test tracing to.
--enable-translate-new-ux[7]Enables Translate experimental new UX which replaces the infobar.
--enable-ui-devtoolsEnables DevTools server for UI (mus, ash, etc). Value should be the port the server is started on. Default port is 9332.
--enable-use-zoom-for-dsfEnable the mode that uses zooming to implment device scale factor behavior.
--enable-user-metrics[7]Enable user metrics from within the installer.
--enable-usermedia-screen-capturingEnable screen capturing support for MediaStream API.
--enable-video-player-chromecast-supportEnables the chromecast support for video player app.
--enable-viewportEnables the use of the @viewport CSS rule, which allows pages to control aspects of their own layout. This also turns on touch-screen pinch gestures.
--enable-virtual-keyboardNo description
--enable-voice-interactionEnables the VoiceInteraction support.
--enable-vtune-supportEnable the Vtune profiler support.
--enable-vulkanEnable Vulkan support, must also have ENABLE_VULKAN defined.
--enable-wayland-server[22]Enables Wayland display server support.
--enable-web-notification-custom-layoutsEnables Web Notification custom layouts.
--enable-webfonts-intervention-triggerEnable WebFonts intervention and trigger the signal always.
--enable-webfonts-intervention-v2WebFonts intervention v2 flag and values.
--enable-webgl-draft-extensionsEnables WebGL extensions not yet approved by the community.
--enable-webgl-image-chromiumEnables WebGL rendering into a scanout buffer for overlay support.
--enable-webrtc-event-logging-from-extensionIf the WebRTC logging private API is active, enables WebRTC event logging.
--enable-webrtc-srtp-aes-gcm[13]Enables negotiation of GCM cipher suites from RFC 7714 for SRTP in WebRTC. See https://tools.ietf.org/html/rfc7714 for further information.
--enable-webrtc-stun-origin[13]Enables Origin header in Stun messages for WebRTC.
--enable-webview-variationsNo description
--enable-webvrEnables interaction with virtual reality devices.
--enable-wifi-credential-syncEnables synchronizing WiFi credentials across devices, using Chrome Sync.
--enable-win7-webrtc-hw-h264-decoding[1]Enables H264 HW decode acceleration for WebRtc on Win 7.
--enable-zero-copyEnable rasterizer that writes directly to GPU memory associated with tiles.
--enable-zip-archiver-on-file-managerEnables zip archiver.
--enabledenabled: touch events always enabled.
--enabled-2gNo description
--enabled-3gNo description
--enabled-new-style-notificationFlag to enable or disable new-style notification. This flag will be removed once the feature gets stable.
--enabled-slow2gNo description
--encode-binaryEncode binary layout test results (images, audio) using base64.
--enforceNo description
--enforce-gl-minimumsEnforce GL minimums.
--enforce-webrtc-ip-permission-check[13]Enforce IP Permission check. TODO(guoweis): Remove this once the feature is not under finch and becomes the default.
--enforce_strictNo description
--enterprise-disable-arcDisables ARC for managed accounts.
--enterprise-enable-forced-re-enrollmentWhether to enable forced enterprise re-enrollment.
--enterprise-enable-license-type-selectionEnables license type selection by user during enrollment.
--enterprise-enable-zero-touch-enrollmentEnables the zero-touch enterprise enrollment flow.
--enterprise-enrollment-initial-modulusPower of the power-of-2 initial modulus that will be used by the auto-enrollment client. E.g. "4" means the modulus will be 2^4 = 16.
--enterprise-enrollment-modulus-limitPower of the power-of-2 maximum modulus that will be used by the auto-enrollment client.
--error-consoleAllows the ErrorConsole to collect runtime and manifest errors, and display them in the chrome:extensions page.
--evaluate-typeNo description
--evaluate_capabilityNo description
--experimentNo description
--explicitly-allowed-portsExplicitly allows additional ports using a comma-separated list of port numbers.
--expose-internals-for-testingExposes the window.internals object to JavaScript for interactive development and debugging of layout tests that rely on it.
--extension-content-verificationName of the command line flag to force content verification to be on in one of various modes.
--extension-processMarks a renderer as extension process.
--extensions-install-verificationTurns on extension install verification if it would not otherwise have been turned on.
--extensions-multi-accountEnables multiple account versions of chrome.identity APIs.
--extensions-not-webstoreSpecifies a comma-separated list of extension ids that should be forced to be treated as not from the webstore when doing install verification.
--extensions-on-chrome-urlsEnables extensions running scripts on chrome:// URLs. Extensions still need to explicitly request access to chrome:// URLs in the manifest.
--extensions-update-frequencyFrequency in seconds for Extensions auto-update.
--extra-search-query-paramsAdditional query params to insert in the search and instant URLs. Useful for testing.
--fake-variations-channelFakes the channel of the browser for purposes of Variations filtering. This is to be used for testing only. Possible values are "stable", "beta", "dev" and "canary". Note that this only applies if the browser's reported channel is UNKNOWN.
--falseValue indicating whether flag from command line switch is false.
--fastDefines that Material Design visual feedback animations should be fast.
--fast-startIf this flag is present then this command line is being delegated to an already running chrome process via the fast path, ie: before chrome.dll is loaded. It is useful to tell the difference for tracking purposes.
--feedback-serverAlternative feedback server to use when submitting user feedback
--field-trial-handleHandle to the shared memory segment containing field trial state that is to be shared between processes. The argument to this switch is the handle id (pointer on Windows) as a string, followed by a comma, then the size of the shared memory segment as a string.
--first-exec-after-bootPassed to Chrome the first time that it's run after the system boots. Not passed on restart after sign out.
--flag-switches-beginThese two flags are added around the switches about:flags adds to the command line. This is useful to see which switches were added by about:flags on about:version. They don't have any effect.
--flag-switches-endNo description
--font-cache-shared-handle[1]DirectWrite FontCache is shared by browser to renderers using shared memory. This switch allows us to pass the shared memory handle to the renderer.
--force-android-app-modeForces Android application mode. This hides certain system UI elements and forces the app to be installed if it hasn't been already.
--force-app-modeForces application mode. This hides certain system UI elements and forces the app to be installed if it hasn't been already.
--force-clamshell-power-buttonForces non-tablet-style power button behavior even if the device has a convertible form factor.
--force-color-profileForce all monitors to be treated as though they have the specified color profile. Accepted values are "srgb" and "generic-rgb" (currently used by Mac layout tests) and "color-spin-gamma24" (used by layout tests).
--force-desktop-ios-promotionForces Desktop to iOS promotion to appear in windows whenever an entrypoint is triggered.
--force-dev-mode-highlightingWhether to force developer mode extensions highlighting.
--force-device-scale-factorOverrides the device scale factor for the browser UI and the contents.
--force-display-list-2d-canvasNo description
--force-effective-connection-typeForces Network Quality Estimator (NQE) to return a specific effective connection type.
--force-enable-metrics-reportingForces metrics reporting to be enabled.
--force-enable-stylus-toolsEnables the stylus tools next to the status area.
--force-fieldtrial-paramsThis option can be used to force parameters of field trials when testing changes locally. The argument is a param list of (key, value) pairs prefixed by an associated (trial, group) pair. You specify the param list for multiple (trial, group) pairs with a comma separator. Example: "Trial1.Group1:k1/v1/k2/v2,Trial2.Group2:k3/v3/k4/v4" Trial names, groups names, parameter names, and value should all be URL escaped for all non-alphanumeric characters.
--force-fieldtrialsThis option can be used to force field trials when testing changes locally. The argument is a list of name and value pairs, separated by slashes. If a trial name is prefixed with an asterisk, that trial will start activated. For example, the following argument defines two trials, with the second one activated: "GoogleNow/Enable/*MaterialDesignNTP/Default/" This option can also be used by the browser process to send the list of trials to a non-browser process, using the same format. See FieldTrialList::CreateTrialsFromString() in field_trial.h for details.
--force-first-runDisplays the First Run experience when the browser is started, regardless of whether or not it's actually the First Run (this overrides kNoFirstRun).
--force-first-run-uiForces first-run UI to be shown for every login.
--force-gpu-mem-available-mbSets the total amount of memory that may be allocated for GPU resources
--force-gpu-rasterizationAlways use the Skia GPU backend for drawing layer tiles. Only valid with GPU accelerated compositing + impl-side painting. Overrides the kEnableGpuRasterization flag.
--force-happiness-tracking-systemForce enables the Happiness Tracking System for the device. This ignores user profile check and time limits and shows the notification every time for any type of user. Should be used only for testing.
--force-load-easy-unlock-app-in-testsForce easy unlock app loading in test. TODO(xiyuan): Remove this when app could be bundled with Chrome.
--force-local-ntpForces Chrome to use localNTP instead of server (GWS) NTP.
--force-login-manager-in-testsUsually in browser tests the usual login manager bringup is skipped so that tests can change how it's brought up. This flag disables that.
--force-mediafoundation[1]Force the use of MediaFoundation for video capture. This is only supported in Windows 7 and above. Used, like |kForceDirectShowVideoCapture|, to troubleshoot problems in Windows platforms.
--force-overlay-fullscreen-videoForces use of hardware overlay for fullscreen video playback. Useful for testing the Android overlay fullscreen functionality on other platforms.
--force-password-reauthEnables forcing the user to reauth with their password after X hours (e.g. 20) without password entry.
--force-pnacl-subzeroForce use of the Subzero as the PNaCl translator instead of LLC.
--force-presentation-receiver-for-testingThis forces pages to be loaded as presentation receivers. Useful for testing behavior specific to presentation receivers. Spec: https://www.w3.org/TR/presentation-api/#interface-presentationreceiver
--force-renderer-accessibilityForce renderer accessibility to be on instead of enabling it on demand when a screen reader is detected. The disable-renderer-accessibility switch overrides this if present.
--force-show-update-menu-badge[6]Forces the update menu badge to show.
--force-show-update-menu-item[6]Forces the update menu item to show.
--force-system-compositor-modeForce system compositor mode when set.
--force-tablet-modeEnables required things for the selected UI mode, regardless of whether the Chromebook is currently in the selected UI mode.
--force-text-directionForce the text rendering to a specific direction. Valid values are "ltr" (left-to-right) and "rtl" (right-to-left). Only tested meaningfully with RTL.
--force-ui-directionForce the UI to a specific direction. Valid values are "ltr" (left-to-right) and "rtl" (right-to-left).
--force-variation-idsForces additional Chrome Variation Ids that will be sent in X-Client-Data header, specified as a 64-bit encoded list of numeric experiment ids. Ids prefixed with the character "t" will be treated as Trigger Variation Ids.
--force-video-overlaysForce media player using SurfaceView instead of SurfaceTexture on Android.
--force-wave-audio[1]Use Windows WaveOut/In audio API even if Core Audio is supported.
--force-webrtc-ip-handling-policy[13]Override WebRTC IP handling policy to mimic the behavior when WebRTC IP handling policy is specified in Preferences.
--full-memory-crash-reportGenerates full memory crash dump.
--gaia-urlNo description
--gcm-checkin-urlSets the checkin service endpoint that will be used for performing Google Cloud Messaging checkins.
--gcm-mcs-endpointSets the Mobile Connection Server endpoint that will be used for Google Cloud Messaging.
--gcm-registration-urlSets the registration endpoint that will be used for creating new Google Cloud Messaging registrations.
--generate-accessibility-test-expectationsFor development / testing only. When running content_browsertests, saves output of failing accessibility tests to their expectations files in content/test/data/accessibility/, overwriting existing file content.
--glNo description
--gl-composited-overlay-candidate-quad-borderTODO(dcastagna): Draw debug quad borders only when it is actually an overlay candidate. Renders a border around GL composited overlay candidate quads to help debug and study overlay support.
--gl-shader-interm-outputInclude ANGLE's intermediate representation (AST) output in shader compilation info logs.
--glesNo description
--golden-screenshots-dirScreenshot testing: specifies the directory where the golden screenshots are stored.
--google-apis-urlNo description
--google-base-urlSpecifies an alternate URL to use for speaking to Google. Useful for testing.
--google-doodle-urlOverrides the URL used to fetch the current Google Doodle. Example: https://www.google.com/async/ddljson
--google-urlNo description
--gpu-active-device-idPasses active gpu device id from browser process to GPU process.
--gpu-active-vendor-idPasses active gpu vendor id from browser process to GPU process.
--gpu-device-idPasses gpu device_id from browser process to GPU process.
--gpu-driver-bug-workaroundsPass a set of GpuDriverBugWorkaroundType ids, seperated by ','.
--gpu-driver-datePasses gpu driver_date from browser process to GPU process.
--gpu-driver-vendorPasses gpu driver_vendor from browser process to GPU process.
--gpu-driver-versionPasses gpu driver_version from browser process to GPU process.
--gpu-launcherExtra command line options for launching the GPU process (normally used for debugging). Use like renderer-cmd-prefix.
--gpu-no-complete-info-collectionTesting switch to not launch the gpu process for full gpu info collection.
--gpu-no-context-lostInform Chrome that a GPU context will not be lost in power saving mode, screen saving mode, etc. Note that this flag does not ensure that a GPU context will never be lost in any situations, say, a GPU reset.
--gpu-processMakes this process a GPU sub-process.
--gpu-program-cache-size-kbSets the maximum size of the in-memory gpu program cache, in kb
--gpu-rasterization-msaa-sample-countThe number of multisample antialiasing samples for GPU rasterization. Requires MSAA support on GPU to have an effect. 0 disables MSAA.
--gpu-sandbox-allow-sysv-shmAllows shmat() system call in the GPU sandbox.
--gpu-sandbox-failures-fatalMakes GPU sandbox failures fatal.
--gpu-sandbox-start-earlyStarts the GPU sandbox before creating a GL context.
--gpu-secondary-device-idsPasses secondary gpu device ids from browser process to GPU process.
--gpu-secondary-vendor-idsPasses secondary gpu vendor ids from browser process to GPU process.
--gpu-startup-dialogCauses the GPU process to display a dialog on launch.
--gpu-testing-device-idOverride gpu device id from the GpuInfoCollector.
--gpu-testing-driver-dateOverride gpu driver date from the GpuInfoCollector.
--gpu-testing-gl-rendererOverride gl renderer from the GpuInfoCollector.
--gpu-testing-gl-vendorOverride gl vendor from the GpuInfoCollector.
--gpu-testing-gl-versionOverride gl version from the GpuInfoCollector.
--gpu-testing-os-versionOverride os version from GpuControlList::MakeDecision.
--gpu-testing-secondary-device-idsOverride secondary gpu device ids from the GpuInfoCollector.
--gpu-testing-secondary-vendor-idsOverride secondary gpu vendor ids from the GpuInfoCollector.
--gpu-testing-vendor-idOverride gpu vendor id from the GpuInfoCollector.
--gpu-vendor-idPasses gpu vendor_id from browser process to GPU process.
--guest-wallpaper-largeLarge wallpaper to use in guest mode (as path to trusted, non-user-writable JPEG file).
--guest-wallpaper-smallSmall wallpaper to use in guest mode (as path to trusted, non-user-writable JPEG file).
--h[9]No description
--has-chromeos-diamond-keyIf true, the Chromebook has a keyboard with a diamond key.
--has-chromeos-keyboardIf set, the system is a Chromebook with a "standard Chrome OS keyboard", which generally means one with a Search key in the standard Caps Lock location above the Left Shift key. It should be unset for Chromebooks with both Search and Caps Lock keys (e.g. stout) and for devices like Chromeboxes that only use external keyboards.
--has-internal-stylusWhether this device has an internal stylus.
--headlessRun in headless mode, i.e., without a UI or display server dependencies.
--helpNo description
--hideHide value for kCrosRegionsMode (VPD values are hidden).
--hide-icons[1]Makes Windows happy by allowing it to show "Enable access to this program" checkbox in Add/Remove Programs->Set Program Access and Defaults. This only shows an error box because the only way to hide Chrome is by uninstalling it.
--hide-scrollbarsHide scrollbars from screenshots.
--history-entry-requires-user-gestureDon't allow content to arbitrarily append to the back/forward list. The page must prcoess a user gesture before an entry can be added.
--homedirDefines user homedir. This defaults to primary user homedir.
--homepageSpecifies which page will be displayed in newly-opened tabs. We need this for testing purposes so that the UI tests don't depend on what comes up for http://google.com.
--hostNo description
--host-pairing-oobeWith this switch, start remora OOBE with the pairing screen.
--host-resolver-rulesThese mappings only apply to the host resolver.
--icu-data-dirThe path where ICU initialization data can be found. If not provided, the service binary's directory is assumed.
--ignore-autocomplete-off-autofillIgnores autocomplete="off" for Autofill data (profiles + credit cards).
--ignore-autoplay-restrictionsIgnores all autoplay restrictions. It will ignore the current autoplay policy and all restrictions such as playback in a background tab. It should only be enabled for testing.
--ignore-certificate-errorsIgnores certificate-related errors.
--ignore-certificate-errors-spki-listA set of public key hashes for which to ignore certificate-related errors. If the certificate chain presented by the server does not validate, and one or more certificates have public key hashes that match a key from this list, the error is ignored. The switch value must a be a comma-separated list of Base64-encoded SHA-256 SPKI Fingerprints (RFC 7469, Section 2.4). This switch has no effect unless --user-data-dir (as defined by the content embedder) is also present.
--ignore-gpu-blacklistIgnores GPU blacklist.
--ignore-urlfetcher-cert-requestsCauses net::URLFetchers to ignore requests for SSL client certificates, causing them to attempt an unauthenticated SSL/TLS session. This is intended for use when testing various service URLs (eg: kPromoServerURL, kSbURLPrefix, kSyncServiceURL, etc).
--ignore-user-profile-mapping-for-testsIf true, profile selection in UserManager will always return active user's profile. TODO(nkostlyev): http://crbug.com/364604 - Get rid of this switch after we turn on multi-profile feature on ChromeOS.
--in-process-gpuRun the GPU process as a thread in the browser process.
--incognitoCauses the browser to launch directly in incognito mode.
--inputNo description
--install-chrome-appCauses Chrome to initiate an installation flow for the given app.
--install-supervised-user-whitelistsA list of whitelists to install for a supervised user, for testing. The list is of the following form: <id>[:<name>],[<id>[:<name>],...]
--instant-processMarks a renderer as an Instant process.
--invalidation-use-gcm-channelInvalidation service should use GCM network channel even if experiment is not enabled.
--ipc-connection-timeoutOverrides the timeout, in seconds, that a child process waits for a connection from the browser before killing itself.
--ipc-dump-directory[23]Dumps IPC messages sent from renderer processes to the browser process to the given directory. Used primarily to gather samples for IPC fuzzing.
--ipc-fuzzer-testcase[23]Specifies the testcase used by the IPC fuzzer.
--is-running-in-mashChrome is running in Mash.
--isolate-originsRequire dedicated processes for a set of origins, specified as a comma-separated list. For example: --isolate-origins=https://www.foo.com,https://www.bar.com
--isolate-sites-for-testingEnable site isolation (--site-per-process style isolation) for a subset of sites. The argument is a wildcard pattern which will be matched against the site URL to determine which sites to isolate. This can be used to isolate just one top-level domain, or just one scheme. Example usages: --isolate-sites-for-testing=*.com --isolate-sites-for-testing=https://*
--javascript-harmonyEnables experimental Harmony (ECMAScript 6) features.
--js-flagsSpecifies the flags passed to JS engine
--keep-alive-for-testUsed for testing - keeps browser alive after last browser window closes.
--kioskEnable kiosk mode. Please note this is not Chrome OS kiosk mode.
--kiosk-printingEnable automatically pressing the print button in print preview.
--langThe language file that we want to try to open. Of the form language[-country] where language is the 2 letter code from ISO-639.
--last-launched-appPass the app id information to the renderer process, to be used for logging. last-launched-app should be the app that just launched and is spawning the renderer.
--layerNo description
--light_mutedNo description
--light_vibrantNo description
--limit-fpsLimits the compositor to output a certain number of frames per second, maximum.
--load-and-launch-appLoads an app from the specified directory and launches it.
--load-appsComma-separated list of paths to apps to load at startup. The first app in the list will be launched.
--load-extensionComma-separated list of paths to extensions to load at startup.
--load-media-router-component-extensionLoads the Media Router component extension on startup.
--local-heuristics-only-for-password-generationRemoves the requirement that we recieved a ping from the autofill servers and that the user doesn't have the given form blacklisted. Used in testing.
--local-ntp-reload[24]Enables a live-reload for local NTP resources. This only works when Chrome is running from a Chrome source directory.
--local-sync-backend-dirSpecifies the local sync backend directory. The name is chosen to mimic user-data-dir etc. This flag only matters if the enable-local-sync-backend flag is present.
--log-gpu-control-list-decisionsLogs GPU control list decisions when enforcing blacklist rules.
--log-levelSets the minimum log level. Valid values are from 0 to 3: INFO = 0, WARNING = 1, LOG_ERROR = 2, LOG_FATAL = 3.
--log-net-logEnables saving net log events to a file and sets the file name to use.
--login-managerEnables Chrome-as-a-login-manager behavior.
--login-profileSpecifies the profile to use once a chromeos user is logged in. This parameter is ignored if user goes through login screen since user_id hash defines which profile directory to use. In case of browser restart within active session this parameter is used to pass user_id hash for primary user.
--login-userSpecifies the user which is already logged in.
--loopback-i2s-bitsUsed to pass configuration for the I2S input to enable loopback for AEC.
--loopback-i2s-bus-nameNo description
--loopback-i2s-channelsNo description
--loopback-i2s-rate-hzNo description
--lso-urlNo description
--ltrNo description
--main-frame-resizes-are-orientation-changesResizes of the main frame are caused by changing between landscape and portrait mode (i.e. Android) so the page should be rescaled to fit.
--make-chrome-default[7]Indicates whether Chrome should be set as the default browser during installation.
--make-default-browserMakes Chrome default browser
--managed-user-idSets the supervised user ID for any loaded or newly created profile to the given value. Pass an empty string to mark the profile as non-supervised. Used for testing.
--managed-user-sync-tokenUsed to authenticate requests to the Sync service for supervised users. Setting this switch also causes Sync to be set up for a supervised user.
--mark-non-secure-asUse to opt-in to marking HTTP as non-secure.
--market-url-for-testing[6]Sets the market URL for Chrome for use in testing.
--mash[25]Used to enable Mus+ash.
--materialMaterial design mode for the |kTopChromeMD| switch.
--material-design-ink-drop-animation-speedDefines the speed of Material Design visual feedback animations.
--material-hybridMaterial design hybrid mode for the |kTopChromeMD| switch. Targeted for mouse/touch hybrid devices.
--max-gum-fps[13]Override the maximum framerate as can be specified in calls to getUserMedia. This flag expects a value. Example: --max-gum-fps=17.5
--max-output-volume-dba1mCalibrated max output volume dBa for voice content at 1 meter, if known.
--max-untiled-layer-heightSets the width and height above which a composited layer will get tiled.
--max-untiled-layer-widthNo description
--media-cache-sizeForces the maximum disk space to be used by the media cache, in bytes.
--mem-pressure-system-reserved-kbSome platforms typically have very little 'free' memory, but plenty is available in buffers+cached. For such platforms, configure this amount as the portion of buffers+cached memory that should be treated as unavailable. If this switch is not used, a simple pressure heuristic based purely on free memory will be used.
--memlog[3]Enables the out-of-process memory logging.
--memory-pressure-offNo description
--memory-pressure-thresholdsThe memory pressure threshold selection which is used to decide whether and when a memory pressure event needs to get fired.
--memory-pressure-thresholds-mb[1]Sets the free memory thresholds below which the system is considered to be under moderate and critical memory pressure. Used in the browser process, and ignored if invalid. Specified as a pair of comma separated integers. See base/win/memory_pressure_monitor.cc for defaults.
--message-center-changes-while-openFlag to enable or disable notification changes while the message center opens. This flag will be removed once the feature gets stable.
--methodNo description
--metrics-client-id[7]This is how the metrics client ID is passed from the browser process to its children. With Crashpad, the metrics client ID is distinct from the crash client ID.
--metrics-recording-onlyEnables the recording of metrics reports but disables reporting. In contrast to kDisableMetrics, this executes all the code that a normal client would use for reporting, except the report is dropped rather than sent to the server. This is useful for finding issues in the metrics code during UI and performance tests.
--mhtml-generator-optionSets options for MHTML generator to skip no-store resources: "skip-nostore-main" - fails to save a page if main frame is 'no-store' "skip-nostore-all" - also skips no-store subresources.
--mirror[2]Values for the kAccountConsistency flag.
--mockNo description
--mojo-local-storageUse a Mojo-based LocalStorage implementation.
--mojo-pipe-tokenNo description
--monitoring-destination-idAllows setting a different destination ID for connection-monitoring GCM messages. Useful when running against a non-prod management server.
--mse-audio-buffer-size-limitAllows explicitly specifying MSE audio/video buffer sizes. Default values are 150M for video and 12M for audio.
--mse-video-buffer-size-limitNo description
--mus[25]Used to enable mus as a separate process, but chrome+ash still together.
--mus-config[25]This is added to child processes launched from mash or mus. The value of this switch is either kMus or kMash. For example, if chrome is run with '--mash' then the child process representing ash is launched with the switch '--mus-config=mash'.
--mute-audioMutes audio sent to the audio device so it is not audible during automated testing.
--nacl-brokerValue for --type that causes the process to run as a NativeClient broker (used for launching NaCl loader processes on 64-bit Windows).
--nacl-dangerous-no-sandbox-nonsfiDisable sandbox even for non SFI mode. This is particularly unsafe as non SFI NaCl heavily relies on the seccomp sandbox.
--nacl-debug-maskUses NaCl manifest URL to choose whether NaCl program will be debugged by debug stub. Switch value format: [!]pattern1,pattern2,...,patternN. Each pattern uses the same syntax as patterns in Chrome extension manifest. The only difference is that * scheme matches all schemes instead of matching only http and https. If the value doesn't start with !, a program will be debugged if manifest URL matches any pattern. If the value starts with !, a program will be debugged if manifest URL does not match any pattern.
--nacl-gdbNative Client GDB debugger that will be launched automatically when needed.
--nacl-gdb-scriptGDB script to pass to the nacl-gdb debugger at startup.
--nacl-loaderValue for --type that causes the process to run as a NativeClient loader for SFI mode.
--nacl-loader-nonsfiValue for --type that causes the process to run as a NativeClient loader for non SFI mode.
--nativeReport native (walk the stack) allocation traces. By default pseudo stacks derived from trace events are reported.
--native-crx-bindingsEnables the use of C++-based extension bindings (instead of JS generation).
--need-arc-migration-policy-checkIf present, the device needs to check the policy to see if the migration to ext4 for ARC is allowed. It should be present only on devices that have been initially issued with ecrypfs encryption and have ARC (N+) available. For the devices in other categories this flag must be missing.
--net-log-capture-modeSets the granularity of events to capture in the network log. The mode can be set to one of the following values: "Default" "IncludeCookiesAndCredentials" "IncludeSocketBytes" See the functions of the corresponding name in net_log_capture_mode.h for a description of their meaning.
--netifs-to-ignoreList of network interfaces to ignore. Ignored interfaces will not be used for network connectivity.
--network-country-iso[6]The telephony region (ISO country code) to use in phone number detection.
--network-settings-configEnables Settings based network config in MD Settings.
--new-windowLaunches URL in new browser window.
--no-default-browser-checkDisables the default browser check. Useful for UI/browser tests where we want to avoid having the default browser info-bar displayed.
--no-experimentsDisables all experiments set on about:flags. Does not disable about:flags itself. Useful if an experiment makes chrome crash at startup: One can start chrome with --no-experiments, disable the problematic lab at about:flags and then restart chrome without this switch again.
--no-first-runSkip First Run tasks, whether or not it's actually the First Run. Overridden by kForceFirstRun. This does not drop the First Run sentinel and thus doesn't prevent first run from occuring the next time chrome is launched without this flag.
--no-managed-user-acknowledgment-checkDisables checking whether we received an acknowledgment when registering a supervised user. Also disables the timeout during registration that waits for the ack. Useful when debugging against a server that does not support notifications.
--no-network-profile-warning[1]Whether or not the browser should warn if the profile is on a network share. This flag is only relevant for Windows currently.
--no-pingsDon't send hyperlink auditing pings
--no-proxy-serverDon't use a proxy server, always make direct connections. Overrides any other proxy server flags that are passed.
--no-referrersDon't send HTTP-Referer headers.
--no-sandboxDisables the sandbox for all process types that are normally sandboxed.
--no-service-autorunDisables the service process from adding itself as an autorun process. This does not delete existing autorun registrations, it just prevents the service from registering a new one.
--no-session-idNo description
--no-startup-windowDoes not automatically open a browser window on startup (used when launching Chrome for the purpose of hosting background apps).
--no-user-gesture-requiredAutoplay policy that does not require any user gesture.
--no-wifiDisable features that require WiFi management.
--no-zygoteDisables the use of a zygote process for forking child processes. Instead, child processes will be forked and exec'd directly. Note that --no-sandbox should also be used together with this flag because the sandbox needs the zygote to work.
--noerrdialogsSuppresses all error dialogs when present.
--non-materialClassic, non-material, mode for the |kTopChromeMD| switch.
--non-secureNo description
--non-secure-after-editingNo description
--non-secure-while-incognitoNo description
--non-secure-while-incognito-or-editingNo description
--noneNo description
--normal_mutedNo description
--normal_vibrantNo description
--note-taking-app-idsAn optional comma-separated list of IDs of apps that can be used to take notes. If unset, a hardcoded list is used instead.
--ntp-snippets-add-incompleteIf this flag is set, we will add downloaded snippets that are missing some critical data to the list.
--ntp-switch-to-existing-tab[6]Switch to an existing tab for a suggestion opened from the New Tab Page.
--nullNo description
--num-raster-threadsNumber of worker threads used to rasterize content.
--oauth2-client-idNo description
--oauth2-client-secretNo description
--offNo description
--onNo description
--oobe-bootstrapping-masterIndicates that if we should start bootstrapping Master OOBE.
--oobe-force-show-screenForces OOBE/login to force show a comma-separated list of screens from chromeos::kScreenNames in oobe_screen.cc. Supported screens are: user-image
--oobe-guest-sessionIndicates that a guest session has been started before OOBE completion.
--oobe-skip-postloginSkips all other OOBE pages after user login.
--oobe-timer-intervalInterval at which we check for total time on OOBE.
--open-ash[26]No description
--opengraphNo description
--origin-trial-disabled-featuresContains a list of feature names for which origin trial experiments should be disabled. Names should be separated by "|" characters.
--origin-trial-disabled-tokensContains a list of token signatures for which origin trial experiments should be disabled. Tokens should be separated by "|" characters.
--origin-trial-public-keyOverrides the default public key for checking origin trial tokens.
--original-process-start-timeThe time that a new chrome process which is delegating to an already running chrome process started. (See ProcessSingleton for more details.)
--osmesaNo description
--outputNo description
--overrideOverride value for kCrosRegionsMode (region's data is read first).
--override-metrics-upload-urlOverride the URL to which metrics logs are sent for debugging.
--override-plugin-power-saver-for-testingOverride the behavior of plugin throttling for testing. By default the throttler is only enabled for a hard-coded list of plugins. Set the value to 'always' to always throttle every plugin instance. Set the value to 'never' to disable throttling.
--override-use-software-gl-for-testsForces the use of software GL instead of hardware gpu.
--overscroll-history-navigationControls the behavior of history navigation in response to horizontal overscroll. Set the value to '0' to disable. Set the value to '1' to enable the behavior where pages slide in and out in response to the horizontal overscroll gesture and a screenshot of the target page is shown. Set the value to '2' to enable the simplified overscroll UI where a navigation arrow slides in from the side of the screen in response to the horizontal overscroll gesture. Defaults to '1'.
--overscroll-start-thresholdControls the value of the threshold to start horizontal overscroll relative to the default value. E.g. set the value to '133' to have the overscroll start threshold be 133% of the default threshold.
--ozone-dump-fileSpecify location for image dumps.
--ozone-platformSpecify ozone platform implementation to use.
--pack-extensionPackages an extension to a .crx installable file from a given directory.
--pack-extension-keyOptional PEM private key to use in signing packaged .crx.
--parent-profileSpecifies the path to the user data folder for the parent profile.
--parent-windowNo description
--passive-listeners-defaultOverride the default value for the 'passive' field in javascript addEventListener calls. Values are defined as: 'documentonlytrue' to set the default be true only for document level nodes. 'true' to set the default to be true on all nodes (when not specified). 'forcealltrue' to force the value on all nodes.
--password-store[9]Specifies which encryption storage backend to use. Possible values are kwallet, kwallet5, gnome, gnome-keyring, gnome-libsecret, basic. Any other value will lead to Chrome detecting the best backend automatically. TODO(crbug.com/571003): Once PasswordStore no longer uses the Keyring or KWallet for storing passwords, rename this flag to stop referencing passwords. Do not rename it sooner, though; developers and testers might rely on it keeping large amounts of testing passwords out of their Keyrings or KWallets.
--permission-request-api-scopeDevelopment flag for permission request API. This flag is needed until the API is finalized. TODO(bauerb): Remove when this flag is not needed anymore.
--permission-request-api-urlDevelopment flag for permission request API. This flag is needed until the API is finalized. TODO(bauerb): Remove when this flag is not needed anymore.
--ppapiArgument to the process type that indicates a PPAPI plugin process type.
--ppapi-antialiased-text-enabled[1]The boolean value (0/1) of FontRenderParams::antialiasing to be passed to Ppapi processes.
--ppapi-brokerArgument to the process type that indicates a PPAPI broker process type.
--ppapi-flash-argsCommand-line arguments for the PPAPI Flash; used for debugging options.
--ppapi-flash-pathUse the PPAPI (Pepper) Flash found at the given path.
--ppapi-flash-versionReport the given version for the PPAPI (Pepper) Flash. The version should be numbers separated by '.'s (e.g., "12.3.456.78"). If not specified, it defaults to "10.2.999.999".
--ppapi-in-processRuns PPAPI (Pepper) plugins in-process.
--ppapi-plugin-launcherSpecifies a command that should be used to launch the ppapi plugin process. Useful for running the plugin process through purify or quantify. Ex: --ppapi-plugin-launcher="path\to\purify /Run=yes"
--ppapi-startup-dialogCauses the PPAPI sub process to display a dialog on launch. Be sure to use --no-sandbox as well or the sandbox won't allow the dialog to display.
--ppapi-subpixel-rendering-setting[1]The enum value of FontRenderParams::subpixel_rendering to be passed to Ppapi processes.
--prerender-from-omniboxTriggers prerendering of pages from suggestions in the omnibox. Only has an effect when Instant is either disabled or restricted to search, and when prerender is enabled.
--previous-appprevious-app should be the app that was running when last-launched-app started.
--primaryNo description
--print-to-pdfSave a pdf file of the loaded page.
--privet-ipv6-onlyUse IPv6 only for privet HTTP.
--process-per-siteEnable the "Process Per Site" process model for all domains. This mode consolidates same-site pages so that they share a single process. More details here: - http://www.chromium.org/developers/design-documents/process-models - The class comment in site_instance.h, listing the supported process models. IMPORTANT: This isn't to be confused with --site-per-process (which is about isolation, not consolidation). You probably want the other one.
--process-per-tabRuns each set of script-connected tabs (i.e., a BrowsingInstance) in its own renderer process. We default to using a renderer process for each site instance (i.e., group of pages from the same registered domain with script connections to each other). TODO(creis): This flag is currently a no-op. We should refactor it to avoid "unnecessary" process swaps for cross-site navigations but still swap when needed for security (e.g., isolated origins).
--product-versionOutputs the product version information and quit. Used as an internal api to detect the installed version of Chrome on Linux.
--profile-directorySelects directory of profile to associate with the first browser launched.
--profiler-timingConfigure whether chrome://profiler will contain timing information. This option is enabled by default. A value of "0" will disable profiler timing, while all other values will enable it.
--profiling-at-startStarts the sampling based profiler for the browser process at startup. This will only work if chrome has been built with the gyp variable profiling=1. The output will go to the value of kProfilingFile.
--profiling-fileSpecifies a location for profiling output. This will only work if chrome has been built with the gyp variable profiling=1 or gn arg enable_profiling=true. {pid} if present will be replaced by the pid of the process. {count} if present will be incremented each time a profile is generated for this process. The default is chrome-profile-{pid} for the browser and test-profile-{pid} for tests.
--profiling-flushControls whether profile data is periodically flushed to a file. Normally the data gets written on exit but cases exist where chrome doesn't exit cleanly (especially when using single-process). A time in seconds can be specified.
--progress-bar-animation[6]Specifies Android phone page loading progress bar animation.
--progress-bar-completion[6]When blink should declare a load "done" for the purpose of the progress bar.
--prompt-for-external-extensions[27]Should we prompt the user before allowing external extensions to install? This flag is available on Chromium for testing purposes.
--proxy-auto-detectForces proxy auto-detection.
--proxy-bypass-listSpecifies a list of hosts for whom we bypass proxy settings and use direct connections. Ignored unless --proxy-server is also specified. This is a comma-separated list of bypass rules. See: "net/proxy/proxy_bypass_rules.h" for the format of these rules.
--proxy-pac-urlUses the pac script at the given URL
--proxy-serverUses a specified proxy server, overrides system settings. This switch only affects HTTP and HTTPS requests.
--pull-to-refreshEnables or disables pull-to-refresh gesture in response to vertical overscroll. Set the value to '1' to enable the feature, and set to '0' to disable. Defaults to disabled.
--rdp_desktop_sessionNo description
--reader-mode-feedbackNo description
--reader-mode-heuristicsNo description
--rebaseline-pixel-tests[4]Makes browser pixel tests overwrite the reference if it does not match.
--record-typeNo description
--reduce-security-for-testingEnables more web features over insecure connections. Designed to be used for testing purposes only.
--reduced-referrer-granularityReduce the default `referer` header's granularity.
--register-font-filesRegisters additional font files on Windows (for fonts outside the usual %WINDIR%\Fonts location). Multiple files can be used by separating them with a semicolon (;).
--register-pepper-pluginsRegister Pepper plugins (see pepper_plugin_list.cc for its format).
--relauncher[7]A process type (switches::kProcessType) that relaunches the browser. See chrome/browser/mac/relauncher.h.
--remote-debugging-addressUse the given address instead of the default loopback for accepting remote debugging connections. Should be used together with --remote-debugging-port. Note that the remote debugging protocol does not perform any authentication, so exposing it too widely can be a security risk.
--remote-debugging-portEnables remote debug over HTTP on the specified port.
--remote-debugging-socket-fdThe given value is the fd of a socket already opened by the parent process. This allows automation to provide a listening socket for clients to connect to before chrome is fully fired up. In particular, a parent process can open the port, exec headles chrome, and connect to the devtools port immediately. Waiting for chrome to be ready is then handled by the first read from the port, which will block until chrome is ready. No polling is needed.
--remote-debugging-socket-name[6]Enables remote debug over HTTP on the specified socket name.
--remote-debugging-targetsPorvides a list of addresses to discover DevTools remote debugging targets. The format is <host>:<port>,...,<host>:port.
--rendererCauses the process to run as renderer instead of as browser.
--renderer-client-idNo description
--renderer-cmd-prefixThe contents of this flag are prepended to the renderer command line. Useful values might be "valgrind" or "xterm -e gdb --args".
--renderer-process-limitOverrides the default/calculated limit to the number of renderer processes. Very high values for this setting can lead to high memory/resource usage or instability.
--renderer-startup-dialogCauses the renderer process to display a dialog on launch. Passing this flag also adds kNoSandbox on Windows non-official builds, since that's needed to show a dialog.
--renderer-wait-for-java-debugger[6]Block ChildProcessMain thread of the renderer's ChildProcessService until a Java debugger is attached.
--renderpassNo description
--replRuns a read-eval-print loop that allows the user to evaluate Javascript expressions.
--report-vp9-as-an-unsupported-mime-typeForce to report VP9 as an unsupported MIME type.
--require-audio-hardware-for-testingWhen running tests on a system without the required hardware or libraries, this flag will cause the tests to fail. Otherwise, they silently succeed.
--reset-app-list-install-stateIf set, the app list will forget it has been installed on startup. Note this doesn't prevent the app list from running, it just makes Chrome think the app list hasn't been enabled (as in kEnableAppList) yet.
--reset-variation-stateForces a reset of the one-time-randomized FieldTrials on this client, also known as the Chrome Variations state.
--restore-last-sessionIndicates the last session should be restored on startup. This overrides the preferences value. Note that this does not force automatic session restore following a crash, so as to prevent a crash loop. This switch is used to implement support for OS-specific "continue where you left off" functionality on OS X and Windows.
--root-layer-scrollsHandles frame scrolls via the root RenderLayer instead of the FrameView.
--rtlNo description
--run-all-compositor-stages-before-drawEffectively disables pipelining of compositor frame production stages by waiting for each stage to finish before completing a frame.
--run-layout-testRequest the render trees of pages to be dumped as text once they have finished loading.
--safebrowsing-disable-auto-updateIf present, safebrowsing only performs update when SafeBrowsingProtocolManager::ForceScheduleNextUpdate() is explicitly called. This is used for testing only.
--safebrowsing-disable-download-protectionTODO(lzheng): Remove this flag once the feature works fine (http://crbug.com/74848). Disables safebrowsing feature that checks download url and downloads content's hash to make sure the content are not malicious.
--safebrowsing-disable-extension-blacklistDisables safebrowsing feature that checks for blacklisted extensions.
--safebrowsing-manual-download-blacklistList of comma-separated sha256 hashes of executable files which the download-protection service should treat as "dangerous." For a file to show a warning, it also must be considered a dangerous filetype and not be whitelisted otherwise (by signature or URL) and must be on a supported OS. Hashes are in hex. This is used for manual testing when looking for ways to by-pass download protection.
--SafeSitesNo description
--sandbox-ipcCauses the process to run as a sandbox IPC subprocess.
--save-page-as-mhtmlDisable saving pages as HTML-only, disable saving pages as HTML Complete (with a directory of sub-resources). Enable only saving pages as MHTML. See http://crbug.com/120416 for how to remove this switch.
--screen-configSpecifies the initial screen configuration, or state of all displays, for FakeDisplayDelegate, see class for format details.
--screenshotSave a screenshot of the loaded page.
--scripts-require-actionNotify the user and require consent for extensions running scripts. Appending --scripts-require-action=1 has the same effect as --enable-scripts-require-action (see below).
--search-provider-logo-urlUse a static URL for the logo of the default search engine. Example: https://www.google.com/branding/logo.png
--secondaryNo description
--secondary-display-layoutSpecifies the layout mode and offsets for the secondary display for testing. The format is "<t|r|b|l>,<offset>" where t=TOP, r=RIGHT, b=BOTTOM and L=LEFT. For example, 'r,-100' means the secondary display is positioned on the right with -100 offset. (above than primary)
--secondary-ui-mdApplies the material design mode passed via --top-chrome-md to elements throughout Chrome (not just top Chrome).
--serviceThe process type value which causes a process to run as a cloud print service process. DO NOT CHANGE THIS VALUE. Cloud printing relies on an external binary launching Chrome with this process type.
--service-managerThe value of the |kProcessType| switch which tells the executable to assume the role of a standalone Service Manager instance.
--service-nameSpecified on the command line of service processes to indicate which service should be run. Useful when the service process binary may act as one of many different embedded services.
--service-pipe-tokenProvides a child process with a token string they can exchange for a message pipe whose other end is bound to a service_manager::Service binding in the Service Manager.
--service-request-channel-tokenThe token to use to construct the message pipe for a service in a child process.
--service-runnerThe value of the |kProcessType| switch which tells the executable to assume the role of a service instance.
--shared-filesDescribes the file descriptors passed to a child process in the following list format: <file_id>:<descriptor_id>,<file_id>:<descriptor_id>,... where <file_id> is an ID string from the manifest of the service being launched and <descriptor_id> is the numeric identifier of the descriptor for the child process can use to retrieve the file descriptor from the global descriptor table.
--shill-stubOverrides network stub behavior. By default, ethernet, wifi and vpn are enabled, and transitions occur instantaneously. Multiple options can be comma separated (no spaces). Note: all options are in the format 'foo=x'. Values are case sensitive and based on Shill names in service_constants.h. See FakeShillManagerClient::SetInitialNetworkState for implementation. Examples: 'clear=1' - Clears all default configurations 'wifi=on' - A wifi network is initially connected ('1' also works) 'wifi=off' - Wifi networks are all initially disconnected ('0' also works) 'wifi=disabled' - Wifi is initially disabled 'wifi=none' - Wifi is unavailable 'wifi=portal' - Wifi connection will be in Portal state 'cellular=1' - Cellular is initially connected 'cellular=LTE' - Cellular is initially connected, technology is LTE 'interactive=3' - Interactive mode, connect/scan/etc requests take 3 secs
--show-app-listIf true the app list will be shown.
--show-autofill-signaturesAnnotates forms and fields with Autofill signatures.
--show-autofill-type-predictionsAnnotates forms with Autofill field type predictions.
--show-cert-linkIf true the Certificate link will be shown in Page Info for HTTPS pages.
--show-component-extension-optionsMakes component extensions appear in chrome://settings/extensions.
--show-composited-layer-bordersRenders a border around compositor layers to help debug and study layer compositing.
--show-fps-counterDraws a heads-up-display showing Frames Per Second as well as GPU memory usage. If you also use --enable-logging=stderr --vmodule="head*=1" then FPS will also be output to the console log.
--show-icons[1]See kHideIcons.
--show-layer-animation-boundsRenders a border that represents the bounding box for the layer's animation.
--show-login-dev-overlayIf true, the developer tool overlay will be shown for the login/lock screen. This makes it easier to test layout logic.
--show-mac-overlay-borders[11]Show borders around CALayers corresponding to overlays and partial damage.
--show-md-loginIf true, the views-based md login and lock screens will be shown.
--show-non-md-loginIf true, the non-md login and lock screens will be shown.
--show-overdraw-feedbackVisualize overdraw by color-coding elements based on if they have other elements drawn underneath. This is good for showing where the UI might be doing more rendering work than necessary. The colors are hinting at the amount of overdraw on your screen for each pixel, as follows: True color: No overdraw. Blue: Overdrawn once. Green: Overdrawn twice. Pink: Overdrawn three times. Red: Overdrawn four or more times.
--show-paint-rectsVisibly render a border around paint rects in the web page to help debug and study painting behavior.
--show-property-changed-rectsShow rects in the HUD around layers whose properties have changed.
--show-saved-copyCommand line flag offering a "Show saved copy" option to the user if offline. The various modes are disabled, primary, or secondary. Primary/secondary refers to button placement (for experiment).
--show-screenspace-rectsShow rects in the HUD around the screen-space transformed bounds of every layer.
--show-surface-damage-rectsShow rects in the HUD around damage as it is recorded into each render surface.
--silent-debugger-extension-apiDoes not show an infobar when an extension attaches to a page using chrome.debugger page. Required to attach to extension background pages.
--silent-launchCauses Chrome to launch without opening any windows by default. Useful if one wishes to use Chrome as an ash server.
--simulate-critical-updateSimulates a critical update being available.
--simulate-elevated-recoverySimulates that elevation is needed to recover upgrade channel.
--simulate-outdatedSimulates that current version is outdated.
--simulate-outdated-no-auSimulates that current version is outdated and auto-update is off.
--simulate-upgradeSimulates an update being available.
--single-processRuns the renderer and plugins in the same process as the browser
--site-per-processEnforces a one-site-per-process security policy: * Each renderer process, for its whole lifetime, is dedicated to rendering pages for just one site. * Thus, pages from different sites are never in the same process. * A renderer process's access rights are restricted based on its site. * All cross-site navigations force process swaps. * <iframe>s are rendered out-of-process whenever the src= is cross-site. More details here: - http://www.chromium.org/developers/design-documents/site-isolation - http://www.chromium.org/developers/design-documents/process-models - The class comment in site_instance.h, listing the supported process models. IMPORTANT: this isn't to be confused with --process-per-site (which is about process consolidation, not isolation). You probably want this one.
--skip-gpu-data-loadingSkip gpu info collection, blacklist loading, and blacklist auto-update scheduling at browser startup time. Therefore, all GPU features are available, and about:gpu page shows empty content. The switch is intended only for layout tests. TODO(gab): Get rid of this switch entirely.
--skip-nostore-allNo description
--skip-nostore-mainNo description
--skip-reencoding-on-skp-captureSkips reencoding bitmaps as PNGs when the encoded data is unavailable during SKP capture. This allows for obtaining an accurate sample of the types of images on the web, rather than being weighted towards PNGs that we have encoded ourselves.
--slowDefines that Material Design visual feedback animations should be slow.
--slow-connections-onlyNo description
--slow-down-raster-scale-factorRe-rasters everything multiple times to simulate a much slower machine. Give a scale factor to cause raster to take that many times longer to complete, such as --slow-down-raster-scale-factor=25.
--sms-test-messagesSends test messages on first call to RequestUpdate (stub only).
--spdy-proxy-auth-fallbackThe origin of the data reduction proxy fallback.
--spdy-proxy-auth-originThe origin of the data reduction proxy.
--spdy-proxy-auth-valueA test key for data reduction proxy authentication.
--spelling-service-feedback-interval-seconds[21]Specifies the number of seconds between sending batches of feedback to spelling service. The default is 30 minutes. The minimum is 5 seconds. This switch is for temporary testing only. TODO(rouslan): Remove this flag when feedback testing is complete. Revisit by August 2013.
--spelling-service-feedback-url[21]Specifies the URL where spelling service feedback data will be sent instead of the default URL. This switch is for temporary testing only. TODO(rouslan): Remove this flag when feedback testing is complete. Revisit by August 2013.
--spurious-power-button-accel-countNumber of recent acceleration samples that must meet or exceed the threshold in order for a power button event to be considered spurious.
--spurious-power-button-keyboard-accelThreshold (in m/s^2, disregarding gravity) that keyboard acceleration must meet or exceed for a power button event to be considered spurious.
--spurious-power-button-lid-angle-changeChange in lid angle (i.e. hinge between keyboard and screen) that must be exceeded for a power button event to be considered spurious.
--spurious-power-button-screen-accelThreshold (in m/s^2, disregarding gravity) that screen acceleration must meet or exceed for a power button event to be considered spurious.
--spurious-power-button-windowNumber of recent accelerometer samples to examine to determine if a power button event was spurious.
--ssl-key-log-fileCauses SSL key material to be logged to the specified file for debugging purposes. See https://developer.mozilla.org/en-US/docs/Mozilla/Projects/NSS/Key_Log_Format for the format.
--ssl-version-maxSpecifies the maximum SSL/TLS version ("tls1", "tls1.1", "tls1.2", or "tls1.3").
--ssl-version-minSpecifies the minimum SSL/TLS version ("tls1", "tls1.1", "tls1.2", or "tls1.3").
--stable-release-modeThis makes us disable some web-platform runtime features so that we test content_shell as if it was a stable release. It is only followed when kRunLayoutTest is set. For the features' level, see http://dev.chromium.org/blink/runtime-enabled-features.
--start-fullscreenSpecifies if the browser should start in fullscreen mode, like if the user had pressed F11 right after startup.
--start-maximizedStarts the browser maximized, regardless of any previous settings.
--start-stack-profilerStarts the stack sampling profiler in the child process.
--startedValue for kTestCrosGaiaIdMigration indicating that migration is started (i.e. all stored user keys will be converted to GaiaId)
--stubNo description
--stub-cros-settingsIndicates that a stub implementation of CrosSettings that stores settings in memory without signing should be used, treating current user as the owner. This also modifies OwnerSettingsServiceChromeOS::HandlesSetting such that no settings are handled by OwnerSettingsServiceChromeOS. This option is for testing the chromeos build of chrome on the desktop only.
--supports-dual-gpusIndicates whether the dual GPU switching is supported or not.
--surfaceNo description
--swiftshaderNo description
--swiftshader-webglNo description
--sync-allow-insecure-xmpp-connectionAllows insecure XMPP connections for sync (for testing).
--sync-deferred-startup-timeout-secondsAllows overriding the deferred init fallback timeout.
--sync-disable-deferred-startupEnables deferring sync backend initialization until user initiated changes occur.
--sync-enable-get-update-avoidanceEnables feature to avoid unnecessary GetUpdate requests.
--sync-notification-host-portOverrides the default host:port used for notifications.
--sync-on-draw-hardwareNo description
--sync-short-initial-retry-overrideThis flag causes sync to retry very quickly (see polling_constants.h) the when it encounters an error, as the first step towards exponential backoff.
--sync-short-nudge-delay-for-testThis flag significantly shortens the delay between nudge cycles. Its primary purpose is to speed up integration tests. The normal delay allows coalescing and prevention of server overload, so don't use this unless you're really sure that it's what you want.
--sync-urlOverrides the default server used for profile sync.
--system-developer-modeIndicates that the system is running in dev mode. The dev mode probing is done by session manager.
--system-log-upload-frequencyFrequency in Milliseconds for system log uploads. Should only be used for testing purposes.
--tab-management-experiment-type-disabled[6]Specifies a particular tab management experiment to enable.
--tab-management-experiment-type-elderberry[6]No description
--task-manager-show-extra-renderersSets the task manager to track extra renderer processes that might not normally be displayed in the task manager.
--task-profilerReport per-task heap usage and churn in the task profiler. Does not keep track of individual allocations unlike the default and native mode. Keeps only track of summarized churn stats in the task profiler (chrome://profiler).
--team-drivesEnables or disables Team Drives integration.
--test-auto-update-uiEnables testing for auto update UI.
--test-child-processWhen running certain tests that spawn child processes, this switch indicates to the test framework that the current process is a child process.
--test-cros-gaia-id-migrationControls CrOS GaiaId migration for tests ("" is default).
--test-do-not-initialize-icuWhen running certain tests that spawn child processes, this switch indicates to the test framework that the current process should not initialize ICU to avoid creating any scoped handles too early in startup.
--test-encryption-migration-uiEnables testing for encryption migration UI.
--test-gl-libFlag used for Linux tests: for desktop GL bindings, try to load this GL library first, but fall back to regular library if loading fails.
--test-namePasses the name of the current running automated test to Chrome.
--test-typeType of the current test harness ("browser" or "ui").
--testing-fixed-http-portAllows for forcing socket connections to http/https to use fixed ports.
--testing-fixed-https-portNo description
--tether-stubOverrides Tether with stub service. Provide integer arguments for the number of fake networks desired, e.g. 'tether-stub=2'.
--timeoutIssues a stop after the specified number of milliseconds. This cancels all navigation and causes the DOMContentLoaded event to fire.
--tls1These values aren't switches, but rather the values that kSSLVersionMax and kSSLVersionMin can have.
--tls1.1No description
--tls1.2No description
--tls1.3No description
--tls13-variantSpecifies the enabled TLS 1.3 variant ("disabled", "draft", "experiment").
--top-chrome-mdEnables top Chrome material design elements.
--top-controls-hide-thresholdPercentage of the browser controls need to be hidden before they will auto hide.
--top-controls-show-thresholdPercentage of the browser controls need to be shown before they will auto show.
--touch-calibration[15]The calibration factors given as "<left>,<right>,<top>,<bottom>".
--touch-devices[28]Tells chrome to interpret events from these devices as touch events. Only available with XInput 2 (i.e. X server 1.8 or above). The id's of the devices can be retrieved from 'xinput list'.
--touch-eventsEnable support for touch event feature detection.
--touch-noise-filtering[15]Tells Chrome to do additional touch noise filtering. Should only be used if the driver level filtering is insufficient.
--touch-selection-strategyControls how text selection granularity changes when touch text selection handles are dragged. Should be "character" or "direction". If not specified, the platform default is used.
--touch_viewNo description
--trace-config-fileCauses TRACE_EVENT flags to be recorded from startup. This flag will be ignored if --trace-startup or --trace-shutdown is provided.
--trace-export-events-to-etw[1]Enables the exporting of the tracing events to ETW. This is only supported on Windows Vista and later.
--trace-shutdownCauses TRACE_EVENT flags to be recorded beginning with shutdown. Optionally, can specify the specific trace categories to include (e.g. --trace-shutdown=base,net) otherwise, all events are recorded. --trace-shutdown-file can be used to control where the trace log gets stored to since there is otherwise no way to access the result.
--trace-shutdown-fileIf supplied, sets the file which shutdown tracing will be stored into, if omitted the default will be used "chrometrace.log" in the current directory. Has no effect unless --trace-shutdown is also supplied. Example: --trace-shutdown --trace-shutdown-file=/tmp/trace_event.log
--trace-startupCauses TRACE_EVENT flags to be recorded from startup. Optionally, can specify the specific trace categories to include (e.g. --trace-startup=base,net) otherwise, all events are recorded. Setting this flag results in the first call to BeginTracing() to receive all trace events since startup. In Chrome, you may find --trace-startup-file and --trace-startup-duration to control the auto-saving of the trace (not supported in the base-only TraceLog component).
--trace-startup-durationSets the time in seconds until startup tracing ends. If omitted a default of 5 seconds is used. Has no effect without --trace-startup, or if --startup-trace-file=none was supplied.
--trace-startup-fileIf supplied, sets the file which startup tracing will be stored into, if omitted the default will be used "chrometrace.log" in the current directory. Has no effect unless --trace-startup is also supplied. Example: --trace-startup --trace-startup-file=/tmp/trace_event.log As a special case, can be set to 'none' - this disables automatically saving the result to a file and the first manually recorded trace will then receive all events since startup.
--trace-to-consoleSends a pretty-printed version of tracing info to the console.
--trace-to-fileSends trace events from these categories to a file. --trace-to-file on its own sends to default categories.
--trace-to-file-nameSpecifies the file name for --trace-to-file. If unspecified, it will go to a default file name.
--trace-upload-urlSets the target URL for uploading tracing data.
--translate-ranker-model-urlOverrides the URL from which the translate ranker model is downloaded.
--translate-script-urlOverrides the default server used for Google Translate.
--translate-security-originOverrides security-origin with which Translate runs in an isolated world.
--trueValue indicating whether flag from command line switch is true.
--trusted-download-sourcesIdentifies a list of download sources as trusted, but only if proper group policy is set.
--try-chrome-againExperimental. Shows a dialog asking the user to try chrome. This flag is to be used only by the upgrade process.
--try-supported-channel-layouts[1]Instead of always using the hardware channel layout, check if a driver supports the source channel layout. Avoids outputting empty channels and permits drivers to enable stereo to multichannel expansion. Kept behind a flag since some drivers lie about supported layouts and hang when used. See http://crbug.com/259165 for more details.
--typeIndicates the type of process to run. This may be "service-manager", "service-runner", or any other arbitrary value supported by the embedder.
--ui-disable-partial-swapDisable partial swap which is needed for some OpenGL drivers / emulators.
--ui-enable-layer-listsNo description
--ui-enable-rgba-4444-texturesNo description
--ui-enable-zero-copyNo description
--ui-prioritize-in-gpu-processPrioritizes the UI's command stream in the GPU process
--ui-show-composited-layer-bordersNo description
--ui-show-fps-counterNo description
--ui-show-layer-animation-boundsNo description
--ui-show-paint-rectsNo description
--ui-show-property-changed-rectsNo description
--ui-show-screenspace-rectsNo description
--ui-show-surface-damage-rectsNo description
--ui-slow-animationsNo description
--uninstall[1]Runs un-installation steps that were done by chrome first-run.
--unlimited-storageOverrides per-origin quota settings to unlimited storage for any apps/origins. This should be used only for testing purpose.
--unsafe-pac-urlPass the full https:// URL to PAC (Proxy Auto Config) scripts. As opposed to the default behavior which strips path and query components before passing to the PAC scripts.
--unsafely-allow-protected-media-identifier-for-domainFor automated testing of protected content, this switch allows specific domains (e.g. example.com) to skip asking the user for permission to share the protected media identifier. In this context, domain does not include the port number. User's content settings will not be affected by enabling this switch. Reference: http://crbug.com/718608 Example: --unsafely-allow-protected-media-identifier-for-domain=a.com,b.ca
--unsafely-treat-insecure-origin-as-secureTreat given (insecure) origins as secure origins. Multiple origins can be supplied. Has no effect unless --user-data-dir is also supplied. Example: --unsafely-treat-insecure-origin-as-secure=http://a.test,http://b.test --user-data-dir=/test/only/profile/dir
--use-angleSelect which ANGLE backend to use. Options are: default: Attempts several ANGLE renderers until one successfully initializes, varying ES support by platform. d3d9: Legacy D3D9 renderer, ES2 only. d3d11: D3D11 renderer, ES2 and ES3. warp: D3D11 renderer using software rasterization, ES2 and ES3. gl: Desktop GL renderer, ES2 and ES3. gles: GLES renderer, ES2 and ES3.
--use-cras[29]Use CRAS, the ChromeOS audio server.
--use-double-bufferingNo description
--use-fake-device-for-media-streamUse fake device for Media Stream to replace actual camera and microphone.
--use-fake-jpeg-decode-acceleratorUse fake device for accelerated decoding of JPEG. This allows, for example, testing of the communication to the GPU service without requiring actual accelerator hardware to be present.
--use-fake-ui-for-media-streamBypass the media stream infobar by selecting the default device for media streams (e.g. WebRTC). Works with --use-fake-device-for-media-stream.
--use-file-for-fake-audio-capturePlay a .wav file as the microphone. Note that for WebRTC calls we'll treat the bits as if they came from the microphone, which means you should disable audio processing (lest your audio file will play back distorted). The input file is converted to suit Chrome's audio buses if necessary, so most sane .wav files should work. You can pass either <path> to play the file looping or <path>%noloop to stop after playing the file to completion.
--use-file-for-fake-video-captureUse an .y4m file to play as the webcam. See the comments in media/capture/video/file_video_capture_device.h for more details.
--use-first-display-as-internalUses the 1st display in --ash-host-window-bounds as internal display. This is for debugging on linux desktop.
--use-glSelect which implementation of GL the GPU process should use. Options are: desktop: whatever desktop OpenGL the user has installed (Linux and Mac default). egl: whatever EGL / GLES2 the user has installed (Windows default - actually ANGLE). osmesa: The OSMesa software renderer. swiftshader: The SwiftShader software renderer.
--use-gpu-in-testsUse hardware gpu, if available, for tests.
--use-ime-serviceBy default we use classic IME (i.e. InputMethodChromeOS) in kMus. This flag enables the IME service (i.e. InputMethodMus) instead.
--use-mobile-user-agentSet when Chromium should use a mobile user agent.
--use-mock-keychain[7]No description
--use-passthrough-cmd-decoderUse the Pass-through command decoder, skipping all validation and state tracking.
--use-skia-rendererUse SkiaRenderer instead of GLRenderer for direct rendering.
--use-system-default-printer[30]Uses the system default printer as the initially selected destination in print preview, instead of the most recently used destination.
--use-test-configInitializes X11 in threaded mode, and sets the |override_redirect| flag when creating X11 windows. Also, exposes the WindowServerTest interface to clients when launched with this flag.
--use-viz-hit-testWindowServer uses the viz hit-test logic (HitTestAggregator and HitTestQuery).
--user-agentA string used to override the default user agent with a custom one.
--user-always-affiliatedAlways treat user as affiliated. TODO(antrim): Remove once test servers correctly produce affiliation ids.
--user-data-dirDirectory where the browser stores the user profile.
--user-gesture-requiredAutoplay policy to require a user gesture in order to play.
--user-gesture-required-for-cross-originAutoplay policy to require a user gesture in ordor to play for cross origin iframes.
--utilityCauses the process to run as a utility subprocess.
--utility-allowed-dirWhen utility process is sandboxed, there is still access to one directory. This flag specifies the directory that can be accessed.
--utility-cmd-prefixThe contents of this flag are prepended to the utility process command line. Useful values might be "valgrind" or "xterm -e gdb --args".
--utility-run-elevatedNo description
--utility-sandbox-typeType of sandbox to apply to the utility process. Options are "none", "network", or "utility" (the default).
--utility-startup-dialogCauses the utility process to display a dialog on launch.
--vGives the default maximal active V-logging level; 0 is the default. Normally positive values are used for V-logging levels.
--v2-sandbox[7]Enable the V2 sandbox during the helper executable initialization.
--v2-sandbox-enabled[7]The command line paramter indicating that the v2 sandbox is enabled. This must be different than the "v2-sandbox" flag to avoid endless re-executing. The flag tells the sandbox initialization code inside Chrome that the sandbox should already be enabled. TODO(kerrnel): Remove this once the V2 sandbox migration is complete, as processes will be assumed to run under the V2 sandbox.
--v8-cache-optionsSet options to cache V8 data. (off, preparse data, or code)
--v8-cache-strategies-for-cache-storageSet strategies to cache V8 data in CacheStorage. (off, normal, or aggressive)
--validate-crxExamines a .crx for validity and prints the result.
--validate-input-event-streamIn debug builds, asserts that the stream of input events is valid.
--variations-override-countryAllows overriding the country used for evaluating variations. This is similar to the "Override Variations Country" entry on chrome://translate-internals, but is exposed as a command-line flag to allow testing First Run scenarios. Additionally, unlike chrome://translate-internals, the value isn't persisted across sessions.
--variations-server-urlSpecifies a custom URL for the server which reports variation data to the client. Specifying this switch enables the Variations service on unofficial builds. See variations_service.cc.
--versionNo description
--video-image-texture-targetTexture target for CHROMIUM_image backed video frame textures.
--video-threadsSet number of threads to use for video decoding.
--video-underflow-threshold-msAllows clients to override the threshold for when the media renderer will declare the underflow state for the video stream when audio is present. TODO(dalecurtis): Remove once experiments for http://crbug.com/470940 finish.
--virtual-time-budgetIf set the system waits the specified number of virtual milliseconds before deeming the page to be ready. For determinism virtual time does not advance while there are pending network fetches (i.e no timers will fire). Once all network fetches have completed, timers fire and if the system runs out of virtual time is fastforwarded so the next timer fires immediatley, until the specified virtual time budget is exhausted.
--vmoduleGives the per-module maximal V-logging levels to override the value given by --v. E.g. "my_module=2,foo*=3" would change the logging level for all code in source files "my_module.*" and "foo*.*" ("-inl" suffixes are also disregarded for this matching). Any pattern containing a forward or backward slash will be tested against the whole pathname and not just the module. E.g., "*/foo/bar/*=2" would change the logging level for all code in source files under a "foo/bar" directory.
--voice-interaction-supported-localesList of locales supported by voice interaction.
--wait-for-debuggerWill wait for 60 seconds for a debugger to come to attach to the process.
--wait-for-debugger-childrenWill add kWaitForDebugger to every child processes. If a value is passed, it will be used as a filter to determine if the child process should have the kWaitForDebugger flag passed on or not.
--wake-on-wifi-packetEnables wake on wifi packet feature, which wakes the device on the receipt of network packets from whitelisted sources.
--wallet-service-use-sandboxUse the sandbox Online Wallet service URL (for developer testing).
--watcher[1]Causes the process to run as a watcher process.
--waveout-buffers[1]Number of buffers to use for WaveOut.
--webapk-server-url[6]Custom WebAPK server URL for the sake of testing.
--webrtc-stun-probe-trial[13]Renderer process parameter for WebRTC Stun probe trial to determine the interval. Please see SetupStunProbeTrial in chrome_browser_field_trials_desktop.cc for more detail.
--webview-enable-safebrowsing-supportused to enable safebrowsing functionality in webview
--webview-sandboxed-rendererNo description
--whitelisted-extension-idAdds the given extension ID to all the permission whitelists.
--win-jumplist-actionSpecifies which category option was clicked in the Windows Jumplist that resulted in a browser startup.
--window-positionSpecify the initial window position: --window-position=x,y
--window-sizeSets the initial window size. Provided as string in the format "800,600".
--window-workspaceSpecify the initial window workspace: --window-workspace=id
--windows10-custom-titlebar[1]Enables custom-drawing the titlebar and tabstrip background so that it's not a garish #FFFFFF like it is by default on Windows 10.
--winhttp-proxy-resolverUses WinHTTP to fetch and evaluate PAC scripts. Otherwise the default is to use Chromium's network stack to fetch, and V8 to evaluate.
--wm-window-animations-disabledIf present animations are disabled.
--yield-between-content-script-runsWhether to split content script injections into multiple tasks.
--zygoteCauses the process to run as a renderer zygote.
Chromedriver的参数选项 Chromedriver的参数选项 Reviewed by EchoSam on 11/15/2017 Rating: 5