ActionsKeyDown Method
Sends a key press only, without releasing it. Should only be used with modifier keys (Control, Alt and Shift).

Namespace: Selenium
Assembly: Selenium (in Selenium.dll) Version: 2.0.9.0 (2.0.9.0)
Syntax
VB Usage
Dim instance As Actions
Dim modifierKey As String
Dim element As WebElement
Dim returnValue As Actions

returnValue = instance.KeyDown(modifierKey, 
	element)

Parameters

modifierKey
Type: SystemString
The modifier key to Send. Values are defined in Keys class.
element (Optional)
Type: SeleniumWebElement
The element to Send keys. If None, sends a key to current focused element.

Return Value

Type: Actions
Self
See Also