Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save TikhomirovSergey/ab95037b46da80212900511ad94221e6 to your computer and use it in GitHub Desktop.
Save TikhomirovSergey/ab95037b46da80212900511ad94221e6 to your computer and use it in GitHub Desktop.
HTTP] --> POST /wd/hub/session/391808d6-33ea-45a4-a7fc-7c74e99a6289/appium/app/reset {}
[MJSONWP] Calling AppiumDriver.reset() with args: ["391808d6-33ea-45a4-a7fc-7...
[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/391808d6-33ea-45a4-a7fc-7c74e99a6289/appium/app/reset 200 2753 ms - 76
[HTTP] --> POST /wd/hub/session/391808d6-33ea-45a4-a7fc-7c74e99a6289/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]
[debug] [AndroidBootstrap] Received command result from bootstrap
[MJSONWP] Responding to client with driver.findElement() result: {"ELEMENT":"1"}
[HTTP] <-- POST /wd/hub/session/391808d6-33ea-45a4-a7fc-7c74e99a6289/element 200 293 ms - 87
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Returning result: {"value":{"ELEMENT":"1"},"status":0}
[HTTP] --> POST /wd/hub/session/391808d6-33ea-45a4-a7fc-7c74e99a6289/element/1/click {"id":"1"}
[MJSONWP] Calling AppiumDriver.click() with args: ["1","391808d6-33ea-45a4-a7...
[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/391808d6-33ea-45a4-a7fc-7c74e99a6289/element/1/click 200 662 ms - 76
[HTTP] --> POST /wd/hub/session/391808d6-33ea-45a4-a7fc-7c74e99a6289/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]
[debug] [AndroidBootstrap] Received command result from bootstrap
[MJSONWP] Responding to client with driver.findElement() result: {"ELEMENT":"2"}
[HTTP] <-- POST /wd/hub/session/391808d6-33ea-45a4-a7fc-7c74e99a6289/element 200 548 ms - 87
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Returning result: {"value":{"ELEMENT":"2"},"status":0}
[HTTP] --> GET /wd/hub/session/391808d6-33ea-45a4-a7fc-7c74e99a6289/element/2/location {}
[MJSONWP] Calling AppiumDriver.getLocation() with args: ["2","391808d6-33ea-45a4-a7...
[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/391808d6-33ea-45a4-a7fc-7c74e99a6289/element/2/location 200 575 ms - 87
[HTTP] --> GET /wd/hub/session/391808d6-33ea-45a4-a7fc-7c74e99a6289/element/2/size {}
[MJSONWP] Calling AppiumDriver.getSize() with args: ["2","391808d6-33ea-45a4-a7...
[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
[debug] [AndroidBootstrap] Received command result from bootstrap
[MJSONWP] Responding to client with driver.getSize() result: {"height":96,"width":720}
[HTTP] <-- GET /wd/hub/session/391808d6-33ea-45a4-a7fc-7c74e99a6289/element/2/size 200 45 ms - 97
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Returning result: {"value":{"height":96,"width":720},"status":0}
[HTTP] --> POST /wd/hub/session/391808d6-33ea-45a4-a7fc-7c74e99a6289/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]
[debug] [AndroidBootstrap] Received command result from bootstrap
[MJSONWP] Responding to client with driver.findElement() result: {"ELEMENT":"3"}
[HTTP] <-- POST /wd/hub/session/391808d6-33ea-45a4-a7fc-7c74e99a6289/element 200 16 ms - 87
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Returning result: {"value":{"ELEMENT":"3"},"status":0}
[HTTP] --> GET /wd/hub/session/391808d6-33ea-45a4-a7fc-7c74e99a6289/element/3/location {}
[MJSONWP] Calling AppiumDriver.getLocation() with args: ["3","391808d6-33ea-45a4-a7...
[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
[debug] [AndroidBootstrap] Received command result from bootstrap
[MJSONWP] Responding to client with driver.getLocation() result: {"y":1028,"x":0}
[HTTP] <-- GET /wd/hub/session/391808d6-33ea-45a4-a7fc-7c74e99a6289/element/3/location 200 9 ms - 88
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Returning result: {"value":{"y":1028,"x":0},"status":0}
[HTTP] --> GET /wd/hub/session/391808d6-33ea-45a4-a7fc-7c74e99a6289/element/3/size {}
[MJSONWP] Calling AppiumDriver.getSize() with args: ["3","391808d6-33ea-45a4-a7...
[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
[debug] [AndroidBootstrap] Received command result from bootstrap
[MJSONWP] Responding to client with driver.getSize() result: {"height":96,"width":720}
[HTTP] <-- GET /wd/hub/session/391808d6-33ea-45a4-a7fc-7c74e99a6289/element/3/size 200 11 ms - 97
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Returning result: {"value":{"height":96,"width":720},"status":0}
[HTTP] --> POST /wd/hub/session/391808d6-33ea-45a4-a7fc-7c74e99a6289/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":{}},{"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":"element:touchDown","params":{"x":360,"y":1076}}
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got data from client: {"cmd":"action","action":"element:touchDown","params":{"x":360,"y":1076}}
[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][720,1184]
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Performing TouchDown using element? false x: 360, y: 1076
[debug] [AndroidBootstrap] Received command result from bootstrap
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Returning result: {"value":true,"status":0}
[debug] [AndroidBootstrap] Sending command to android: {"cmd":"action","action":"element:touchMove","params":{"x":720,"y":1564}}
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got data from client: {"cmd":"action","action":"element:touchMove","params":{"x":720,"y":1564}}
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command of type ACTION
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command action: touchMove
[debug] [AndroidBootstrap] Received command result from bootstrap
[HTTP] <-- POST /wd/hub/session/391808d6-33ea-45a4-a7fc-7c74e99a6289/touch/perform 500 2067 ms - 153
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Display bounds: [0,0][720,1184]
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Returning result: {"value":"Coordinate [x=720.0, y=1564.0] is outside of element rect: [0,0][720,1184]","status":29}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment