Support & information center

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

You can concatenate switches in the following way:

Code language: Bash (bash)

Was this article helpful?

Related Articles