puppeteer/website/versioned_docs/version-19.2.2/api/puppeteer.launchoptions.env.md
2022-11-03 11:02:28 +01:00

300 B

sidebar_label
LaunchOptions.env

LaunchOptions.env property

Specify environment variables that will be visible to the browser.

Signature:

interface LaunchOptions {
  env?: Record<string, string | undefined>;
}

Default value:

The contents of process.env.