puppeteer/website/versioned_docs/version-21.3.1/api/puppeteer.browser.process.md

22 lines
393 B
Markdown
Raw Normal View History

---
sidebar_label: Browser.process
---
# Browser.process() method
Gets the associated [ChildProcess](https://nodejs.org/api/child_process.html#class-childprocess).
#### Signature:
```typescript
class Browser {
process(): ChildProcess | null;
}
```
**Returns:**
ChildProcess \| null
`null` if this instance was connected to via [Puppeteer.connect()](./puppeteer.puppeteer.connect.md).