Skip to content

Instantly share code, notes, and snippets.

@rafalf
Created October 30, 2016 15:54
Show Gist options
  • Save rafalf/67a37d4d25c51e9b20b6116e9eaa7f2f to your computer and use it in GitHub Desktop.
Save rafalf/67a37d4d25c51e9b20b6116e9eaa7f2f to your computer and use it in GitHub Desktop.
[HTTP] <-- POST /wd/hub/session/9cf3c30b-acd0-48da-afc6-d35e609942f6/touch/perform 200 3130 ms - 76
[HTTP] --> POST /wd/hub/session/9cf3c30b-acd0-48da-afc6-d35e609942f6/touch/perform {"sessionId":"9cf3c30b-acd0-48da-afc6-d35e609942f6","actions":[{"action":"longPress","options":{"y":"269","x":"239","duration":500}}]}
[MJSONWP] Calling AppiumDriver.performTouch() with args: [[{"action":"longPress","options":{"y":"269","x":"239","duration":500}}],"9cf3c30b-acd0-48da-afc6-d35e609942f6"]
[debug] [AndroidBootstrap] Sending command to android: {"cmd":"action","action":"element:touchDown","params":{"x":"239","y":"269"}}
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got data from client: {"cmd":"action","action":"element:touchDown","params":{"x":"239","y":"269"}}
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command of type ACTION
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command action: touchDown
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Display bounds: [0,0][480,800]
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Performing TouchDown using element? false x: 239, y: 269
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Returning result: {"status":0,"value":true}
[debug] [AndroidBootstrap] Received command result from bootstrap
[MJSONWP] Responding to client with driver.performTouch() result: null
[HTTP] <-- POST /wd/hub/session/9cf3c30b-acd0-48da-afc6-d35e609942f6/touch/perform 200 526 ms - 76
[HTTP] --> POST /wd/hub/session/9cf3c30b-acd0-48da-afc6-d35e609942f6/element {"using":"id","sessionId":"9cf3c30b-acd0-48da-afc6-d35e609942f6","value":"com.nineteenthmile:id/minutes"}
[MJSONWP] Calling AppiumDriver.findElement() with args: ["id","com.nineteenthmile:id/minutes","9cf3c30b-acd0-48da-afc6-d35e609942f6"]
[debug] [BaseDriver] Valid locator strategies for this request: xpath, id, class name, accessibility id, -android uiautomator
[debug] [BaseDriver] Valid locator strategies for this request: xpath, id, class name, accessibility id, -android uiautomator
[debug] [BaseDriver] Waiting up to 0 ms for condition
[debug] [AndroidBootstrap] Sending command to android: {"cmd":"action","action":"find","params":{"strategy":"id","selector":"com.nineteenthmile:id/minutes","context":"","multiple":false}}
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got data from client: {"cmd":"action","action":"find","params":{"strategy":"id","selector":"com.nineteenthmile:id/minutes","context":"","multiple":false}}
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command of type ACTION
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command action: find
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Finding 'com.nineteenthmile:id/minutes' using 'ID' with the contextId: '' multiple: false
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Using: UiSelector[INSTANCE=0, RESOURCE_ID=com.nineteenthmile:id/minutes]
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Returning result: {"status":0,"value":{"ELEMENT":"33"}}
[debug] [AndroidBootstrap] Received command result from bootstrap
[MJSONWP] Responding to client with driver.findElement() result: {"ELEMENT":"33"}
[HTTP] <-- POST /wd/hub/session/9cf3c30b-acd0-48da-afc6-d35e609942f6/element 200 13 ms - 88
[HTTP] --> POST /wd/hub/session/9cf3c30b-acd0-48da-afc6-d35e609942f6/touch/perform {"sessionId":"9cf3c30b-acd0-48da-afc6-d35e609942f6","actions":[{"action":"tap","options":{"y":null,"x":null,"count":1,"element":"33"}}]}
[MJSONWP] Calling AppiumDriver.performTouch() with args: [[{"action":"tap","options":{"y":null,"x":null,"count":1,"element":"33"}}],"9cf3c30b-acd0-48da-afc6-d35e609942f6"]
[debug] [AndroidBootstrap] Sending command to android: {"cmd":"action","action":"element:getLocation","params":{"elementId":"33"}}
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got data from client: {"cmd":"action","action":"element:getLocation","params":{"elementId":"33"}}
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command of type ACTION
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command action: getLocation
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Returning result: {"status":0,"value":{"x":240,"y":87}}
[debug] [AndroidBootstrap] Received command result from bootstrap
[debug] [AndroidBootstrap] Sending command to android: {"cmd":"action","action":"element:getSize","params":{"elementId":"33"}}
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got data from client: {"cmd":"action","action":"element:getSize","params":{"elementId":"33"}}
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command of type ACTION
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command action: getSize
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Returning result: {"status":0,"value":{"width":102,"height":121}}
[debug] [AndroidBootstrap] Received command result from bootstrap
[debug] [AndroidBootstrap] Sending command to android: {"cmd":"action","action":"element:click","params":{"elementId":"33","x":291,"y":147.5}}
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got data from client: {"cmd":"action","action":"element:click","params":{"elementId":"33","x":291,"y":147.5}}
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command of type ACTION
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command action: click
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Returning result: {"status":0,"value":true}
[debug] [AndroidBootstrap] Received command result from bootstrap
[MJSONWP] Responding to client with driver.performTouch() result: null
[HTTP] <-- POST /wd/hub/session/9cf3c30b-acd0-48da-afc6-d35e609942f6/touch/perform 200 181 ms - 76
[HTTP] --> POST /wd/hub/session/9cf3c30b-acd0-48da-afc6-d35e609942f6/element {"using":"id","sessionId":"9cf3c30b-acd0-48da-afc6-d35e609942f6","value":"com.nineteenthmile:id/time_picker"}
[MJSONWP] Calling AppiumDriver.findElement() with args: ["id","com.nineteenthmile:id/time_picker","9cf3c30b-acd0-48da-afc6-d35e609942f6"]
[debug] [BaseDriver] Valid locator strategies for this request: xpath, id, class name, accessibility id, -android uiautomator
[debug] [BaseDriver] Valid locator strategies for this request: xpath, id, class name, accessibility id, -android uiautomator
[debug] [BaseDriver] Waiting up to 0 ms for condition
[debug] [AndroidBootstrap] Sending command to android: {"cmd":"action","action":"find","params":{"strategy":"id","selector":"com.nineteenthmile:id/time_picker","context":"","multiple":false}}
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got data from client: {"cmd":"action","action":"find","params":{"strategy":"id","selector":"com.nineteenthmile:id/time_picker","context":"","multiple":false}}
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command of type ACTION
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command action: find
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Finding 'com.nineteenthmile:id/time_picker' using 'ID' with the contextId: '' multiple: false
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Using: UiSelector[INSTANCE=0, RESOURCE_ID=com.nineteenthmile:id/time_picker]
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Returning result: {"status":0,"value":{"ELEMENT":"34"}}
[debug] [AndroidBootstrap] Received command result from bootstrap
[MJSONWP] Responding to client with driver.findElement() result: {"ELEMENT":"34"}
[HTTP] <-- POST /wd/hub/session/9cf3c30b-acd0-48da-afc6-d35e609942f6/element 200 777 ms - 88
[HTTP] --> POST /wd/hub/session/9cf3c30b-acd0-48da-afc6-d35e609942f6/touch/perform {"sessionId":"9cf3c30b-acd0-48da-afc6-d35e609942f6","actions":[{"action":"tap","options":{"y":"269","x":"239","count":1,"element":"34"}}]}
[MJSONWP] Calling AppiumDriver.performTouch() with args: [[{"action":"tap","options":{"y":"269","x":"239","count":1,"element":"34"}}],"9cf3c30b-acd0-48da-afc6-d35e609942f6"]
[debug] [AndroidBootstrap] Sending command to android: {"cmd":"action","action":"element:getLocation","params":{"elementId":"34"}}
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got data from client: {"cmd":"action","action":"element:getLocation","params":{"elementId":"34"}}
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command of type ACTION
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command action: getLocation
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Returning result: {"status":0,"value":{"x":37,"y":220}}
[debug] [AndroidBootstrap] Received command result from bootstrap
[debug] [AndroidBootstrap] Sending command to android: {"cmd":"action","action":"element:getSize","params":{"elementId":"34"}}
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got data from client: {"cmd":"action","action":"element:getSize","params":{"elementId":"34"}}
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command of type ACTION
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command action: getSize
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Returning result: {"status":0,"value":{"width":405,"height":450}}
[debug] [AndroidBootstrap] Received command result from bootstrap
[debug] [AndroidBootstrap] Sending command to android: {"cmd":"action","action":"element:click","params":{"elementId":"34","x":"37239","y":"220269"}}
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got data from client: {"cmd":"action","action":"element:click","params":{"elementId":"34","x":"37239","y":"220269"}}
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command of type ACTION
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command action: click
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Returning result: {"status":0,"value":true}
[debug] [AndroidBootstrap] Received command result from bootstrap
[MJSONWP] Responding to client with driver.performTouch() result: null
[HTTP] <-- POST /wd/hub/session/9cf3c30b-acd0-48da-afc6-d35e609942f6/touch/perform 200 3134 ms - 76
[HTTP] --> POST /wd/hub/session/9cf3c30b-acd0-48da-afc6-d35e609942f6/touch/perform {"sessionId":"9cf3c30b-acd0-48da-afc6-d35e609942f6","actions":[{"action":"longPress","options":{"y":"269","x":"239","duration":500}}]}
[MJSONWP] Calling AppiumDriver.performTouch() with args: [[{"action":"longPress","options":{"y":"269","x":"239","duration":500}}],"9cf3c30b-acd0-48da-afc6-d35e609942f6"]
[debug] [AndroidBootstrap] Sending command to android: {"cmd":"action","action":"element:touchDown","params":{"x":"239","y":"269"}}
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got data from client: {"cmd":"action","action":"element:touchDown","params":{"x":"239","y":"269"}}
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command of type ACTION
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command action: touchDown
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Display bounds: [0,0][480,800]
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Performing TouchDown using element? false x: 239, y: 269
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Returning result: {"status":0,"value":true}
[debug] [AndroidBootstrap] Received command result from bootstrap
[MJSONWP] Responding to client with driver.performTouch() result: null
[HTTP] <-- POST /wd/hub/session/9cf3c30b-acd0-48da-afc6-d35e609942f6/touch/perform 200 516 ms - 76
[HTTP] --> POST /wd/hub/session/9cf3c30b-acd0-48da-afc6-d35e609942f6/element {"using":"id","sessionId":"9cf3c30b-acd0-48da-afc6-d35e609942f6","value":"com.nineteenthmile:id/ok"}
[MJSONWP] Calling AppiumDriver.findElement() with args: ["id","com.nineteenthmile:id/ok","9cf3c30b-acd0-48da-afc6-d35e609942f6"]
[debug] [BaseDriver] Valid locator strategies for this request: xpath, id, class name, accessibility id, -android uiautomator
[debug] [BaseDriver] Valid locator strategies for this request: xpath, id, class name, accessibility id, -android uiautomator
[debug] [BaseDriver] Waiting up to 0 ms for condition
[debug] [AndroidBootstrap] Sending command to android: {"cmd":"action","action":"find","params":{"strategy":"id","selector":"com.nineteenthmile:id/ok","context":"","multiple":false}}
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got data from client: {"cmd":"action","action":"find","params":{"strategy":"id","selector":"com.nineteenthmile:id/ok","context":"","multiple":false}}
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command of type ACTION
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command action: find
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Finding 'com.nineteenthmile:id/ok' using 'ID' with the contextId: '' multiple: false
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Using: UiSelector[INSTANCE=0, RESOURCE_ID=com.nineteenthmile:id/ok]
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Returning result: {"status":0,"value":{"ELEMENT":"35"}}
[debug] [AndroidBootstrap] Received command result from bootstrap
[MJSONWP] Responding to client with driver.findElement() result: {"ELEMENT":"35"}
[HTTP] <-- POST /wd/hub/session/9cf3c30b-acd0-48da-afc6-d35e609942f6/element 200 14 ms - 88
[HTTP] --> POST /wd/hub/session/9cf3c30b-acd0-48da-afc6-d35e609942f6/touch/perform {"sessionId":"9cf3c30b-acd0-48da-afc6-d35e609942f6","actions":[{"action":"tap","options":{"y":null,"x":null,"count":1,"element":"35"}}]}
[MJSONWP] Calling AppiumDriver.performTouch() with args: [[{"action":"tap","options":{"y":null,"x":null,"count":1,"element":"35"}}],"9cf3c30b-acd0-48da-afc6-d35e609942f6"]
[debug] [AndroidBootstrap] Sending command to android: {"cmd":"action","action":"element:getLocation","params":{"elementId":"35"}}
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got data from client: {"cmd":"action","action":"element:getLocation","params":{"elementId":"35"}}
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command of type ACTION
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command action: getLocation
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Returning result: {"status":0,"value":{"x":328,"y":670}}
[debug] [AndroidBootstrap] Received command result from bootstrap
[debug] [AndroidBootstrap] Sending command to android: {"cmd":"action","action":"element:getSize","params":{"elementId":"35"}}
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got data from client: {"cmd":"action","action":"element:getSize","params":{"elementId":"35"}}
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command of type ACTION
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command action: getSize
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Returning result: {"status":0,"value":{"width":90,"height":84}}
[debug] [AndroidBootstrap] Received command result from bootstrap
[debug] [AndroidBootstrap] Sending command to android: {"cmd":"action","action":"element:click","params":{"elementId":"35","x":373,"y":712}}
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got data from client: {"cmd":"action","action":"element:click","params":{"elementId":"35","x":373,"y":712}}
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command of type ACTION
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command action: click
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Returning result: {"status":0,"value":true}
[debug] [AndroidBootstrap] Received command result from bootstrap
[MJSONWP] Responding to client with driver.performTouch() result: null
[HTTP] <-- POST /wd/hub/session/9cf3c30b-acd0-48da-afc6-d35e609942f6/touch/perform 200 260 ms - 76
[HTTP] --> POST /wd/hub/session/9cf3c30b-acd0-48da-afc6-d35e609942f6/element {"using":"accessibility id","sessionId":"9cf3c30b-acd0-48da-afc6-d35e609942f6","value":"choose_time"}
[MJSONWP] Calling AppiumDriver.findElement() with args: ["accessibility id","choose_time","9cf3c30b-acd0-48da-afc6-d35e609942f6"]
[debug] [BaseDriver] Valid locator strategies for this request: xpath, id, class name, accessibility id, -android uiautomator
[debug] [BaseDriver] Valid locator strategies for this request: xpath, id, class name, accessibility id, -android uiautomator
[debug] [BaseDriver] Waiting up to 0 ms for condition
[debug] [AndroidBootstrap] Sending command to android: {"cmd":"action","action":"find","params":{"strategy":"accessibility id","selector":"choose_time","context":"","multiple":false}}
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got data from client: {"cmd":"action","action":"find","params":{"strategy":"accessibility id","selector":"choose_time","context":"","multiple":false}}
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command of type ACTION
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command action: find
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Finding 'choose_time' using 'ACCESSIBILITY_ID' with the contextId: '' multiple: false
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Using: UiSelector[DESCRIPTION=choose_time, INSTANCE=0]
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Returning result: {"status":0,"value":{"ELEMENT":"36"}}
[debug] [AndroidBootstrap] Received command result from bootstrap
[MJSONWP] Responding to client with driver.findElement() result: {"ELEMENT":"36"}
[HTTP] <-- POST /wd/hub/session/9cf3c30b-acd0-48da-afc6-d35e609942f6/element 200 11 ms - 88
[HTTP] --> GET /wd/hub/session/9cf3c30b-acd0-48da-afc6-d35e609942f6/element/36/text {}
[MJSONWP] Calling AppiumDriver.getText() with args: ["36","9cf3c30b-acd0-48da-afc6-d35e609942f6"]
[debug] [AndroidBootstrap] Sending command to android: {"cmd":"action","action":"element:getText","params":{"elementId":"36"}}
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got data from client: {"cmd":"action","action":"element:getText","params":{"elementId":"36"}}
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command of type ACTION
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command action: getText
[debug] [AndroidBootstrap] Received command result from bootstrap
[MJSONWP] Responding to client with driver.getText() result: "03:50 PM"
[HTTP] <-- GET /wd/hub/session/9cf3c30b-acd0-48da-afc6-d35e609942f6/element/36/text 200 9 ms - 82
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Returning result: {"status":0,"value":"03:50 PM"}
Terminate batch job (Y/N)? Terminate batch job (Y/N)? Terminate batch job (Y/N)?
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment