-
Notifications
You must be signed in to change notification settings - Fork 9.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
19 changed files
with
239 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
--- | ||
sidebar_label: InstalledBrowser | ||
--- | ||
|
||
# InstalledBrowser type | ||
|
||
#### Signature: | ||
|
||
```typescript | ||
export type InstalledBrowser = { | ||
path: string; | ||
browser: Browser; | ||
buildId: string; | ||
platform: BrowserPlatform; | ||
}; | ||
``` | ||
|
||
**References:** [Browser](./browsers.browser.md), [BrowserPlatform](./browsers.browserplatform.md) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
--- | ||
sidebar_label: Process.(constructor) | ||
--- | ||
|
||
# Process.(constructor) | ||
|
||
Constructs a new instance of the `Process` class | ||
|
||
#### Signature: | ||
|
||
```typescript | ||
class Process { | ||
constructor(opts: LaunchOptions); | ||
} | ||
``` | ||
|
||
## Parameters | ||
|
||
| Parameter | Type | Description | | ||
| --------- | -------------------------------------------- | ----------- | | ||
| opts | [LaunchOptions](./browsers.launchoptions.md) | | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
--- | ||
sidebar_label: Process.close | ||
--- | ||
|
||
# Process.close() method | ||
|
||
#### Signature: | ||
|
||
```typescript | ||
class Process { | ||
close(): Promise<void>; | ||
} | ||
``` | ||
|
||
**Returns:** | ||
|
||
Promise<void> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
--- | ||
sidebar_label: Process.hasClosed | ||
--- | ||
|
||
# Process.hasClosed() method | ||
|
||
#### Signature: | ||
|
||
```typescript | ||
class Process { | ||
hasClosed(): Promise<void>; | ||
} | ||
``` | ||
|
||
**Returns:** | ||
|
||
Promise<void> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
--- | ||
sidebar_label: Process.kill | ||
--- | ||
|
||
# Process.kill() method | ||
|
||
#### Signature: | ||
|
||
```typescript | ||
class Process { | ||
kill(): void; | ||
} | ||
``` | ||
|
||
**Returns:** | ||
|
||
void |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
--- | ||
sidebar_label: Process | ||
--- | ||
|
||
# Process class | ||
|
||
#### Signature: | ||
|
||
```typescript | ||
export declare class Process | ||
``` | ||
|
||
## Constructors | ||
|
||
| Constructor | Modifiers | Description | | ||
| ---------------------------------------------------------- | --------- | ----------------------------------------------------------- | | ||
| [(constructor)(opts)](./browsers.process._constructor_.md) | | Constructs a new instance of the <code>Process</code> class | | ||
|
||
## Properties | ||
|
||
| Property | Modifiers | Type | Description | | ||
| ----------- | --------------------- | ------------------------- | ----------- | | ||
| nodeProcess | <code>readonly</code> | childProcess.ChildProcess | | | ||
|
||
## Methods | ||
|
||
| Method | Modifiers | Description | | ||
| ---------------------------------------------------------------------------- | --------- | ----------- | | ||
| [close()](./browsers.process.close.md) | | | | ||
| [hasClosed()](./browsers.process.hasclosed.md) | | | | ||
| [kill()](./browsers.process.kill.md) | | | | ||
| [waitForLineOutput(regex, timeout)](./browsers.process.waitforlineoutput.md) | | | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
--- | ||
sidebar_label: Process.waitForLineOutput | ||
--- | ||
|
||
# Process.waitForLineOutput() method | ||
|
||
#### Signature: | ||
|
||
```typescript | ||
class Process { | ||
waitForLineOutput(regex: RegExp, timeout?: number): Promise<string>; | ||
} | ||
``` | ||
|
||
## Parameters | ||
|
||
| Parameter | Type | Description | | ||
| --------- | ------ | ------------ | | ||
| regex | RegExp | | | ||
| timeout | number | _(Optional)_ | | ||
|
||
**Returns:** | ||
|
||
Promise<string> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.