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