ISelenium KeyDown Method WebDriver
Simulates a user pressing a key (without releasing it yet).

Namespace: Selenium
Assembly: ThoughtWorks.Selenium.Core (in ThoughtWorks.Selenium.Core.dll) Version: 2.35.0.0 (2.35.0.0)
Syntax

void KeyDown(
	string locator,
	string keySequence
)

Parameters

locator
Type: OnlineSystem String
an element locator
keySequence
Type: OnlineSystem String
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".
See Also