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

Method SendKeys

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

Sends a sequence of keystrokes to the browser. The keystrokes to send to the browser. A self-reference to this . If is or .

(string keysToSend)

Source from the content-addressed store, hash-verified

279 /// <returns>A self-reference to this <see cref="Actions"/>.</returns>
280 /// <exception cref="ArgumentException">If <paramref name="keysToSend"/> is <see langword="null"/> or <see cref="string.Empty"/>.</exception>
281 public Actions SendKeys(string keysToSend)
282 {
283 return this.SendKeys(null, keysToSend);
284 }
285
286 /// <summary>
287 /// Sends a sequence of keystrokes to the specified element in the browser.

Callers

nothing calls this directly

Calls 8

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

Tested by

no test coverage detected