User prompts
session.dismissAlert()
Dismiss the alert in current page
RETURNS
Promise<void>
EXAMPLES
SEE ALSO
session.acceptAlert()
Accept the alert in current page
RETURNS
Promise<void>
EXAMPLES
SEE ALSO
session.getAlertText()
Returns the text from an alert
RETURNS
Promise<string>
EXAMPLES
SEE ALSO
session.sendAlertText(text)
Sets the text field of a prompt to the given value.
PARAMETERS
text
: string - Text to be set in the input area of alert
RETURNS
Promise<void>
EXAMPLES
SEE ALSO
Last updated