Skip to content

Instantly share code, notes, and snippets.

@hankbot
Created April 2, 2019 21:37
Show Gist options
  • Save hankbot/ba482354107eb84863977dba2a5d8a88 to your computer and use it in GitHub Desktop.
Save hankbot/ba482354107eb84863977dba2a5d8a88 to your computer and use it in GitHub Desktop.
WebdriverIO click failures
[HTTP] {"capabilities":{"alwaysMatch":{"app":"Microsoft.WindowsCalculator_8wekyb3d8bbwe!App","platformName":"Windows","deviceName":"windowsPC"},"firstMatch":[{}]},"desiredCapabilities":{"app":"Microsoft.WindowsCalculator_8wekyb3d8bbwe!App","platformName":"Windows","deviceName":"windowsPC"}}
[debug] [W3C] Calling AppiumDriver.createSession() with args: [{"app":"Microsoft.WindowsCalculator_8wekyb3d8bbwe!App","platformName":"Windows","deviceName":"windowsPC"},null,{"alwaysMatch":{"app":"Microsoft.WindowsCalculator_8wekyb3d8bbwe!App","platformName":"Windows","deviceName":"windowsPC"},"firstMatch":[{}]}]
[debug] [BaseDriver] Event 'newSessionRequested' logged at 1554239409969 (16:10:09 GMT-0500 (Central Daylight Time))
[BaseDriver] The capabilities ["app","deviceName"] are not standard capabilities and should have an extension prefix
[Appium] Appium v1.12.1 creating new WindowsDriver (v1.5.1) session
[Appium] Capabilities:
[Appium] app: Microsoft.WindowsCalculator_8wekyb3d8bbwe!App
[Appium] platformName: Windows
[Appium] deviceName: windowsPC
[debug] [BaseDriver] Creating session with MJSONWP desired capabilities: {"app":"Microsoft.WindowsCa...
[BaseDriver] The following capabilities were provided, but are not recognized by appium: app.
[BaseDriver] Session created with session id: f7f5e1ed-6d5f-46e8-bac2-62910b441595
[WinAppDriver] You must use WinAppDriver version 1.1
[WinAppDriver] Verifying WinAppDriver version 1.1 is installed via comparing the checksum.
[debug] [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
[debug] [WD Proxy] Proxying [GET /status] to [GET http://127.0.0.1:4724/wd/hub/status] with no body
[WinAppDriver] [STDOUT] Press ENTER to exit.
[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]
[debug] [WD 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.17763\"}}"
[WinAppDriver] Status call returned 200. we're online and ready to run tests
[debug] [WinAppDriver] WinAppDriver changed state to 'online'
[debug] [WD Proxy] Matched '/session' to command name 'createSession'
[debug] [WD Proxy] Proxying [POST /session] to [POST http://127.0.0.1:4724/wd/hub/session] with body: {"desiredCapabilities":{"app":"Microsoft.WindowsCalculator_8wekyb3d8bbwe!App","platformName":"Windows","deviceName":"windowsPC"}}
[WinAppDriver] [STDOUT]
[WinAppDriver] [STDOUT]
[WinAppDriver] [STDOUT] ==========================================[WinAppDriver] [STDOUT] POST /wd/hub/session HTTP/1.1
[WinAppDriver] [STDOUT] Accept: application/json, */*
[WinAppDriver] [STDOUT] Connection: close
[WinAppDriver] [STDOUT] Content-Length: 129
[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] {"desiredCapabilities":{"app":"Microsoft.WindowsCalculator_8wekyb3d8bbwe!App","platformName":"Windows","deviceName":"windowsPC"}}
[WinAppDriver] [STDOUT] HTTP/1.1 200 OK
[WinAppDriver] [STDOUT] Content-Length: 152
[WinAppDriver] [STDOUT] Content-Type: application/json
[WinAppDriver] [STDOUT]
[WinAppDriver] [STDOUT] {"sessionId":"1C07F755-0078-4476-97FA-F6A1F7EBD430","status":0,"value":{"app":"Microsoft.WindowsCalculator_8wekyb3d8bbwe!App","platformName":"Windows"}}
[debug] [WD Proxy] Got response with status 200: {"sessionId":"1C07F755-0078-4476-97FA-F6A1F7EBD430","status":0,"value":{"app":"Microsoft.WindowsCalculator_8wekyb3d8bbwe!App","platformName":"Windows"}}
[Appium] New WindowsDriver session created successfully, session f7f5e1ed-6d5f-46e8-bac2-62910b441595 added to master session list
[debug] [BaseDriver] Event 'newSessionStarted' logged at 1554239412030 (16:10:12 GMT-0500 (Central Daylight Time))
[debug] [MJSONWP (f7f5e1ed)] Cached the protocol value 'MJSONWP' for the new session f7f5e1ed-6d5f-46e8-bac2-62910b441595
[debug] [MJSONWP (f7f5e1ed)] Responding to client with driver.createSession() result: {"app":"Microsoft.WindowsCalculator_8wekyb3d8bbwe!App","platformName":"Windows","deviceName":"windowsPC"}
[HTTP] <-- POST /wd/hub/session 200 2077 ms - 177
[HTTP]
[HTTP] --> POST /wd/hub/session/f7f5e1ed-6d5f-46e8-bac2-62910b441595/element
[HTTP] {"using":"name","value":"One"}
[MJSONWP (f7f5e1ed)] Driver proxy active, passing request on via HTTP proxy
[debug] [WD Proxy] Matched '/wd/hub/session/f7f5e1ed-6d5f-46e8-bac2-62910b441595/element' to command name 'findElement'
[debug] [WD Proxy] Proxying [POST /wd/hub/session/f7f5e1ed-6d5f-46e8-bac2-62910b441595/element] to [POST http://127.0.0.1:4724/wd/hub/session/1C07F755-0078-4476-97FA-F6A1F7EBD430/element] with body: {"using":"name","value":"One"}
[WinAppDriver] [STDOUT]
[WinAppDriver] [STDOUT]
[WinAppDriver] [STDOUT] ==========================================[WinAppDriver] [STDOUT] POST /wd/hub/session/1C07F755-0078-4476-97FA-F6A1F7EBD430/element HTTP/1.1
[WinAppDriver] [STDOUT] Accept: application/json, */*
[WinAppDriver] [STDOUT] Connection: close
[WinAppDriver] [STDOUT] Content-Length: 30
[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] {"using":"name","value":"One"}
[WinAppDriver] [STDOUT] HTTP/1.1 200 OK
[WinAppDriver] [STDOUT] Content-Length: 100
[WinAppDriver] [STDOUT] Content-Type: application/json
[WinAppDriver] [STDOUT]
[WinAppDriver] [STDOUT] {"sessionId":"1C07F755-0078-4476-97FA-F6A1F7EBD430","status":0,"value":{"ELEMENT":"42.331212.4.56"}}
[debug] [WD Proxy] Got response with status 200: {"sessionId":"1C07F755-0078-4476-97FA-F6A1F7EBD430","status":0,"value":{"ELEMENT":"42.331212.4.56"}}
[WD Proxy] Replacing sessionId 1C07F755-0078-4476-97FA-F6A1F7EBD430 with f7f5e1ed-6d5f-46e8-bac2-62910b441595
[HTTP] <-- POST /wd/hub/session/f7f5e1ed-6d5f-46e8-bac2-62910b441595/element 200 171 ms - 100
[HTTP]
[HTTP] --> POST /wd/hub/session/f7f5e1ed-6d5f-46e8-bac2-62910b441595/element/42.331212.4.56/click
[HTTP] {}
[MJSONWP (f7f5e1ed)] Driver proxy active, passing request on via HTTP proxy
[debug] [WD Proxy] Matched '/wd/hub/session/f7f5e1ed-6d5f-46e8-bac2-62910b441595/element/42.331212.4.56/click' to command name 'click'
[debug] [WD Proxy] Proxying [POST /wd/hub/session/f7f5e1ed-6d5f-46e8-bac2-62910b441595/element/42.331212.4.56/click] to [POST http://127.0.0.1:4724/wd/hub/session/1C07F755-0078-4476-97FA-F6A1F7EBD430/element/42.331212.4.56/click] with body: {}
[WinAppDriver] [STDOUT]
[WinAppDriver] [STDOUT]
[WinAppDriver] [STDOUT] ==========================================[WinAppDriver] [STDOUT] POST /wd/hub/session/1C07F755-0078-4476-97FA-F6A1F7EBD430/element/42.331212.4.56/click HTTP/1.1
[WinAppDriver] [STDOUT] Accept: application/json, */*
[WinAppDriver] [STDOUT] Connection: close
[WinAppDriver] [STDOUT] Content-Length: 2
[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: 63
[WinAppDriver] [STDOUT] Content-Type: application/json
[WinAppDriver] [STDOUT]
[WinAppDriver] [STDOUT] {"sessionId":"1C07F755-0078-4476-97FA-F6A1F7EBD430","status":0}
[debug] [WD Proxy] Got response with status 200: {"sessionId":"1C07F755-0078-4476-97FA-F6A1F7EBD430","status":0}
[WD Proxy] Replacing sessionId 1C07F755-0078-4476-97FA-F6A1F7EBD430 with f7f5e1ed-6d5f-46e8-bac2-62910b441595
[HTTP] <-- POST /wd/hub/session/f7f5e1ed-6d5f-46e8-bac2-62910b441595/element/42.331212.4.56/click 200 317 ms - 63
[HTTP]
[HTTP] --> DELETE /wd/hub/session/f7f5e1ed-6d5f-46e8-bac2-62910b441595
[HTTP] {}
[debug] [MJSONWP (f7f5e1ed)] Calling AppiumDriver.deleteSession() with args: ["f7f5e1ed-6d5f-46e8-bac2-62910b441595"]
[debug] [BaseDriver] Event 'quitSessionRequested' logged at 1554239412668 (16:10:12 GMT-0500 (Central Daylight Time))
[Appium] Removing session f7f5e1ed-6d5f-46e8-bac2-62910b441595 from our master session list
[debug] [WinAppDriver] Deleting WinAppDriver session
[debug] [WinAppDriver] Deleting WinAppDriver server session
[debug] [WD Proxy] Matched '/' to command name 'deleteSession'
[debug] [WD Proxy] Proxying [DELETE /] to [DELETE http://127.0.0.1:4724/wd/hub/session/1C07F755-0078-4476-97FA-F6A1F7EBD430] with no body
[WinAppDriver] [STDOUT]
[WinAppDriver] [STDOUT]
[WinAppDriver] [STDOUT] ==========================================[WinAppDriver] [STDOUT] DELETE /wd/hub/session/1C07F755-0078-4476-97FA-F6A1F7EBD430 HTTP/1.1
[WinAppDriver] [STDOUT] Accept: application/json, */*
[WinAppDriver] [STDOUT] Connection: close
[WinAppDriver] [STDOUT] Content-Length: 0
[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: 12
[WinAppDriver] [STDOUT] Content-Type: application/json
[WinAppDriver] [STDOUT]
[WinAppDriver] [STDOUT] {"status":0}
[debug] [WD Proxy] Got response with status 200: "{\"status\":0}"
[debug] [WinAppDriver] WinAppDriver changed state to 'stopping'
[debug] [WinAppDriver] WinAppDriver changed state to 'stopped'
[debug] [BaseDriver] Event 'quitSessionFinished' logged at 1554239412896 (16:10:12 GMT-0500 (Central Daylight Time))
[debug] [MJSONWP (f7f5e1ed)] Received response: null
[debug] [MJSONWP (f7f5e1ed)] But deleting session, so not returning
[debug] [MJSONWP (f7f5e1ed)] Responding to client with driver.deleteSession() result: null
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment