An NDoc Documented Class Library

ISelenium.KeyPress Method 

Simulates a user pressing and releasing a key.

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.

See Also

ISelenium Interface | Selenium Namespace