Enter-Text
Send a sequence of key strokes to the active element.
Powershell
Send a sequence of key strokes to the active element.
Syntax
Enter-Text [-sessionId
Parameters
name | description |
---|---|
sessionId | (Optional) The identifier of the session to route the command to. |
text | The keys sequence to be sent. |
Examples
Enter-Text "Quamotion"
C#
Declaration
OpenQA.Selenium.IKeyboard::void SendKeys(string keySequence)
Arguments:
type | name | description |
---|---|---|
System.String | keySequence | A string representing the keystrokes to send. |
Examples
driver.Keyboard.SendKeys("test");
Last modified January 1, 0001