WebDriverSendKeys メソッド
キー入力のシーケンスをブラウザへ送ります。

名前空間: Selenium
アセンブリ: Selenium (in Selenium.dll) Version: 2.0.9.0 (2.0.9.0)
構文
VB 使用例
Dim instance As WebDriver
Dim keysOrModifier As String
Dim keys As String

instance.SendKeys(keysOrModifier, keys)

パラメータ

keysOrModifier
型: SystemString
Sequence of keys or a modifier key(Control, Shift or Alt) if the sequence is in keysToSendEx
keys(省略可)
型: SystemString
Optional - Sequence of keys if keysToSend contains modifier key(Control,Shift...)
To Send mobile to the window :
driver.SendKeys "mobile"
To Send ctrl+a to the window :
driver.SendKeys Keys.Control, "a"
参照