com.hubspot.chrome.devtools.client.core.page.DialogType Maven / Gradle / Ivy
package com.hubspot.chrome.devtools.client.core.page;
import com.fasterxml.jackson.annotation.JsonValue;
/**
* Javascript dialog type.
*/
public enum DialogType {
ALERT("alert"),
CONFIRM("confirm"),
PROMPT("prompt"),
BEFOREUNLOAD("beforeunload");
private final String value;
DialogType(String value) {
this.value= value;
}
@JsonValue
public String getValue() {
return value;
}
@Override
public String toString() {
return value;
}
}