puppeteer/docs/browsers-api/browsers.process.md

129 lines
1.2 KiB
Markdown
Raw Normal View History

2023-04-06 12:50:22 +00:00
---
sidebar_label: Process
---
# Process class
#### Signature:
```typescript
export declare class Process
```
## Constructors
<table><thead><tr><th>
Constructor
</th><th>
Modifiers
</th><th>
Description
</th></tr></thead>
<tbody><tr><td>
[(constructor)(opts)](./browsers.process._constructor_.md)
</td><td>
</td><td>
Constructs a new instance of the `Process` class
</td></tr>
</tbody></table>
2023-04-06 12:50:22 +00:00
## Properties
<table><thead><tr><th>
Property
</th><th>
Modifiers
</th><th>
Type
</th><th>
Description
</th></tr></thead>
<tbody><tr><td>
nodeProcess
</td><td>
`readonly`
</td><td>
childProcess.ChildProcess
</td><td>
</td></tr>
</tbody></table>
2023-04-06 12:50:22 +00:00
## Methods
<table><thead><tr><th>
Method
</th><th>
Modifiers
</th><th>
Description
</th></tr></thead>
<tbody><tr><td>
[close()](./browsers.process.close.md)
</td><td>
</td><td>
</td></tr>
<tr><td>
[hasClosed()](./browsers.process.hasclosed.md)
</td><td>
</td><td>
</td></tr>
<tr><td>
[kill()](./browsers.process.kill.md)
</td><td>
</td><td>
</td></tr>
<tr><td>
[waitForLineOutput(regex, timeout)](./browsers.process.waitforlineoutput.md)
</td><td>
</td><td>
</td></tr>
</tbody></table>