WinAppDriver exited unexpectedly with code 2147500037, signal null


#1

[Appium] Welcome to Appium v1.7.1
[Appium] Appium REST http interface listener started on 0.0.0.0:4723
[HTTP] --> GET /wd/hub/sessions {}
[MJSONWP] Calling AppiumDriver.getSessions() with args: []
[MJSONWP] Responding to client with driver.getSessions() result: []
[HTTP] <-- GET /wd/hub/sessions 200 5 ms - 40
[HTTP] --> POST /wd/hub/session {“desiredCapabilities”:{“app”:“C:\Users\jsingh\Desktop\Release\PDMApplication.exe”,“deviceName”:“WindowsPC”,“platformName”:“Windows”,“newCommandTimeout”:0,“connectHardwareKeyboard”:true}}
[MJSONWP] Calling AppiumDriver.createSession() with args: [{“app”:“C:\Users\jsingh\Desktop\Release\PDMApplication.exe”,“deviceName”:“WindowsPC”,“platformName”:“Windows”,“newCommandTimeout”:0,“connectHardwareKeyboard”:true},null,null]
[BaseDriver] Event ‘newSessionRequested’ logged at 1510230231847 (17:53:51 GMT+0530 (India Standard Time))
[Appium] Creating new WindowsDriver (v0.5.0) session
[Appium] Capabilities:
[Appium] app: ‘C:\Users\jsingh\Desktop\Release\PDMApplication.exe’
[Appium] deviceName: ‘WindowsPC’
[Appium] platformName: ‘Windows’
[Appium] newCommandTimeout: 0
[Appium] connectHardwareKeyboard: true
[BaseDriver] The following capabilities were provided, but are not recognized by appium: app, connectHardwareKeyboard.
[BaseDriver] Session created with session id: 697f66a9-8756-472d-b8fc-78bdd8b4815b
[WinAppDriver] Verifying WinAppDriver is installed with correct checksum
[WinAppDriver] WinAppDriver changed state to ‘starting’
[WinAppDriver] Killing any old WinAppDrivers on same port, running: FOR /F “usebackq tokens=5” %a in (netstat -nao ^| findstr /R /C:"4724 ") do (FOR /F “usebackq” %b in (TASKLIST /FI "PID eq %a" ^| findstr /I winappdriver.exe) do (IF NOT %b=="" TASKKILL /F /PID %a))
[WinAppDriver] No old WinAppDrivers seemed to exist
[WinAppDriver] Spawning winappdriver with: undefined 4724/wd/hub
[WinAppDriver] [STDOUT] Windows Application Driver Beta listening for requests at: http://127.0.0.1:4724/wd/hub
[WinAppDriver] WinAppDriver changed state to ‘online’
[JSONWP Proxy] Proxying [POST /session] to [POST http://127.0.0.1:4724/wd/hub/session] with body: {“desiredCapabilities”:{“app”:“C:\Users\jsingh\Desktop\Release\PDMApplication.exe”,“deviceName”:“WindowsPC”,“platformName”:“Windows”,“newCommandTimeout”:0,“connectHardwareKeyboard”:true}}
[WinAppDriver] [STDOUT]
[WinAppDriver] [STDOUT] Address ‘http://127.0.0.1:4724/wd/hub’ is already in use
[WinAppDriver] [STDOUT]
[WinAppDriver] [STDOUT] Failed to initialize: 0x80004005
[WinAppDriver] WinAppDriver exited unexpectedly with code 2147500037, signal null
[WinAppDriver] WinAppDriver changed state to ‘stopped’
[WinAppDriver] [STDOUT]
[WinAppDriver] [STDOUT]
[WinAppDriver] [STDOUT] ==========================================
[WinAppDriver] [STDOUT] POST /wd/hub/session HTTP/1.1
[WinAppDriver] [STDOUT] Accept: /
[WinAppDriver] [STDOUT] Connection: keep-alive
[WinAppDriver] [STDOUT] Content-Length: 192
[WinAppDriver] [STDOUT] Content-Type: application/json
[WinAppDriver] [STDOUT] Host: 127.0.0.1:4724
[WinAppDriver] [STDOUT] User-Agent: appium
[WinAppDriver] [STDOUT]
[WinAppDriver] [STDOUT]
[WinAppDriver] [STDOUT] SessionManager - Creating session
[WinAppDriver] [STDOUT] SessionManager - WinAppDriver succeeded loading MitaBroker
[WinAppDriver] [STDOUT] SessionManager - Application launched
[WinAppDriver] [STDOUT] SessionManager - Session successfully created: FE378469-B4B1-43F0-8BE8-5131F96C8E93
[WinAppDriver] [STDOUT] HTTP/1.1 200 OK
[WinAppDriver] [STDOUT] Content-Length: 162
[WinAppDriver] [STDOUT] Content-Type: application/json
[WinAppDriver] [STDOUT]
[WinAppDriver] [STDOUT] {“sessionId”:“FE378469-B4B1-43F0-8BE8-5131F96C8E93”,“status”:0,“value”:{“app”:“C:\Users\jsingh\Desktop\Release\PDMApplication.exe”,“platformName”:“Windows”}}
[JSONWP Proxy] Got response with status 200: {“sessionId”:“FE378469-B4B1-43F0-8BE8-5131F96C8E93”,“status”:0,“value”:{“app”:“C:\Users\jsingh\Desktop\Release\PDMApplication.exe”,“platformName”:“Windows”}}
[Appium] New WindowsDriver session created successfully, session 697f66a9-8756-472d-b8fc-78bdd8b4815b added to master session list
[BaseDriver] Event ‘newSessionStarted’ logged at 1510230238058 (17:53:58 GMT+0530 (India Standard Time))
[MJSONWP] Responding to client with driver.createSession() result: {“app”:“C:\Users\jsingh\Desktop\Release\PDMApplication.exe”,“deviceName”:“WindowsPC”,“platformName”:“Windows”,“newCommandTimeout”:0,“connectHardwareKeyboard”:true}
[HTTP] <-- POST /wd/hub/session 200 6213 ms - 240
[HTTP] --> POST /wd/hub/session/697f66a9-8756-472d-b8fc-78bdd8b4815b/context {“name”:“NATIVE_APP”}
[MJSONWP] Driver proxy active, passing request on via HTTP proxy
[JSONWP Proxy] Proxying [POST /wd/hub/session/697f66a9-8756-472d-b8fc-78bdd8b4815b/context] to [POST http://127.0.0.1:4724/wd/hub/session/FE378469-B4B1-43F0-8BE8-5131F96C8E93/context] with body: {“name”:“NATIVE_APP”}
[WinAppDriver] [STDOUT]
[WinAppDriver] [STDOUT]
[WinAppDriver] [STDOUT] ==========================================
[WinAppDriver] [STDOUT] POST /wd/hub/session/FE378469-B4B1-43F0-8BE8-5131F96C8E93/context HTTP/1.1
[WinAppDriver] [STDOUT] Accept: /
[WinAppDriver] [STDOUT] Connection: keep-alive
[WinAppDriver] [STDOUT] Content-Length: 21
[WinAppDriver] [STDOUT] Content-Type: application/json
[WinAppDriver] [STDOUT] Host: 127.0.0.1:4724
[WinAppDriver] [STDOUT] User-Agent: appium
[WinAppDriver] [STDOUT]
[WinAppDriver] [STDOUT] {“name”:“NATIVE_APP”}
[WinAppDriver] [STDOUT] ### WinAppDriver::CommandHandler::Session::HandleCommandAsMidPoint - Command context is not recognized
[WinAppDriver] [STDOUT] HTTP/1.1 404 Not Found
[WinAppDriver] [STDOUT] Content-Length: 144
[WinAppDriver] [STDOUT] Content-Type: application/json
[WinAppDriver] [STDOUT]
[WinAppDriver] [STDOUT] {“status”:9,“value”:{“error”:“unknown command”,“message”:“Command not recognized: POST: /session/FE378469-B4B1-43F0-8BE8-5131F96C8E93/context”}}
[MJSONWP] Encountered internal error running command: {“jsonwp”:{“status”:9,“value”:{“error”:“unknown command”,“message”:“Command not recognized: POST: /session/FE378469-B4B1-43F0-8BE8-5131F96C8E93/context”}}} ProxyRequestError: Could not proxy command to remote server. Original error: 404 - {“status”:9,“value”:{“error”:“unknown command”,“message”:“Command not recognized: POST: /session/FE378469-B4B1-43F0-8BE8-5131F96C8E93/context”}}
at JWProxy.proxy$ (C:\Users\jsingh\AppData\Local\Programs\appium-desktop\resources\app\node_modules\appium\node_modules\appium-base-driver\lib\jsonwp-proxy\proxy.js:152:13)
at tryCatch (C:\Users\jsingh\AppData\Local\Programs\appium-desktop\resources\app\node_modules\appium\node_modules\babel-runtime\regenerator\runtime.js:67:40)
at GeneratorFunctionPrototype.invoke [as _invoke] (C:\Users\jsingh\AppData\Local\Programs\appium-desktop\resources\app\node_modules\appium\node_modules\babel-runtime\regenerator\runtime.js:315:22)
at GeneratorFunctionPrototype.prototype.(anonymous function) [as throw] (C:\Users\jsingh\AppData\Local\Programs\appium-desktop\resources\app\node_modules\appium\node_modules\babel-runtime\regenerator\runtime.js:100:21)
at GeneratorFunctionPrototype.invoke (C:\Users\jsingh\AppData\Local\Programs\appium-desktop\resources\app\node_modules\appium\node_modules\babel-runtime\regenerator\runtime.js:136:37)
[HTTP] <-- POST /wd/hub/session/697f66a9-8756-472d-b8fc-78bdd8b4815b/context 500 26 ms - 207
[HTTP] --> GET /wd/hub/session/697f66a9-8756-472d-b8fc-78bdd8b4815b/source {}
[MJSONWP] Driver proxy active, passing request on via HTTP proxy
[JSONWP Proxy] Proxying [GET /wd/hub/session/697f66a9-8756-472d-b8fc-78bdd8b4815b/source] to [GET http://127.0.0.1:4724/wd/hub/session/FE378469-B4B1-43F0-8BE8-5131F96C8E93/source] with body: {}
[WinAppDriver] [STDOUT]
[WinAppDriver] [STDOUT]
[WinAppDriver] [STDOUT] ==========================================
[WinAppDriver] [STDOUT] GET /wd/hub/session/FE378469-B4B1-43F0-8BE8-5131F96C8E93/source HTTP/1.1
[WinAppDriver] [STDOUT] Accept: /
[WinAppDriver] [STDOUT] Connection: keep-alive
[WinAppDriver] [STDOUT] Content-Type: application/json
[WinAppDriver] [STDOUT] Host: 127.0.0.1:4724
[WinAppDriver] [STDOUT] User-Agent: appium
[WinAppDriver] [STDOUT]
[WinAppDriver] [STDOUT]
[JSONWP Proxy] Got response with status 200: “{“sessionId”:“FE378469-B4B1-43F0-8BE8-5131F96C8E93”,“status”:0,“value”:”
[JSONWP Proxy] Replacing sessionId FE378469-B4B1-43F0-8BE8-5131F96C8E93 with 697f66a9-8756-472d-b8fc-78bdd8b4815b
[HTTP] <-- GET /wd/hub/session/697f66a9-8756-472d-b8fc-78bdd8b4815b/source 200 1145 ms - 23978
[WinAppDriver] [STDOUT] HTTP/1.1 200 OK
[WinAppDriver] [STDOUT] Content-Length: 23978
[WinAppDriver] [STDOUT] Content-Type: application/json
[WinAppDriver] [STDOUT]
[WinAppDriver] [STDOUT] {“sessionId”:“FE378469-B4B1-43F0-8BE8-5131F96C8E93”,“status”:0,“value”:"
[HTTP] --> GET /wd/hub/session/697f66a9-8756-472d-b8fc-78bdd8b4815b/screenshot {}
[MJSONWP] Driver proxy active, passing request on via HTTP proxy
[JSONWP Proxy] Proxying [GET /wd/hub/session/697f66a9-8756-472d-b8fc-78bdd8b4815b/screenshot] to [GET http://127.0.0.1:4724/wd/hub/session/FE378469-B4B1-43F0-8BE8-5131F96C8E93/screenshot] with body: {}
[WinAppDriver] [STDOUT]
[WinAppDriver] [STDOUT]
[WinAppDriver] [STDOUT] ==========================================
[WinAppDriver] [STDOUT] GET /wd/hub/session/FE378469-B4B1-43F0-8BE8-5131F96C8E93/screenshot HTTP/1.1
[WinAppDriver] [STDOUT] Accept: /
[WinAppDriver] [STDOUT] Connection: keep-alive
[WinAppDriver] [STDOUT] Content-Type: application/json
[WinAppDriver] [STDOUT] Host: 127.0.0.1:4724
[WinAppDriver] [STDOUT] User-Agent: appium
[WinAppDriver] [STDOUT]
[WinAppDriver] [STDOUT]
[WinAppDriver] [STDOUT] HTTP/1.1 200 OK
[WinAppDriver] [STDOUT] Content-Length: 129634
[WinAppDriver] [STDOUT] Content-Type: application/json
[WinAppDriver] [STDOUT]
[WinAppDriver] [STDOUT] {“sessionId”:“FE378469-B4B1-43F0-8BE8-5131F96C8E93”,“status”:0,“value”:“iVBORw0KGgoAAAANSUhEUgAAB5gAAAQUCAIAAAAjplJFAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAP+6SURBVHhe7P0HmGPnfef5HgAHOaMAVM65Ogd2MzWTcrJk2pI8O7a1HluXo53HXs9jz3p27d2ZXXtmr2a81/PI6+uhJY1n1kGmJFOJFCVSJEV2M3SsjpUDCpVQAAo54wBYoHC6WR2qWZ0kkPh+9GehzntenIMqsgTgV2/9jwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA […]
[JSONWP Proxy] Got response with status 200: “{“sessionId”:“FE378469-B4B1-43F0-8BE8-5131F96C8E93”,“status”:0,“value”:“iVBORw0KGgoAAAANSUhEUgAAB5gAAAQUCAIAAAAjplJFAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAP+6SURBVHhe7P0HmGPnfef5HgAHOaMAVM65Ogd2MzWTcrJk2pI8O7a1HluXo53HXs9jz3p27d2ZXXtmr2a81/PI6+uhJY1n1kGmJFOJFCVSJEV2M3SsjpUDCpVQAAo54wBYoHC6WR2qWZ0kkPh+9GehzntenIMqsgTgV2/9jwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAO4qhXx7UxcXoulcQd4AAAAAAAAAAOBu0GtUOzut8sbWthVkn5wKJbME2QAAAAAAAACAu8moVd034JA3tqaUb29FoViKJHLBWLZaqawk7wAAAAAAAAAA4G67nRXZ4UTuJ6Or4Xiuunmg33Ggv6H6OQAAAAAAAAAA27TNFdnbCrJ/9PbcnD+zniyVP28wKpRC4ZULYZNe7bRoJpcTQ62GnR2m1WgxKwlGnTjUbjFoxeodAQAAAAAAAAA/Y7lsZsW7EIuEMum0PHSZSqUymMzu5pYGd5M8dAci68HA2mosEi5Ict+O8sHtDQ2u5tZUPL7VLo1GWx0pu5tB9l9999SlpbQvJuSkUotFsBuEibXizm5bf7PphdNrJrXkMilmAqV8UemwaO4fcjU59DfLsksFIZ+Op7LxdPULUKpEjd5i0qlVmtvpdHJ7isVCPhuPp3KFy2vNNz+MUnlCLpXKpFLlx1ioBPhVokrUmu16TflWuDwnnU2rDAadxqy79ksuFaR8KpqUlHmFzmrWqlXKa76+Yi6dz6ai6YJ0+RxqvVF…
[JSONWP Proxy] Replacing sessionId FE378469-B4B1-43F0-8BE8-5131F96C8E93 with 697f66a9-8756-472d-b8fc-78bdd8b4815b
[HTTP] <-- GET /wd/hub/session/697f66a9-8756-472d-b8fc-78bdd8b4815b/screenshot 200 115 ms - 129634
[HTTP] --> POST /wd/hub/session/697f66a9-8756-472d-b8fc-78bdd8b4815b/elements {“using”:“xpath”,“value”:”/Window/Pane/Pane/Pane/Pane[5]”}
[MJSONWP] Driver proxy active, passing request on via HTTP proxy
[JSONWP Proxy] Proxying [POST /wd/hub/session/697f66a9-8756-472d-b8fc-78bdd8b4815b/elements] to [POST http://127.0.0.1:4724/wd/hub/session/FE378469-B4B1-43F0-8BE8-5131F96C8E93/elements] with body: {“using”:“xpath”,“value”:”/Window/Pane/Pane/Pane/Pane[5]"}
[WinAppDriver] [STDOUT]
[WinAppDriver] [STDOUT]
[WinAppDriver] [STDOUT] ==========================================
[WinAppDriver] [STDOUT] POST /wd/hub/session/FE378469-B4B1-43F0-8BE8-5131F96C8E93/elements HTTP/1.1
[WinAppDriver] [STDOUT] Accept: /
[WinAppDriver] [STDOUT] Connection: keep-alive
[WinAppDriver] [STDOUT] Content-Length: 58
[WinAppDriver] [STDOUT] Content-Type: application/json
[WinAppDriver] [STDOUT] Host: 127.0.0.1:4724
[WinAppDriver] [STDOUT] User-Agent: appium
[WinAppDriver] [STDOUT]
[WinAppDriver] [STDOUT] {“using”:“xpath”,“value”:"/Window/Pane/Pane/Pane/Pane[5]"}
[WinAppDriver] [STDOUT] HTTP/1.1 200 OK
[WinAppDriver] [STDOUT] Content-Length: 74
[WinAppDriver] [STDOUT] Content-Type: application/json
[WinAppDriver] [STDOUT]
[WinAppDriver] [STDOUT] {“sessionId”:“FE378469-B4B1-43F0-8BE8-5131F96C8E93”,“status”:0,“value”:[]}
[JSONWP Proxy] Got response with status 200: {“sessionId”:“FE378469-B4B1-43F0-8BE8-5131F96C8E93”,“status”:0,“value”:[]}
[JSONWP Proxy] Replacing sessionId FE378469-B4B1-43F0-8BE8-5131F96C8E93 with 697f66a9-8756-472d-b8fc-78bdd8b4815b
[HTTP] <-- POST /wd/hub/session/697f66a9-8756-472d-b8fc-78bdd8b4815b/elements 200 149 ms - 74
[HTTP] --> GET /wd/hub/session/697f66a9-8756-472d-b8fc-78bdd8b4815b/source {}
[MJSONWP] Driver proxy active, passing request on via HTTP proxy
[JSONWP Proxy] Proxying [GET /wd/hub/session/697f66a9-8756-472d-b8fc-78bdd8b4815b/source] to [GET http://127.0.0.1:4724/wd/hub/session/FE378469-B4B1-43F0-8BE8-5131F96C8E93/source] with body: {}
[WinAppDriver] [STDOUT]
[WinAppDriver] [STDOUT]
[WinAppDriver] [STDOUT] ==========================================
[WinAppDriver] [STDOUT] GET /wd/hub/session/FE378469-B4B1-43F0-8BE8-5131F96C8E93/source HTTP/1.1
[WinAppDriver] [STDOUT] Accept: /
[WinAppDriver] [STDOUT] Connection: keep-alive
[WinAppDriver] [STDOUT] Content-Type: application/json
[WinAppDriver] [STDOUT] Host: 127.0.0.1:4724
[WinAppDriver] [STDOUT] User-Agent: appium
[WinAppDriver] [STDOUT]
[WinAppDriver] [STDOUT]
[WinAppDriver] [STDOUT] HTTP/1.1 200 OK
[WinAppDriver] [STDOUT] Content-Length: 4055
[WinAppDriver] [STDOUT] Content-Type: application/json
[WinAppDriver] [STDOUT]
[WinAppDriver] [STDOUT] {“sessionId”:“FE378469-B4B1-43F0-8BE8-5131F96C8E93”,“status”:0,“value”:"
[JSONWP Proxy] Got response with status 200: “{“sessionId”:“FE378469-B4B1-43F0-8BE8-5131F96C8E93”,“status”:0,“value”:”
[JSONWP Proxy] Replacing sessionId FE378469-B4B1-43F0-8BE8-5131F96C8E93 with 697f66a9-8756-472d-b8fc-78bdd8b4815b
[HTTP] <-- GET /wd/hub/session/697f66a9-8756-472d-b8fc-78bdd8b4815b/source 200 63 ms - 4055
[HTTP] --> GET /wd/hub/session/697f66a9-8756-472d-b8fc-78bdd8b4815b/screenshot {}
[MJSONWP] Driver proxy active, passing request on via HTTP proxy
[JSONWP Proxy] Proxying [GET /wd/hub/session/697f66a9-8756-472d-b8fc-78bdd8b4815b/screenshot] to [GET http://127.0.0.1:4724/wd/hub/session/FE378469-B4B1-43F0-8BE8-5131F96C8E93/screenshot] with body: {}
[WinAppDriver] [STDOUT]
[WinAppDriver] [STDOUT]
[WinAppDriver] [STDOUT] ==========================================
[WinAppDriver] [STDOUT] GET /wd/hub/session/FE378469-B4B1-43F0-8BE8-5131F96C8E93/screenshot HTTP/1.1
[WinAppDriver] [STDOUT] Accept: /
[WinAppDriver] [STDOUT] Connection: keep-alive
[WinAppDriver] [STDOUT] Content-Type: application/json
[WinAppDriver] [STDOUT] Host: 127.0.0.1:4724
[WinAppDriver] [STDOUT] User-Agent: appium
[WinAppDriver] [STDOUT]
[WinAppDriver] [STDOUT]
[WinAppDriver] [STDOUT] HTTP/1.1 200 OK
[WinAppDriver] [STDOUT] Content-Length: 274
[WinAppDriver] [STDOUT] Content-Type: application/json
[WinAppDriver] [STDOUT]
[WinAppDriver] [STDOUT] {“sessionId”:“FE378469-B4B1-43F0-8BE8-5131F96C8E93”,“status”:0,“value”:“iVBORw0KGgoAAAANSUhEUgAAAPAAAAA7CAIAAADKGJCyAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAABASURBVHhe7cEBDQAAAMKg909tDwcEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAPCuBqYrAAFOnxACAAAAAElFTkSuQmCC”}
[JSONWP Proxy] Got response with status 200: “{“sessionId”:“FE378469-B4B1-43F0-8BE8-5131F96C8E93”,“status”:0,“value”:“iVBORw0KGgoAAAANSUhEUgAAAPAAAAA7CAIAAADKGJCyAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAABASURBVHhe7cEBDQAAAMKg909tDwcEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAPCuBqYrAAFOnxACAAAAAElFTkSuQmCC”}”
[JSONWP Proxy] Replacing sessionId FE378469-B4B1-43F0-8BE8-5131F96C8E93 with 697f66a9-8756-472d-b8fc-78bdd8b4815b
[HTTP] <-- GET /wd/hub/session/697f66a9-8756-472d-b8fc-78bdd8b4815b/screenshot 200 6 ms - 274

I am getting this error, Pls help me to solve this


#2

Hello
Pls help on the above issue if any one has come across such situation


#3

no update? :roll_eyes:


#4

Hello Guys,
i sometime come across this issue. Any work around suggested?


#5

I can confirm this issue on Windows 10 tih Win App driver v. 1.1. when trying to run sample tests. Log follows:

[Appium] Welcome to Appium v1.10.0
[Appium] Non-default server args:
[Appium] address: 127.0.0.1
[Appium] Appium REST http interface listener started on 127.0.0.1:4723
[HTTP] --> POST /wd/hub/session
[HTTP] {“desiredCapabilities”:{“app”:“Microsoft.WindowsCalculator_8wekyb3d8bbwe!App”,“platform”:“Windows”,“deviceName”:“WindowsPC”,“platformName”:“Windows”}}
[MJSONWP] Calling AppiumDriver.createSession() with args: [{“app”:“Microsoft.WindowsCalculator_8wekyb3d8bbwe!App”,“platform”:“Windows”,“deviceName”:“WindowsPC”,“platformName”:“Windows”},null,null]
[BaseDriver] Event ‘newSessionRequested’ logged at 1549294299576 (16:31:39 GMT+0100 (Střední Evropa (běžný čas)))
[Appium] Creating new WindowsDriver (v1.5.1) session
[Appium] Capabilities:
[Appium] app: Microsoft.WindowsCalculator_8wekyb3d8bbwe!App
[Appium] platform: Windows
[Appium] deviceName: WindowsPC
[Appium] platformName: Windows
[BaseDriver] Creating session with MJSONWP desired capabilities: {“app”:“Microsoft.WindowsCa…
[BaseDriver] The following capabilities were provided, but are not recognized by appium: app, platform.
[BaseDriver] Session created with session id: 58306391-eb4a-4747-a73d-4a1302f6d90a
[WinAppDriver] You must use WinAppDriver version 1.1
[WinAppDriver] Verifying WinAppDriver version 1.1 is installed via comparing the checksum.
[WinAppDriver] WinAppDriver changed state to ‘starting’
[WinAppDriver] Killing any old WinAppDrivers on same port, running: FOR /F “usebackq tokens=5” %a in (netstat -nao ^| findstr /R /C:"4724 ") do (FOR /F “usebackq” %b in (TASKLIST /FI "PID eq %a" ^| findstr /I winappdriver.exe) do (IF NOT %b==”" TASKKILL /F /PID %a))
[WinAppDriver] No old WinAppDrivers seemed to exist
[WinAppDriver] Spawning winappdriver with: 4724/wd/hub
[WinAppDriver] [STDOUT] Windows Application Driver listening for requests at: http://127.0.0.1:4724/wd/hub
[JSONWP Proxy] Proxying [GET /status] to [GET http://127.0.0.1:4724/wd/hub/status] with no body
[WinAppDriver] [STDOUT]
[WinAppDriver] [STDOUT] Address ‘http://127.0.0.1:4724/wd/hub’ is already in use
[WinAppDriver] [STDOUT]
[WinAppDriver] [STDOUT] Failed to initialize: 0x80004005
[WinAppDriver] [STDOUT]
[WinAppDriver] [STDOUT]
[WinAppDriver] [STDOUT] ==========================================
[WinAppDriver] [STDOUT] GET /wd/hub/status HTTP/1.1
[WinAppDriver] [STDOUT] Accept: application/json, /
[WinAppDriver] [STDOUT] Connection: close
[WinAppDriver] [STDOUT] Content-Type: application/json; charset=utf-8
[WinAppDriver] [STDOUT] Host: 127.0.0.1:4724
[WinAppDriver] [STDOUT] User-Agent: appium
[WinAppDriver] [STDOUT]
[WinAppDriver] [STDOUT]
[WinAppDriver] [STDOUT] HTTP/1.1 200 OK
[WinAppDriver] [STDOUT] Content-Length: 147
[WinAppDriver] [STDOUT] Content-Type: application/json
[WinAppDriver] [STDOUT]
[WinAppDriver] [STDOUT] {“build”:{“revision”:“18001”,“time”:“Tue Sep 18 18:35:38 2018”,“version”:“1.1.1809”},“os”:{“arch”:“amd64”,“name”:“windows”,“version”:“10.0.17134”}}
[JSONWP Proxy] Got response with status 200: “{“build”:{“revision”:“18001”,“time”:“Tue Sep 18 18:35:38 2018”,“version”:“1.1.1809”},“os”:{“arch”:“amd64”,“name”:“windows”,“version”:“10.0.17134”}}”
[WinAppDriver] Status call returned 200. we’re online and ready to run tests
[WinAppDriver] WinAppDriver changed state to ‘online’
[JSONWP Proxy] Matched ‘/session’ to command name ‘createSession’
[JSONWP Proxy] Proxying [POST /session] to [POST http://127.0.0.1:4724/wd/hub/session] with body: {“desiredCapabilities”:{“app”:“Microsoft.WindowsCalculator_8wekyb3d8bbwe!App”,“platform”:“Windows”,“deviceName”:“WindowsPC”,“platformName”:“Windows”}}
[WinAppDriver] WinAppDriver exited unexpectedly with code 2147500037, signal null
[WinAppDriver] WinAppDriver changed state to ‘stopped’