1.0 KiB
1.0 KiB
Home > puppeteer > Protocol > Page > WindowOpenEvent
Protocol.Page.WindowOpenEvent interface
Fired when a new window is going to be opened, via window.open(), link click, form submission, etc.
Signature:
export interface WindowOpenEvent
Properties
Property | Type | Description |
---|---|---|
url | string | The URL for the new window. |
userGesture | boolean | Whether or not it was triggered by user gesture. |
windowFeatures | string[] | An array of enabled window features. |
windowName | string | Window name. |