Skip to main content

User agent

Lets you set a custom user agent that the headless Chrome browser assumes.

CLI flag​

--user-agent <value>

The following CLI commands accept this option:

APIs that have this option​

The following APIs accept this option:

See also​