Skip to content

Instantly share code, notes, and snippets.

@MummanaSubramanya
Created November 2, 2018 12:54
Show Gist options
  • Save MummanaSubramanya/1c7f34b7d99e7cee0b9465dc96b3688a to your computer and use it in GitHub Desktop.
Save MummanaSubramanya/1c7f34b7d99e7cee0b9465dc96b3688a to your computer and use it in GitHub Desktop.
[HTTP] {"using":"xpath","value":"//div[text()='Add new device']"}
[W3C] Driver proxy active, passing request on via HTTP proxy
[debug] [JSONWP Proxy] Matched '/wd/hub/session/5b0660ec-5a87-4f71-9211-f0b7695a6921/element' to command name 'findElement'
[debug] [JSONWP Proxy] Proxying [POST /wd/hub/session/5b0660ec-5a87-4f71-9211-f0b7695a6921/element] to [POST http://127.0.0.1:8000/wd/hub/session/7059b930fcae924c09d99c68d0382c95/element] with body: {"using":"xpath","value":"//div[text()='Add new device']"}
[debug] [JSONWP Proxy] Got response with status 200: {"sessionId":"7059b930fcae924c09d99c68d0382c95","status":0,"value":{"ELEMENT":"0.4815048232588317-10"}}
[JSONWP Proxy] Replacing sessionId 7059b930fcae924c09d99c68d0382c95 with 5b0660ec-5a87-4f71-9211-f0b7695a6921
[HTTP] <-- POST /wd/hub/session/5b0660ec-5a87-4f71-9211-f0b7695a6921/element 200 101 ms - 107
[HTTP]
[HTTP] --> GET /wd/hub/session/5b0660ec-5a87-4f71-9211-f0b7695a6921/element/0.4815048232588317-10/rect
[HTTP] {}
[W3C] Driver proxy active, passing request on via HTTP proxy
[debug] [JSONWP Proxy] Matched '/wd/hub/session/5b0660ec-5a87-4f71-9211-f0b7695a6921/element/0.4815048232588317-10/rect' to command name 'getElementRect'
[debug] [JSONWP Proxy] Proxying [GET /wd/hub/session/5b0660ec-5a87-4f71-9211-f0b7695a6921/element/0.4815048232588317-10/rect] to [GET http://127.0.0.1:8000/wd/hub/session/7059b930fcae924c09d99c68d0382c95/element/0.4815048232588317-10/rect] with body: {}
[JSONWP Proxy] Got an unexpected response: unknown command: session/7059b930fcae924c09d99c68d0382c95/element/0.4815048232588317-10/rect
[debug] [W3C] Encountered internal error running command: Error: Could not proxy. Proxy error: Could not proxy command to remote server. Original error: 404 - "unknown command: session/7059b930fcae924c09d99c68d0382c95/element/0.4815048232588317-10/rect"
[debug] [W3C] at doJwpProxy$ (/home/pi/node_modules/appium/node_modules/appium-base-driver/lib/protocol/protocol.js:504:13)
[debug] [W3C] at tryCatch (/home/pi/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:67:40)
[debug] [W3C] at GeneratorFunctionPrototype.invoke [as _invoke] (/home/pi/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:315:22)
[debug] [W3C] at GeneratorFunctionPrototype.prototype.(anonymous function) [as next] (/home/pi/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:100:21)
[debug] [W3C] at GeneratorFunctionPrototype.invoke (/home/pi/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:136:37)
[debug] [W3C] at <anonymous>
[HTTP] <-- GET /wd/hub/session/5b0660ec-5a87-4f71-9211-f0b7695a6921/element/0.4815048232588317-10/rect 500 44 ms - 1428
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment