Skip to main content

Documentation Index

Fetch the complete documentation index at: https://momentic.ai/docs/llms.txt

Use this file to discover all available pages before exploring further.

Supported browsers

  • Chromium (default). Fast and lightweight, but missing some features of full Chrome (e.g. H.264 video playback). May be unstable on graphics-heavy sites.
  • Google Chrome. Full-featured Chrome with H.264, media streaming, WebGL. Heavier and slower than Chromium.
  • Chrome for Testing. Chrome for Testing is maintained by Google specifically for automation.

Choosing a browser

Set a project-wide default in momentic.config.yaml:
momentic.config.yaml
browser:
  defaultBrowserType: Chromium
Individual tests override the default from Test options in the editor. See browser.defaultBrowserType for the full list of accepted values.

Hosted browsers

You can run tests against a remote browser instead of launching one locally. Momentic connects via a standard Playwright WebSocket endpoint — any provider that exposes a chromium.connect()-compatible URL will work (e.g. Azure Playwright Testing, BrowserStack, your own Playwright grid). Set two environment variables before running the CLI:
export PLAYWRIGHT_SERVICE_URL="wss://your-browser-provider/pw/chromium"
export PLAYWRIGHT_SERVICE_ACCESS_TOKEN="<your-token>"
When both variables are present, Momentic skips launching a local browser and connects to the remote endpoint with Authorization: Bearer <token>. The connection timeout is 120 seconds.
Chrome extensions (localChromeExtensionPaths) are not supported with hosted browsers. Unset the environment variables above to fall back to a local browser if you need extensions.

Runtime overrides

Momentic overrides these browser defaults for consistent results:
SettingValue
User agentMozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/130.0.6723.31 Safari/537.36
Location37.7749 by -122.4194 (San Francisco)
Video auto-playDisabled
Chrome browser onboardingDisabled
Desktop notificationsDisabled