Sends a modifier key down message to the browser.
Namespace: OpenQA.Selenium.InteractionsAssembly: WebDriver (in WebDriver.dll) Version: 2.35.0.0 (2.35.0.0)
Syntax
Parameters
- theKey
- Type:
System String
The key to be sent.
Return Value
A self-reference to this Actions.Exceptions
Exception | Condition |
---|---|
![]() | If the key sent is not is not one of Shift, Control, or Alt. |
See Also