WebElementSendKeys Method
Simulates typing into the element.

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

returnValue = instance.SendKeys(keysOrModifier, 
	keys)

Parameters

keysOrModifier
Type: SystemString
Sequence of keys or a modifier key(Control,Shift...) if the sequence is in keysToSendEx
keys (Optional)
Type: SystemString
Optional - Sequence of keys if keysToSend contains modifier key(Control,Shift...)

Return Value

Type: WebElement

[Missing <returns> documentation for "M:Selenium.WebElement.SendKeys(System.String,System.String)"]

Examples
To Send mobile to an element :
driver.FindElementsById("id").sendKeys "mobile"
To Send ctrl+a to an element :
driver.FindElementsById("id").sendKeys Keys.Control, "a"
See Also