All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.hubspot.chrome.devtools.client.core.page.JavascriptDialogClosedEvent Maven / Gradle / Ivy

There is a newer version: 94.0.4606.61
Show newest version
package com.hubspot.chrome.devtools.client.core.page;

import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.hubspot.chrome.devtools.client.core.Event;

/**
 * Fired when a JavaScript initiated dialog (alert, confirm, prompt, or onbeforeunload) has been
 * closed.
 */
public final class JavascriptDialogClosedEvent extends Event {
  private Boolean result;

  private String userInput;

  @JsonCreator
  public JavascriptDialogClosedEvent(@JsonProperty("result") Boolean result,
      @JsonProperty("userInput") String userInput) {
    this.result = result;
    this.userInput = userInput;
  }

  public Boolean getResult() {
    return result;
  }

  public String getUserInput() {
    return userInput;
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy