Class JavascriptDialogClosed

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

public class JavascriptDialogClosed
extends java.lang.Object
Fired when a JavaScript initiated dialog (alert, confirm, prompt, or onbeforeunload) has been closed
  • Constructor Summary

    Constructors 
    Constructor Description
    JavascriptDialogClosed()  
  • Method Summary

    Modifier and Type Method Description
    java.lang.String getUserInput()
    User input in case of prompt.
    java.lang.Boolean isResult()
    Whether dialog was confirmed.
    void setResult​(java.lang.Boolean result)
    Whether dialog was confirmed.
    void setUserInput​(java.lang.String userInput)
    User input in case of prompt.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

  • Method Details

    • isResult

      public java.lang.Boolean isResult()
      Whether dialog was confirmed.
    • setResult

      public void setResult​(java.lang.Boolean result)
      Whether dialog was confirmed.
    • getUserInput

      public java.lang.String getUserInput()
      User input in case of prompt.
    • setUserInput

      public void setUserInput​(java.lang.String userInput)
      User input in case of prompt.