Access Keys:
Skip to content (Access Key - 0)
Log in (Access Key - 5)



Toggle Sidebar

keyDown-action-selcore

API Doc

keyDown (locator, keySequence)

(inherited from Selenium Core)

Simulates a user pressing a key (without releasing it yet).
Arguments:

  • locator -
    an element locator
  • keySequence -
    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".
last edited on Mar 28, 2009 13:32
Adaptavist Theme Builder Powered by Atlassian Confluence