WebDriverSendKeys Method
Sends a sequence of keystrokes to the browser.

Namespace: Selenium
Assembly: Selenium (in Selenium.dll) Version: 2.0.9.0 (2.0.9.0)
Syntax
VB Usage
Dim instance As WebDriver
Dim keysOrModifier As String
Dim keys As String

instance.SendKeys(keysOrModifier, keys)

Parameters

keysOrModifier
Type: SystemString
Sequence of keys or a modifier key(Control, Shift or Alt) if the sequence is in keysToSendEx
keys (Optional)
Type: SystemString
Optional - Sequence of keys if keysToSend contains modifier key(Control,Shift...)
Examples
To Send mobile to the window :
driver.SendKeys "mobile"
To Send ctrl+a to the window :
driver.SendKeys Keys.Control, "a"
See Also