Method: Selenium::Client::GeneratedDriver#key_up

Defined in:
lib/selenium/client/legacy_driver.rb

#key_up(locator, keySequence) ⇒ Object

Simulates a user releasing a key.

‘locator’ is an element locator ‘keySequence’ is Either be a string(“" followed by the numeric keycode of the key to be pressed, normally the ASCII value of that key), or a single character. For example: ”w“, ”119“.

[View source]

294
295
296
# File 'lib/selenium/client/legacy_driver.rb', line 294

def key_up(locator,keySequence)
    remote_control_command("keyUp", [locator,keySequence,])
end