24 lines
1.0 KiB
Markdown
24 lines
1.0 KiB
Markdown
|
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
||
|
|
||
|
[Home](./index.md) > [puppeteer](./puppeteer.md) > [Protocol](./puppeteer.protocol.md) > [Page](./puppeteer.protocol.page.md) > [WindowOpenEvent](./puppeteer.protocol.page.windowopenevent.md)
|
||
|
|
||
|
## Protocol.Page.WindowOpenEvent interface
|
||
|
|
||
|
Fired when a new window is going to be opened, via window.open(), link click, form submission, etc.
|
||
|
|
||
|
<b>Signature:</b>
|
||
|
|
||
|
```typescript
|
||
|
export interface WindowOpenEvent
|
||
|
```
|
||
|
|
||
|
## Properties
|
||
|
|
||
|
| Property | Type | Description |
|
||
|
| --- | --- | --- |
|
||
|
| [url](./puppeteer.protocol.page.windowopenevent.url.md) | string | The URL for the new window. |
|
||
|
| [userGesture](./puppeteer.protocol.page.windowopenevent.usergesture.md) | boolean | Whether or not it was triggered by user gesture. |
|
||
|
| [windowFeatures](./puppeteer.protocol.page.windowopenevent.windowfeatures.md) | string\[\] | An array of enabled window features. |
|
||
|
| [windowName](./puppeteer.protocol.page.windowopenevent.windowname.md) | string | Window name. |
|
||
|
|