hound v1.1.1 Hound.Helpers.Dialog View Source
Functions to handle Javascript dialogs alert(), prompt() and confirm()
Link to this section Summary
Functions
Accepts javascript dialog
Gets text of a javascript alert(), confirm() or prompt()
Dismiss a javascript dialog
Inputs text to a javascript prompt()
Link to this section Functions
Link to this function
accept_dialog()
View Source
accept_dialog()
View Source
accept_dialog() :: :ok
accept_dialog() :: :ok
Accepts javascript dialog.
accept_dialog()
Link to this function
dialog_text()
View Source
dialog_text()
View Source
dialog_text() :: String.t()
dialog_text() :: String.t()
Gets text of a javascript alert(), confirm() or prompt().
dialog_text()
Link to this function
dismiss_dialog()
View Source
dismiss_dialog()
View Source
dismiss_dialog() :: :ok
dismiss_dialog() :: :ok
Dismiss a javascript dialog.
dismiss_dialog()
Link to this function
input_into_prompt(input)
View Source
input_into_prompt(input)
View Source
input_into_prompt(String.t()) :: :ok
input_into_prompt(String.t()) :: :ok
Inputs text to a javascript prompt().
input_into_prompt("John Doe")