-
public final class HandleJavaScriptDialogRequestRequest object containing input parameters for the PageDomain.handleJavaScriptDialog command.
-
-
Field Summary
Fields Modifier and Type Field Description private final Booleanacceptprivate final StringpromptText
-
Constructor Summary
Constructors Constructor Description HandleJavaScriptDialogRequest(Boolean accept, String promptText)
-
Method Summary
Modifier and Type Method Description final Booleancomponent1()final Stringcomponent2()final HandleJavaScriptDialogRequestcopy(Boolean accept, String promptText)final BooleangetAccept()Whether to accept or dismiss the dialog. final StringgetPromptText()The text to enter into the dialog prompt before accepting. -
-
Method Detail
-
component1
final Boolean component1()
-
component2
final String component2()
-
copy
final HandleJavaScriptDialogRequest copy(Boolean accept, String promptText)
-
getPromptText
final String getPromptText()
The text to enter into the dialog prompt before accepting. Used only if this is a prompt dialog.
-
-
-
-