Skip to content

Instantly share code, notes, and snippets.

@MummanaSubramanya
Created November 5, 2018 11:01
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save MummanaSubramanya/e018a8952b6fc82de31b1caea17e8e4a to your computer and use it in GitHub Desktop.
Save MummanaSubramanya/e018a8952b6fc82de31b1caea17e8e4a to your computer and use it in GitHub Desktop.
[HTTP] {"using":"xpath","value":"//button[normalize-space(.)='Login']"}
[W3C (32d21c9e)] Driver proxy active, passing request on via HTTP proxy
[debug] [JSONWP Proxy] Matched '/wd/hub/session/32d21c9e-eb9f-410e-b996-12293c216e60/element' to command name 'findElement'
[debug] [JSONWP Proxy] Proxying [POST /wd/hub/session/32d21c9e-eb9f-410e-b996-12293c216e60/element] to [POST http://127.0.0.1:8000/wd/hub/session/2c79e97bfc7528be3fc6a04821393021/element] with body: {"using":"xpath","value":"//button[normalize-space(.)='Login']"}
[debug] [JSONWP Proxy] Got response with status 200: {"sessionId":"2c79e97bfc7528be3fc6a04821393021","status":100,"value":{"message":"chrome not reachable\n (Session info: chrome=70.0.3538.80)\n (Driver info: chromedriver=2.35 (0),platform=Linux 4.14.62-v7+ armv7l)"}}
[JSONWP Proxy] Got an unexpected response: {"sessionId":"2c79e97bfc7528be3fc6a04821393021","status":100,"value":{"message":"chrome not reachable\n (Session info: chrome=70.0.3538.80)\n (Driver info: chromedriver=2.35 (0),platform=Linux 4.14.62-v7+ armv7l)"}}
[debug] [W3C (32d21c9e)] Encountered internal error running command: ProxyRequestError: Could not proxy command to remote server. Original error: The request to /wd/hub/session/32d21c9e-eb9f-410e-b996-12293c216e60/element has failed
[debug] [W3C (32d21c9e)] at /home/pi/node_modules/appium-base-driver/lib/jsonwp-proxy/proxy.js:180:13
[debug] [W3C (32d21c9e)] at Generator.next (<anonymous>)
[debug] [W3C (32d21c9e)] at asyncGeneratorStep (/home/pi/node_modules/@babel/runtime/helpers/asyncToGenerator.js:3:24)
[debug] [W3C (32d21c9e)] at _next (/home/pi/node_modules/@babel/runtime/helpers/asyncToGenerator.js:25:9)
[debug] [W3C (32d21c9e)] at <anonymous>
[debug] [MJSONWP] Matched JSONWP error code 100 to UnknownError
[HTTP] <-- POST /wd/hub/session/32d21c9e-eb9f-410e-b996-12293c216e60/element 500 52 ms - 1059
[HTTP]
[HTTP] --> GET /wd/hub/session/32d21c9e-eb9f-410e-b996-12293c216e60/screenshot
[HTTP] {}
[debug] [W3C (32d21c9e)] Calling AppiumDriver.getScreenshot() with args: ["32d21c9e-eb9f-410e-b996-12293c216e60"]
[debug] [JSONWP Proxy] Matched '/screenshot' to command name 'getScreenshot'
[debug] [JSONWP Proxy] Proxying [GET /screenshot] to [GET http://localhost:8210/wd/hub/session/e3c28429-f774-45c7-a640-a396b0a4ee0f/screenshot] with no body
[JSONWP Proxy] Got an unexpected response: {"code":"ECONNRESET","errno":"ECONNRESET","syscall":"read"}
[debug] [W3C (32d21c9e)] Encountered internal error running command: UnknownError: An unknown server-side error occurred while processing the command. Original error: Could not proxy command to remote server. Original error: Error: read ECONNRESET
[debug] [W3C (32d21c9e)] at /home/pi/node_modules/appium-base-driver/lib/jsonwp-proxy/proxy.js:236:13
[debug] [W3C (32d21c9e)] at Generator.throw (<anonymous>)
[debug] [W3C (32d21c9e)] at asyncGeneratorStep (/home/pi/node_modules/@babel/runtime/helpers/asyncToGenerator.js:3:24)
[debug] [W3C (32d21c9e)] at _throw (/home/pi/node_modules/@babel/runtime/helpers/asyncToGenerator.js:29:9)
[debug] [W3C (32d21c9e)] at <anonymous>
[HTTP] <-- GET /wd/hub/session/32d21c9e-eb9f-410e-b996-12293c216e60/screenshot 500 23 ms - 732
[HTTP]
[HTTP] --> POST /wd/hub/session/32d21c9e-eb9f-410e-b996-12293c216e60/appium/app/close
[HTTP] {}
[debug] [W3C (32d21c9e)] Calling AppiumDriver.closeApp() with args: ["32d21c9e-eb9f-410e-b996-12293c216e60"]
[debug] [ADB] Running '/home/pi/android-sdk-linux/platform-tools/adb -P 5037 -s 5200defef0714537 shell am force-stop com.fifthplay.fifthplay'
[debug] [AndroidDriver] Stopping chromedriver for context WEBVIEW_com.fifthplay.fifthplay
[debug] [Chromedriver] Changed state to 'stopping'
[debug] [JSONWP Proxy] Proxying [DELETE /] to [DELETE http://127.0.0.1:8000/wd/hub/session/2c79e97bfc7528be3fc6a04821393021] with no body
[debug] [JSONWP Proxy] Got response with status 200: "{\"sessionId\":\"2c79e97bfc7528be3fc6a04821393021\",\"status\":0,\"value\":null}"
[debug] [Chromedriver] Changed state to 'stopped'
[debug] [W3C (32d21c9e)] Responding to client with driver.closeApp() result: null
[HTTP] <-- POST /wd/hub/session/32d21c9e-eb9f-410e-b996-12293c216e60/appium/app/close 200 177 ms - 14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment