Sends a sequence of keystrokes to the specified element in the browser.
Namespace: OpenQA.Selenium.InteractionsAssembly: WebDriver (in WebDriver.dll) Version: 2.35.0.0 (2.35.0.0)
Syntax
public Actions SendKeys( IWebElement element, string keysToSend )
Parameters
- element
- Type: OpenQA.Selenium IWebElement
The element to which to send the keystrokes.
- keysToSend
- Type:
System String
The keystrokes to send to the browser.
Return Value
A self-reference to this Actions.See Also