puppeteer/website/versioned_docs/version-22.8.0/browsers-api/browsers.launchoptions.md
release-please[bot] 0ab119477a
chore: release main (#12375)
Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
2024-05-06 09:34:02 +02:00

205 lines
1.5 KiB
Markdown

---
sidebar_label: LaunchOptions
---
# LaunchOptions interface
#### Signature:
```typescript
export interface LaunchOptions
```
## Properties
<table><thead><tr><th>
Property
</th><th>
Modifiers
</th><th>
Type
</th><th>
Description
</th><th>
Default
</th></tr></thead>
<tbody><tr><td>
<span id="args">args</span>
</td><td>
`optional`
</td><td>
string\[\]
</td><td>
</td><td>
</td></tr>
<tr><td>
<span id="detached">detached</span>
</td><td>
`optional`
</td><td>
boolean
</td><td>
</td><td>
</td></tr>
<tr><td>
<span id="dumpio">dumpio</span>
</td><td>
`optional`
</td><td>
boolean
</td><td>
</td><td>
</td></tr>
<tr><td>
<span id="env">env</span>
</td><td>
`optional`
</td><td>
Record&lt;string, string \| undefined&gt;
</td><td>
</td><td>
</td></tr>
<tr><td>
<span id="executablepath">executablePath</span>
</td><td>
</td><td>
string
</td><td>
</td><td>
</td></tr>
<tr><td>
<span id="handlesighup">handleSIGHUP</span>
</td><td>
`optional`
</td><td>
boolean
</td><td>
</td><td>
</td></tr>
<tr><td>
<span id="handlesigint">handleSIGINT</span>
</td><td>
`optional`
</td><td>
boolean
</td><td>
</td><td>
</td></tr>
<tr><td>
<span id="handlesigterm">handleSIGTERM</span>
</td><td>
`optional`
</td><td>
boolean
</td><td>
</td><td>
</td></tr>
<tr><td>
<span id="onexit">onExit</span>
</td><td>
`optional`
</td><td>
() =&gt; Promise&lt;void&gt;
</td><td>
</td><td>
</td></tr>
<tr><td>
<span id="pipe">pipe</span>
</td><td>
`optional`
</td><td>
boolean
</td><td>
</td><td>
</td></tr>
</tbody></table>