Method: Selenium::WebDriver::ActionBuilder#send_keys
- Defined in:
- lib/selenium/webdriver/common/action_builder.rb
#send_keys(*args) ⇒ Object
32 33 34 35 36 37 38 39 |
# File 'lib/selenium/webdriver/common/action_builder.rb', line 32 def send_keys(*args) if args.first.kind_of? Element @actions << [:mouse, :click, args.shift] end @actions << [:keyboard, :send_keys, args] self end |