Skip to content

Instantly share code, notes, and snippets.

@midopa
Created June 7, 2016 20:48
Show Gist options
  • Save midopa/3dbe49785caee71bd7b10f22b2f7bf81 to your computer and use it in GitHub Desktop.
Save midopa/3dbe49785caee71bd7b10f22b2f7bf81 to your computer and use it in GitHub Desktop.
[Appium] Welcome to Appium v1.5.2 (REV aae447996cb4cf88fed0d9b60e9bdb7a4429de36)
[Appium] Non-default server args:
[Appium] address: '127.0.0.1'
[Appium] port: 12345
[Appium] loglevel: 'info'
[Appium] Appium REST http interface listener started on 127.0.0.1:12345
[HTTP] --> GET /wd/hub/status {}
[MJSONWP] Calling AppiumDriver.getStatus() with args: []
[MJSONWP] Responding to client with driver.getStatus() result: {"build":{"version":"1.5.2","revision":"aae447996cb4cf88fed0d9b60e9bdb7a4429de36"}}
[HTTP] <-- GET /wd/hub/status 200 13 ms - 121
[HTTP] --> POST /wd/hub/session {"desiredCapabilities":{"app":"PATH_TO_APP.apk","appPackage":"my.app.package","appActivity":"my.app.package.MainActivity","noReset":false,"newCommandTimeout":1000000,"platformVersion":"6.0","platformName":"Android","deviceName":"ANDROID"}}
[MJSONWP] Calling AppiumDriver.createSession() with args: [{"app":"PATH_TO_APP.apk","appPackage":"my.app.package","appActivity":"com.disne...
[Appium] Creating new AndroidDriver session
[Appium] Capabilities:
[Appium] app: 'PATH_TO_APP.apk'
[Appium] appPackage: 'my.app.package'
[Appium] appActivity: 'my.app.package.MainActivity'
[Appium] noReset: false
[Appium] newCommandTimeout: 1000000
[Appium] platformVersion: '6.0'
[Appium] platformName: 'Android'
[Appium] deviceName: 'ANDROID'
[BaseDriver] Session created with session id: 8a81824b-085d-4234-b640-90ee3b89f6f2
[AndroidDriver] Java version is: 1.8.0_92
[ADB] Checking whether adb is present
[ADB] Using adb from /PATH_TO_ANDROID_HOME/platform-tools/adb
[AndroidDriver] Retrieving device list
[AndroidDriver] Using device: 1115fbbac8a93704
[ADB] Checking whether adb is present
[ADB] Using adb from /PATH_TO_ANDROID_HOME/platform-tools/adb
[BaseDriver] Using downloadable app 'PATH_TO_APP.apk'
[BaseDriver] Downloaded app to '/var/folders/fl/3sz0mk713kj7khyhwnwqntwxtcg7w2/T/201657-34492-162e28b.yfd4ewxw29/appium-app.apk'
[AndroidDriver] Starting Android session
[ADB] Getting device platform version
[AndroidDriver] Screen already unlocked, doing nothing
[AndroidDriver] Remote apk path is /data/local/tmp/50be6b585b7937abcb1a3326fdba148c.apk
[AndroidDriver] Apk is not yet installed
[AndroidDriver] installing apk from remote
[AndroidDriver] Clearing out any existing remote apks with the same hash
[ADB] App was not uninstalled, maybe it wasn't on device?
[ADB] No uiautomator process found to kill, continuing...
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Loading json...
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] json loading complete.
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Registered crash watchers.
[AndroidBootstrap] Android bootstrap socket is now connected
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Client connected
[Appium] New AndroidDriver session created successfully, session 8a81824b-085d-4234-b640-90ee3b89f6f2 added to master session list
[MJSONWP] Responding to client with driver.createSession() result: {"platform":"LINUX","webStorageEnabled":false,"takesScreenshot":true,"javascriptEnabled":true,"databaseEnabled":false,"networkConnectionEnabled":tr...
[HTTP] <-- POST /wd/hub/session 200 14283 ms - 858
[HTTP] --> GET /wd/hub/session/8a81824b-085d-4234-b640-90ee3b89f6f2/window/current/size {}
[MJSONWP] Calling AppiumDriver.getWindowSize() with args: ["current","8a81824b-085d-4234-b640-90ee3b89f6f2"]
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got data from client: {"cmd":"action","action":"getDeviceSize","params":{}}
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command of type ACTION
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command action: getDeviceSize
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Returning result: {"status":0,"value":{"height":2560,"width":1440}}
[MJSONWP] Responding to client with driver.getWindowSize() result: {"height":2560,"width":1440}
[HTTP] <-- GET /wd/hub/session/8a81824b-085d-4234-b640-90ee3b89f6f2/window/current/size 200 12 ms - 100
[HTTP] --> POST /wd/hub/session/8a81824b-085d-4234-b640-90ee3b89f6f2/timeouts {"type":"implicit","ms":30000}
[MJSONWP] Calling AppiumDriver.timeouts() with args: ["implicit",30000,"8a81824b-085d-4234-b640-90ee3b89f6f2"]
[MJSONWP] Responding to client with driver.timeouts() result: null
[HTTP] <-- POST /wd/hub/session/8a81824b-085d-4234-b640-90ee3b89f6f2/timeouts 200 2 ms - 76
[HTTP] --> POST /wd/hub/session/8a81824b-085d-4234-b640-90ee3b89f6f2/element {"using":"id","value":"my.app.package:id/my_button"}
[MJSONWP] Calling AppiumDriver.findElement() with args: ["id","my.app.package:id/my_button","8a81824b-085d-4234-b640-90ee3b89f6f2"]
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got data from client: {"cmd":"action","action":"find","params":{"strategy":"id","selector":"my.app.package:id/my_button","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 'my.app.package:id/my_button' using 'ID' with the contextId: '' multiple: false
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Using: UiSelector[INSTANCE=0, RESOURCE_ID=my.app.package:id/my_button]
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Failed to locate element. Clearing Accessibility cache and retrying.
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Finding 'my.app.package:id/my_button' using 'ID' with the contextId: '' multiple: false
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Using: UiSelector[INSTANCE=0, RESOURCE_ID=my.app.package:id/my_button]
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Returning result: {"status":7,"value":"No element found"}
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got data from client: {"cmd":"action","action":"find","params":{"strategy":"id","selector":"my.app.package:id/my_button","context":"","multiple":false}}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment