Hound.Helpers.Dialog
Provides functions to handle Javascript dialogs alert(), prompt() and confirm().
Summary
accept_dialog() | Accepts javascript dialog |
dialog_text() | Gets text of a javascript alert(), confirm() or prompt() |
dismiss_dialog() | Dismiss a javascript dialog |
input_into_prompt(input) | Inputs text to a javascript prompt() |
Functions
Specs:
- accept_dialog :: :ok
Accepts javascript dialog.
accept_dialog()
Specs:
- dialog_text :: String.t
Gets text of a javascript alert(), confirm() or prompt().
dialog_text()
Specs:
- dismiss_dialog :: :ok
Dismiss a javascript dialog.
dismiss_dialog()