Skip to main content

Specify Chrome command line switches in testRTC

You can direct testRTC to execute its Chrome browsers with specific command line switches. This is done via the run options of the test script.

The full list of command line switches is available online.

A few notable switches:

  • ignore-certificate-errors – indicate Chrome to ignore any TLS certificate errors. This is useful when testing a service under development with self-signed certificates
  • disable-background-timer-throttling – webrtc-internals metrics collection can falter after ~5 minutes or so. If you aren’t using getstats collection and are using webrtc-internals only for some reason, then using this switch can be useful
  • auto-select-desktop-capture-source=Entire screen – makes Chrome auto-select the provided choice when an extension asks permission to start the desktop capture
  • enable-features=WebRtc-ExposeNonStandardStats – exposes non-standard WebRTC statistics that are automatically collected and visualized by our services
You can concatenate switches in the following way:

Was this article helpful?

0 out of 0 found this helpful