CLI Launch Args
Browsers offer a wide range of configuration options that can be set via CLI arguments. This includes enabling experimental features, tweaking browser behavior, and more.
BrowserCat gives you full control over your browser instance, including both the ability to add new args as well as to disable the default set.
Available options
You can tweak CLI args using two settings:
interface BrowserCatOptsHeader {
// An array of CLI arguments to pass to the browser.
enableArgs?: string[]
// An array of default CLI arguments to ignore.
// Or `true` to ignore all default arguments.
disableArgs?: string[] | boolean
}
At present, only Chrome, Chromium, and Firefox support setting CLI args. Webkit does not.
Here’s some handy links for each browser:
Configure your CLI args
Send your args configuration using the BrowserCat-Opts
header. Here’s an example: