puppeteer/website/versioned_docs/version-19.7.2/api/puppeteer.launchoptions.env.md

20 lines
300 B
Markdown
Raw Normal View History

---
sidebar_label: LaunchOptions.env
---
# LaunchOptions.env property
Specify environment variables that will be visible to the browser.
2022-10-24 14:31:12 +00:00
#### Signature:
```typescript
interface LaunchOptions {
env?: Record<string, string | undefined>;
}
```
2022-10-24 14:31:12 +00:00
#### Default value:
The contents of `process.env`.