sendkeys An unknown error occurred in the remote end
See original GitHub issueWinAppDriver 1.1.1 WinAppDriverUI 1.1
I have generated a code with UI Recorder
// LeftClick on Button "ETS5™ - 1 fenêtre en cours d’exécution" at (22,21)
Console.WriteLine("LeftClick on Button \"ETS5™ - 1 fenêtre en cours d’exécution\" at (22,21)");
string xpath_LeftClickButtonETS51fenêt_22_21 = "/Pane[@ClassName=\"#32769\"][@Name=\"Bureau 1\"]/Pane[@ClassName=\"Shell_TrayWnd\"][@Name=\"Barre des tâches\"]/ToolBar[@ClassName=\"MSTaskListWClass\"][@Name=\"Applications en cours d’exécution\"]/Button[@Name=\"ETS5™ - 1 fenêtre en cours d’exécution\"][starts-with(@AutomationId,\"KNX.ETS.v\")]";
var winElem_LeftClickButtonETS51fenêt_22_21 = desktopSession.FindElementByAbsoluteXPath(xpath_LeftClickButtonETS51fenêt_22_21);
if (winElem_LeftClickButtonETS51fenêt_22_21 != null)
{
winElem_LeftClickButtonETS51fenêt_22_21.Click();
}
else
{
Console.WriteLine($"Failed to find element using xpath: {xpath_LeftClickButtonETS51fenêt_22_21}");
return;
}
// KeyboardInput VirtualKeys=""aaabbb"" CapsLock=False NumLock=False ScrollLock=False
Console.WriteLine("KeyboardInput VirtualKeys=\"\"aaa\"\" CapsLock=False NumLock=False ScrollLock=False");
System.Threading.Thread.Sleep(100);
winElem_LeftClickButtonETS51fenêt_22_21.SendKeys("aaa");
When i run it, i have an error:
An unknown error occurred in the remote end
on SendKeys(…)
On WinAppDriver:
========================================== POST /session/D5A8ABA6-483C-4334-A595-9E8083F9BB25/element/42.66144.4.-2147483647.66144.-4.10/click HTTP/1.1 Accept: application/json, image/png Content-Length: 2 Content-Type: application/json;charset=utf-8 Host: 127.0.0.1:4723 User-Agent: selenium/3.11.0 (.net windows) {} HTTP/1.1 200 OK Content-Length: 63 Content-Type: application/json {"sessionId":"D5A8ABA6-483C-4334-A595-9E8083F9BB25","status":0} ========================================== POST /session/D5A8ABA6-483C-4334-A595-9E8083F9BB25/element/42.66144.4.-2147483647.66144.-4.10/value HTTP/1.1 Accept: application/json, image/png Content-Length: 20 Content-Type: application/json;charset=utf-8 Host: 127.0.0.1:4723 User-Agent: selenium/3.11.0 (.net windows) {"value":["aaa"]} HTTP/1.1 500 Internal Error Content-Length: 133 Content-Type: application/json {"status":13,"value":{"error":"unknown error","message":"An unknown error occurred in the remote end while processing the command."}}
Issue Analytics
- State:
- Created 4 years ago
- Comments:5 (1 by maintainers)
Top Results From Across the Web
sendkeys fails with error An unknown error occurred in the ...
I get exception "An unknown error occurred in the remote end while processing the command." I am not sure how to proceed.. WinAppDriver...
Read more >Outlook New Email Unable to send keys to element when ...
When using WinAppDriver I'm receiving an unknown error when trying to sendkeys to the new email window. I've created a new session to ......
Read more >UI Automation... SendKeys not working
An unknown error occurred in the remote end while processing the command. Any Idea why it happens. With a standard WPF textbox it...
Read more >Appium Unable to perform any push commands to remote ...
I'm unable to sendKeys or any other “push” command without getting the ... Original error: An unknown error occurred in the remote end...
Read more >Switch application window - Katalon Studio
WebDriverException : An unknown error occurred in the remote end while processing the command. (WARNING: The server did not provide any ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I think this is because WinAppDriver doesn’t return a
value
key in the responses which is required according to the W3C spec. So it returnsbut should return
I have tested with US keyboard and it’s the same error