Skip to content

Instantly share code, notes, and snippets.

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 TikhomirovSergey/53cc267526c26be1251833f2b467a1a4 to your computer and use it in GitHub Desktop.
Save TikhomirovSergey/53cc267526c26be1251833f2b467a1a4 to your computer and use it in GitHub Desktop.
[HTTP] --> POST /wd/hub/session/9ad44692-984a-4d66-a8c7-03f33ef3c499/appium/app/reset {}
[MJSONWP] Calling AppiumDriver.reset() with args: ["9ad44692-984a-4d66-a8c7-0...
[AndroidDriver] Running fast reset (stop and clear)
[debug] [ADB] Getting connected devices...
[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running 'C:\Android\SDK\platform-tools\adb.exe' with args: ["-P",5037,"-s","emulator-5554","shell","am","force-stop","io.appium.android.apis"]
[debug] [ADB] Getting connected devices...
[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running 'C:\Android\SDK\platform-tools\adb.exe' with args: ["-P",5037,"-s","emulator-5554","shell","pm","clear","io.appium.android.apis"]
[debug] [ADB] Device API level: 19
[debug] [ADB] Getting connected devices...
[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running 'C:\Android\SDK\platform-tools\adb.exe' with args: ["-P",5037,"-s","emulator-5554","shell","am","start","-W","-n","io.appium.android.apis/io.appium.android.apis.ApiDemos","-S","-a","android.intent.action.MAIN","-c","android.intent.category.LAUNCHER","-f","0x10200000"]
[debug] [ADB] Waiting for pkg: 'io.appium.android.apis' and activity: 'io.appium.android.apis.ApiDemos' to be focused
[debug] [ADB] Possible activities, to be checked: io.appium.android.apis.ApiDemos, .ApiDemos, .io.appium.android.apis.ApiDemos
[debug] [ADB] Getting focused package and activity
[debug] [ADB] Getting connected devices...
[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running 'C:\Android\SDK\platform-tools\adb.exe' with args: ["-P",5037,"-s","emulator-5554","shell","dumpsys","window","windows"]
[debug] [ADB] Found package: 'io.appium.android.apis' and activity: '.ApiDemos'
[MJSONWP] Responding to client with driver.reset() result: null
[HTTP] <-- POST /wd/hub/session/9ad44692-984a-4d66-a8c7-03f33ef3c499/appium/app/reset 200 2940 ms - 76
[HTTP] --> POST /wd/hub/session/9ad44692-984a-4d66-a8c7-03f33ef3c499/element {"using":"accessibility id","value":"Views"}
[MJSONWP] Calling AppiumDriver.findElement() with args: ["accessibility id","Views"...
[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":"Views","context":"","multiple":false}}
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got data from client: {"cmd":"action","action":"find","params":{"strategy":"accessibility id","selector":"Views","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 'Views' using 'ACCESSIBILITY_ID' with the contextId: '' multiple: false
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Using: UiSelector[DESCRIPTION=Views, INSTANCE=0]
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Returning result: {"value":{"ELEMENT":"1"},"status":0}
[debug] [AndroidBootstrap] Received command result from bootstrap
[MJSONWP] Responding to client with driver.findElement() result: {"ELEMENT":"1"}
[HTTP] <-- POST /wd/hub/session/9ad44692-984a-4d66-a8c7-03f33ef3c499/element 200 2923 ms - 87
[HTTP] --> POST /wd/hub/session/9ad44692-984a-4d66-a8c7-03f33ef3c499/element/1/click {"id":"1"}
[MJSONWP] Calling AppiumDriver.click() with args: ["1","9ad44692-984a-4d66-a8...
[debug] [AndroidBootstrap] Sending command to android: {"cmd":"action","action":"element:click","params":{"elementId":"1"}}
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got data from client: {"cmd":"action","action":"element:click","params":{"elementId":"1"}}
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command of type ACTION
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command action: click
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Returning result: {"value":true,"status":0}
[debug] [AndroidBootstrap] Received command result from bootstrap
[MJSONWP] Responding to client with driver.click() result: true
[HTTP] <-- POST /wd/hub/session/9ad44692-984a-4d66-a8c7-03f33ef3c499/element/1/click 200 659 ms - 76
[HTTP] --> POST /wd/hub/session/9ad44692-984a-4d66-a8c7-03f33ef3c499/element {"using":"accessibility id","value":"Chronometer"}
[MJSONWP] Calling AppiumDriver.findElement() with args: ["accessibility id","Chrono...
[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":"Chronometer","context":"","multiple":false}}
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got data from client: {"cmd":"action","action":"find","params":{"strategy":"accessibility id","selector":"Chronometer","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 'Chronometer' using 'ACCESSIBILITY_ID' with the contextId: '' multiple: false
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Using: UiSelector[DESCRIPTION=Chronometer, INSTANCE=0]
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Returning result: {"value":{"ELEMENT":"2"},"status":0}
[debug] [AndroidBootstrap] Received command result from bootstrap
[MJSONWP] Responding to client with driver.findElement() result: {"ELEMENT":"2"}
[HTTP] <-- POST /wd/hub/session/9ad44692-984a-4d66-a8c7-03f33ef3c499/element 200 534 ms - 87
[HTTP] --> GET /wd/hub/session/9ad44692-984a-4d66-a8c7-03f33ef3c499/element/2/location {}
[MJSONWP] Calling AppiumDriver.getLocation() with args: ["2","9ad44692-984a-4d66-a8...
[debug] [AndroidBootstrap] Sending command to android: {"cmd":"action","action":"element:getLocation","params":{"elementId":"2"}}
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got data from client: {"cmd":"action","action":"element:getLocation","params":{"elementId":"2"}}
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command of type ACTION
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command action: getLocation
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Returning result: {"value":{"y":440,"x":0},"status":0}
[debug] [AndroidBootstrap] Received command result from bootstrap
[MJSONWP] Responding to client with driver.getLocation() result: {"y":440,"x":0}
[HTTP] <-- GET /wd/hub/session/9ad44692-984a-4d66-a8c7-03f33ef3c499/element/2/location 200 526 ms - 87
[HTTP] --> GET /wd/hub/session/9ad44692-984a-4d66-a8c7-03f33ef3c499/element/2/size {}
[MJSONWP] Calling AppiumDriver.getSize() with args: ["2","9ad44692-984a-4d66-a8...
[debug] [AndroidBootstrap] Sending command to android: {"cmd":"action","action":"element:getSize","params":{"elementId":"2"}}
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got data from client: {"cmd":"action","action":"element:getSize","params":{"elementId":"2"}}
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command of type ACTION
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command action: getSize
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Returning result: {"value":{"height":96,"width":720},"status":0}
[debug] [AndroidBootstrap] Received command result from bootstrap
[MJSONWP] Responding to client with driver.getSize() result: {"height":96,"width":720}
[HTTP] <-- GET /wd/hub/session/9ad44692-984a-4d66-a8c7-03f33ef3c499/element/2/size 200 146 ms - 97
[HTTP] --> POST /wd/hub/session/9ad44692-984a-4d66-a8c7-03f33ef3c499/element {"using":"accessibility id","value":"Focus"}
[MJSONWP] Calling AppiumDriver.findElement() with args: ["accessibility id","Focus"...
[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":"Focus","context":"","multiple":false}}
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got data from client: {"cmd":"action","action":"find","params":{"strategy":"accessibility id","selector":"Focus","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 'Focus' using 'ACCESSIBILITY_ID' with the contextId: '' multiple: false
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Using: UiSelector[DESCRIPTION=Focus, INSTANCE=0]
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Returning result: {"value":{"ELEMENT":"3"},"status":0}
[debug] [AndroidBootstrap] Received command result from bootstrap
[MJSONWP] Responding to client with driver.findElement() result: {"ELEMENT":"3"}
[HTTP] <-- POST /wd/hub/session/9ad44692-984a-4d66-a8c7-03f33ef3c499/element 200 48 ms - 87
[HTTP] --> GET /wd/hub/session/9ad44692-984a-4d66-a8c7-03f33ef3c499/element/3/location {}
[MJSONWP] Calling AppiumDriver.getLocation() with args: ["3","9ad44692-984a-4d66-a8...
[debug] [AndroidBootstrap] Sending command to android: {"cmd":"action","action":"element:getLocation","params":{"elementId":"3"}}
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got data from client: {"cmd":"action","action":"element:getLocation","params":{"elementId":"3"}}
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command of type ACTION
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command action: getLocation
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Returning result: {"value":{"y":1028,"x":0},"status":0}
[debug] [AndroidBootstrap] Received command result from bootstrap
[MJSONWP] Responding to client with driver.getLocation() result: {"y":1028,"x":0}
[HTTP] <-- GET /wd/hub/session/9ad44692-984a-4d66-a8c7-03f33ef3c499/element/3/location 200 98 ms - 88
[HTTP] --> GET /wd/hub/session/9ad44692-984a-4d66-a8c7-03f33ef3c499/element/3/size {}
[MJSONWP] Calling AppiumDriver.getSize() with args: ["3","9ad44692-984a-4d66-a8...
[debug] [AndroidBootstrap] Sending command to android: {"cmd":"action","action":"element:getSize","params":{"elementId":"3"}}
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got data from client: {"cmd":"action","action":"element:getSize","params":{"elementId":"3"}}
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command of type ACTION
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command action: getSize
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Returning result: {"value":{"height":96,"width":720},"status":0}
[debug] [AndroidBootstrap] Received command result from bootstrap
[MJSONWP] Responding to client with driver.getSize() result: {"height":96,"width":720}
[HTTP] <-- GET /wd/hub/session/9ad44692-984a-4d66-a8c7-03f33ef3c499/element/3/size 200 39 ms - 97
[HTTP] --> POST /wd/hub/session/9ad44692-984a-4d66-a8c7-03f33ef3c499/touch/perform {"actions":[{"action":"press","options":{"x":360,"y":1076}},{"action":"wait","options":{"ms":2000}},{"action":"moveTo","options":{"x":360,"y":488}},{"action":"release","options":{}}]}
[MJSONWP] Calling AppiumDriver.performTouch() with args: [[{"action":"press","option...
[debug] [AndroidBootstrap] Sending command to android: {"cmd":"action","action":"swipe","params":{"startX":360,"startY":1076,"endX":360,"endY":488,"steps":56}}
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got data from client: {"cmd":"action","action":"swipe","params":{"startX":360,"startY":1076,"endX":360,"endY":488,"steps":56}}
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command of type ACTION
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command action: swipe
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Display bounds: [0,0][720,1184]
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Display bounds: [0,0][720,1184]
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Swiping from [x=360.0, y=1076.0] to [x=360.0, y=488.0] with steps: 56
[debug] [AndroidBootstrap] Received command result from bootstrap
[MJSONWP] Responding to client with driver.performTouch() result: true
[HTTP] <-- POST /wd/hub/session/9ad44692-984a-4d66-a8c7-03f33ef3c499/touch/perform 200 5496 ms - 76
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Returning result: {"value":true,"status":0}
[HTTP] --> POST /wd/hub/session/9ad44692-984a-4d66-a8c7-03f33ef3c499/touch/perform {"actions":[{"action":"press","options":{"x":360,"y":488}},{"action":"wait","options":{"ms":2000}},{"action":"moveTo","options":{"x":360,"y":1076}},{"action":"release","options":{}}]}
[MJSONWP] Calling AppiumDriver.performTouch() with args: [[{"action":"press","option...
[debug] [AndroidBootstrap] Sending command to android: {"cmd":"action","action":"swipe","params":{"startX":360,"startY":488,"endX":360,"endY":1076,"steps":56}}
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got data from client: {"cmd":"action","action":"swipe","params":{"startX":360,"startY":488,"endX":360,"endY":1076,"steps":56}}
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command of type ACTION
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command action: swipe
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Display bounds: [0,0][720,1184]
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Display bounds: [0,0][720,1184]
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Swiping from [x=360.0, y=488.0] to [x=360.0, y=1076.0] with steps: 56
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Returning result: {"value":true,"status":0}
[debug] [AndroidBootstrap] Received command result from bootstrap
[MJSONWP] Responding to client with driver.performTouch() result: true
[HTTP] <-- POST /wd/hub/session/9ad44692-984a-4d66-a8c7-03f33ef3c499/touch/perform 200 1427 ms - 76
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment