puppeteer/new-docs/puppeteer.protocol.page.windowopenevent.md

24 lines
1.0 KiB
Markdown
Raw Normal View History

<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) &gt; [puppeteer](./puppeteer.md) &gt; [Protocol](./puppeteer.protocol.md) &gt; [Page](./puppeteer.protocol.page.md) &gt; [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. |