puppeteer/docs/api/puppeteer.launchoptions.env.md

253 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>;}