Class WindowOpen

java.lang.Object
io.webfolder.cdp.event.page.WindowOpen

public class WindowOpen extends Object
Fired when a new window is going to be opened, via window.open(), link click, form submission, etc.
  • Constructor Details

    • WindowOpen

      public WindowOpen()
  • Method Details

    • getUrl

      public String getUrl()
      The URL for the new window.
    • setUrl

      public void setUrl(String url)
      The URL for the new window.
    • getWindowName

      public String getWindowName()
      Window name.
    • setWindowName

      public void setWindowName(String windowName)
      Window name.
    • getWindowFeatures

      public List<String> getWindowFeatures()
      An array of enabled window features.
    • setWindowFeatures

      public void setWindowFeatures(List<String> windowFeatures)
      An array of enabled window features.
    • isUserGesture

      public Boolean isUserGesture()
      Whether or not it was triggered by user gesture.
    • setUserGesture

      public void setUserGesture(Boolean userGesture)
      Whether or not it was triggered by user gesture.
    • toString

      public String toString()
      Overrides:
      toString in class Object