Package io.webfolder.cdp.event.page
Class WindowOpen
java.lang.Object
io.webfolder.cdp.event.page.WindowOpen
Fired when a new window is going to be opened, via window.open(), link click, form submission,
etc.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetUrl()
The URL for the new window.An array of enabled window features.Window name.Whether or not it was triggered by user gesture.void
The URL for the new window.void
setUserGesture
(Boolean userGesture) Whether or not it was triggered by user gesture.void
setWindowFeatures
(List<String> windowFeatures) An array of enabled window features.void
setWindowName
(String windowName) Window name.toString()
-
Constructor Details
-
WindowOpen
public WindowOpen()
-
-
Method Details
-
getUrl
The URL for the new window. -
setUrl
The URL for the new window. -
getWindowName
Window name. -
setWindowName
Window name. -
getWindowFeatures
An array of enabled window features. -
setWindowFeatures
An array of enabled window features. -
isUserGesture
Whether or not it was triggered by user gesture. -
setUserGesture
Whether or not it was triggered by user gesture. -
toString
-