puppeteer/docs/api/puppeteer.browser.process.md

22 lines
393 B
Markdown
Raw Normal View History

2022-07-05 13:41:43 +00:00
---
sidebar_label: Browser.process
---
# Browser.process() method
2023-09-18 09:05:23 +00:00
Gets the associated [ChildProcess](https://nodejs.org/api/child_process.html#class-childprocess).
2022-07-05 13:41:43 +00:00
#### Signature:
2022-07-05 13:41:43 +00:00
```typescript
class Browser {
process(): ChildProcess | null;
}
```
**Returns:**
ChildProcess \| null
2023-09-18 09:05:23 +00:00
`null` if this instance was connected to via [Puppeteer.connect()](./puppeteer.puppeteer.connect.md).