mirror of
https://github.com/puppeteer/puppeteer
synced 2024-06-14 14:02:48 +00:00
417 B
417 B
sidebar_label |
---|
Process.waitForLineOutput |
Process.waitForLineOutput() method
Signature:
class Process {
waitForLineOutput(regex: RegExp, timeout?: number): Promise<string>;
}
Parameters
Parameter | Type | Description |
---|---|---|
regex | RegExp | |
timeout | number | (Optional) |
Returns:
Promise<string>