Class WindowOpen
- java.lang.Object
-
- org.openqa.selenium.devtools.v112.page.model.WindowOpen
-
public class WindowOpen extends java.lang.ObjectFired when a new window is going to be opened, via window.open(), link click, form submission, etc.
-
-
Constructor Summary
Constructors Constructor Description WindowOpen(java.lang.String url, java.lang.String windowName, java.util.List<java.lang.String> windowFeatures, java.lang.Boolean userGesture)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetUrl()The URL for the new window.java.lang.BooleangetUserGesture()Whether or not it was triggered by user gesture.java.util.List<java.lang.String>getWindowFeatures()An array of enabled window features.java.lang.StringgetWindowName()Window name.
-
-
-
Method Detail
-
getUrl
public java.lang.String getUrl()
The URL for the new window.
-
getWindowName
public java.lang.String getWindowName()
Window name.
-
getWindowFeatures
public java.util.List<java.lang.String> getWindowFeatures()
An array of enabled window features.
-
getUserGesture
public java.lang.Boolean getUserGesture()
Whether or not it was triggered by user gesture.
-
-