Reference

Command-line reference

Run and configure the Mimic executable.

On this page

CLI reference

The SDK starts and connects to the runtime for you. These flags are useful when you manage the process yourself.

FlagDefaultPurpose
--listen127.0.0.1:9222CDP HTTP and WebSocket address.
--chrome152Loaded Chrome compatibility milestone. It does not install Chrome.
--browser-modeheadfulChoose the observed environment profile: headful or headless. Mimic does not open a browser window. SDK launch uses the headless profile.
--resource-policynonePath to a JSON resource policy applied to new Contexts. See resource policies.
--profilenoneNamed or exported workload profile created by Optimize. Environment JSON uses CDP import/export.
--enginev8JavaScript engine: v8, quickjs, or goja. Fallbacks do not promise V8 equivalence.
--navigation-timeout0Optional navigation execution cap as a duration, such as 30s or 2m. Zero waits until completion or cancellation.
--dev-previewfalseEnables the visual debug viewer at /debug/preview/; this is not native rendering.