Skip to content

Instantly share code, notes, and snippets.

@MummanaSubramanya
Last active November 5, 2018 22:17
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/9c258bd64b7c8df3eaad393cc72b8fd1 to your computer and use it in GitHub Desktop.
Save MummanaSubramanya/9c258bd64b7c8df3eaad393cc72b8fd1 to your computer and use it in GitHub Desktop.
[debug] [JSONWP Proxy] Got response with status 200: {"sessionId":"9cb4945a33285050f4bcc83183d26bc7","status":0,"value":{"ELEMENT":"0.8624228701626402-2"}}
[JSONWP Proxy] Replacing sessionId 9cb4945a33285050f4bcc83183d26bc7 with 99706897-6cfa-43d8-aece-6b884deb4c31
[HTTP] <-- POST /wd/hub/session/99706897-6cfa-43d8-aece-6b884deb4c31/element 200 131 ms - 106
[HTTP] 
[HTTP] --> POST /wd/hub/session/99706897-6cfa-43d8-aece-6b884deb4c31/element/0.8624228701626402-2/value
[HTTP] {"text":"test32145","value":["t","e","s","t","3","2","1","4","5"]}
[W3C (99706897)] Driver proxy active, passing request on via HTTP proxy
[debug] [JSONWP Proxy] Matched '/wd/hub/session/99706897-6cfa-43d8-aece-6b884deb4c31/element/0.8624228701626402-2/value' to command name 'setValue'
[debug] [JSONWP Proxy] Proxying [POST /wd/hub/session/99706897-6cfa-43d8-aece-6b884deb4c31/element/0.8624228701626402-2/value] to [POST http://127.0.0.1:8001/wd/hub/session/9cb4945a33285050f4bcc83183d26bc7/element/0.8624228701626402-2/value] with body: {"text":"test32145","value":["t","e","s","t","3","2","1","4","5"]}
[debug] [JSONWP Proxy] Got response with status 200: {"sessionId":"9cb4945a33285050f4bcc83183d26bc7","status":0,"value":null}
[JSONWP Proxy] Replacing sessionId 9cb4945a33285050f4bcc83183d26bc7 with 99706897-6cfa-43d8-aece-6b884deb4c31
[HTTP] <-- POST /wd/hub/session/99706897-6cfa-43d8-aece-6b884deb4c31/element/0.8624228701626402-2/value 200 733 ms - 76
[HTTP] 
[HTTP] --> POST /wd/hub/session/99706897-6cfa-43d8-aece-6b884deb4c31/appium/device/hide_keyboard
[HTTP] {}
[debug] [W3C (99706897)] Calling AppiumDriver.hideKeyboard() with args: [null,null,null,null,"99706897-6cfa-43d8-aece-6b884deb4c31"]
[debug] [ADB] Running '/home/pi/android-sdk-linux/platform-tools/adb -P 5037 -s 5200defef0714537 shell dumpsys input_method'
[debug] [ADB] Running '/home/pi/android-sdk-linux/platform-tools/adb -P 5037 -s 5200defef0714537 shell input keyevent 4'
[debug] [W3C (99706897)] Responding to client with driver.hideKeyboard() result: null
[HTTP] <-- POST /wd/hub/session/99706897-6cfa-43d8-aece-6b884deb4c31/appium/device/hide_keyboard 200 1385 ms - 14
[HTTP] 
[HTTP] --> POST /wd/hub/session/99706897-6cfa-43d8-aece-6b884deb4c31/element
[HTTP] {"using":"xpath","value":"//button[normalize-space(.)='Login']"}
[W3C (99706897)] Driver proxy active, passing request on via HTTP proxy
[debug] [JSONWP Proxy] Matched '/wd/hub/session/99706897-6cfa-43d8-aece-6b884deb4c31/element' to command name 'findElement'
[debug] [JSONWP Proxy] Proxying [POST /wd/hub/session/99706897-6cfa-43d8-aece-6b884deb4c31/element] to [POST http://127.0.0.1:8001/wd/hub/session/9cb4945a33285050f4bcc83183d26bc7/element] with body: {"using":"xpath","value":"//button[normalize-space(.)='Login']"}
[debug] [JSONWP Proxy] Got response with status 200: {"sessionId":"9cb4945a33285050f4bcc83183d26bc7","status":0,"value":{"ELEMENT":"0.8624228701626402-3"}}
[JSONWP Proxy] Replacing sessionId 9cb4945a33285050f4bcc83183d26bc7 with 99706897-6cfa-43d8-aece-6b884deb4c31
[HTTP] <-- POST /wd/hub/session/99706897-6cfa-43d8-aece-6b884deb4c31/element 200 120 ms - 106
[HTTP] 
[HTTP] --> POST /wd/hub/session/99706897-6cfa-43d8-aece-6b884deb4c31/element/0.8624228701626402-3/click
[HTTP] {}
[W3C (99706897)] Driver proxy active, passing request on via HTTP proxy
[debug] [JSONWP Proxy] Matched '/wd/hub/session/99706897-6cfa-43d8-aece-6b884deb4c31/element/0.8624228701626402-3/click' to command name 'click'
[debug] [JSONWP Proxy] Proxying [POST /wd/hub/session/99706897-6cfa-43d8-aece-6b884deb4c31/element/0.8624228701626402-3/click] to [POST http://127.0.0.1:8001/wd/hub/session/9cb4945a33285050f4bcc83183d26bc7/element/0.8624228701626402-3/click] with body: {}
[debug] [JSONWP Proxy] Got response with status 200: {"sessionId":"9cb4945a33285050f4bcc83183d26bc7","status":0,"value":null}
[JSONWP Proxy] Replacing sessionId 9cb4945a33285050f4bcc83183d26bc7 with 99706897-6cfa-43d8-aece-6b884deb4c31
[HTTP] <-- POST /wd/hub/session/99706897-6cfa-43d8-aece-6b884deb4c31/element/0.8624228701626402-3/click 200 458 ms - 76
[HTTP] 
[HTTP] --> POST /wd/hub/session/99706897-6cfa-43d8-aece-6b884deb4c31/element
[HTTP] {"using":"css selector","value":".header-menu-homeControl"}
[W3C (99706897)] Driver proxy active, passing request on via HTTP proxy
[debug] [JSONWP Proxy] Matched '/wd/hub/session/99706897-6cfa-43d8-aece-6b884deb4c31/element' to command name 'findElement'
[debug] [JSONWP Proxy] Proxying [POST /wd/hub/session/99706897-6cfa-43d8-aece-6b884deb4c31/element] to [POST http://127.0.0.1:8001/wd/hub/session/9cb4945a33285050f4bcc83183d26bc7/element] with body: {"using":"css selector","value":".header-menu-homeControl"}
[debug] [W3C (99706897)] Encountered internal error running command: ProxyRequestError: Could not proxy command to remote server. Original error: The request to /wd/hub/session/99706897-6cfa-43d8-aece-6b884deb4c31/element has failed
[debug] [W3C (99706897)] at /home/pi/node_modules/appium-base-driver/lib/jsonwp-proxy/proxy.js:180:13
[debug] [W3C (99706897)] at Generator.next (<anonymous>)
[debug] [W3C (99706897)] at asyncGeneratorStep (/home/pi/node_modules/@babel/runtime/helpers/asyncToGenerator.js:3:24)
[debug] [W3C (99706897)] at _next (/home/pi/node_modules/@babel/runtime/helpers/asyncToGenerator.js:25:9)
[debug] [W3C (99706897)] at <anonymous>
[debug] [MJSONWP] Matched JSONWP error code 7 to NoSuchElementError
[HTTP] <-- POST /wd/hub/session/99706897-6cfa-43d8-aece-6b884deb4c31/element 404 201 ms - 1087
[HTTP] 
[HTTP] --> POST /wd/hub/session/99706897-6cfa-43d8-aece-6b884deb4c31/element
[HTTP] {"using":"css selector","value":".header-menu-homeControl"}
[W3C (99706897)] Driver proxy active, passing request on via HTTP proxy
[debug] [JSONWP Proxy] Matched '/wd/hub/session/99706897-6cfa-43d8-aece-6b884deb4c31/element' to command name 'findElement'
[debug] [JSONWP Proxy] Proxying [POST /wd/hub/session/99706897-6cfa-43d8-aece-6b884deb4c31/element] to [POST http://127.0.0.1:8001/wd/hub/session/9cb4945a33285050f4bcc83183d26bc7/element] with body: {"using":"css selector","value":".header-menu-homeControl"}
[debug] [W3C (99706897)] Encountered internal error running command: ProxyRequestError: Could not proxy command to remote server. Original error: The request to /wd/hub/session/99706897-6cfa-43d8-aece-6b884deb4c31/element has failed
[debug] [W3C (99706897)] at /home/pi/node_modules/appium-base-driver/lib/jsonwp-proxy/proxy.js:180:13
[debug] [W3C (99706897)] at Generator.next (<anonymous>)
[debug] [W3C (99706897)] at asyncGeneratorStep (/home/pi/node_modules/@babel/runtime/helpers/asyncToGenerator.js:3:24)
[debug] [W3C (99706897)] at _next (/home/pi/node_modules/@babel/runtime/helpers/asyncToGenerator.js:25:9)
[debug] [W3C (99706897)] at <anonymous>
[debug] [MJSONWP] Matched JSONWP error code 7 to NoSuchElementError
[HTTP] <-- POST /wd/hub/session/99706897-6cfa-43d8-aece-6b884deb4c31/element 404 166 ms - 1087
[HTTP] 
[HTTP] --> POST /wd/hub/session/99706897-6cfa-43d8-aece-6b884deb4c31/element
[HTTP] {"using":"css selector","value":".header-menu-homeControl"}
[W3C (99706897)] Driver proxy active, passing request on via HTTP proxy
[debug] [JSONWP Proxy] Matched '/wd/hub/session/99706897-6cfa-43d8-aece-6b884deb4c31/element' to command name 'findElement'
[debug] [JSONWP Proxy] Proxying [POST /wd/hub/session/99706897-6cfa-43d8-aece-6b884deb4c31/element] to [POST http://127.0.0.1:8001/wd/hub/session/9cb4945a33285050f4bcc83183d26bc7/element] with body: {"using":"css selector","value":".header-menu-homeControl"}
[debug] [JSONWP Proxy] Got response with status 200: {"sessionId":"9cb4945a33285050f4bcc83183d26bc7","status":0,"value":{"ELEMENT":"0.8624228701626402-4"}}
[JSONWP Proxy] Replacing sessionId 9cb4945a33285050f4bcc83183d26bc7 with 99706897-6cfa-43d8-aece-6b884deb4c31
[HTTP] <-- POST /wd/hub/session/99706897-6cfa-43d8-aece-6b884deb4c31/element 200 1686 ms - 106
[HTTP] 
[HTTP] --> POST /wd/hub/session/99706897-6cfa-43d8-aece-6b884deb4c31/element
[HTTP] {"using":"xpath","value":"//button[@ng-click='toggleMenu()']"}
[W3C (99706897)] Driver proxy active, passing request on via HTTP proxy
[debug] [JSONWP Proxy] Matched '/wd/hub/session/99706897-6cfa-43d8-aece-6b884deb4c31/element' to command name 'findElement'
[debug] [JSONWP Proxy] Proxying [POST /wd/hub/session/99706897-6cfa-43d8-aece-6b884deb4c31/element] to [POST http://127.0.0.1:8001/wd/hub/session/9cb4945a33285050f4bcc83183d26bc7/element] with body: {"using":"xpath","value":"//button[@ng-click='toggleMenu()']"}
[debug] [JSONWP Proxy] Got response with status 200: {"sessionId":"9cb4945a33285050f4bcc83183d26bc7","status":0,"value":{"ELEMENT":"0.8624228701626402-5"}}
[JSONWP Proxy] Replacing sessionId 9cb4945a33285050f4bcc83183d26bc7 with 99706897-6cfa-43d8-aece-6b884deb4c31
[HTTP] <-- POST /wd/hub/session/99706897-6cfa-43d8-aece-6b884deb4c31/element 200 134 ms - 106
[HTTP] 
[HTTP] --> POST /wd/hub/session/99706897-6cfa-43d8-aece-6b884deb4c31/element/0.8624228701626402-5/click
[HTTP] {}
[W3C (99706897)] Driver proxy active, passing request on via HTTP proxy
[debug] [JSONWP Proxy] Matched '/wd/hub/session/99706897-6cfa-43d8-aece-6b884deb4c31/element/0.8624228701626402-5/click' to command name 'click'
[debug] [JSONWP Proxy] Proxying [POST /wd/hub/session/99706897-6cfa-43d8-aece-6b884deb4c31/element/0.8624228701626402-5/click] to [POST http://127.0.0.1:8001/wd/hub/session/9cb4945a33285050f4bcc83183d26bc7/element/0.8624228701626402-5/click] with body: {}
[BaseDriver] Shutting down because we waited 500 seconds for a command
[debug] [UiAutomator2] Deleting UiAutomator2 session
[debug] [JSONWP Proxy] Proxying [DELETE /] to [DELETE http://127.0.0.1:8000/wd/hub/session/9a001edf49f3a0c2dae55fcded14d17d] with no body
[Appium] Closing session, cause was 'New Command Timeout of 500 seconds expired. Try customizing the timeout using the 'newCommandTimeout' desired capability'
[Appium] Removing session 9e27ca8a-01b6-4796-965f-d6dd0462fbfe from our master session list
[debug] [JSONWP Proxy] Got response with status 200: {"sessionId":"9cb4945a33285050f4bcc83183d26bc7","status":0,"value":null}
[JSONWP Proxy] Replacing sessionId 9cb4945a33285050f4bcc83183d26bc7 with 99706897-6cfa-43d8-aece-6b884deb4c31
[HTTP] <-- POST /wd/hub/session/99706897-6cfa-43d8-aece-6b884deb4c31/element/0.8624228701626402-5/click 200 393 ms - 76
[HTTP] 
[debug] [JSONWP Proxy] Got response with status 200: "{\"sessionId\":\"9a001edf49f3a0c2dae55fcded14d17d\",\"status\":0,\"value\":null}"
[debug] [UiAutomator2] Deleting UiAutomator2 server session
[debug] [JSONWP Proxy] Matched '/' to command name 'deleteSession'
[debug] [JSONWP Proxy] Proxying [DELETE /] to [DELETE http://localhost:8200/wd/hub/session/b8a03700-5dc5-48ca-be25-d9a480f2b73c] with no body
[HTTP] --> POST /wd/hub/session/99706897-6cfa-43d8-aece-6b884deb4c31/element
[HTTP] {"using":"xpath","value":"//a[normalize-space(.)='Configuration']"}
[W3C (99706897)] Driver proxy active, passing request on via HTTP proxy
[debug] [JSONWP Proxy] Matched '/wd/hub/session/99706897-6cfa-43d8-aece-6b884deb4c31/element' to command name 'findElement'
[debug] [JSONWP Proxy] Proxying [POST /wd/hub/session/99706897-6cfa-43d8-aece-6b884deb4c31/element] to [POST http://127.0.0.1:8001/wd/hub/session/9cb4945a33285050f4bcc83183d26bc7/element] with body: {"using":"xpath","value":"//a[normalize-space(.)='Configuration']"}
[debug] [JSONWP Proxy] Got response with status 200: "{\"sessionId\":\"b8a03700-5dc5-48ca-be25-d9a480f2b73c\",\"status\":0,\"value\":\"Session deleted\"}"
[debug] [ADB] Running '/home/pi/android-sdk-linux/platform-tools/adb -P 5037 -s 5200defef0714537 shell am force-stop com.fifthplay.fifthplay'
[debug] [JSONWP Proxy] Got response with status 200: {"sessionId":"9cb4945a33285050f4bcc83183d26bc7","status":0,"value":{"ELEMENT":"0.8624228701626402-6"}}
[JSONWP Proxy] Replacing sessionId 9cb4945a33285050f4bcc83183d26bc7 with 99706897-6cfa-43d8-aece-6b884deb4c31
[HTTP] <-- POST /wd/hub/session/99706897-6cfa-43d8-aece-6b884deb4c31/element 200 128 ms - 106
[HTTP] 
[HTTP] --> POST /wd/hub/session/99706897-6cfa-43d8-aece-6b884deb4c31/element/0.8624228701626402-6/click
[HTTP] {}
[W3C (99706897)] Driver proxy active, passing request on via HTTP proxy
[debug] [JSONWP Proxy] Matched '/wd/hub/session/99706897-6cfa-43d8-aece-6b884deb4c31/element/0.8624228701626402-6/click' to command name 'click'
[debug] [JSONWP Proxy] Proxying [POST /wd/hub/session/99706897-6cfa-43d8-aece-6b884deb4c31/element/0.8624228701626402-6/click] to [POST http://127.0.0.1:8001/wd/hub/session/9cb4945a33285050f4bcc83183d26bc7/element/0.8624228701626402-6/click] with body: {}
[debug] [Logcat] Stopping logcat capture
[debug] [ADB] Removing forwarded port socket connection: 8200
[debug] [ADB] Running '/home/pi/android-sdk-linux/platform-tools/adb -P 5037 -s 5200defef0714537 forward --remove tcp\:8200'
[debug] [UiAutomator2] [UIAutomator2] io.appium.uiautomator2.server.test.AppiumUiAutomator2Server:.
[debug] [UiAutomator2] [UIAutomator2] Time: 21.099
[debug] [UiAutomator2] [UIAutomator2] OK (1 test)
[debug] [JSONWP Proxy] Got response with status 200: {"sessionId":"9cb4945a33285050f4bcc83183d26bc7","status":0,"value":null}
[JSONWP Proxy] Replacing sessionId 9cb4945a33285050f4bcc83183d26bc7 with 99706897-6cfa-43d8-aece-6b884deb4c31
[HTTP] <-- POST /wd/hub/session/99706897-6cfa-43d8-aece-6b884deb4c31/element/0.8624228701626402-6/click 200 302 ms - 76
[HTTP] 
[HTTP] --> POST /wd/hub/session/99706897-6cfa-43d8-aece-6b884deb4c31/element
[HTTP] {"using":"xpath","value":"//div[@ng-repeat='rows in configurationGridList | gridList:3']/div//p[text()='Profile']"}
[W3C (99706897)] Driver proxy active, passing request on via HTTP proxy
[debug] [JSONWP Proxy] Matched '/wd/hub/session/99706897-6cfa-43d8-aece-6b884deb4c31/element' to command name 'findElement'
[debug] [JSONWP Proxy] Proxying [POST /wd/hub/session/99706897-6cfa-43d8-aece-6b884deb4c31/element] to [POST http://127.0.0.1:8001/wd/hub/session/9cb4945a33285050f4bcc83183d26bc7/element] with body: {"using":"xpath","value":"//div[@ng-repeat='rows in configurationGridList | gridList:3']/div//p[text()='Profile']"}
[debug] [W3C (99706897)] Encountered internal error running command: ProxyRequestError: Could not proxy command to remote server. Original error: The request to /wd/hub/session/99706897-6cfa-43d8-aece-6b884deb4c31/element has failed
[debug] [W3C (99706897)] at /home/pi/node_modules/appium-base-driver/lib/jsonwp-proxy/proxy.js:180:13
[debug] [W3C (99706897)] at Generator.next (<anonymous>)
[debug] [W3C (99706897)] at asyncGeneratorStep (/home/pi/node_modules/@babel/runtime/helpers/asyncToGenerator.js:3:24)
[debug] [W3C (99706897)] at _next (/home/pi/node_modules/@babel/runtime/helpers/asyncToGenerator.js:25:9)
[debug] [W3C (99706897)] at <anonymous>
[debug] [MJSONWP] Matched JSONWP error code 100 to UnknownError
[HTTP] <-- POST /wd/hub/session/99706897-6cfa-43d8-aece-6b884deb4c31/element 500 34 ms - 1059
[HTTP] 
[HTTP] --> GET /wd/hub/session/99706897-6cfa-43d8-aece-6b884deb4c31/screenshot
[HTTP] {}
[debug] [W3C (99706897)] Calling AppiumDriver.getScreenshot() with args: ["99706897-6cfa-43d8-aece-6b884deb4c31"]
[debug] [JSONWP Proxy] Matched '/screenshot' to command name 'getScreenshot'
[debug] [JSONWP Proxy] Proxying [GET /screenshot] to [GET http://localhost:8210/wd/hub/session/c4fb2459-cf5c-473f-8bc1-14089dee2e78/screenshot] with no body
[JSONWP Proxy] Got an unexpected response: {"code":"ECONNRESET","errno":"ECONNRESET","syscall":"read"}
[debug] [W3C (99706897)] 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 (99706897)] at /home/pi/node_modules/appium-base-driver/lib/jsonwp-proxy/proxy.js:236:13
[debug] [W3C (99706897)] at Generator.throw (<anonymous>)
[debug] [W3C (99706897)] at asyncGeneratorStep (/home/pi/node_modules/@babel/runtime/helpers/asyncToGenerator.js:3:24)
[debug] [W3C (99706897)] at _throw (/home/pi/node_modules/@babel/runtime/helpers/asyncToGenerator.js:29:9)
[debug] [W3C (99706897)] at <anonymous>
[HTTP] <-- GET /wd/hub/session/99706897-6cfa-43d8-aece-6b884deb4c31/screenshot 500 29 ms - 732
[HTTP] 
[HTTP] --> POST /wd/hub/session/99706897-6cfa-43d8-aece-6b884deb4c31/appium/app/close
[HTTP] {}
[debug] [W3C (99706897)] Calling AppiumDriver.closeApp() with args: ["99706897-6cfa-43d8-aece-6b884deb4c31"]
[debug] [ADB] Running '/home/pi/android-sdk-linux/platform-tools/adb -P 5037 -s 5200defef0714537 shell am force-stop com.fifthplay.fifthplay'
[debug] [JSONWP Proxy] Proxying [DELETE /] to [DELETE http://127.0.0.1:8001/wd/hub/session/9cb4945a33285050f4bcc83183d26bc7] with no body
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment