microsoft / WinAppDriver

Windows Application Driver
MIT License
3.7k stars 1.4k forks source link

WinAppDriver v1.2.99 Internal Error #1556

Open pavelnaut opened 3 years ago

pavelnaut commented 3 years ago

Using a simple get request to get the status returns a 500 internal error. I am using the x64 build on a x64 architecture. Below command does not throw an error on previous stable build v1.2.1.

Command: wget http://127.0.0.1:4723/status

Response:

GET /status HTTP/1.1 Host: 127.0.0.1:4723 User-Agent: Mozilla/5.0 (Windows NT; Windows NT 10.0; en-US) WindowsPowerShell/5.1.19041.1023 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."}}

SnowISmirnov commented 3 years ago

Same error for me. It is not possible to launch WinAppDriver v1.2.99 with Appium.

Version 1.2.99 image

But all is ok on version 1.2.2009: image

DHowett commented 3 years ago

Thanks for the report! Looking into this now.

DHowett commented 3 years ago

It looks like our build system didn't stamp WinAppDriver with a version number (how curious!)

We'll fix this in two ways:

  1. Emit version info (obviously)
  2. Respond to /status even if we cannot produce a version number, as /status is required to work to begin a session with Appium.
manwalrachi commented 2 years ago

Is WinAppDriver now compatible with Selenium 4?

thopiekar commented 1 year ago

Is someone going to fix it? This problem is known for more than a year without any progress 🤷‍♂️

aristotelos commented 9 months ago

Duplicate of #1874