I have a rare case where I’m connected to a remote machine running windows 10. I’m unable to sendKeys or any other “push” command without getting the following error on the calling application. Note that I’m able to get the element successfully, and also able to run getText() without any problem. But as soon as I run sendKeys or the click event it fails with the following:
An unknown server-side error occurred while processing the command. Original error: An unknown error occurred in the remote end while processing the command. (WARNING: The server did not provide any stacktrace information)
On the remote machine running the appium agent I get the following error:
Encountered internal error running command: ProxyRequestError: Could not proxy command to remote server
Here is my config:
DesiredCapabilities appCapabilities = new DesiredCapabilities();
WindowsDriver driver = new WindowsDriver<>(new URL(“http://10.x.xx.11:4723/wd/hub”), appCapabilities);
I’m connecting with the java-client v7.2.0 and selenium- v3.141.59
On the remote machine I have appium 1.17.1 installed.
Note that the only time it works is when I open a remote desktop connection to the remote machine and then running the test again. The driver is then able to run the same code without any problems
Any advice or nudge in the right direction will be highly appreciated.