ActionsKeyUp Method (IWebElement, String)WebDriver
Sends a modifier up down message to the specified element in the browser.

Namespace: OpenQA.Selenium.Interactions
Assembly: WebDriver (in WebDriver.dll) Version: 3.1.0
Syntax

public Actions KeyUp(
	IWebElement element,
	string theKey
)

Parameters

element
Type: OpenQA.SeleniumIWebElement
The element to which to send the key command.
theKey
Type: SystemString
The key to be sent.

Return Value

Type: Actions
A self-reference to this Actions.
Exceptions

ExceptionCondition
ArgumentExceptionIf the key sent is not is not one of Shift, Control, or Alt.
See Also

Reference