24 lines
696 B
Markdown
24 lines
696 B
Markdown
|
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
||
|
|
||
|
[Home](./index.md) > [puppeteer](./puppeteer.md) > [Dialog](./puppeteer.dialog.md) > [(constructor)](./puppeteer.dialog._constructor_.md)
|
||
|
|
||
|
## Dialog.(constructor)
|
||
|
|
||
|
Constructs a new instance of the `Dialog` class
|
||
|
|
||
|
<b>Signature:</b>
|
||
|
|
||
|
```typescript
|
||
|
constructor(client: CDPSession, type: DialogType, message: string, defaultValue?: string);
|
||
|
```
|
||
|
|
||
|
## Parameters
|
||
|
|
||
|
| Parameter | Type | Description |
|
||
|
| --- | --- | --- |
|
||
|
| client | [CDPSession](./puppeteer.cdpsession.md) | |
|
||
|
| type | [DialogType](./puppeteer.dialogtype.md) | |
|
||
|
| message | string | |
|
||
|
| defaultValue | string | |
|
||
|
|