Skip to main content
Use launch() with Chrome flags to load an extension into the browser before your flow runs. This lets you test extension popup UIs, content scripts, and extension behavior alongside your app.
Store your extension zip in team storage and reference it via process.env.TEAM_STORAGE_DIR. See Upload files for instructions. Replace <extension-id> with your extension’s ID, which you can find at chrome://extensions with Developer mode enabled.

Example

When to use

  • Your app uses a Chrome extension and you need to test the full user flow with the extension installed.
  • You need to test the extension’s popup UI or options page directly.
  • You need to verify that a content script modifies or interacts with a page correctly.

Full sample test

Last modified on June 11, 2026