Method: Ferrum::Keyboard#up

Defined in:
lib/ferrum/keyboard.rb

#up(key) ⇒ self

Dispatches a keyup event.



56
57
58
59
60
# File 'lib/ferrum/keyboard.rb', line 56

def up(key)
  key = normalize_keys(Array(key)).first
  @page.command("Input.dispatchKeyEvent", slowmoable: true, type: "keyUp", **key)
  self
end