Capabilities & ChromeOptions

2018-06-18 00:54:18来源:未知 阅读 ()

新老客户大回馈,云服务器低至5折

https://sites.google.com/a/chromium.org/chromedriver/capabilities
http://stackoverflow.com/questions/tagged/selenium-chromedriver

ChromeDriver - WebDriver for Chrome

Search this site
 
 

Capabilities & ChromeOptions

Capabilities are options that you can use to customize and configure a ChromeDriver session. This page documents all ChromeDriver supported capabilities and how to use them.

There are two ways to specify capabilities. 
  1. The first is to use the ChromeOptions class.  
  2. If your client library does not have a ChromeOptions class (like the selenium ruby client), you can specify the capabilities directly as part of the DesiredCapabilities.

Using the ChromeOptions class

You can create an instance of ChromeOptions, which has convenient methods for setting ChromeDriver-specific capabilities. You can pass the ChromeOptions object directly into the ChromeDriver constructor:
ChromeOptions options = new ChromeOptions();
options.addExtensions(new File("/path/to/extension.crx"));
ChromeDriver driver = new ChromeDriver(options);

Alternatively, you can add the options to an already existing DesiredCapabilities object, which is useful when need to specify other WebDriver capabilities not specific to ChromeDriver.
DesiredCapabilities capabilities = DesiredCapabilities.chrome();
// Add the WebDriver proxy capability.
Proxy proxy =new Proxy();
proxy.setHttpProxy("myhttpproxy:3337");
capabilities.setCapability("proxy", proxy);// Add ChromeDriver-specific capabilities through ChromeOptions.
ChromeOptions options =new ChromeOptions();
options.addExtensions(new File("/path/to/extension.crx"));
capabilities.setCapability(ChromeOptions.CAPABILITY, options);
ChromeDriver driver =new ChromeDriver(capabilities);

Using DesiredCapabilities directly

The ChromeOptions class uses DesiredCapabilities underneath. To use DesiredCapabilities directly, you need to know the name of the capability and the type of value it takes. See the full list further below.

Java

Map<String, Object> chromeOptions =new Map<String, Object>();
chromeOptions.put("binary","/usr/lib/chromium-browser/chromium-browser");
DesiredCapabilities capabilities = DesiredCapabilities.chrome();
capabilities.setCapability(ChromeOptions.CAPABILITY, chromeOptions);
WebDriver driver =new ChromeDriver(capabilities);

Ruby

caps = Selenium::WebDriver::Remote::Capabilities.chrome("chromeOptions"=>{"args"=>["--disable-web-security"]})
driver = Selenium::WebDriver.for:remote, url:'http://localhost:4444/wd/hub' desired_capabilities: caps

Common use cases

Use custom profile (also called user data directory)

By default, ChromeDriver will create a new temporary profile for each session. At times you may want to set special preferences or just use a custom profile altogether. If the former, you can use the 'chrome.prefs' capability (described later below) to specify preferences that will be applied after Chrome starts. If the latter, you can use the user-data-dir Chrome command-line switch to tell Chrome which profile to use:
ChromeOptions options =new ChromeOptions();
options.addArguments("user-data-dir=/path/to/your/custom/profile");
You can create your own custom profile by just running Chrome (on the command-line or through ChromeDriver) with the user-data-dir switch set to some new directory. If the path doesn't exist, Chrome will create a new profile in the specified location. You can then modify the profile settings as desired, and ChromeDriver can use the profile in the future. Open chrome://version in the browser to see what profile Chrome is using.

Start Chrome maximized

ChromeOptions options =new ChromeOptions();
options.addArguments("start-maximized");

Using a Chrome executable in a non-standard location

ChromeOptions options =new ChromeOptions();
options.setBinary("/path/to/other/chrome/binary");

Set a Chrome preference

ChromeOptions options =new ChromeOptions();
Map<String, Object> prefs =new HashMap<String, Object>();
prefs.put("profile.default_content_settings.popups",0);
options.setExperimentalOption("prefs", prefs);

List of recognized capabilities

This is a list of all the WebDriver-standard capabilities that ChromeDriver supports:

Proxy object

See http://code.google.com/p/selenium/wiki/DesiredCapabilities#Proxy_JSON_Object 

loggingPrefs object

See https://code.google.com/p/selenium/wiki/DesiredCapabilities#JSON_object 

chromeOptions object

This is a list of all the Chrome-specific desired capabilities, which all are under the chromeOptions dictionary. 
If possible, use the ChromeOptions class instead of specifying these directly.

 NameTypeDefault Description 
args  list of strings 
 
List of command-line arguments to use when starting Chrome. Arguments with an associated value should be separated by a '=' sign (e.g., ['start-maximized', 'user-data-dir=/tmp/temp_profile']). See here for a list of Chrome arguments.
binary string 
 
Path to the Chrome executable to use (on Mac OS X, this should be the actual binary, not just the app. e.g., '/Applications/Google Chrome.app/Contents/MacOS/Google Chrome')
extensions list of strings 
 
A list of Chrome extensions to install on startup. Each item in the list should be a base-64 encoded packed Chrome extension (.crx)
localState dictionary
 
A dictionary with each entry consisting of the name of the preference and its value. These preferences are applied to the Local State file in the user data folder.
prefs dictionary
 
A dictionary with each entry consisting of the name of the preference and its value. These preferences are only applied to the user profile in use. See the 'Preferences' file in Chrome's user data directory for examples.
detach boolean false  If false, Chrome will be quit when ChromeDriver is killed, regardless of whether the session is quit. If true, Chrome will only be quit if the session is quit (or closed). Note, if true, and the session is not quit, ChromeDriver cannot clean up the temporary user data directory that the running Chrome instance is using.
debuggerAddress string    An address of a Chrome debugger server to connect to, in the form of <hostname/ip:port>, e.g. '127.0.0.1:38947'
excludeSwitches list of strings 
 
List of Chrome command line switches to exclude that ChromeDriver by default passes when starting Chrome.  Do not prefix switches with --.
minidumpPath  string 
 
Directory to store Chrome minidumps . (Supported only on Linux.)
mobileEmulation dictionary
 
A dictionary with either a value for “deviceName,” or values for “deviceMetrics” and “userAgent.” Refer to Mobile Emulation for more information.
perfLoggingPrefs dictionary
 
 An optional dictionary that specifies performance logging preferences. See below for more information.
 windowTypes  list of strings
 
A list of window types that will appear in the list of window handles. For access to <webview> elements, include "webview" in this list.

perfLoggingPrefs object

The perfLoggingPrefs dictionary has the following format (all keys are optional):


NameTypeDefaultDescription
enableNetwork boolean true Whether or not to collect events from Network domain.
enablePage boolean true Whether or not to collect events from Page domain.
enableTimeline boolean true (false if tracing is enabled) Whether or not to collect events from Timeline domain. Note: when tracing is enabled, Timeline domain is implicitly disabled, unless enableTimeline is explicitly set to true.
tracingCategories string (empty) A comma-separated string of Chrome tracing categories for which trace events should be collected. An unspecified or empty string disables tracing.
bufferUsageReportingInterval positive integer 1000 The requested number of milliseconds between DevTools trace buffer usage events. For example, if 1000, then once per second, DevTools will report how full the trace buffer is. If a report indicates the buffer usage is 100%, a warning will be issued.

Returned Capabilities

This is a list of all the Chrome-specific returned capabilities. (i.e., what ChromeDriver returns when you create a new session)
 
NameType Description 
chrome.chromedriverVersion string  version of ChromeDriver 
userDataDir string  path to user data directory that Chrome is using; note, this is inside a 'chrome' dictionary

ChromeDriver server command line arguments

Run chromedriver --help to see command line arguments for your version.
chrome options

List of Chromium Command Line Switches

There are lots of command lines which can be used with the Google Chrome browser. Some change behavior of features, others are for debugging or experimenting. This page lists the available switches including their conditions and descriptions. Last automated update occurred on 2016-07-19.

ConditionExplanation
--/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:# argument shared by all process types that don't have their own. It is likely that the prefetcher won't work for these process types as it won't be able to observe consistent file reads across launches. However, having a valid prefetch argument for these process types is required to prevent them from interfering with the prefetch profile of the browser process. ?
--0 ? Value of the --profiler-timing flag that will disable timing information for chrome://profiler. ?
--? ? No description ?
--accept-resource-provider ? Flag 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. ?
--adaboost ? No description ?
--aec-refined-adaptive-filter ? Enables 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-volume ? Override 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. ?
--aggressive ? No description ?
--aggressive-cache-discard ? No description ?
--aggressive-tab-discard ? No description ?
--allow-cross-origin-auth-prompt ? Allows third-party content included on a page to prompt for a HTTP basic auth username/password pair. ?
--allow-data-roaming-by-default ? If this flag is set, enable data roaming in the cellular network by default upon system start if it's an unmanaged device. This flag is used by Rialto device to obtain device policy during OOBE since the Rialto device has no display and and only connects over cell. ?
--allow-external-pages ? Allow access to external pages during layout tests. ?
--allow-failed-policy-fetch-for-test ? If 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 ? On ChromeOS, file:// access is disabled except for certain whitelisted directories. This switch re-enables file:// for testing. ?
--allow-file-access-from-files ? By default, file:// URIs cannot read other file:// URIs. This is an override for developers who need the old behavior for testing. ?
--allow-hidden-media-playback ? Allows media playback for hidden WebContents ?
--allow-http-background-page ? Allows non-https URL for background_page for hosted apps. ?
--allow-http-screen-capture ? Allow non-secure origins to use the screen capture API and the desktopCapture extension API. ?
--allow-insecure-localhost ? Enables TLS/SSL errors on localhost to be ignored (no interstitial, no blocking of requests). ?
--allow-legacy-extension-manifests ? Allows the browser to load extensions that lack a modern manifest when that would otherwise be forbidden. ?
--allow-loopback-in-peer-connection ? Allows loopback interface to be added in network list for peer connection. ?
--allow-nacl-crxfs-api[2] ? Specifies comma-separated list of extension ids or hosts to grant access to CRX file system APIs. ?
--allow-nacl-file-handle-api[2] ? Specifies comma-separated list of extension ids or hosts to grant access to file handle APIs. ?
--allow-nacl-socket-api[2] ? Specifies comma-separated list of extension ids or hosts to grant access to TCP/UDP socket APIs. ?
--allow-no-sandbox-job ? Enables 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-plugins ? Don't block outdated plugins. ?
--allow-ra-in-dev-mode ? Allows 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-content ? By 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-debugging ? Allows debugging of sandboxed processes (see zygote_main_linux.cc). ?
--allow-silent-push ? Allows Web Push notifications that do not show a notification. ?
--alsa-check-close-timeout ? Time 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-upsampling ? Flag 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-rate ? Optional flag to set a fixed sample rate for the alsa device. ?
--alsa-input-device[3] ? The Alsa device to use when opening an audio input stream. ?
--alsa-output-avail-min ? Minimum number of available frames for scheduling a transfer. ?
--alsa-output-buffer-size ? Size 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[3] ? The Alsa device to use when opening an audio stream. ?
--alsa-output-period-size ? Size 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-threshold ? How many frames need to be in the output buffer before output starts. ?
--also-emit-success-logs ? Also emit full event trace logs for successful tests. ?
--always-authorize-plugins ? Prevents Chrome from requiring authorization to run certain widely installed but less commonly used plugins. ?
--always-on ? No description ?
--always-use-complex-text ? Always use the complex text path for layout tests. ?
--alwaystrue ? No description ?
--android-fonts-path ? Uses 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. ?
--angle ? No description ?
--app ? Specifies that the associated value should be launched in "application" mode. ?
--app-id ? Specifies that the extension-app with the specified id should be launched according to its configuration. ?
--app-mode-auth-code ? Value of GAIA auth code for --force-app-mode. ?
--app-mode-oauth-token ? Value of OAuth2 refresh token for --force-app-mode. ?
--app-mode-oem-manifest ? Path for app's OEM manifest file. ?
--app-shell-allow-roaming ? Allow roaming in the cellular network. ?
--app-shell-host-window-size ? Size for the host window to create (i.e. "800x600"). ?
--app-shell-preferred-network ? SSID of the preferred WiFi network. ?
--app-shell-refresh-token ? Refresh token for identity API calls for the current user. Used for testing. ?
--app-shell-user ? User email address of the current user. ?
--apple ? No description ?
--apps-gallery-download-url ? The URL that the webstore APIs download extensions from. Note: the URL must contain one '%s' for the extension ID. ?
--apps-gallery-update-url ? The update url used by gallery/webstore extensions. ?
--apps-gallery-url ? The URL to use for the gallery link in the app launcher. ?
--apps-keep-chrome-alive-in-tests[4] ? Prevents Chrome from quitting when Chrome Apps are open. ?
--artifacts-dir ? Screenshot testing: specifies the directoru where artifacts will be stored. ?
--ash-animate-from-boot-splash-screen ? Enables 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-boot ? Copies 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-shortcuts ? Enable keyboard shortcuts useful for debugging. ?
--ash-disable-maximize-mode-window-backdrop ? Disables the window backdrops normally used in maximize mode (TouchView). ?
--ash-disable-screen-orientation-lock[5] ? Disable the support for WebContents to lock the screen orientation. ?
--ash-disable-stable-overview-order ? Enables / disables a stable order between overview sessions, independent of the MRU order which attempts to preserve relative window positions. ?
--ash-disable-touch-exploration-mode ? Disable 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-fullscreen-app-list[5] ? Enables fullscreen app list if Ash is in maximize mode. ?
--ash-enable-magnifier-key-scroller[5] ? Enables key bindings to scroll magnified screen. ?
--ash-enable-mirrored-screen ? Enables mirrored screen. ?
--ash-enable-software-mirroring ? Enables software based mirroring. ?
--ash-enable-stable-overview-order ? No description ?
--ash-enable-touch-view-testing ? Enables touch view testing. TODO(skuhne): Remove TOGGLE_TOUCH_VIEW_TESTING accelerator once this flag is removed. ?
--ash-enable-unified-desktop[5] ? Enables unified desktop mode. ?
--ash-enable-window-cycle-ui ? Enables the window cycling UI (more visual feedback for alt-tab). ?
--ash-force-desktop[1] ? Force Ash to open its root window on the desktop, even on Windows 8 where it would normally end up in metro. ?
--ash-hide-notifications-for-factory ? Hides notifications that are irrelevant to Chrome OS device factory testing, such as battery level updates. ?
--ash-host-window-bounds ? Sets 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-md ? Specifies if Material Design elements in Chrome OS system UI are enabled. Can be disabled / enabled / experimental allowing to launch incrementally. ?
--ash-secondary-display-layout ? Specifies 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) ?
--ash-touch-hud ? Enables the heads-up display for tracking touch points. ?
--ash-use-first-display-as-internal ? Uses the 1st display in --ash-host-window-bounds as internal display. This is for debugging on linux desktop. ?
--ash-webui-init ? When wallpaper boot animation is not disabled this switch is used to override OOBE/sign in WebUI init type. Possible values: parallel|postpone. Default: parallel. ?
--audio-buffer-size ? Allow users to specify a custom buffer size for debugging purpose. ?
--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-path ? Enables overriding the path for the default authentication extension. ?
--auth-server-whitelist ? Whitelist for Negotiate Auth servers ?
--auth-spnego-account-type[6] ? Android authentication account type for SPNEGO authentication ?
--auto ? The values the kTouchEvents switch may have, as in --touch-events=disabled. auto: enabled at startup when an attached touchscreen is present. ?
--auto-open-devtools-for-tabs ? This 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-source ? This 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. ?
--blimp-client-token-path ? No description ?
--blink-platform-log-channels ? Choose which logging channels in blink platform to activate. See Logging.cpp in blink's Source/platform for a list of available channels. ?
--blink-settings ? Set blink settings. Format is <name>[=<value],<name>[=<value>],... The names are declared in Settings.in. 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. ?
--bootstrap ? Values for the kExtensionContentVerification flag. See ContentVerifierDelegate::Mode for more explanation. ?
--browser-subprocess-path ? Path to the exe to run for the renderer and plugin subprocesses. ?
--browser-test ? Tells Content Shell that it's running as a content_browsertest. ?
--bwsi ? Indicates that the browser is in "browse without sign-in" (Guest session) mode. Should completely disable extensions, sync and bookmarks. ?
--bypass-app-banner-engagement-checks? This 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-count ? The number of MSAA samples for canvas2D. Requires MSAA support by GPU to have an effect. 0 disables MSAA. ?
--cast-initial-screen-height ? No description ?
--cast-initial-screen-width ? Used 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-timeout ? Increases timeout for memory checkers. ?
--cc-layer-tree-test-no-timeout ? Prevents the layer tree unit tests from timing out. ?
--cc-rebaseline-pixeltests ? Makes pixel tests write their output instead of read it. ?
--cellular-only ? No description ?
--certificate-transparency-log ? Certificate Transparency: Uses the provided log(s) for checking Signed Certificate Timestamps provided with certificates. The switch's value is: log_description:log_key:log_url,log_description:log_key:log_url,... where log_description is a textual description of the log. log_key is a Base64'd DER-encoded SubjectPublicKeyInfo of the log's public key. log_url is a URL for the log, excluding the schema (which is always assumed to be HTTPS as required by RFC6962). Multiple logs can be specified by repeating description:key pairs, separated by a comma. ?
--channel ? The value of this switch tells the child process which IPC channel the browser expects to use to communicate with it. ?
--check-for-update-interval ? How often (in seconds) to check for updates. Should only be used for testing purposes. ?
--check-layout-test-sys-deps ? Check whether all system dependencies for running layout tests are met. ?
--child-process ? Used internally by the main process to indicate that a new process should be a child process. Takes the absolute path to the mojo application to load as an argument. Not for user use. ?
--child-wallpaper-large ? Default wallpaper to use for kids accounts (as paths to trusted, non-user-writable JPEG files). ?
--child-wallpaper-small ? No description ?
--ChromeOSMemoryPressureHandling ? The memory pressure thresholds selection which is used to decide whether and when a memory pressure event needs to get fired. ?
--cipher-suite-blacklist ? Comma-separated list of SSL cipher suites to disable. ?
--clear-data-reduction-proxy-data-savings? Clear data savings on Chrome startup. ?
--clear-token-service ? Clears the token service before using it. This allows simulating the expiration of credentials during testing. ?
--cloud-print-file ? Tells chrome to display the cloud print dialog and upload the specified file for printing. ?
--cloud-print-file-type ? Specifies 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-title ? Used with kCloudPrintFile to specify a title for the resulting print job. ?
--cloud-print-print-ticket ? Used with kCloudPrintFile to specify a JSON print ticket for the resulting print job. Defaults to null if unspecified. ?
--cloud-print-setup-proxy ? Setup cloud print proxy for provided printers. This does not start service or register proxy for autostart. ?
--cloud-print-url ? The 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-endpoint ? The 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-zoom ? Enable 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-succeeds ? Always return success when compiling a shader. Linking will still fail. ?
--component-updater ? Comma-separated options to troubleshoot the component updater. Only valid for the browser process. ?
--connectivity-check-url ? Url for network connectivity checking. Default is "https://clients3.google.com/generate_204". ?
--conservative ? No description ?
--consumer-device-management-url ? Specifies the URL of the consumer device management backend. ?
--content-image-texture-target ? Texture target for CHROMIUM_image backed content textures. ?
--content-shell-host-window-size ? Size for the content_shell's host window (i.e. "800x600"). ?
--controller ? No description ?
--crash-dumps-dir ? The directory breakpad should store minidumps in. ?
--crash-on-failure ? When specified to "enable-leak-detection" command-line option, causes the leak detector to cause immediate crash when found leak. ?
--crash-on-hang-threads ? Comma-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-test ? Causes the browser process to crash on startup. ?
--crashpad-handler ? A 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-tests ? Some 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) ?
--cros-region ? Forces CrOS region value. ?
--cros-regions-mode ? Control regions data load: "" - default "override" - regions data is read first "hide" - VPD values are hidden ?
--cryptauth-http-host ? Overrides the default URL for Google APIs (https://www.googleapis.com) used by CryptAuth. ?
--custom-launcher-page ? Specifies the chrome-extension:// URL for the contents of an additional page added to the experimental app launcher. ?
--custom_summary[6] ? Forces a custom summary to be displayed below the update menu item. ?
--d3d11 ? No description ?
--d3d9 ? No description ?
--daemon ? No description ?
--daemon-pipe ? No description ?
--data-path ? Makes Content Shell use the given path for its data directory. ?
--data-reduction-proxy-config-url ? The URL from which to retrieve the Data Reduction Proxy configuration. ?
--data-reduction-proxy-experiment ? The 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-proxies ? The 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-fi ? The mode for Data Reduction Proxy Lo-Fi. The various modes are always-on, cellular-only, slow connections only and disabled. ?
--data-reduction-proxy-pingback-url ? No description ?
--data-reduction-proxy-secure-proxy-check-url ? Sets 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-secure-proxy-disabled ? Starts the secure Data Reduction Proxy in the disabled state until the secure proxy check succeeds. ?
--data-reduction-proxy-server-experiments-disabled ? Disables server experiments that may be enabled through field trial. ?
--data-reduction-proxy-warmup-url ? Sets a URL to fetch to warm up the data reduction proxy on startup and network changes. ?
--dbus-stub ? Forces the stub implementation of dbus clients. ?
--dbus-unstub-clients ? Comma-spearated list of dbus clients that should be unstubbed. See chromeos/dbus/dbus_client_bundle.cc for the names of the dbus clients. ?
--debug-enable-frame-toggle ? Enables a frame context menu item that toggles the frame in and out of glass mode (Windows Vista and up only). ?
--debug-packed-apps ? Adds debugging entries such as Inspect Element to context menus of packed apps. ?
--debug-print[7] ? Enables support to debug printing subsystem. ?
--default ? No description ?
--default-tile-height ? No description ?
--default-tile-width ? Sets the tile size used by composited layers. ?
--default-wallpaper-is-oem ? Indicates that the wallpaper images specified by kAshDefaultWallpaper{Large,Small} are OEM-specific (i.e. they are not downloadable from Google). ?
--default-wallpaper-large ? Default wallpaper to use (as paths to trusted, non-user-writable JPEG files). ?
--default-wallpaper-small ? No description ?
--demo ? No description ?
--derelict-detection-timeout ? Time in seconds before a machine at OOBE is considered derelict. ?
--derelict-idle-timeout ? Time in seconds before a derelict machines starts demo mode. ?
--desktop ? No description ?
--device-management-url ? Specifies 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. ?
--diagnostics ? Triggers a plethora of diagnostic modes. ?
--diagnostics-format ? Sets the output format for diagnostic modes enabled by diagnostics flag. ?
--diagnostics-recovery ? Tells the diagnostics mode to do the requested recovery step(s). ?
--disable ? Values for the kShowSavedCopy flag. ?
--disable-2d-canvas-image-chromium ? Disables Canvas2D rendering into a scanout buffer for overlay support. ?
--disable-3d-apis ? Disables 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-about-in-settings ? When kEnableSettingsWindow is used, About is shown as an overlay in Settings instead of as a separate page, unless this flag is specified. ?
--disable-accelerated-2d-canvas ? Disable gpu-accelerated 2d canvas. ?
--disable-accelerated-jpeg-decoding ? Disable 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-decode ? Disable hardware acceleration of mjpeg decode for captured frame, where available. ?
--disable-accelerated-video-decode ? Disables hardware acceleration of video decode, where available. ?
--disable-account-consistency ? Disables consistent identity features. ?
--disable-add-to-shelf ? Disables the display of a banner allowing the user to add a web app to their shelf (or platform-specific equivalent) ?
--disable-all-bookmarks-view ? Disables all bookmarks view in bookmark manager. ?
--disable-app-info-dialog-mac[4] ? Disable the toolkit-views App Info dialog for Mac. ?
--disable-app-link[6] ? Disable App Link. ?
--disable-app-list-dismiss-on-blur ? If 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[4] ? Disables custom Cmd+` window cycling for platform apps and hosted apps. ?
--disable-appcontainer ? No description ?
--disable-arc-data-wipe ? Disables android user data wipe on opt out. ?
--disable-arc-opt-in-verification ? Disables ARC Opt-in verification process and ARC is enabled by default. ?
--disable-async-dns ? Disables the experimental asynchronous DNS client. ?
--disable-audio-support-for-desktop-share? No description ?
--disable-autofill-keyboard-accessory-view[6] ? Disables showing suggestions in a keyboard accessory view. ?
--disable-background-networking ? Disable 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-throttling ? Disable task throttling of timer tasks from background pages. ?
--disable-backing-store-limit ? Disable limits on the number of backing stores. Can prevent blinking for users with many windows/tabs and lots of memory. ?
--disable-blink-features ? Disable one or more Blink runtime-enabled features. Use names from RuntimeEnabledFeatures.in, separated by commas. Applied after kEnableBlinkFeatures, and after other flags that change these features. ?
--disable-boot-animation ? Disables wallpaper boot animation (except of OOBE case). ?
--disable-breakpad ? Disables the crash reporting. ?
--disable-bundled-ppapi-flash ? Disables the bundled PPAPI version of Flash. ?
--disable-cached-picture-raster ? Disables the use of a cached picture for raster in the renderer, making raster go directly from the display item list (this is the data structure surfaced to tracing). This is useful for debugging to remove the cached picture from the pipeline to narrow down bugs. ?
--disable-canvas-aa ? Disable antialiasing on 2d canvas. ?
--disable-captive-portal-bypass-proxy ? Disable bypass proxy for captive portal authorization. ?
--disable-cast-streaming-hw-encoding ? Disable hardware encoding support for Cast Streaming. ?
--disable-child-account-detection ? Disables detection of child accounts. ?
--disable-clear-browsing-data-counters ? Disables data volume counters in the Clear Browsing Data dialog. ?
--disable-client-side-phishing-detection ? Disables 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-import ? Disables cloud backup feature. ?
--disable-component-cloud-policy ? Disables fetching and storing cloud policy for components. ?
--disable-component-extensions-with-background-pages ? Disable default component extensions with background pages - useful for performance tests where these pages may interfere with perf results. ?
--disable-component-update ? No description ?
--disable-composited-antialiasing ? Disables layer-edge anti-aliasing in the compositor. ?
--disable-contextual-search ? Disables Contextual Search. ?
--disable-credit-card-scan ? Disables using device's camera to scan a new credit card when filling out a credit card form. ?
--disable-d3d11 ? Disables use of D3D11. ?
--disable-databases ? Disables HTML5 DB support. ?
--disable-datasaver-prompt ? Switches and optional value for Data Saver prompt on cellular networks. ?
--disable-default-apps ? Disables installation of default apps on first run. This is used during automated testing. ?
--disable-demo-mode ? Disables the ChromeOS demo. ?
--disable-desktop-capture-picker-new-ui? Disable new UI for desktop capture picker window. ?
--disable-device-disabling ? If this switch is set, the device cannot be remotely disabled by its owner. ?
--disable-device-discovery-notifications ? Disables device discovery notifications. ?
--disable-dinosaur-easter-egg ? Disables the dinosaur easter egg on the offline interstitial. ?
--disable-direct-composition ? Disables the use of DirectComposition to draw to the screen. ?
--disable-directwrite-for-ui[1] ? Disables DirectWrite font rendering for general UI elements. ?
--disable-display-color-calibration[5] ? No description ?
--disable-display-list-2d-canvas ? No description ?
--disable-distance-field-text ? Disables distance field text. ?
--disable-domain-blocking-for-3d-apis ? Disable the per-domain blocking for 3D APIs after GPU reset. This switch is intended only for tests. ?
--disable-domain-reliability ? Disables Domain Reliability Monitoring. ?
--disable-download-notification ? Disable download notification. ?
--disable-drive-search-in-app-launcher ? No description ?
--disable-dwm-composition ? Disables use of DWM composition for top level windows. ?
--disable-eol-notification ? Disables notification when device is in end of life status. ?
--disable-experimental-app-list ? No description ?
--disable-extensions ? Disable extensions. ?
--disable-extensions-file-access-check ? Disable 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-throttling ? Disable the net::URLRequestThrottlerManager functionality for requests originating from extensions.?
--disable-fast-web-scroll-view-insets ? Disables a workaround for fast inset updates for UIWebView.scrollView. ?
--disable-features ? Lists separated by commas the name of features to disable. See base::FeatureList::InitializeFromCommandLine for details. ?
--disable-field-trial-config ? Disable field trial tests configured in fieldtrial_testing_config.json. ?
--disable-file-system ? Disable FileSystem API. ?
--disable-files-quick-view ? Disables quick view in Files app. ?
--disable-flash-3d ? Disable 3D inside of flapper. ?
--disable-flash-stage3d ? Disable Stage3D inside of flapper. ?
--disable-fullscreen-low-power-mode[4] ? Disables fullscreen low power mode on Mac. ?
--disable-fullscreen-tab-detaching[4] ? Disables tab detaching in fullscreen mode on Mac. ?
--disable-gaia-services ? Disable GAIA services such as enrollment and OAuth session restore. Used by 'fake' telemetry login.?
--disable-gesture-editing ? No description ?
--disable-gesture-requirement-for-media-playback ? Disable user gesture requirement for media playback. ?
--disable-gesture-requirement-for-presentation ? Disable user gesture requirement for presentation. ?
--disable-gesture-typing ? No description ?
--disable-gl-drawing-for-tests ? Disables GL drawing operations which produce pixel output. With this the GL output will not be correct but tests will run faster. ?
--disable-gl-error-limit ? Disable the GL error log limit. ?
--disable-gl-extensions ? Disables specified comma separated GL Extensions if found. ?
--disable-glsl-translator ? Disable the GLSL translator. ?
--disable-gpu ? Disables GPU hardware acceleration. If software renderer is not in place, then the GPU process won't launch. ?
--disable-gpu-async-worker-context ? Disable async GL worker context. Overrides kEnableGpuAsyncWorkerContext. ?
--disable-gpu-compositing ? Prevent the compositor from using its GPU implementation. ?
--disable-gpu-driver-bug-workarounds ? Disable workarounds for various GPU driver bugs. ?
--disable-gpu-early-init ? Disable proactive early init of GPU process. ?
--disable-gpu-memory-buffer-compositor-resources ? Do not force that all compositor resources be backed by GPU memory buffers. ?
--disable-gpu-memory-buffer-video-frames? Disable GpuMemoryBuffer backed VideoFrames. ?
--disable-gpu-process-crash-limit ? Disable the limit on the number of times the GPU process may be restarted This switch is intended only for tests. ?
--disable-gpu-program-cache ? Turn off gpu program caching ?
--disable-gpu-rasterization ? Disable GPU rasterization, i.e. rasterize on the CPU only. Overrides the kEnableGpuRasterization and kForceGpuRasterization flags. ?
--disable-gpu-sandbox ? Disable the GPU process sandbox. ?
--disable-gpu-shader-disk-cache ? Disables the GPU shader on disk cache. ?
--disable-gpu-vsync ? Stop 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. gpu : Disable gpu vsync. default: Set both flags. ?
--disable-gpu-watchdog ? Disable the thread that crashes the GPU process if it stops responding to messages. ?
--disable-hang-monitor ? Suppresses 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-oobe ? Disable HID-detection OOBE screen. ?
--disable-hide-inactive-stacked-tab-close-buttons ? Disable hiding the close buttons of inactive tabs when the tabstrip is in stacked mode. ?
--disable-histogram-customizer ? Disable the RenderThread's HistogramCustomizer. ?
--disable-hosted-app-shim-creation[4] ? Disables app shim creation for hosted apps on Mac. ?
--disable-hosted-apps-in-windows[4] ? Prevents hosted apps from being opened in windows on Mac. ?
--disable-http2 ? Disables the HTTP/2 and SPDY/3.1 protocols. ?
--disable-icon-ntp ? Disables large icons on the New Tab page. ?
--disable-in-process-stack-traces ? Disable in-process stack traces. ?
--disable-infobars ? Prevent infobars from appearing. ?
--disable-input-view ? No description ?
--disable-ios-password-generation ? Disable password generation for iOS. ?
--disable-ios-password-suggestions ? Disable showing available password credentials in the keyboard accessory view when focused on form fields. ?
--disable-ios-physical-web ? Disables Physical Web scanning for nearby URLs. ?
--disable-javascript-harmony-shipping ? Disable latest shipping ECMAScript 6 features. ?
--disable-kill-after-bad-ipc ? Don'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-text ? Disables LCD text. ?
--disable-legacy-window[1] ? Disable the Legacy Window which corresponds to the size of the WebContents. ?
--disable-local-storage ? Disable LocalStorage. ?
--disable-logging ? Force logging to be disabled. Logging is enabled by default in debug builds. ?
--disable-login-animations ? Avoid doing expensive animations upon login. ?
--disable-low-end-device-mode ? Force disabling of low-end device mode when set. ?
--disable-low-res-tiling ? When 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-lru-snapshot-cache ? Disable the snapshots lru cache. ?
--disable-mac-overlays[8] ? Fall back to using CAOpenGLLayers display content, instead of the IOSurface based overlay display path. ?
--disable-mac-views-native-app-windows[4] ? Disables use of toolkit-views based native app windows. ?
--disable-main-frame-before-activation ? Disables sending the next BeginMainFrame before the previous commit activates. Overrides the kEnableMainFrameBeforeActivation flag. ?
--disable-media-suspend ? No description ?
--disable-media-thread-for-media-playback[6] ? Sets the MediaSource player that uses UI thread for frame processing. ?
--disable-merge-key-char-events[1] ? Disables merging the key event (WM_KEY*) with the char event (WM_CHAR). ?
--disable-minimize-on-second-launcher-item-click ? Disable the behavior that the second click on a launcher item (the click when the item is already active) minimizes the item. ?
--disable-mtp-write-support ? Disables mtp write support. ?
--disable-multi-display-layout ? Enable the multiple display layout UI. ?
--disable-namespace-sandbox ? Disables usage of the namespace sandbox. ?
--disable-native-gpu-memory-buffers ? Disables native GPU memory buffer support. ?
--disable-network-portal-notification ? Disables notifications about captive portals in session. ?
--disable-new-bookmark-apps ? Disables the new bookmark app system. ?
--disable-new-channel-switcher-ui ? Disable new channel switcher UI. ?
--disable-new-kiosk-ui ? Disables new Kiosk UI when kiosk apps are represented as user pods. ?
--disable-new-korean-ime ? If this switch is set, the new Korean IME will not be available in chrome://settings/languages. ?
--disable-new-profile-management ? Disables new profile management system, including new profile chooser UI. ?
--disable-new-zip-unpacker ? Disables the new File System Provider API based ZIP unpacker. ?
--disable-notifications ? Disables the Web Notification and the Push APIs. ?
--disable-ntp-popular-sites ? Disables showing popular sites on the NTP. ?
--disable-nv12-dxgi-video ? Disables the video decoder from drawing to an NV12 textures instead of ARGB. ?
--disable-offer-store-unmasked-wallet-cards ? Force 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-cards ? Disables offering to upload credit cards. ?
--disable-office-editing-component-extension ? Disable 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-reload ? Disable auto-reload of error pages if offline. ?
--disable-offline-auto-reload-visible-only ? Disable only auto-reloading error pages when the tab is visible. ?
--disable-out-of-process-pac ? Disable out-of-process V8 proxy resolver. ?
--disable-overlay-scrollbar ? Disables overlay scrollbars on Aura or Linux. Does nothing on Mac. ?
--disable-overscroll-edge-effect[6] ? Disable overscroll edge effects like those found in Android views. ?
--disable-panel-fitting[5] ? Disables panel fitting (used for mirror mode). ?
--disable-panels ? Disables panels (always on-top docked pop-up windows). ?
--disable-partial-raster ? Disable partial raster in the renderer. Disabling this switch also disables the use of persistent gpu memory buffers. ?
--disable-password-generation ? Disables password generation when we detect that the user is going through account creation. ?
--disable-pepper-3d ? Disable Pepper3D. ?
--disable-pepper-3d-image-chromium ? Disable Image Chromium for Pepper 3d. ?
--disable-per-monitor-dpi[1] ? Disables per monitor DPI for supported Windows versions. This flag overrides kEnablePerMonitorDpi.?
--disable-permission-action-reporting ? Disables permission action reporting to Safe Browsing servers for opted in users. ?
--disable-permissions-api ? Disables the Permissions API. ?
--disable-permissions-blacklist ? Disables the Permissions Blacklist, which blocks access to permissions for blacklisted sites. ?
--disable-physical-keyboard-autocorrect ? If this switch is set, the options for suggestions as typing on physical keyboard will be disabled. ?
--disable-pinch ? Disables compositor-accelerated touch-screen pinch gestures. ?
--disable-pnacl-crash-throttling ? Disables crash throttling for Portable Native Client. ?
--disable-policy-key-verification ? Disables the verification of policy signing keys. TODO(atwilson): Remove this once all test servers have been updated to produce verification signatures. ?
--disable-popup-blocking ? Disable pop-up blocking. ?
--disable-preconnect ? Disable speculative TCP/IP preconnection. ?
--disable-prefer-compositing-to-lcd-text ? Disable the creation of compositing layers when it would prevent LCD text. ?
--disable-presentation-api ? Disables the Presentation API. ?
--disable-print-preview ? Disables print preview (For testing, and for users who don't like us. :[ ) ?
--disable-prompt-on-repost ? Normally 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-pull-to-refresh-effect[6] ? Disable the pull-to-refresh effect when vertically overscrolling content. ?
--disable-push-api-background-mode ? Enable background mode for the Push API. ?
--disable-quic ? Disables the QUIC protocol. ?
--disable-quic-port-selection ? Disable use of Chromium's port selection for the ephemeral port via bind(). This only has an effect if QUIC protocol is enabled. ?
--disable-reading-from-canvas ? Taints all <canvas> elements, regardless of origin. ?
--disable-remote-core-animation[8] ? Disable use of cross-process CALayers to display content directly from the GPU process on Mac. ?
--disable-remote-fonts ? Disables remote web font support. SVG font should always work whether this option is specified or not. ?
--disable-renderer-accessibility ? Turns off the accessibility in the renderer. ?
--disable-renderer-backgrounding ? Prevent renderer process backgrounding when set. ?
--disable-resize-lock ? Whether the resize lock is disabled. Default is false. This is generally only useful for tests that want to force disabling. ?
--disable-rgba-4444-textures ? Disables RGBA_4444 textures. ?
--disable-rollback-option ? Disables rollback option on reset screen. ?
--disable-rtc-smoothness-algorithm ? Disables 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-seccomp-filter-sandbox ? Disable the seccomp filter sandbox (seccomp-bpf) (Linux only). ?
--disable-session-crashed-bubble ? Disables using bubbles for session restore request. ?
--disable-settings-window ? Disable settings in a separate browser window per profile (see SettingsWindowEnabled() below). ?
--disable-setuid-sandbox ? Disable the setuid sandbox (Linux only). ?
--disable-shader-name-hashing ? Turn off user-defined name hashing in shaders. ?
--disable-shared-workers ? Disable shared workers. ?
--disable-signin-scoped-device-id ? Disables sending signin scoped device id to LSO with refresh token request. ?
--disable-single-click-autofill ? The "disable" flag for kEnableSingleClickAutofill. ?
--disable-site-engagement-service ? Disables the Site Engagement service, which records interaction with sites and allocates certain resources accordingly. ?
--disable-smart-virtual-keyboard ? No description ?
--disable-smooth-scrolling ? Disable smooth scrolling for testing. ?
--disable-software-rasterizer ? Disables the use of a 3D software rasterizer. ?
--disable-speech-api ? Disables the Web Speech API. ?
--disable-storage-manager ? Disables experimental storage manager to manage local storage. ?
--disable-sync ? Disables syncing browser data to a Google Account. ?
--disable-sync-app-list ? No description ?
--disable-sync-types ? Disables syncing one or more sync data types that are on by default. See sync/internal_api/public/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-detection ? This flag disables SystemTimezoneAutomaticDetection policy. ?
--disable-tab-eviction ? Disables the tab eviction policy. (applicable iff WKWebView is enabled) ?
--disable-tab-for-desktop-share ? Enables tab for desktop sharing. ?
--disable-tab-switcher ? Disables the tab switcher. ?
--disable-threaded-animation ? No description ?
--disable-threaded-compositing ? Disable multithreaded GPU compositing of web content. ?
--disable-threaded-scrolling ? Disable multithreaded, compositor scrolling of web content. ?
--disable-timezone-tracking-option ? Disable automatic timezone update. ?
--disable-touch-adjustment ? Disables touch adjustment. ?
--disable-touch-drag-drop ? Disables touch event based drag and drop. ?
--disable-touch-feedback ? Disables additional visual feedback to touch input. ?
--disable-translate ? Allows disabling of translate from the command line to assist with automated browser testing (e.g. Selenium/WebDriver). Normal browser users should disable translate with the preference. ?
--disable-translate-new-ux[4] ? Disables Translate experimental new UX which replaces the infobar. ?
--disable-unified-media-pipeline[6] ? Use WebMediaPlayerAndroid instead of WebMediaPlayerImpl. This is a temporary switch for holding back the new unified media pipeline. ?
--disable-usb-keyboard-detect[1] ? Disables the USB keyboard detection for blocking the OSK on Win8+. ?
--disable-v8-idle-tasks ? Disable V8 idle tasks. ?
--disable-vaapi-accelerated-video-encode[5] ? Disables VA-API accelerated video encode. ?
--disable-views-rect-based-targeting ? Specifies if a heuristic should be used to determine the most probable target of a gesture, where the touch region is represented by a rectangle. ?
--disable-virtual-keyboard-overscroll ? No description ?
--disable-voice-input ? No description ?
--disable-volume-adjust-sound ? Disables volume adjust sound. ?
--disable-vr-shell[6] ? Disable VR UI if supported. ?
--disable-wake-on-wifi ? Disables wake on wifi features. ?
--disable-web-notification-custom-layouts? Disables Web Notification custom layouts. ?
--disable-web-security ? Don't enforce the same-origin policy. (Used by people testing their sites.) ?
--disable-webgl ? Disable experimental WebGL support. ?
--disable-webgl-image-chromium ? Disables WebGL rendering into a scanout buffer for overlay support. ?
--disable-webrtc-encryption[9] ? 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[9] ? Disables HW decode acceleration for WebRTC. ?
--disable-webrtc-hw-encoding[9] ? Disables HW encode acceleration for WebRTC. ?
--disable-webusb-security ? Disables WebUSB's CORS-like checks for origin->device communication. ?
--disable-win32k-renderer-lockdown[1] ? Disables the Win32K process mitigation policy for renderer processes. ?
--disable-wkwebview ? Disables the use of WKWebView instead of UIWebView. ?
--disable-xss-auditor ? Disables Blink's XSSAuditor. The XSSAuditor mitigates reflective XSS. ?
--disable-zero-browsers-open-for-tests ? Some 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-copy ? Disable rasterizer that writes directly to GPU memory associated with tiles. ?
--disabled ? disabled: touch events are disabled. ?
--disk-cache-dir ? Use a specific disk cache location, rather than one derived from the UserDatadir. ?
--disk-cache-size ? Forces the maximum disk space to be used by the disk cache, in bytes. ?
--display[10] ? Which X11 display to connect to. Emulates the GTK+ "--display=" command line argument. ?
--dmg-device[4] ? 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-details ? No description ?
--dns-prefetch-disable ? Disables prefetching of DNS information. ?
--dom-automation ? Specifies 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. ?
--download ? Causes the process to run as a download subprocess. ?
--download-whole-document ? No description ?
--dump-browser-histograms ? Requests that a running browser process dump its collected histograms to a given file. The file is overwritten if it exists. ?
--dump-dom ? Instructs headless_shell to print document.body.innerHTML to stdout. ?
--eafe-path ? No description ?
--eafe-url ? EAFE url and path to use for Easy bootstrapping. ?
--early-tracing[11] ? No description ?
--easy-unlock-app-path ? Overrides the path of Easy Unlock component app. ?
--egl ? No description ?
--elevate ? No description ?
--embedded-extension-options ? Enables extension options to be embedded in chrome://extensions rather than a new tab. ?
--emphasize-titles-in-omnibox-dropdown? Causes the omnibox dropdown to emphasize the titles of URL suggestions for query-like inputs. ?
--emulate-shader-precision ? Emulate ESSL lowp and mediump float precisions by mutating the shaders to round intermediate values in ANGLE. ?
--enable-2d-canvas-clip-aa ? Enable antialiasing on 2d canvas clips (as opposed to draw operations) ?
--enable-accelerated-2d-canvas ? Enable accelerated 2D canvas. ?
--enable-accelerated-vpx-decode[1] ? Enables experimental hardware acceleration for VP8/VP9 video decoding. ?
--enable-accessibility-tab-switcher[6] ? Enable the accessibility tab switcher. ?
--enable-account-consistency ? Enables consistent identity features. ?
--enable-adaptive-selection-handle-orientation[6] ? Enable inverting of selection handles so that they are not clipped by the viewport boundaries. ?
--enable-add-to-shelf ? Enables the display of a banner allowing the user to add a web app to their shelf (or platform-specific equivalent) ?
--enable-aggressive-domstorage-flushing? Enable the aggressive flushing of DOM Storage to minimize data loss. ?
--enable-all-bookmarks-view ? Enables all bookmarks view in bookmark manager. ?
--enable-android-spellchecker[12] ? Enables use of the Android spellchecker. ?
--enable-app-info-dialog-mac[4] ? 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-link[6] ? Enable App Link. ?
--enable-app-list ? If set, the app list will be enabled as if enabled from CWS. ?
--enable-app-window-controls ? Enables the <window-controls> tag in platform apps. ?
--enable-app-window-cycling[4] ? Enables custom Cmd+` window cycling for platform apps and hosted apps. ?
--enable-appcontainer ? Enable or disable appcontainer/lowbox for renderer on Win8+ platforms. ?
--enable-apps-file-associations ? Enable OS integration for Chrome app file associations. ?
--enable-apps-show-on-first-paint ? Show apps windows after the first paint. Windows will be shown significantly later for heavy apps loading resources synchronously but it will be insignificant for apps that load most of their resources asynchronously. ?
--enable-arc ? Enables starting the ARC instance upon session start. ?
--enable-audio-debug-recordings-from-extension ? If the WebRTC logging private API is active, enables audio debug recordings. ?
--enable-autofill-keyboard-accessory-view[6] ? Enables showing suggestions in a keyboard accessory view. ?
--enable-begin-frame-scheduling ? Use a BeginFrame signal from browser to renderer to schedule rendering. ?
--enable-benchmarking ? Enables the benchmarking extensions. ?
--enable-ble-advertising-in-apps ? Enable BLE Advertisiing in apps. ?
--enable-blink-features ? Disable one or more Blink runtime-enabled features. Use names from RuntimeEnabledFeatures.in, separated by commas. Applied before kDisableBlinkFeatures, and after other flags that change these features. ?
--enable-bookmark-undo ? Enables the multi-level undo system for bookmarks. ?
--enable-browser-side-navigation ? PlzNavigate: Use the experimental browser-side navigation path. ?
--enable-centered-app-list ? If set, the app list will be centered and wide instead of tall. ?
--enable-child-account-detection ? Enables detection of child accounts. ?
--enable-clear-browsing-data-counters ? Enables data volume counters in the Clear Browsing Data dialog. ?
--enable-cloud-print-proxy ? This 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-cma-media-pipeline ? Enable the CMA media pipeline. ?
--enable-consumer-management ? Enables consumer management, which allows user to enroll, remotely lock and locate the device. ?
--enable-contextual-search ? Enables Contextual Search. ?
--enable-crash-reporter ? Indicates that crash reporting should be enabled. On platforms where helper processes cannot access to files needed to make this decision, this flag is generated internally. ?
--enable-crash-reporter-for-testing[13] ? Used for turning on Breakpad crash reporting in a debug environment where crash reporting is typically compiled but disabled. ?
--enable-credential-manager-api ? Enable the experimental Credential Manager JavaScript API. ?
--enable-credit-card-scan ? Enables using device's camera to scan a new credit card when filling out a credit card form. ?
--enable-crx-hash-check ? Enable package hash check: the .crx file sha256 hash sum should be equal to the one received from update manifest. ?
--enable-data-reduction-proxy-bypass-warning ? Enable the data reduction proxy bypass warning. ?
--enable-data-reduction-proxy-carrier-test? Enables the origin of the carrier test data reduction proxy. ?
--enable-data-reduction-proxy-force-pingback ? Enables sending a pageload metrics pingback after every page load. ?
--enable-data-reduction-proxy-lo-fi-preview ? Enables preview mode for Lo-Fi. This means a preview 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-datasaver-prompt ? No description ?
--enable-default-media-session[14] ? Use a media session for each tabs in a way that two tabs can't play on top of each other. This is different from the Media Session API as it is enabling a default behaviour for the browser. ?
--enable-device-discovery-notifications ? Enable device discovery notifications. ?
--enable-devtools-experiments ? If true devtools experimental settings are enabled. ?
--enable-display-list-2d-canvas ? Enables 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-text ? Enables using signed distance fields when rendering text. Only valid if GPU rasterization is enabled as well. ?
--enable-dom-distiller ? No description ?
--enable-domain-reliability ? Enables Domain Reliability Monitoring. ?
--enable-drive-search-in-app-launcher ? Enable/disable drive search in chrome launcher. ?
--enable-embedded-extension-options ? Hack so that feature switch can work with about_flags. See kEnableScriptsRequireAction. ?
--enable-embeddedsearch-api[6] ? Enables EmbeddedSearch API in the search results page. ?
--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-features ? Shows additional checkboxes in Settings to enable Chrome OS accessibility features that haven't launched yet. ?
--enable-experimental-app-list ? Enable/disable the experimental app list. If enabled, implies --enable-centered-app-list. ?
--enable-experimental-canvas-features ? Enable experimental canvas features, e.g. canvas 2D context attributes ?
--enable-experimental-extension-apis ? Enables extension APIs that are in development. ?
--enable-experimental-input-view-features ? No description ?
--enable-experimental-web-platform-features ? Enables Web Platform features that are in development. ?
--enable-extension-action-redesign ? Hack so that feature switch can work with about_flags. See kEnableScriptsRequireAction. ?
--enable-extension-activity-log-testing ? No description ?
--enable-extension-activity-logging ? Enables logging for extension activity. ?
--enable-extension-assets-sharing ? Enabled sharing assets for installed default apps. ?
--enable-fast-unload ? Enable 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-fast-web-scroll-view-insets ? Enables a workaround for fast inset updates for UIWebView.scrollView. ?
--enable-features ? Lists separated by commas the name of features to disable. See base::FeatureList::InitializeFromCommandLine for details. ?
--enable-files-details-panel ? Enables details panel in Files app. ?
--enable-files-quick-view ? Enables quick view in Files app. ?
--enable-first-run-ui-transitions ? Enables animated transitions during first-run tutorial. ?
--enable-floating-virtual-keyboard ? No description ?
--enable-font-antialiasing ? Enable font antialiasing for pixel tests. ?
--enable-fullscreen-tab-detaching[4] ? Enables tab detaching in fullscreen mode on Mac. ?
--enable-fullscreen-toolbar-reveal[4] ? Enables the fullscreen toolbar to reveal itself for tab strip changes. ?
--enable-google-branded-context-menu[15] ? Shows a Google icon next to context menu items powered by Google services. ?
--enable-gpu-async-worker-context ? Makes the GL worker context run asynchronously by using a separate stream. ?
--enable-gpu-benchmarking ? Enables the GPU benchmarking extension ?
--enable-gpu-client-logging ? Enable GPU client logging. ?
--enable-gpu-client-tracing ? Enables TRACE for GL calls in the renderer. ?
--enable-gpu-command-logging ? Turn on Logging GPU commands. ?
--enable-gpu-debugging ? Turn on Calling GL Error after every command. ?
--enable-gpu-memory-buffer-compositor-resources ? Specify that all compositor resources should be backed by GPU memory buffers. ?
--enable-gpu-memory-buffer-video-frames? Enable GpuMemoryBuffer backed VideoFrames. ?
--enable-gpu-rasterization ? Allow 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-logging ? Turns on GPU logging (debug build only). ?
--enable-gpu-service-tracing ? Turns on calling TRACE for every GL call. ?
--enable-grouped-history ? Enables grouping websites by domain and filtering them by period. ?
--enable-hardware-overlays ? Enable compositing individual elements via hardware overlays when permitted by device. ?
--enable-harfbuzz-rendertext[4] ? Enables the HarfBuzz port of RenderText on Mac (it's already used only for text editing; this enables it for everything else). ?
--enable-heap-profiling ? Makes 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[4] ? Shows a notification when quitting Chrome with hosted apps running. Default behavior is to also quit all hosted apps. ?
--enable-hosted-apps-in-windows[4] ? Allows hosted apps to be opened in windows on Mac. ?
--enable-hosted-mode[6] ? Enables chrome hosted mode for Android. ?
--enable-hotword-hardware ? Enables 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-icon-ntp ? Enables large icons on the New Tab page. ?
--enable-image-color-profiles ? Dynamically apply color profiles to web content images. ?
--enable-inband-text-tracks ? Enables support for inband text tracks in media content. ?
--enable-intent-picker[5] ? Enables the intent picker so the user can handle URL links with ARC apps. ?
--enable-ios-handoff-to-other-devices ? Enables support for Handoff from Chrome on iOS to the default browser of other Apple devices. ?
--enable-ios-password-generation ? Enable password generation for iOS. ?
--enable-ios-physical-web ? Enables Physical Web scanning for nearby URLs. ?
--enable-kiosk-mode ? Enable Kiosk mode for ChromeOS. Note this switch refers to retail mode rather than the kiosk app mode. ?
--enable-layer-lists ? Switches cc machinery to use layer lists instead of layer trees ?
--enable-lcd-text ? Enables LCD text. ?
--enable-leak-detection ? Enables 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-accesses ? Enable file accesses. It should not be enabled for most Cast devices. ?
--enable-logging ? Force logging to be enabled. Logging is disabled by default in release builds. ?
--enable-longpress-drag-selection[6] ? Enable drag manipulation of longpress-triggered text selections. ?
--enable-low-end-device-mode ? Force low-end device mode when set. ?
--enable-low-res-tiling ? When using CPU rasterizing generate low resolution tiling. Low res tiles may be displayed during fast scrolls especially on slower devices. ?
--enable-lru-snapshot-cache ? Enables the snapshot lru cache. ?
--enable-mac-views-native-app-windows[4] ? Enables use of toolkit-views based native app windows. ?
--enable-main-frame-before-activation ? Enables sending the next BeginMainFrame before the previous commit activates. ?
--enable-md-extensions ? Enables the Material Design version of chrome://extensions. ?
--enable-md-feedback ? Enables the Material Design feedback form. ?
--enable-md-oobe ? This flag enables material design OOBE UI. ?
--enable-md-policy-page ? Enables the Material Design policy page at chrome://md-policy. ?
--enable-media-suspend ? Suspend media pipeline on background tabs. ?
--enable-media-thread-for-media-playback[6] ? Sets the MediaSource player that uses the separate media thread ?
--enable-memory-benchmarking ? Enables the memory benchmarking extension ?
--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-removal ? Enables 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-mojo-serial-service ? Enables the mojo implementation of the serial API. ?
--enable-nacl ? Runs the Native Client inside the renderer process and enables GPU plugin (internally adds lEnableGpuPlugin to the command line). ?
--enable-nacl-debug ? Enables debugging via RSP over a socket. ?
--enable-nacl-nonsfi-mode ? Enables Non-SFI mode, in which programs can be run without NaCl's SFI sandbox. ?
--enable-native-cups[5] ? Enables native cups integration ?
--enable-native-gpu-memory-buffers ? Enable native GPU memory buffer support when available. ?
--enable-native-notifications ? Enables the use of native notifications instead of using the Chrome based ones. ?
--enable-natural-scroll-default ? Enables natural scroll by default. ?
--enable-navigation-tracing ? Enables 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-benchmarking ? Enables the network-related benchmarking extensions. ?
--enable-network-information ? Enables the network information API. ?
--enable-network-portal-notification ? Enables notifications about captive portals in session. ?
--enable-new-bookmark-apps ? Enables the new bookmark app system. ?
--enable-ntp-popular-sites ? Enables showing popular sites on the NTP. ?
--enable-ntp-search-engine-country-detection ? Enables using the default search engine country to show country specific popular sites on the NTP. ?
--enable-offer-store-unmasked-wallet-cards ? Force 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-cards ? Enables offering to upload credit cards. ?
--enable-offline-auto-reload ? Enable auto-reload of error pages if offline. ?
--enable-offline-auto-reload-visible-only ? Only auto-reload error pages when the tab is visible. ?
--enable-osk-overscroll[6] ? Enables overscrolling for the OSK on Android. ?
--enable-overlay-scrollbar ? Enables overlay scrollbars on Aura or Linux. Does nothing on Mac. ?
--enable-override-bookmarks-ui ? Enables extensions to hide bookmarks UI elements. ?
--enable-panels ? Enables panels (always on-top docked pop-up windows). ?
--enable-partial-raster ? Enable partial raster in the renderer. ?
--enable-password-generation ? Enables password generation when we detect that the user is going through account creation. ?
--enable-pepper-testing ? Enables the testing interface for PPAPI. ?
--enable-per-monitor-dpi[1] ? Enables per monitor DPI for supported Windows versions. ?
--enable-permission-action-reporting ? Enables permission action reporting to Safe Browsing servers for opted in users. ?
--enable-permissions-blacklist ? Enables the Permissions Blacklist, which blocks access to permissions for blacklisted sites. ?
--enable-physical-keyboard-autocorrect ? If this switch is set, the options for suggestions as typing on physical keyboard will be enabled. ?
--enable-pinch ? Enables compositor-accelerated touch-screen pinch gestures. ?
--enable-pixel-output-in-tests ? Forces tests to produce pixel output when they normally wouldn't. ?
--enable-plugin-placeholder-testing ? Enables testing features of the Plugin Placeholder. For internal use only. ?
--enable-potentially-annoying-security-features ? Enables a number of potentially annoying security features (strict mixed content mode, powerful feature restrictions, etc.) ?
--enable-power-overlay ? Enables the Power overlay in Settings. ?
--enable-precache ? Enables the proactive populating of the disk cache with Web resources that are likely to be needed in future page fetches. ?
--enable-precise-memory-info ? Make 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-text ? Enable the creation of compositing layers when it would prevent LCD text. ?
--enable-print-preview-register-promos ? Enables 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-profiling ? Enables 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-proximity-auth-bluetooth-low-energy-discovery ? Enables discovery of the phone over Bluetooth Low Energy. ?
--enable-proximity-auth-proximity-detection ? Enables close proximity detection. This allows the user to set a setting to require very close proximity between the remote device and the local device in order to unlock the local device, which trades off convenience for security. ?
--enable-push-api-background-mode ? Enable background mode for the Push API. ?
--enable-query-extraction[16] ? Enables query in the omnibox. ?
--enable-quic ? Enables the QUIC protocol. This is a temporary testing flag. ?
--enable-quic-port-selection ? Enable use of Chromium's port selection for the ephemeral port via bind(). This only has an effect if the QUIC protocol is enabled. ?
--enable-reader-mode-toolbar-icon ? Enables context-sensitive reader mode button in the toolbar. ?
--enable-request-tablet-site ? Enables request of tablet site (via user agent override). ?
--enable-rgba-4444-textures ? Enables RGBA_4444 textures. ?
--enable-sandbox ? Enables the sandbox on this process. ?
--enable-sandbox-logging ? Cause the OS X sandbox write to syslog every time an access to a resource is denied by the sandbox. ?
--enable-screenshot-testing-with-mode ? Enables using screenshots in tests and seets mode. ?
--enable-scripts-require-action ? FeatureSwitch 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-prediction ? Enable scroll prediction for scroll update events. ?
--enable-session-crashed-bubble ? Enables using bubbles for session restore request instead of infobars. ?
--enable-settings-window ? Enable settings in a separate browser window per profile (see SettingsWindowEnabled() below). ?
--enable-share-group-async-texture-upload ? Allows async texture uploads (off main thread) via GL context sharing. ?
--enable-single-click-autofill ? Enables/disables suggestions without typing anything (on first click). ?
--enable-site-engagement-app-banner ? Enable the Site Engagement App Banner which triggers app install banners using the site engagement service rather than a navigation-based heuristic. Implicitly enables the site engagement service. ?
--enable-site-engagement-eviction-policy? Enable the Site Engagement Eviction Policy which evicts temporary storage using the site engagement service. Implicitly enables the site engagement service. ?
--enable-site-engagement-service ? Enable the Site Engagement service, which records interaction with sites and allocates certain resources accordingly. ?
--enable-skia-benchmarking ? Enables the Skia benchmarking extension ?
--enable-slimming-paint-v2 ? Enables slimming paint phase 2: http://www.chromium.org/blink/slimming-paint ?
--enable-smooth-scrolling ? On platforms that support it, enables smooth scroll animation. ?
--enable-spatial-navigation ? Enable spatial navigation ?
--enable-spdy-proxy-auth ? Enable the data reduction proxy. ?
--enable-speech-dispatcher[17] ? 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[12]? Enables participation in the field trial for user feedback to spelling service. ?
--enable-stats-collection-bindings ? Specifies if the |StatsCollectionController| needs to be bound in html pages. 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-table ? Enables StatsTable, logging statistics to a global named shared memory table. ?
--enable-storage-manager ? Enables experimental storage manager to manage local storage. ?
--enable-strict-mixed-content-checking ? Blocks all insecure requests from secure contexts, and prevents the user from overriding that decision. ?
--enable-strict-powerful-feature-restrictions ? Blocks 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-with-substring-match ? Enables suggestions with substring matching instead of prefix matching. ?
--enable-supervised-user-managed-bookmarks-folder ? Enables the supervised user managed bookmarks folder. ?
--enable-sync-app-list ? Enable/disable syncing of the app list independent of extensions. ?
--enable-sync-articles ? No description ?
--enable-tab-audio-muting ? Enables user control over muting tab audio from the tab strip. ?
--enable-tab-eviction ? Enables the tab eviction policy. (applicable iff WKWebView is enabled) ?
--enable-tab-switcher ? Enables the tab switcher. ?
--enable-tab-switcher-theme-colors[6] ? Enable theme colors in the tab switcher. ?
--enable-tcp-fastopen ? Enable use of experimental TCP sockets API for sending data in the SYN packet. ?
--enable-threaded-compositing ? Enabled threaded compositing for layout tests. ?
--enable-threaded-texture-mailboxes ? Simulates shared textures when share groups are not available. Not available everywhere. ?
--enable-thumbnail-retargeting ? Enables fanciful thumbnail processing. Used with NTP for instant-extended-api, where thumbnails are generally smaller. ?
--enable-tile-compression ? Compress tile textures for GPUs supporting it. ?
--enable-touch-drag-drop ? Enables touch event based drag and drop. ?
--enable-touchview ? Enables the observation of accelerometer events to enter touch-view mode. ?
--enable-trace-app-source ? Pass launch source to platform apps. ?
--enable-tracing ? Enable tracing during the execution of browser tests. ?
--enable-tracing-output ? The filename to write the output of the test tracing to. ?
--enable-translate-new-ux[4] ? Enables Translate experimental new UX which replaces the infobar. ?
--enable-transparent-visuals[10] ? When enabled, tries to get a transparent X11 visual so that we can have per-pixel alpha in windows. TODO(erg): Remove this switch once we've stabilized the code path. http://crbug.com/369209 ?
--enable-unsafe-es3-apis ? Enable OpenGL ES 3 APIs without proper service side validation. ?
--enable-use-zoom-for-dsf ? Enable the mode that uses zooming to implment device scale factor behavior. ?
--enable-user-controlled-alternate-protocol-ports ? Enables Alternate-Protocol when the port is user controlled (> 1024). ?
--enable-usermedia-screen-capturing ? Enable screen capturing support for MediaStream API. ?
--enable-video-player-chromecast-support? Enables the chromecast support for video player app. ?
--enable-viewport ? Enables 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-keyboard ? No description ?
--enable-vp9-in-mp4 ? Enables demuxing of vp9 in mp4. Note that this flag will not have any effect if MP4 demuxing is not enabled in the build. ?
--enable-vr-shell[6] ? Enable VR UI if supported. ?
--enable-vtune-support ? Enable the Vtune profiler support. ?
--enable-vulkan ? Enable Vulkan support, must also have ENABLE_VULKAN defined. ?
--enable-wasm ? Enables experimental WebAssembly. ?
--enable-wayland-server[18] ? Enables Wayland display server support. ?
--enable-web-app-frame ? Enables a new "web app" style frame for hosted apps (including bookmark apps). ?
--enable-web-bluetooth ? Enable Web Bluetooth. ?
--enable-web-notification-custom-layouts? Enables Web Notification custom layouts. ?
--enable-webapk[6] ? Enables "Add to Home screen" in the app menu to generate WebAPKs. ?
--enable-webfonts-intervention-trigger ? Enable WebFonts intervention and trigger the signal always. ?
--enable-webfonts-intervention-v2 ? WebFonts intervention v2 flag and values. ?
--enable-webgl-draft-extensions ? Enables WebGL extensions not yet approved by the community. ?
--enable-webgl-image-chromium ? Enables WebGL rendering into a scanout buffer for overlay support. ?
--enable-webrtc-dtls12[9] ? Enables negotiation of DTLS 1.2 for WebRTC. ?
--enable-webrtc-event-logging-from-extension ? If the WebRTC logging private API is active, enables WebRTC event logging. ?
--enable-webrtc-hw-h264-encoding[9] ? Enables H264 HW encode acceleration for WebRTC. ?
--enable-webrtc-stun-origin[9] ? Enables Origin header in Stun messages for WebRTC. ?
--enable-webvr ? Enables interaction with virtual reality devices. ?
--enable-wifi-credential-sync ? Enables synchronizing WiFi credentials across devices, using Chrome Sync. ?
--enable-win32k-lockdown-mimetypes[1]? Enables the Win32K process mitigation policy for certain PPAPI mime types. Each mime type is separated by a comma. Specify * to enable the policy for all mime types. ?
--enable-win7-webrtc-hw-h264-decoding[1] ? Enables H264 HW decode acceleration for WebRtc on Win 7. ?
--enable-wkwebview ? Enables the use of WKWebView instead of UIWebView. ?
--enable-zero-copy ? Enable rasterizer that writes directly to GPU memory associated with tiles. ?
--enable-zero-copy-dxgi-video ? Enable the video decoder to draw directly to a texture. ?
--enabled ? enabled: touch events always enabled. ?
--enabled-2g ? No description ?
--enabled-slow2g ? No description ?
--encode-binary ? Encode binary layout test results (images, audio) using base64. ?
--enforce ? No description ?
--enforce-gl-minimums ? Enforce GL minimums. ?
--enforce-webrtc-ip-permission-check[9] ? Enforce IP Permission check. TODO(guoweis): Remove this once the feature is not under finch and becomes the default. ?
--enforce_strict ? No description ?
--engine-cert-path ? No description ?
--engine-ip ? Specifies the engine's IP address. Must be used in conjunction with --engine-port and --engine-transport. This is the same command line flag as ENGINE_IP in android/java/src/org/chromium/blimp/core/BlimpClientSwitches.java ?
--engine-port ? No description ?
--engine-transport ? No description ?
--enterprise-disable-arc ? Disables ARC for managed accounts. ?
--enterprise-enable-forced-re-enrollment? Whether to enable forced enterprise re-enrollment. ?
--enterprise-enable-zero-touch-enrollment? Enables the zero-touch enterprise enrollment flow. ?
--enterprise-enrollment-initial-modulus ? Power 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-limit ? Power of the power-of-2 maximum modulus that will be used by the auto-enrollment client. ?
--error-console ? Allows the ErrorConsole to collect runtime and manifest errors, and display them in the chrome:extensions page. ?
--experimental ? No description ?
--explicitly-allowed-ports ? Explicitly allows additional ports using a comma-separated list of port numbers. ?
--expose-internals-for-testing ? Exposes the window.internals object to JavaScript for interactive development and debugging of layout tests that rely on it. ?
--extension-action-redesign ? Whether to switch to extension action redesign mode (experimental). ?
--extension-content-verification ? Name of the command line flag to force content verification to be on in one of various modes. ?
--extension-process ? Marks a renderer as extension process. ?
--extensions-install-verification ? Turns on extension install verification if it would not otherwise have been turned on. ?
--extensions-multi-account ? Enables multiple account versions of chrome.identity APIs. ?
--extensions-not-webstore ? Specifies 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-urls ? Enables extensions running scripts on chrome:// URLs. Extensions still need to explicitly request access to chrome:// URLs in the manifest. ?
--extensions-update-frequency ? Frequency in seconds for Extensions auto-update. ?
--extra-search-query-params ? Additional query params to insert in the search and instant URLs. Useful for testing. ?
--fake-variations-channel ? Fakes 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. ?
--false ? Value indicating whether flag from command line switch is false. ?
--fast ? Defines that Material Design visual feedback animations should be fast. ?
--fast-start ? If 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-server ? Alternative feedback server to use when submitting user feedback ?
--first-exec-after-boot ? Passed to Chrome the first time that it's run after the system boots. Not passed on restart after sign out. ?
--flag-switches-begin ? These 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-end ? No 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-app-mode ? Forces application mode. This hides certain system UI elements and forces the app to be installed if it hasn't been already. ?
--force-dev-mode-highlighting ? Whether to force developer mode extensions highlighting. ?
--force-device-scale-factor ? Overrides the device scale factor for the browser UI and the contents. ?
--force-display-list-2d-canvas ? No description ?
--force-fieldtrial-params ? This 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-fieldtrials ? This 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-run ? Displays 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-ui ? Forces first-run UI to be shown for every login. ?
--force-gpu-mem-available-mb ? Sets the total amount of memory that may be allocated for GPU resources ?
--force-gpu-rasterization ? Always use the Skia GPU backend for drawing layer tiles. Only valid with GPU accelerated compositing + impl-side painting. Overrides the kEnableGpuRasterization flag. ?
--force-load-easy-unlock-app-in-tests ? Force easy unlock app loading in test. TODO(xiyuan): Remove this when app could be bundled with Chrome. ?
--force-local-ntp ? Forces Chrome to use localNTP instead of server (GWS) NTP. ?
--force-login-manager-in-tests ? Usually 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-video ? Forces use of hardware overlay for fullscreen video playback. Useful for testing the Android overlay fullscreen functionality on other platforms. ?
--force-pnacl-subzero ? Force use of the Subzero as the PNaCl translator instead of LLC. ?
--force-renderer-accessibility ? Force 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-ui-direction ? Force the UI to a specific direction. Valid values are "ltr" (left-to-right) and "rtl" (right-to-left). ?
--force-variation-ids ? Forces 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-wave-audio[1] ? Use Windows WaveOut/In audio API even if Core Audio is supported. ?
--force-webrtc-ip-handling-policy[9] ? Override WebRTC IP handling policy to mimic the behavior when WebRTC IP handling policy is specified in Preferences. ?
--full-memory-crash-report ? Generates full memory crash dump. ?
--gaia-url ? No description ?
--gcm-checkin-url ? Sets the checkin service endpoint that will be used for performing Google Cloud Messaging checkins.?
--gcm-mcs-endpoint ? Sets the Mobile Connection Server endpoint that will be used for Google Cloud Messaging. ?
--gcm-registration-url ? Sets the registration endpoint that will be used for creating new Google Cloud Messaging registrations. ?
--generate-accessibility-test-expectations? For 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. ?
--gl ? No description ?
--gl-shader-interm-output ? Include ANGLE's intermediate representation (AST) output in shader compilation info logs. ?
--gles ? No description ?
--golden-screenshots-dir ? Screenshot testing: specifies the directory where the golden screenshots are stored. ?
--google-apis-url ? No description ?
--google-base-url ? Specifies an alternate URL to use for speaking to Google. Useful for testing. ?
--google-profile-info ? Enables using GAIA information to populate profile name and icon. ?
--google-url ? No description ?
--gpu-active-device-id ? Passes active gpu device id from browser process to GPU process. ?
--gpu-active-vendor-id ? Passes active gpu vendor id from browser process to GPU process. ?
--gpu-device-id ? Passes gpu device_id from browser process to GPU process. ?
--gpu-driver-bug-workarounds ? Pass a set of GpuDriverBugWorkaroundType ids, seperated by ','. ?
--gpu-driver-date ? Passes gpu driver_date from browser process to GPU process. ?
--gpu-driver-vendor ? Passes gpu driver_vendor from browser process to GPU process. ?
--gpu-driver-version ? Passes gpu driver_version from browser process to GPU process. ?
--gpu-launcher ? Extra command line options for launching the GPU process (normally used for debugging). Use like renderer-cmd-prefix. ?
--gpu-no-complete-info-collection ? Testing switch to not launch the gpu process for full gpu info collection. ?
--gpu-no-context-lost ? Inform 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-process ? Makes this process a GPU sub-process. ?
--gpu-program-cache-size-kb ? Sets the maximum size of the in-memory gpu program cache, in kb ?
--gpu-rasterization-msaa-sample-count ? The number of multisample antialiasing samples for GPU rasterization. Requires MSAA support on GPU to have an effect. 0 disables MSAA. ?
--gpu-sandbox-allow-sysv-shm ? Allows shmat() system call in the GPU sandbox. ?
--gpu-sandbox-failures-fatal ? Makes GPU sandbox failures fatal. ?
--gpu-sandbox-start-early ? Starts the GPU sandbox before creating a GL context. ?
--gpu-secondary-device-ids ? Passes secondary gpu device ids from browser process to GPU process. ?
--gpu-secondary-vendor-ids ? Passes secondary gpu vendor ids from browser process to GPU process. ?
--gpu-startup-dialog ? Causes the GPU process to display a dialog on launch. ?
--gpu-testing-device-id ? Override gpu device id from the GpuInfoCollector. ?
--gpu-testing-driver-date ? Override gpu driver date from the GpuInfoCollector. ?
--gpu-testing-gl-renderer ? Override gl renderer from the GpuInfoCollector. ?
--gpu-testing-gl-vendor ? Override gl vendor from the GpuInfoCollector. ?
--gpu-testing-gl-version ? Override gl version from the GpuInfoCollector. ?
--gpu-testing-os-version ? Override os version from GpuControlList::MakeDecision. ?
--gpu-testing-secondary-device-ids ? Override secondary gpu device ids from the GpuInfoCollector. ?
--gpu-testing-secondary-vendor-ids ? Override secondary gpu vendor ids from the GpuInfoCollector. ?
--gpu-testing-vendor-id ? Override gpu vendor id from the GpuInfoCollector. ?
--gpu-vendor-id ? Passes gpu vendor_id from browser process to GPU process. ?
--guest-wallpaper-large ? Wallpaper to use in guest mode (as paths to trusted, non-user-writable JPEG files). ?
--guest-wallpaper-small ? No description ?
--h[19] ? No description ?
--has-chromeos-diamond-key ? If true, the Chromebook has a keyboard with a diamond key. ?
--hdmi-sink-supported-codecs ? The bitmask of codecs (media_caps.h) supported by the current HDMI sink. ?
--help ? No description ?
--hide ? No description ?
--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. ?
--homedir ? Defines user homedir. This defaults to primary user homedir. ?
--homepage ? Specifies 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. ?
--host ? No description ?
--host-pairing-oobe ? With this switch, start remora OOBE with the pairing screen. ?
--host-resolver-retry-attempts ? The maximum number of retry attempts to resolve the host. Set this to zero to disable host resolver retry attempts. ?
--host-resolver-rules ? These mappings only apply to the host resolver. ?
--host-rules ? Comma-separated list of rules that control how hostnames are mapped. For example: "MAP * 127.0.0.1" --> Forces all hostnames to be mapped to 127.0.0.1 "MAP *.google.com proxy" --> Forces all google.com subdomains to be resolved to "proxy". "MAP test.com [::1]:77 --> Forces "test.com" to resolve to IPv6 loopback. Will also force the port of the resulting socket address to be 77. "MAP * baz, EXCLUDE www.google.com" --> Remaps everything to "baz", except for "www.google.com". These mappings apply to the endpoint host in a net::URLRequest (the TCP connect and host resolver in a direct connection, and the CONNECT in an http proxy connection, and the endpoint host in a SOCKS proxy connection). ?
--ignore-autocomplete-off-autofill ? Ignores autocomplete="off" for Autofill data (profiles + credit cards). ?
--ignore-certificate-errors ? Ignores certificate-related errors. ?
--ignore-gpu-blacklist ? Ignores GPU blacklist. ?
--ignore-urlfetcher-cert-requests ? Causes 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-tests ? If 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-gpu ? Run the GPU process as a thread in the browser process. ?
--incognito ? Causes the browser to launch directly in incognito mode. ?
--inert-visual-viewport ? Makes all APIs reflect the layout viewport. ?
--install-chrome-app ? Causes Chrome to initiate an installation flow for the given app. ?
--install-supervised-user-whitelists ? A list of whitelists to install for a supervised user, for testing. The list is of the following form: <id>[:<name>],[<id>[:<name>],...] ?
--instant-process ? Marks a renderer as an Instant process. ?
--interests-url ? The URL for the interests API. ?
--invalidation-use-gcm-channel ? Invalidation service should use GCM network channel even if experiment is not enabled. ?
--ipc-connection-timeout ? Overrides the timeout, in seconds, that a child process waits for a connection from the browser before killing itself. ?
--ipc-dump-directory[20] ? 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[20] ? Specifies the testcase used by the IPC fuzzer. ?
--is-running-in-mash ? Chrome is running in Mash. ?
--isolate-extensions ? Enables site isolation for all chrome-extension:// urls. ?
--isolate-sites-for-testing ? Enable 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-harmony ? Enables experimental Harmony (ECMAScript 6) features. ?
--js-flags ? Specifies the flags passed to JS engine ?
--keep-alive-for-test ? Used for testing - keeps browser alive after last browser window closes. ?
--kiosk ? Enable Kiosk mode. ?
--kiosk-printing ? Print automatically in kiosk mode. |kKioskMode| must be set as well. See http://crbug.com/31395. ?
--lang ? The 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-app ? Pass 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. ?
--learning ? Speculative resource prefetching will only learn about resources that need to be prefetched but will not prefetch them. ?
--load-and-launch-app ? Loads an app from the specified directory and launches it. ?
--load-apps ? Path to a comma-separated list of apps to load at startup. The first app in the list will be launched. ?
--load-component-extension ? Comma-separated list of directories with component extensions to load. ?
--load-extension ? Loads an extension from the specified directory. ?
--local-heuristics-only-for-password-generation ? Removes 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[21] ? Enables a live-reload for local NTP resources. This only works when Chrome is running from a Chrome source directory. ?
--log-gpu-control-list-decisions ? Logs GPU control list decisions when enforcing blacklist rules. ?
--log-level ? Sets the minimum log level. Valid values are from 0 to 3: INFO = 0, WARNING = 1, LOG_ERROR = 2, LOG_FATAL = 3. ?
--log-net-log ? Enables saving net log events to a file and sets the file name to use. ?
--login-manager ? Enables Chrome-as-a-login-manager behavior. ?
--login-profile ? Specifies 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-user ? Specifies the user which is already logged in. ?
--lso-url ? No description ?
--ltr ? No description ?
--main-frame-resizes-are-orientation-changes ? Resizes 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-default-browser ? Makes Chrome default browser ?
--managed-user-id ? Sets 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-token ? Used 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-as ? Use to opt-in to marking HTTP as non-secure. ?
--market-url-for-testing[6] ? Sets the market URL for Chrome for use in testing. ?
--material ? Material design mode for the |kTopChromeMD| switch. ?
--material-design-ink-drop-animation-speed ? Defines the speed of Material Design visual feedback animations. ?
--material-hybrid ? Material design hybrid mode for the |kTopChromeMD| switch. Targeted for mouse/touch hybrid devices. ?
--max-gum-fps[9] ? Override the maximum framerate as can be specified in calls to getUserMedia. This flag expects a value. Example: --max-gum-fps=17.5 ?
--max-untiled-layer-height ? Sets the width and height above which a composited layer will get tiled. ?
--max-untiled-layer-width ? No description ?
--media-cache-size ? Forces the maximum disk space to be used by the media cache, in bytes. ?
--media-router ? Enables Media Router. ?
--mem-pressure-system-reserved-kb ? Some 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. ?
--memory-metrics ? Sample memory usage with high frequency and store the results to the Renderer.Memory histogram. Used in memory tests. ?
--memory-pressure-off ? No description ?
--memory-pressure-thresholds ? No description ?
--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-open ? Flag to enable or disable notification changes while the message center opens. This flag will be removed once the feature gets stable. ?
--message-loop-histogrammer ? Enables histograming of tasks served by MessageLoop. See about:histograms/Loop for results, which show frequency of messages on each thread, including APC count, object signalling count, etc.?
--metrics-client-id[4] ? 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-only ? Enables 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-option ? Sets 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. ?
--mock ? No description ?
--mojo-application-channel-token ? The token to use to construct the message pipe for MojoApplication. ?
--mojo-channel-token ? The token to use to construct the message pipe on which to layer ChannelMojo. ?
--mojo-local-storage ? Use a Mojo-based LocalStorage implementation. ?
--monitoring-destination-id ? Allows setting a different destination ID for connection-monitoring GCM messages. Useful when running against a non-prod management server. ?
--mute-audio ? Mutes audio sent to the audio device so it is not audible during automated testing. ?
--nacl-broker ? Value 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-nonsfi ? Disable sandbox even for non SFI mode. This is particularly unsafe as non SFI NaCl heavily relies on the seccomp sandbox. ?
--nacl-debug-mask ? Uses 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-gdb ? Native Client GDB debugger that will be launched automatically when needed. ?
--nacl-gdb-script ? GDB script to pass to the nacl-gdb debugger at startup. ?
--nacl-loader ? Value for --type that causes the process to run as a NativeClient loader for SFI mode. ?
--nacl-loader-nonsfi ? Value for --type that causes the process to run as a NativeClient loader for non SFI mode. ?
--native ? Report native (walk the stack) allocation traces. By default pseudo stacks derived from trace events are reported. ?
--net-log-capture-mode ? Sets 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-ignore ? List 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. ?
--neutral ? No description ?
--new-profile-management ? Enables new profile management system, including lock mode. ?
--new-window ? Launches URL in new browser window. ?
--NewProfileManagement ? No description ?
--no-default-browser-check ? Disables the default browser check. Useful for UI/browser tests where we want to avoid having the default browser info-bar displayed. ?
--no-displaying-insecure-content ? By default, an https page can load images, fonts or frames from an http page. This switch overrides this to block this lesser mixed-content problem. ?
--no-experiments ? Disables 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-run ? Skip 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-check ? Disables 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-pings ? Don't send hyperlink auditing pings ?
--no-proxy-server ? Don't use a proxy server, always make direct connections. Overrides any other proxy server flags that are passed. ?
--no-referrers ? Don't send HTTP-Referer headers. ?
--no-sandbox ? Disables the sandbox for debugging. ?
--no-service-autorun ? Disables 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-startup-window ? Does not automatically open a browser window on startup (used when launching Chrome for the purpose of hosting background apps). ?
--no-wifi ? Disable features that require WiFi management. ?
--noerrdialogs ? Suppresses all error dialogs when present. ?
--non-material ? Classic, non-material, mode for the |kTopChromeMD| switch. ?
--non-secure ? No description ?
--none ? No description ?
--ntp-snippets-add-incomplete ? If this flag is set, we will add downloaded snippets that are missing some critical data to the list. ?
--ntp-snippets-dont-restrict ? If this flag is set, the snippets won't be restricted to the user's NTP suggestions. ?
--ntp-snippets-fetching-interval-fallback ? No description ?
--ntp-snippets-fetching-interval-wifi ? No description ?
--ntp-snippets-fetching-interval-wifi-charging ? No description ?
--ntp-switch-to-existing-tab[6] ? Switch to an existing tab for a suggestion opened from the New Tab Page. ?
--num-pac-threads ? Specifies the maximum number of threads to use for running the Proxy Autoconfig (PAC) script. ?
--num-raster-threads ? Number of worker threads used to rasterize content. ?
--oauth2-client-id ? No description ?
--oauth2-client-secret ? No description ?
--off ? No description ?
--on ? No description ?
--oobe-bootstrapping-master ? Indicates that if we should start bootstrapping Master OOBE. ?
--oobe-guest-session ? Indicates that a guest session has been started before OOBE completion. ?
--oobe-skip-postlogin ? Skips all other OOBE pages after user login. ?
--oobe-timer-interval ? Interval at which we check for total time on OOBE. ?
--open-ash[22] ? No description ?
--opengraph ? No description ?
--origin-to-force-quic-on ? Specifies a comma separated list of host-port pairs to force use of QUIC on. ?
--origin-trial-disabled-features ? Contains a list of feature names for which origin trial experiments should be disabled. Names should be separated by "|" characters. ?
--origin-trial-public-key ? Overrides the default public key for checking origin trial tokens. ?
--original-process-start-time ? The time that a new chrome process which is delegating to an already running chrome process started. (See ProcessSingleton for more details.) ?
--osmesa ? No description ?
--override ? No description ?
--override-metrics-upload-url ? Override the URL to which metrics logs are sent for debugging. ?
--override-plugin-power-saver-for-testing? Override 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 'ignore-list' to ignore the hard-coded list. Set the value to 'always' to always throttle every plugin instance. ?
--override-use-gl-with-osmesa-for-tests ? Forces the use of OSMesa instead of hardware gpu. ?
--overscroll-history-navigation ? Controls 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'. ?
--ozone-dump-file ? Specify location for image dumps. ?
--ozone-initial-display-bounds ? Specifies the size of the primary display at initialization. ?
--ozone-initial-display-physical-size-mm ? Specifies the physical display size in millimeters. ?
--ozone-platform ? Specify ozone platform implementation to use. ?
--pack-extension ? Packages an extension to a .crx installable file from a given directory. ?
--pack-extension-key ? Optional PEM private key to use in signing packaged .crx. ?
--parent-profile ? Specifies the path to the user data folder for the parent profile. ?
--passive-listeners-default ? Override 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[19] ? Specifies which password store to use (detect, default, gnome, kwallet). ?
--permission-request-api-scope ? Development 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-url ? Development flag for permission request API. This flag is needed until the API is finalized. TODO(bauerb): Remove when this flag is not needed anymore. ?
--power-stub ? Specifies power stub behavior: 'cycle=2' - Cycles power states every 2 seconds. See FakeDBusThreadManager::ParsePowerCommandLineSwitch for full details. ?
--ppapi ? Argument to the process type that indicates a PPAPI plugin process type. ?
--ppapi-broker ? Argument to the process type that indicates a PPAPI broker process type. ?
--ppapi-flash-args ? "Command-line" arguments for the PPAPI Flash; used for debugging options. ?
--ppapi-flash-path ? Use the PPAPI (Pepper) Flash found at the given path. ?
--ppapi-flash-version ? Report 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-process ? Runs PPAPI (Pepper) plugins in-process. ?
--ppapi-plugin-launcher ? Specifies 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-dialog ? Causes 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. ?
--precache-config-settings-url ? The URL that provides the PrecacheConfigurationSettings proto. ?
--precache-manifest-url-prefix ? Precache manifests will be served from URLs with this prefix. ?
--prefetch-search-results[6] ? Triggers prerendering of search base page to prefetch results for the typed omnibox query. Only has an effect when prerender is enabled. ?
--prerender ? Controls speculative prerendering of pages, and content prefetching. Both are dispatched from <link rel=prefetch href=...> elements. ?
--prerender-from-omnibox ? Triggers 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-app ? previous-app should be the app that was running when last-launched-app started. ?
--primary ? No description ?
--primordial-pipe-token ? Provides a child process with a token string they can use to establish a primordial message pipe to the parent. ?
--privet-ipv6-only ? Use IPv6 only for privet HTTP. ?
--process-per-site ? Enable 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-tab ? Runs 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). ?
--product-version ? Outputs the product version information and quit. Used as an internal api to detect the installed version of Chrome on Linux. ?
--profile-directory ? Selects directory of profile to associate with the first browser launched. ?
--profiler-timing ? Configure 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-start ? Starts 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-file ? Specifies 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-flush ? Controls 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[23] ? Should we prompt the user before allowing external extensions to install? This flag is available on Chromium for testing purposes. ?
--proxy-auto-detect ? Forces proxy auto-detection. ?
--proxy-bypass-list ? Specifies a list of hosts for whom we bypass proxy settings and use direct connections. Ignored if --proxy-auto-detect or --no-proxy-server are 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-url ? Uses the pac script at the given URL ?
--proxy-server ? Uses a specified proxy server, overrides system settings. This switch only affects HTTP and HTTPS requests. ?
--purge-and-suspend-time ? Specifies the time for tab purging and suspending. When the indicated time passes after a tab goes backgrounded, the backgrounded tab is purged and suspended to save memory usage. The default value is "0" and purging and suspending never happen. ?
--quic-connection-options ? Specifies a comma separated list of QUIC connection options to send to the server. ?
--quic-host-whitelist ? Specifies a comma separated list of hosts to whitelist QUIC for. ?
--quic-max-packet-length ? Specifies the maximum length for a QUIC packet. ?
--quic-version ? Specifies the version of QUIC to use. ?
--rdp_desktop_session ? No description ?
--reader-mode-feedback ? No description ?
--reader-mode-heuristics ? No description ?
--rebaseline-pixel-tests[2] ? Makes browser pixel tests overwrite the reference if it does not match. ?
--reduce-security-for-testing ? Enables more web features over insecure connections. Designed to be used for testing purposes only. ?
--reduced-referrer-granularity ? Reduce the default `referer` header's granularity. ?
--register-font-files ? Registers 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-plugins ? Register Pepper plugins (see pepper_plugin_list.cc for its format). ?
--relauncher[4] ? A process type (switches::kProcessType) that relaunches the browser. See chrome/browser/mac/relauncher.h. ?
--remote-debugging-address ? Use 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-port ? Enables remote debug over HTTP on the specified port. ?
--remote-debugging-socket-name[6] ? Enables remote debug over HTTP on the specified socket name. ?
--remote-debugging-targets ? Porvides a list of addresses to discover DevTools remote debugging targets. The format is <host>:<port>,...,<host>:port. ?
--renderer ? Causes the process to run as renderer instead of as browser. ?
--renderer-cmd-prefix ? The contents of this flag are prepended to the renderer command line. Useful values might be "valgrind" or "xterm -e gdb --args". ?
--renderer-process-limit ? Overrides 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-dialog ? Causes 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. ?
--repl ? Runs a read-eval-print loop that allows the user to evaluate Javascript expressions. ?
--report-vp9-as-an-unsupported-mime-type ? Force to report VP9 as an unsupported MIME type. ?
--require-audio-hardware-for-testing ? When 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-state ? If 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-state ? Forces a reset of the one-time-randomized FieldTrials on this client, also known as the Chrome Variations state. ?
--restore-last-session ? Indicates the last session should be restored on startup. This overrides the preferences value and is primarily intended for testing. The value of this switch is the number of tabs to wait until loaded before 'load completed' is sent to the ui_test. ?
--root-layer-scrolls ? Handles frame scrolls via the root RenderLayer instead of the FrameView. ?
--rtl ? No description ?
--run-layout-test ? Request the render trees of pages to be dumped as text once they have finished loading. ?
--safebrowsing-disable-auto-update ? If present, safebrowsing only performs update when SafeBrowsingProtocolManager::ForceScheduleNextUpdate() is explicitly called. This is used for testing only. ?
--safebrowsing-disable-download-protection ? TODO(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-blacklist? Disables safebrowsing feature that checks for blacklisted extensions. ?
--safebrowsing-manual-download-blacklist? List 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. ?
--SafeSites ? No description ?
--sandbox-ipc ? Causes the process to run as a sandbox IPC subprocess. ?
--save-page-as-mhtml ? Disable 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. ?
--screenshot ? Save a screenshot of the loaded page. ?
--scripts-require-action ? Notify 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). ?
--scroll-end-effect ? Enables or disables scroll end effect in response to vertical overscroll. Set the value to '1' to enable the feature, and set to '0' to disable. Defaults to disabled. ?
--secondary ? No description ?
--secondary-ui-md ? Applies the material design mode passed via --top-chrome-md to elements throughout Chrome (not just top Chrome). ?
--service ? Causes the process to run as a service process. ?
--shill-stub ? Overrides 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-list ? If true the app list will be shown. ?
--show-autofill-type-predictions ? Annotates forms with Autofill field type predictions. ?
--show-component-extension-options ? Makes component extensions appear in chrome://settings/extensions. ?
--show-composited-layer-borders ? Renders a border around compositor layers to help debug and study layer compositing. ?
--show-fps-counter ? Draws 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-bounds ? Renders a border that represents the bounding box for the layer's animation. ?
--show-mac-overlay-borders[8] ? Show borders around CALayers corresponding to overlays and partial damage. ?
--show-paint-rects ? Visibly render a border around paint rects in the web page to help debug and study painting behavior. ?
--show-property-changed-rects ? Show rects in the HUD around layers whose properties have changed. ?
--show-replica-screenspace-rects ? Show rects in the HUD around the screen-space transformed bounds of every layer's replica, when they have one. ?
--show-saved-copy ? Command 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-rects ? Show rects in the HUD around the screen-space transformed bounds of every layer. ?
--show-surface-damage-rects ? Show rects in the HUD around damage as it is recorded into each render surface. ?
--show_summary[6] ? Forces a summary to be displayed below the update menu item. ?
--silent-debugger-extension-api ? Does not show an infobar when an extension attaches to a page using chrome.debugger page. Required to attach to extension background pages. ?
--silent-launch ? Causes Chrome to launch without opening any windows by default. Useful if one wishes to use Chrome as an ash server. ?
--simulate-critical-update ? Simulates a critical update being available. ?
--simulate-elevated-recovery ? Simulates that elevation is needed to recover upgrade channel. ?
--simulate-outdated ? Simulates that current version is outdated. ?
--simulate-outdated-no-au ? Simulates that current version is outdated and auto-update is off. ?
--simulate-upgrade ? Simulates an update being available. ?
--single-process ? Load apps in a single processes. ?
--site-per-process ? Enforces 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-loading ? Skip 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-all ? No description ?
--skip-nostore-main ? No description ?
--skip-reencoding-on-skp-capture ? Skips 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. ?
--slow ? Defines that Material Design visual feedback animations should be slow. ?
--slow-connections-only ? No description ?
--slow-down-raster-scale-factor ? Re-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-messages ? Sends test messages on first call to RequestUpdate (stub only). ?
--spdy-proxy-auth-fallback ? The origin of the data reduction proxy fallback. ?
--spdy-proxy-auth-origin ? The origin of the data reduction proxy. ?
--spdy-proxy-auth-value ? A test key for data reduction proxy authentication. ?
--speculative-resource-prefetching ? Speculative resource prefetching. ?
--spelling-service-feedback-interval-seconds[12] ? 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[12] ? 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. ?
--ssl-key-log-file ? Causes 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-max ? Specifies the maximum SSL/TLS version ("tls1", "tls1.1", "tls1.2", or "tls1.3"). ?
--ssl-version-min ? Specifies the minimum SSL/TLS version ("tls1", "tls1.1", "tls1.2", or "tls1.3"). ?
--stable-release-mode ? This 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-fullscreen ? Specifies if the browser should start in fullscreen mode, like if the user had pressed F11 right after startup. ?
--start-maximized ? Starts the browser maximized, regardless of any previous settings. ?
--started ? No description ?
--stub-cros-settings ? Indicates 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. ?
--supervised-user-safesites ? Enables/disables SafeSites filtering for supervised users. Possible values are "enabled", "disabled", "blacklist-only", and "online-check-only". ?
--supports-dual-gpus ? Indicates whether the dual GPU switching is supported or not. ?
--swiftshader ? No description ?
--swiftshader-path ? No description ?
--sync-allow-insecure-xmpp-connection ? Allows insecure XMPP connections for sync (for testing). ?
--sync-deferred-startup-timeout-seconds? Allows overriding the deferred init fallback timeout. ?
--sync-disable-deferred-startup ? Enables deferring sync backend initialization until user initiated changes occur. ?
--sync-enable-get-update-avoidance ? Enables feature to avoid unnecessary GetUpdate requests. ?
--sync-enable-uss-device-info ? Enables USS implementation of DeviceInfo datatype. This flag controls whether SyncableService based or ModelTypeService based implementation is used for DeviceInfo type. ?
--sync-notification-host-port ? Overrides the default host:port used for notifications. ?
--sync-short-initial-retry-override ? This 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-url ? Overrides the default server used for profile sync. ?
--system-developer-mode ? Indicates that the system is running in dev mode. The dev mode probing is done by session manager. ?
--system-log-upload-frequency ? Frequency in Milliseconds for system log uploads. Should only be used for testing purposes. ?
--tab-management-experiment-type-anise[6] ? Specifies a particular tab management experiment to enable. ?
--tab-management-experiment-type-basil[6] ? No description ?
--tab-management-experiment-type-chive[6] ? No description ?
--tab-management-experiment-type-dill[6]? No description ?
--tab-management-experiment-type-disabled[6] ? No description ?
--tab-management-experiment-type-elderberry[6] ? No description ?
--test-auto-update-ui ? Enables testing for auto update UI. ?
--test-child-process ? When 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-migration ? Controls CrOS GaiaId migration for tests: "" - default, "started" - migration started (i.e. all stored user keys will be converted to GaiaId). ?
--test-do-not-initialize-icu ? When 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-gl-lib ? Flag 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-name ? Passes the name of the current running automated test to Chrome. ?
--test-type ? Type of the current test harness ("browser" or "ui"). ?
--testing-fixed-http-port ? Allows for forcing socket connections to http/https to use fixed ports. ?
--testing-fixed-https-port ? No description ?
--tls1 ? These values aren't switches, but rather the values that kSSLVersionMax and kSSLVersionMin can have. ?
--tls1.1 ? No description ?
--tls1.2 ? No description ?
--tls1.3 ? No description ?
--top-chrome-md ? Enables top Chrome material design elements. ?
--top-controls-hide-threshold ? Percentage of the top controls need to be hidden before they will auto hide. ?
--top-controls-show-threshold ? Percentage of the top controls need to be shown before they will auto show. ?
--top-document-isolation ? Groups all out-of-process iframes to a different process from the process of the top document. This is a performance isolation mode. ?
--touch-calibration[24] ? The calibration factors given as "<left>,<right>,<top>,<bottom>". ?
--touch-devices[25] ? 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-events ? Enable support for touch events. ?
--touch-noise-filtering[24] ? Tells Chrome to do additional touch noise filtering. Should only be used if the driver level filtering is insufficient. ?
--touch-selection-strategy ? Controls 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. ?
--trace-config-file ? Causes 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-shutdown ? Causes 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-file ? If 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-startup ? No description ?
--trace-startup-duration ? Sets 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-file ? If 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-console ? Sends a pretty-printed version of tracing info to the console. ?
--trace-to-file ? Sends trace events from these categories to a file. --trace-to-file on its own sends to default categories. ?
--trace-to-file-name ? Specifies the file name for --trace-to-file. If unspecified, it will go to a default file name. ?
--trace-upload-url ? Sets the target URL for uploading tracing data. ?
--translate-script-url ? Overrides the default server used for Google Translate. ?
--translate-security-origin ? Overrides security-origin with which Translate runs in an isolated world. ?
--true ? Value indicating whether flag from command line switch is true. ?
--try-chrome-again ? Experimental. 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. ?
--type ? No description ?
--ui-disable-partial-swap ? Disable partial swap which is needed for some OpenGL drivers / emulators. ?
--ui-enable-layer-lists ? No description ?
--ui-enable-rgba-4444-textures ? No description ?
--ui-enable-zero-copy ? No description ?
--ui-prioritize-in-gpu-process ? Prioritizes the UI's command stream in the GPU process ?
--ui-show-fps-counter ? No description ?
--ui-show-layer-animation-bounds ? No description ?
--ui-show-layer-borders ? No description ?
--ui-show-paint-rects ? No description ?
--ui-show-property-changed-rects ? No description ?
--ui-show-replica-screenspace-rects ? No description ?
--ui-show-screenspace-rects ? No description ?
--ui-show-surface-damage-rects ? No description ?
--uninstall[1] ? Runs un-installation steps that were done by chrome first-run. ?
--unlimited-storage ? Overrides per-origin quota settings to unlimited storage for any apps/origins. This should be used only for testing purpose. ?
--unsafe-pac-url ? Pass 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-treat-insecure-origin-as-secure? Treat 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-android-midi-api[6] ? Use Android Midi API for WebMIDI ?
--use-angle ? Select 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[26] ? Use CRAS, the ChromeOS audio server. ?
--use-cross-process-frames-for-guests ? Causes the implementations of guests (inner WebContents) to use out-of-process iframes. ?
--use-fake-device-for-media-stream ? Use fake device for Media Stream to replace actual camera and microphone. ?
--use-fake-ui-for-media-stream ? Bypass 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-capture ? Play 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-capture ? Use an .y4m file to play as the webcam. See the comments in media/capture/video/file_video_capture_device.h for more details. ?
--use-gl ? Select 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. ?
--use-gpu-in-tests ? Use hardware gpu, if available, for tests. ?
--use-gpu-memory-buffers-for-capture ? Use GpuMemoryBuffers for Video Capture when this is an option for the device. Experimental, see http://crbug.com/503835 and http://crbug.com/440843. ?
--use-mobile-user-agent ? Set when Chromium should use a mobile user agent. ?
--use-mock-keychain[4] ? No description ?
--use-mojo-gpu-command-buffer-in-mus ? Use mojo GPU command buffer instead of Chrome GPU command buffer. ?
--use-mus-in-renderer ? Use the Mandoline UI Service in the Chrome render process. ?
--use-passthrough-cmd-decoder ? Use the Pass-through command decoder, skipping all validation and state tracking. ?
--use-remote-compositing ? Use remote compositor for the renderer. ?
--use-simple-cache-backend ? Uses experimental simple cache backend if possible. ?
--use-test-config ? Initializes 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. ?
--user-agent ? A string used to override the default user agent with a custom one. ?
--user-data-dir ? Specifies the user data directory, which is where the browser will look for all of its state. ?
--use_new_features_summary[6] ? Forces the new features summary to be displayed below the update menu item. ?
--utility ? Causes the process to run as a utility subprocess. ?
--utility-allowed-dir ? The utility process is sandboxed, with access to one directory. This flag specifies the directory that can be accessed. ?
--utility-cmd-prefix ? The contents of this flag are prepended to the utility process command line. Useful values might be "valgrind" or "xterm -e gdb --args". ?
--utility-run-elevated ? No description ?
--v ? Gives the default maximal active V-logging level; 0 is the default. Normally positive values are used for V-logging levels. ?
--v8-cache-options ? Set options to cache V8 data. (off, preparse data, or code) ?
--v8-cache-strategies-for-cache-storage ? Set strategies to cache V8 data in CacheStorage. (off, normal, or aggressive) ?
--v8-natives-passed-by-fd ? Signals that the V8 natives file has been transfered to the child process by a file descriptor. ?
--v8-pac-mojo-in-process ? Enables using an in-process Mojo service for the v8 proxy resolver. ?
--v8-pac-mojo-out-of-process ? Enables using an out-of-process Mojo service for the v8 proxy resolver. ?
--v8-snapshot-passed-by-fd ? Signals that the V8 startup snapshot file has been transfered to the child process by a file descriptor.?
--validate-crx ? Examines a .crx for validity and prints the result. ?
--validate-input-event-stream ? In debug builds, asserts that the stream of input events is valid. ?
--variations-server-url ? Specifies 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. ?
--version ? No description ?
--video-image-texture-target ? Texture target for CHROMIUM_image backed video frame textures. ?
--video-threads ? Set number of threads to use for video decoding. ?
--video-underflow-threshold-ms ? Allows 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. ?
--viewer-launch-via-appid[1] ? Requests that Chrome launch the Metro viewer process via the given appid (which is assumed to be registered as default browser) and synchronously connect to it. ?
--vmodule ? Gives 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.?
--wait-for-debugger ? Will wait for 60 seconds for a debugger to come to attach to the process. ?
--wait-for-debugger-children ? Will 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-packet ? Enables wake on wifi packet feature, which wakes the device on the receipt of network packets from whitelisted sources. ?
--wallet-service-use-sandbox ? Use 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. ?
--webrtc-stun-probe-trial[9] ? 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-sandboxed-renderer ? No description ?
--whitelisted-extension-id ? Adds the given extension ID to all the permission whitelists. ?
--win-jumplist-action ? Specifies which category option was clicked in the Windows Jumplist that resulted in a browser startup. ?
--window-depth[10] ? Color bit depth of the main window created in the browser process and matches XWindowAttributes.depth. ?
--window-position ? Specify the initial window position: --window-position=x,y ?
--window-size ? Specify the initial window size: --window-size=w,h ?
--window-workspace ? Specify the initial window workspace: --window-workspace=id ?
--windows8-search[1] ? Indicates that chrome was launched to service a search request in Windows 8. ?
--winhttp-proxy-resolver ? Uses WinHTTP to fetch and evaluate PAC scripts. Otherwise the default is to use Chromium's network stack to fetch, and V8 to evaluate. ?
--wm-user-time-ms[19] ? Updates X11Desktophandler::wm_user_time_ms with the latest X server time. ?
--wm-window-animations-disabled ? If present animations are disabled. ?
--x11-visual-id[10] ? A VisualID that supports the requested window depth. ?
--zygote ? Causes the process to run as a renderer zygote. ?

How to use a command line switch?

The Chromium Team has made a page on which they briefly explain how to use these switches.

Conditions

These are rather technical. While most are pretty self-explanatory, keep in mind that any condition means that a switch isn't always available.

  1. The constant OS_WIN must be defined.
  2. The constant ENABLE_PLUGINS must be defined.
  3. The constants OS_FREEBSD, OS_LINUX and OS_SOLARIS must be defined.
  4. The constant OS_MACOSX must be defined.
  5. The constant OS_CHROMEOS must be defined.
  6. The constant OS_ANDROID must be defined.
  7. The constant OFFICIAL_BUILD must not be defined, and the constant ENABLE_PRINT_PREVIEW must be defined.
  8. The constant OS_IOS must not be defined, and the constant OS_MACOSX must be defined.
  9. The constant ENABLE_WEBRTC must be defined.
  10. The constant OS_CHROMEOS must not be defined.
  11. The constant NDEBUG must be defined.
  12. The constant ENABLE_SPELLCHECK must be defined.
  13. The constant OS_POSIX must be defined.
  14. The constant OS_ANDROID must not be defined.
  15. The constant GOOGLE_CHROME_BUILD must be defined.
  16. The constants OS_ANDROID and OS_IOS must not be defined.
  17. The constant OS_CHROMEOS must not be defined, and the constant OS_LINUX must be defined.
  18. The constant ENABLE_WAYLAND_SERVER must be defined.
  19. The constants OS_CHROMEOS and OS_MACOSX must not be defined, and the constant OS_POSIX must be defined.
  20. The constant ENABLE_IPC_FUZZER must be defined.
  21. The constant GOOGLE_CHROME_BUILD must not be defined.
  22. The constant USE_ASH must be defined.
  23. The constant CHROMIUM_BUILD must be defined.
  24. The constants USE_OZONE and USE_X11 must be defined.
  25. The constant OS_LINUX must be defined.
  26. The constant USE_CRAS must be defined.
Based on top-of-tree Chromium code, updated daily and open source. RSS Feed?
Append ?date=YYYY-MM-DD to the URL to get a snapshot of the supported switches at a certain date.

标签:

版权申明:本站文章部分自网络,如有侵权,请联系:west999com@outlook.com
特别注意:本站所有转载文章言论不代表本站观点,本站所提供的摄影照片,插画,设计作品,如需使用,请与原作者联系,版权归原作者所有

上一篇:人生苦短,我用Python 第一篇

下一篇:scrapy爬虫框架介绍