An NDoc Documented Class Library |

# DefaultSelenium.KeyDown Method

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

public void KeyDown(
string locator,
string keycode
);

#### Parameters

locator
  an element locator
keycode
  the numeric keycode of the key to be pressed, normally the ASCII value of that key.

#### Implements

ISelenium.KeyDown

#### See Also

DefaultSelenium Class | Selenium Namespace