HandleJavaScriptDialogRequest

@Serializable
data class HandleJavaScriptDialogRequest(val accept: Boolean, val promptText: String? = null)(source)

Request object containing input parameters for the PageDomain.handleJavaScriptDialog command.

Constructors

Link copied to clipboard
constructor(accept: Boolean, promptText: String? = null)

Types

Link copied to clipboard
class Builder(val accept: Boolean)

Properties

Link copied to clipboard

Whether to accept or dismiss the dialog.

Link copied to clipboard
val promptText: String? = null

The text to enter into the dialog prompt before accepting. Used only if this is a prompt dialog.