--chromium-arg
- CLI
- --chromium-arg
- REST
- CLI only
Appends a raw Chromium command-line switch. Repeatable.
Precedence
Your switches are applied after any default switches, and take precedence. A --disable-features, --enable-features, --disable-blink-features or --enable-blink-features value will be merged with any default feature settings, and a feature you enable leaves the default disabled list. A --blink-settings value will be merged with the default settings. Switches are not validated - invalid switches may cause the underlying browser to crash.
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/