Method: Selenium::WebDriver::ActionBuilder#key_down
- Defined in:
- lib/selenium/webdriver/common/action_builder.rb
#key_down(*args) ⇒ Object
14 15 16 17 18 19 20 21 |
# File 'lib/selenium/webdriver/common/action_builder.rb', line 14 def key_down(*args) if args.first.kind_of? Element @actions << [:mouse, :click, args.shift] end @actions << [:keyboard, :press, args] self end |