-
Notifications
You must be signed in to change notification settings - Fork 5
windowSendKeys
Rubens Dos Santos Filho edited this page Feb 7, 2019
·
2 revisions
Sends keyboard events to an application with the informed title.
Heads up! This method will consider all opened application in the OS.
Attribute | Type | Name |
---|---|---|
title |
string |
Window title |
keys |
Keys[] |
Keyboard events or keys |
timeout ** |
number |
Waiting timeout |
** optional parameters.
This method returns a Promise
with true
value or with an Error
instance depending if the command was successfully executed or not.
oeAgent.windowSendKeys('Select file', [Keys.T, Keys.E, Keys.S, Keys.T]);
OEAgent