--chromium-arg
- CLI
- --chromium-arg
- REST
- CLI only
Appends a raw Chromium command-line switch. Repeatable.
Precedence
Custom switches apply after default switches and take precedence. Values for --disable-features, --enable-features, --disable-blink-features, and --enable-blink-features merge with default feature settings; enabling a feature removes it from the default disabled list. --blink-settings merges with default settings. Switches are not validated; invalid switches can crash the browser.
Example
CLI
Run locally
zshot -f page.png \
--chromium-arg=--js-flags=--max-old-space-size=512 \
https://zshot-cli.com/example_assets/hello_zshot/