mirror of
https://github.com/puppeteer/puppeteer
synced 2024-06-14 14:02:48 +00:00
23 lines
388 B
Markdown
23 lines
388 B
Markdown
|
---
|
||
|
sidebar_label: LaunchOptions
|
||
|
---
|
||
|
|
||
|
# LaunchOptions type
|
||
|
|
||
|
#### Signature:
|
||
|
|
||
|
```typescript
|
||
|
export type LaunchOptions = {
|
||
|
executablePath: string;
|
||
|
pipe?: boolean;
|
||
|
dumpio?: boolean;
|
||
|
args?: string[];
|
||
|
env?: Record<string, string | undefined>;
|
||
|
handleSIGINT?: boolean;
|
||
|
handleSIGTERM?: boolean;
|
||
|
handleSIGHUP?: boolean;
|
||
|
detached?: boolean;
|
||
|
onExit?: () => Promise<void>;
|
||
|
};
|
||
|
```
|