WinAppDriver icon indicating copy to clipboard operation
WinAppDriver copied to clipboard

hello,I want to simulate a keyboard to send a keyword like “ENTER”,but the winappdriver client told me

Open freechenh opened this issue 8 years ago • 2 comments

WinAppDriver::CommandHandler::Appium::HandleCommandAsMidPoint - Command is not recognized

the log like this 1 2

freechenh avatar Jul 25 '18 06:07 freechenh

Hi @freechenh,

driver.keyevent (appium/device/keyvent) isn't an API supported by WinAppDriver - we recommend using send_keys (/session/:sessionId/element/elementID/value) as you have been for this. In addition, you can pass in keys.Enter.

hassanuz avatar Jul 31 '18 22:07 hassanuz

thank you @hassanuz

freechenh avatar Aug 01 '18 01:08 freechenh