Method: Watir::Alert#set
- Defined in:
- lib/watir-classic/dialogs/alert.rb
#set(text) ⇒ Object
Set the text on the JavaScript prompt dialog.
43 44 45 |
# File 'lib/watir-classic/dialogs/alert.rb', line 43 def set(text) dialog.text_field.set text end |