MCPcopy Create free account
hub / github.com/SeleniumHQ/selenium / KeyDown

Method KeyDown

dotnet/src/webdriver/Interactions/Actions.cs:197–200  ·  view source on GitHub ↗

Sends a modifier key down message to the browser. The key to be sent. A self-reference to this . If the key sent is not is not one of , , , , ,<see cref=

(string theKey)

Source from the content-addressed store, hash-verified

195 /// <see cref="Keys.Meta"/>, <see cref="Keys.Command"/>,<see cref="Keys.LeftAlt"/>,
196 /// <see cref="Keys.LeftControl"/>,<see cref="Keys.LeftShift"/>.</exception>
197 public Actions KeyDown(string theKey)
198 {
199 return this.KeyDown(null, theKey);
200 }
201
202 /// <summary>
203 /// Sends a modifier key down message to the specified element in the browser.

Calls 7

GetActivePointerMethod · 0.95
GetActiveKeyboardMethod · 0.95
CreatePointerMoveMethod · 0.80
CreatePointerDownMethod · 0.80
CreatePointerUpMethod · 0.80
CreateKeyDownMethod · 0.80
AddActionMethod · 0.45