Chapter 115: Chromium flags
Core Idea
We allow you to set the following flags in Chromium and Google Chrome since Remotion 2. 6.
Key Concepts
- --disable-web-security
- Via Node.JS APIs
- Via CLI flag
- Via config file
- --ignore-certificate-errors
- --disable-headless
- --gl
- --user-agent<AvailableFrom v="3.3.83"/>
Code Examples
Config.setChromiumDisableWebSecurity(true);
- What it demonstrates: Usage pattern for Chromium flags from the official docs.
Reference Tables
| Browser executable | Opens a window |
|---|
| Default Chrome Headless Shell | No. Chrome Headless Shell has no headed mode. |
| Chrome for Testing | Yes. |
| Custom desktop Chrome or Chromium | Yes. |
| Custom Chrome Headless Shell | No. |
Key Takeaways
- Understand --disable-web-security when working with Chromium flags.
- Understand via node.js apis when working with Chromium flags.
- Understand via cli flag when working with Chromium flags.
- Understand via config file when working with Chromium flags.
- Understand --ignore-certificate-errors when working with Chromium flags.
Connects To
- Compare ssr: related page in the Rendering & SSR section.
- Dataset Render: related page in the Rendering & SSR section.
- Distributed Rendering: related page in the Rendering & SSR section.