puppeteer/new-docs/puppeteer.protocol.page.windowopenevent.md
2020-07-13 14:01:35 +01:00

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.