An NDoc Documented Class Library

DefaultSelenium.KeyPress Method 

Simulates a user pressing and releasing a key.

public void KeyPress(
   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.KeyPress

See Also

DefaultSelenium Class | Selenium Namespace