Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save tiagoshibata/21176e09f92cbcb11334cb1246de0f54 to your computer and use it in GitHub Desktop.
Save tiagoshibata/21176e09f92cbcb11334cb1246de0f54 to your computer and use it in GitHub Desktop.
[Appium] Welcome to Appium v1.5.3 (REV c92d23d4bef00642c623a5004942801f993c8b3f)
[Appium] Appium REST http interface listener started on 0.0.0.0:4723
[HTTP] --> POST /wd/hub/session {"desiredCapabilities":{"deviceName":"Android Emulator","platformName":"Android","app":"/home/tiago/code/appium-sample-code/sample-code/apps/ApiDemos/bin/ApiDemos-debug.apk"}}
[MJSONWP] Calling AppiumDriver.createSession() with args: [{"deviceName":"Android Emu...
[Appium] Creating new AndroidDriver session
[Appium] Capabilities:
[Appium] deviceName: 'Android Emulator'
[Appium] platformName: 'Android'
[Appium] app: '/home/tiago/code/appium-sample-code/sample-code/apps/ApiDemos/bin/ApiDemos-debug.apk'
[BaseDriver] Session created with session id: 19155e63-1f20-4da4-be82-64c9c8d1919f
[debug] [AndroidDriver] Getting Java version
[AndroidDriver] Java version is: 1.8.0_25
[ADB] Checking whether adb is present
[ADB] Using adb from /home/tiago/Android/Sdk/platform-tools/adb
[AndroidDriver] Retrieving device list
[debug] [ADB] Trying to find a connected android device
[debug] [ADB] Getting connected devices...
[debug] [ADB] 1 device(s) connected
[AndroidDriver] Using device: T099706ZXD
[ADB] Checking whether adb is present
[ADB] Using adb from /home/tiago/Android/Sdk/platform-tools/adb
[debug] [ADB] Setting device id to T099706ZXD
[BaseDriver] Using local app '/home/tiago/code/appium-sample-code/sample-code/apps/ApiDemos/bin/ApiDemos-debug.apk'
[debug] [AndroidDriver] Checking whether app is actually present
[AndroidDriver] Starting Android session
[debug] [ADB] Running /home/tiago/Android/Sdk/platform-tools/adb with args: ["-P",5037,"-s","T099706ZXD","wait-for-device"]
[debug] [ADB] Getting connected devices...
[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running /home/tiago/Android/Sdk/platform-tools/adb with args: ["-P",5037,"-s","T099706ZXD","shell","echo","ping"]
[debug] [Logcat] Starting logcat capture
[debug] [AndroidDriver] Pushing settings apk to device...
[debug] [ADB] Running /home/tiago/Android/Sdk/platform-tools/adb with args: ["-P",5037,"-s","T099706ZXD","install","/home/tiago/code/appium/node_modules/io.appium.settings/bin/settings_apk-debug.apk"]
[debug] [AndroidDriver] Pushing unlock helper app to device...
[debug] [ADB] Running /home/tiago/Android/Sdk/platform-tools/adb with args: ["-P",5037,"-s","T099706ZXD","install","/home/tiago/code/appium/node_modules/appium-unlock/bin/unlock_apk-debug.apk"]
[ADB] Getting device platform version
[debug] [ADB] Getting connected devices...
[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running /home/tiago/Android/Sdk/platform-tools/adb with args: ["-P",5037,"-s","T099706ZXD","shell","getprop","ro.build.version.release"]
[debug] [ADB] Getting connected devices...
[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running /home/tiago/Android/Sdk/platform-tools/adb with args: ["-P",5037,"-s","T099706ZXD","shell","dumpsys","window"]
[AndroidDriver] Screen already unlocked, doing nothing
[debug] [AndroidDriver] Parsing package and activity from app manifest
[ADB] Checking whether aapt is present
[ADB] Using aapt from /home/tiago/Android/Sdk/build-tools/22.0.1/aapt
[ADB] Extracting package and launch activity from manifest
[debug] [ADB] badging package: io.appium.android.apis
[debug] [ADB] badging act: io.appium.android.apis.ApiDemos
[debug] [AndroidDriver] Parsed package and activity are: io.appium.android.apis/io.appium.android.apis.ApiDemos
[AndroidDriver] Remote apk path is /data/local/tmp/29649242b53e9a67ba855b067422713c.apk
[debug] [ADB] Getting connected devices...
[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running /home/tiago/Android/Sdk/platform-tools/adb with args: ["-P",5037,"-s","T099706ZXD","shell","ls","/data/local/tmp/29649242b53e9a67ba855b067422713c.apk"]
[debug] [AndroidDriver] Checking if app is installed
[debug] [ADB] Getting install status for io.appium.android.apis
[debug] [ADB] Getting connected devices...
[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running /home/tiago/Android/Sdk/platform-tools/adb with args: ["-P",5037,"-s","T099706ZXD","shell","getprop","ro.build.version.sdk"]
[debug] [ADB] Device API level: 23
[debug] [ADB] Getting connected devices...
[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running /home/tiago/Android/Sdk/platform-tools/adb with args: ["-P",5037,"-s","T099706ZXD","shell","pm","list","packages","-3","io.appium.android.apis"]
[debug] [ADB] App is not installed
[AndroidDriver] Apk is not yet installed
[AndroidDriver] installing apk from remote
[debug] [ADB] Getting connected devices...
[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running /home/tiago/Android/Sdk/platform-tools/adb with args: ["-P",5037,"-s","T099706ZXD","shell","mkdir","-p","/data/local/tmp"]
[AndroidDriver] Clearing out any existing remote apks with the same hash
[debug] [AndroidDriver] Removing any old apks
[debug] [AndroidDriver] Except ["29649242b53e9a67ba855b067422713c"]
[debug] [ADB] Getting connected devices...
[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running /home/tiago/Android/Sdk/platform-tools/adb with args: ["-P",5037,"-s","T099706ZXD","shell","ls","/data/local/tmp/*.apk"]
[debug] [AndroidDriver] No apks to examine
[AndroidDriver] Pushing io.appium.android.apis to device. Will wait up to 90000 milliseconds before aborting
[debug] [ADB] Running /home/tiago/Android/Sdk/platform-tools/adb with args: ["-P",5037,"-s","T099706ZXD","push","/home/tiago/code/appium-sample-code/sample-code/apps/ApiDemos/bin/ApiDemos-debug.apk","/data/local/tmp/29649242b53e9a67ba855b067422713c.apk"]
[debug] [ADB] Uninstalling io.appium.android.apis
[debug] [ADB] Getting connected devices...
[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running /home/tiago/Android/Sdk/platform-tools/adb with args: ["-P",5037,"-s","T099706ZXD","shell","am","force-stop","io.appium.android.apis"]
[debug] [ADB] Running /home/tiago/Android/Sdk/platform-tools/adb with args: ["-P",5037,"-s","T099706ZXD","uninstall","io.appium.android.apis"]
[ADB] App was not uninstalled, maybe it wasn't on device?
[debug] [ADB] Getting connected devices...
[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running /home/tiago/Android/Sdk/platform-tools/adb with args: ["-P",5037,"-s","T099706ZXD","shell","pm","install","-r","/data/local/tmp/29649242b53e9a67ba855b067422713c.apk"]
[debug] [AndroidDriver] Extracting strings from apk /home/tiago/code/appium-sample-code/sample-code/apps/ApiDemos/bin/ApiDemos-debug.apk null /tmp/io.appium.android.apis
[debug] [ADB] Extracting strings for language: default
[debug] [ADB] Device API level: 23
[debug] [ADB] Getting connected devices...
[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running /home/tiago/Android/Sdk/platform-tools/adb with args: ["-P",5037,"-s","T099706ZXD","shell","getprop","persist.sys.locale"]
[debug] [ADB] Current device property 'persist.sys.locale': en-US
[debug] [ADB] No strings.xml for language 'en', getting default strings.xml
[debug] [ADB] Reading strings from converted strings.json
[debug] [ADB] Running /home/tiago/Android/Sdk/platform-tools/adb with args: ["-P",5037,"-s","T099706ZXD","push","/tmp/io.appium.android.apis/strings.json","/data/local/tmp"]
[debug] [AndroidBootstrap] Watching for bootstrap disconnect
[debug] [ADB] Forwarding system: 4724 to device: 4724
[debug] [ADB] Running /home/tiago/Android/Sdk/platform-tools/adb with args: ["-P",5037,"-s","T099706ZXD","forward","tcp:4724","tcp:4724"]
[debug] [UiAutomator] Starting UiAutomator
[debug] [UiAutomator] Moving to state 'starting'
[debug] [UiAutomator] Parsing uiautomator jar
[debug] [UiAutomator] Found jar name: 'AppiumBootstrap.jar'
[debug] [ADB] Running /home/tiago/Android/Sdk/platform-tools/adb with args: ["-P",5037,"-s","T099706ZXD","push","/home/tiago/code/appium/node_modules/appium-android-bootstrap/bootstrap/bin/AppiumBootstrap.jar","/data/local/tmp/"]
[debug] [ADB] Attempting to kill all uiautomator processes
[debug] [ADB] Getting all processes with uiautomator
[debug] [ADB] Getting connected devices...
[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running /home/tiago/Android/Sdk/platform-tools/adb with args: ["-P",5037,"-s","T099706ZXD","shell","ps","uiautomator"]
[ADB] No uiautomator process found to kill, continuing...
[debug] [UiAutomator] Starting UIAutomator
[debug] [ADB] Creating ADB subprocess with args: -P, 5037, -s, T099706ZXD, shell, uiautomator, runtest, AppiumBootstrap.jar, -c, io.appium.android.bootstrap.Bootstrap, -e, pkg, io.appium.android.apis, -e, disableAndroidWatchers, false, -e, acceptSslCerts, false
[debug] [UiAutomator] Moving to state 'online'
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] json loading complete.
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Registered crash watchers.
[AndroidBootstrap] Android bootstrap socket is now connected
[debug] [ADB] Device API level: 23
[debug] [ADB] Getting connected devices...
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Client connected
[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running /home/tiago/Android/Sdk/platform-tools/adb with args: ["-P",5037,"-s","T099706ZXD","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 /home/tiago/Android/Sdk/platform-tools/adb with args: ["-P",5037,"-s","T099706ZXD","shell","dumpsys","window","windows"]
[debug] [ADB] Found package: 'io.appium.android.apis' and activity: '.ApiDemos'
[Appium] New AndroidDriver session created successfully, session 19155e63-1f20-4da4-be82-64c9c8d1919f added to master session list
[MJSONWP] Responding to client with driver.createSession() result: {"platform":"LINUX","webSto...
[HTTP] <-- POST /wd/hub/session 200 27931 ms - 805
[HTTP] --> POST /wd/hub/session/19155e63-1f20-4da4-be82-64c9c8d1919f/elements {"sessionId":"19155e63-1f20-4da4-be82-64c9c8d1919f","using":"xpath","value":"//android.widget.TextView"}
[MJSONWP] Calling AppiumDriver.findElements() with args: ["xpath","//android.widget....
[debug] [BaseDriver] Waiting up to 0 ms for condition
[debug] [AndroidBootstrap] Sending command to android: {"cmd":"action","action":"find","params":{"strategy":"xpath","selector":"//android.widget.TextView","context":"","multiple":true}}
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got data from client: {"cmd":"action","action":"find","params":{"strategy":"xpath","selector":"//android.widget.TextView","context":"","multiple":true}}
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command of type ACTION
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command action: find
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Finding '//android.widget.TextView' using 'XPATH' with the contextId: '' multiple: true
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Using: UiSelector[CLASS=android.widget.TextView, INSTANCE=0]
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] getElements selector:UiSelector[CLASS=android.widget.TextView, INSTANCE=0]
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Selector ends with instance.
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Using: UiSelector[CLASS=android.widget.TextView, INSTANCE=1]
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] getElements selector:UiSelector[CLASS=android.widget.TextView, INSTANCE=1]
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Selector ends with instance.
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Using: UiSelector[CLASS=android.widget.TextView, INSTANCE=2]
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] getElements selector:UiSelector[CLASS=android.widget.TextView, INSTANCE=2]
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Selector ends with instance.
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Using: UiSelector[CLASS=android.widget.TextView, INSTANCE=3]
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] getElements selector:UiSelector[CLASS=android.widget.TextView, INSTANCE=3]
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Selector ends with instance.
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Using: UiSelector[CLASS=android.widget.TextView, INSTANCE=4]
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] getElements selector:UiSelector[CLASS=android.widget.TextView, INSTANCE=4]
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Selector ends with instance.
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Using: UiSelector[CLASS=android.widget.TextView, INSTANCE=5]
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] getElements selector:UiSelector[CLASS=android.widget.TextView, INSTANCE=5]
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Selector ends with instance.
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Using: UiSelector[CLASS=android.widget.TextView, INSTANCE=6]
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] getElements selector:UiSelector[CLASS=android.widget.TextView, INSTANCE=6]
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Selector ends with instance.
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Using: UiSelector[CLASS=android.widget.TextView, INSTANCE=7]
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] getElements selector:UiSelector[CLASS=android.widget.TextView, INSTANCE=7]
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Selector ends with instance.
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Using: UiSelector[CLASS=android.widget.TextView, INSTANCE=8]
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] getElements selector:UiSelector[CLASS=android.widget.TextView, INSTANCE=8]
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Selector ends with instance.
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Using: UiSelector[CLASS=android.widget.TextView, INSTANCE=9]
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] getElements selector:UiSelector[CLASS=android.widget.TextView, INSTANCE=9]
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Selector ends with instance.
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Using: UiSelector[CLASS=android.widget.TextView, INSTANCE=10]
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] getElements selector:UiSelector[CLASS=android.widget.TextView, INSTANCE=10]
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Selector ends with instance.
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Using: UiSelector[CLASS=android.widget.TextView, INSTANCE=11]
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] getElements selector:UiSelector[CLASS=android.widget.TextView, INSTANCE=11]
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Selector ends with instance.
[debug] [AndroidBootstrap] Received command result from bootstrap
[MJSONWP] Responding to client with driver.findElements() result: [{"ELEMENT":"1"},{"ELEMENT"...
[HTTP] <-- POST /wd/hub/session/19155e63-1f20-4da4-be82-64c9c8d1919f/elements 200 555 ms - 268
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Returning result: {"status":0,"value":[{"ELEMENT":"1"},{"ELEMENT":"2"},{"ELEMENT":"3"},{"ELEMENT":"4"},{"ELEMENT":"5"},{"ELEMENT":"6"},{"ELEMENT":"7"},{"ELEMENT":"8"},{"ELEMENT":"9"},{"ELEMENT":"10"},{"ELEMENT":"11"},{"ELEMENT":"12"}]}
[HTTP] --> GET /wd/hub/session/19155e63-1f20-4da4-be82-64c9c8d1919f/element/1/text {}
[MJSONWP] Calling AppiumDriver.getText() with args: ["1","19155e63-1f20-4da4-be...
[debug] [AndroidBootstrap] Sending command to android: {"cmd":"action","action":"element:getText","params":{"elementId":"1"}}
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got data from client: {"cmd":"action","action":"element:getText","params":{"elementId":"1"}}
[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: "API Demos"
[HTTP] <-- GET /wd/hub/session/19155e63-1f20-4da4-be82-64c9c8d1919f/element/1/text 200 25 ms - 83
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Returning result: {"status":0,"value":"API Demos"}
[HTTP] --> POST /wd/hub/session/19155e63-1f20-4da4-be82-64c9c8d1919f/element {"sessionId":"19155e63-1f20-4da4-be82-64c9c8d1919f","using":"xpath","value":"//android.widget.TextView[contains(@text, \"Animat\")]"}
[MJSONWP] Calling AppiumDriver.findElement() with args: ["xpath","//android.widget....
[debug] [BaseDriver] Waiting up to 0 ms for condition
[debug] [AndroidBootstrap] Sending command to android: {"cmd":"action","action":"find","params":{"strategy":"xpath","selector":"//android.widget.TextView[contains(@text, \"Animat\")]","context":"","multiple":false}}
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got data from client: {"cmd":"action","action":"find","params":{"strategy":"xpath","selector":"//android.widget.TextView[contains(@text, \"Animat\")]","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 '//android.widget.TextView[contains(@text, "Animat")]' using 'XPATH' with the contextId: '' multiple: false
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Using: UiSelector[CLASS=android.widget.TextView, INSTANCE=2]
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Returning result: {"status":0,"value":{"ELEMENT":"13"}}
[debug] [AndroidBootstrap] Received command result from bootstrap
[MJSONWP] Responding to client with driver.findElement() result: {"ELEMENT":"13"}
[HTTP] <-- POST /wd/hub/session/19155e63-1f20-4da4-be82-64c9c8d1919f/element 200 96 ms - 88
[HTTP] --> GET /wd/hub/session/19155e63-1f20-4da4-be82-64c9c8d1919f/element/13/text {}
[MJSONWP] Calling AppiumDriver.getText() with args: ["13","19155e63-1f20-4da4-b...
[debug] [AndroidBootstrap] Sending command to android: {"cmd":"action","action":"element:getText","params":{"elementId":"13"}}
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got data from client: {"cmd":"action","action":"element:getText","params":{"elementId":"13"}}
[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: "Animation"
[HTTP] <-- GET /wd/hub/session/19155e63-1f20-4da4-be82-64c9c8d1919f/element/13/text 200 16 ms - 83
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Returning result: {"status":0,"value":"Animation"}
[HTTP] --> POST /wd/hub/session/19155e63-1f20-4da4-be82-64c9c8d1919f/element {"sessionId":"19155e63-1f20-4da4-be82-64c9c8d1919f","using":"accessibility id","value":"App"}
[MJSONWP] Calling AppiumDriver.findElement() with args: ["accessibility id","App","...
[debug] [BaseDriver] Waiting up to 0 ms for condition
[debug] [AndroidBootstrap] Sending command to android: {"cmd":"action","action":"find","params":{"strategy":"accessibility id","selector":"App","context":"","multiple":false}}
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got data from client: {"cmd":"action","action":"find","params":{"strategy":"accessibility id","selector":"App","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 'App' using 'ACCESSIBILITY_ID' with the contextId: '' multiple: false
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Using: UiSelector[DESCRIPTION=App, INSTANCE=0]
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Returning result: {"status":0,"value":{"ELEMENT":"14"}}
[debug] [AndroidBootstrap] Received command result from bootstrap
[MJSONWP] Responding to client with driver.findElement() result: {"ELEMENT":"14"}
[HTTP] <-- POST /wd/hub/session/19155e63-1f20-4da4-be82-64c9c8d1919f/element 200 16 ms - 88
[HTTP] --> POST /wd/hub/session/19155e63-1f20-4da4-be82-64c9c8d1919f/element/14/click {"sessionId":"19155e63-1f20-4da4-be82-64c9c8d1919f","id":"14"}
[MJSONWP] Calling AppiumDriver.click() with args: ["14","19155e63-1f20-4da4-b...
[debug] [AndroidBootstrap] Sending command to android: {"cmd":"action","action":"element:click","params":{"elementId":"14"}}
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got data from client: {"cmd":"action","action":"element:click","params":{"elementId":"14"}}
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command of type ACTION
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command action: click
[debug] [AndroidBootstrap] Received command result from bootstrap
[MJSONWP] Responding to client with driver.click() result: true
[HTTP] <-- POST /wd/hub/session/19155e63-1f20-4da4-be82-64c9c8d1919f/element/14/click 200 162 ms - 76
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Returning result: {"status":0,"value":true}
[HTTP] --> POST /wd/hub/session/19155e63-1f20-4da4-be82-64c9c8d1919f/elements {"sessionId":"19155e63-1f20-4da4-be82-64c9c8d1919f","using":"-android uiautomator","value":"new UiSelector().clickable(true)"}
[MJSONWP] Calling AppiumDriver.findElements() with args: ["-android uiautomator","ne...
[debug] [BaseDriver] Waiting up to 0 ms for condition
[debug] [AndroidBootstrap] Sending command to android: {"cmd":"action","action":"find","params":{"strategy":"-android uiautomator","selector":"new UiSelector().clickable(true)","context":"","multiple":true}}
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got data from client: {"cmd":"action","action":"find","params":{"strategy":"-android uiautomator","selector":"new UiSelector().clickable(true)","context":"","multiple":true}}
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command of type ACTION
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command action: find
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Finding 'new UiSelector().clickable(true)' using 'ANDROID_UIAUTOMATOR' with the contextId: '' multiple: true
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Parsing selector: new UiSelector().clickable(true)
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] UiSelector coerce type: boolean arg: true
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Using: UiSelector[CLICKABLE=true]
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] getElements selector:UiSelector[CLICKABLE=true]
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Element[] is null: (0)
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] getElements tmp selector:UiSelector[INSTANCE=0, CLICKABLE=true]
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Element[] is null: (1)
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] getElements tmp selector:UiSelector[INSTANCE=1, CLICKABLE=true]
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Element[] is null: (2)
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] getElements tmp selector:UiSelector[INSTANCE=2, CLICKABLE=true]
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Element[] is null: (3)
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] getElements tmp selector:UiSelector[INSTANCE=3, CLICKABLE=true]
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Element[] is null: (4)
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] getElements tmp selector:UiSelector[INSTANCE=4, CLICKABLE=true]
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Element[] is null: (5)
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] getElements tmp selector:UiSelector[INSTANCE=5, CLICKABLE=true]
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Element[] is null: (6)
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] getElements tmp selector:UiSelector[INSTANCE=6, CLICKABLE=true]
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Element[] is null: (7)
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] getElements tmp selector:UiSelector[INSTANCE=7, CLICKABLE=true]
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Element[] is null: (8)
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] getElements tmp selector:UiSelector[INSTANCE=8, CLICKABLE=true]
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Element[] is null: (9)
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] getElements tmp selector:UiSelector[INSTANCE=9, CLICKABLE=true]
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Element[] is null: (10)
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] getElements tmp selector:UiSelector[INSTANCE=10, CLICKABLE=true]
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Element[] is null: (11)
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] getElements tmp selector:UiSelector[INSTANCE=11, CLICKABLE=true]
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Element[] is null: (12)
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] getElements tmp selector:UiSelector[INSTANCE=12, CLICKABLE=true]
[debug] [AndroidBootstrap] Received command result from bootstrap
[MJSONWP] Responding to client with driver.findElements() result: [{"ELEMENT":"15"},{"ELEMENT...
[HTTP] <-- POST /wd/hub/session/19155e63-1f20-4da4-be82-64c9c8d1919f/elements 200 936 ms - 277
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Returning result: {"status":0,"value":[{"ELEMENT":"15"},{"ELEMENT":"16"},{"ELEMENT":"17"},{"ELEMENT":"18"},{"ELEMENT":"19"},{"ELEMENT":"20"},{"ELEMENT":"21"},{"ELEMENT":"22"},{"ELEMENT":"23"},{"ELEMENT":"24"},{"ELEMENT":"25"},{"ELEMENT":"26"}]}
[HTTP] --> GET /wd/hub/session/19155e63-1f20-4da4-be82-64c9c8d1919f/element/17/text {}
[MJSONWP] Calling AppiumDriver.getText() with args: ["17","19155e63-1f20-4da4-b...
[debug] [AndroidBootstrap] Sending command to android: {"cmd":"action","action":"element:getText","params":{"elementId":"17"}}
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got data from client: {"cmd":"action","action":"element:getText","params":{"elementId":"17"}}
[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: "Activity"
[HTTP] <-- GET /wd/hub/session/19155e63-1f20-4da4-be82-64c9c8d1919f/element/17/text 200 15 ms - 82
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Returning result: {"status":0,"value":"Activity"}
[HTTP] --> DELETE /wd/hub/session/19155e63-1f20-4da4-be82-64c9c8d1919f {}
[MJSONWP] Calling AppiumDriver.deleteSession() with args: ["19155e63-1f20-4da4-be82-6...
[debug] [AndroidDriver] Shutting down Android driver
[debug] [ADB] Getting connected devices...
[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running /home/tiago/Android/Sdk/platform-tools/adb with args: ["-P",5037,"-s","T099706ZXD","shell","am","force-stop","io.appium.android.apis"]
[debug] [ADB] Getting connected devices...
[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running /home/tiago/Android/Sdk/platform-tools/adb with args: ["-P",5037,"-s","T099706ZXD","shell","am","force-stop","io.appium.unlock"]
[debug] [ADB] Pressing the HOME button
[debug] [ADB] Getting connected devices...
[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running /home/tiago/Android/Sdk/platform-tools/adb with args: ["-P",5037,"-s","T099706ZXD","shell","input","keyevent",3]
[debug] [Logcat] Stopping logcat capture
[debug] [AndroidBootstrap] Sending command to android: {"cmd":"shutdown"}
[debug] [AndroidBootstrap] Received command result from bootstrap
[debug] [UiAutomator] Shutting down UiAutomator
[debug] [UiAutomator] Moving to state 'stopping'
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got data from client: {"cmd":"shutdown"}
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command of type SHUTDOWN
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Returning result: {"status":0,"value":"OK, shutting down"}
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Closed client connection
[debug] [AndroidBootstrap] [UIAUTO STDOUT] INSTRUMENTATION_STATUS: numtests=1
[debug] [AndroidBootstrap] [UIAUTO STDOUT] INSTRUMENTATION_STATUS: stream=.
[debug] [AndroidBootstrap] [UIAUTO STDOUT] INSTRUMENTATION_STATUS: id=UiAutomatorTestRunner
[debug] [AndroidBootstrap] [UIAUTO STDOUT] INSTRUMENTATION_STATUS: test=testRunServer
[debug] [AndroidBootstrap] [UIAUTO STDOUT] INSTRUMENTATION_STATUS: class=io.appium.android.bootstrap.Bootstrap
[debug] [AndroidBootstrap] [UIAUTO STDOUT] INSTRUMENTATION_STATUS: current=1
[debug] [AndroidBootstrap] [UIAUTO STDOUT] INSTRUMENTATION_STATUS_CODE: 0
[debug] [UiAutomator] UiAutomator shut down normally
[debug] [UiAutomator] Moving to state 'stopped'
[debug] [ADB] Attempting to kill all uiautomator processes
[debug] [ADB] Getting all processes with uiautomator
[debug] [ADB] Getting connected devices...
[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running /home/tiago/Android/Sdk/platform-tools/adb with args: ["-P",5037,"-s","T099706ZXD","shell","ps","uiautomator"]
[ADB] No uiautomator process found to kill, continuing...
[debug] [UiAutomator] Moving to state 'stopped'
[Appium] Removing session 19155e63-1f20-4da4-be82-64c9c8d1919f from our master session list
[debug] [MJSONWP] Received response: null
[debug] [MJSONWP] But deleting session, so not returning
[MJSONWP] Responding to client with driver.deleteSession() result: null
[HTTP] <-- DELETE /wd/hub/session/19155e63-1f20-4da4-be82-64c9c8d1919f 200 4812 ms - 76
[HTTP] --> POST /wd/hub/session {"desiredCapabilities":{"deviceName":"Android Emulator","platformName":"Android","app":"/home/tiago/code/appium-sample-code/sample-code/apps/ApiDemos/bin/ApiDemos-debug.apk"}}
[MJSONWP] Calling AppiumDriver.createSession() with args: [{"deviceName":"Android Emu...
[Appium] Creating new AndroidDriver session
[Appium] Capabilities:
[Appium] deviceName: 'Android Emulator'
[Appium] platformName: 'Android'
[Appium] app: '/home/tiago/code/appium-sample-code/sample-code/apps/ApiDemos/bin/ApiDemos-debug.apk'
[BaseDriver] Session created with session id: 84fd8ae7-4918-4b37-8dac-b801dfaf6c1e
[debug] [AndroidDriver] Getting Java version
[AndroidDriver] Java version is: 1.8.0_25
[ADB] Checking whether adb is present
[ADB] Using adb from /home/tiago/Android/Sdk/platform-tools/adb
[AndroidDriver] Retrieving device list
[debug] [ADB] Trying to find a connected android device
[debug] [ADB] Getting connected devices...
[debug] [ADB] 1 device(s) connected
[AndroidDriver] Using device: T099706ZXD
[ADB] Checking whether adb is present
[ADB] Using adb from /home/tiago/Android/Sdk/platform-tools/adb
[debug] [ADB] Setting device id to T099706ZXD
[BaseDriver] Using local app '/home/tiago/code/appium-sample-code/sample-code/apps/ApiDemos/bin/ApiDemos-debug.apk'
[debug] [AndroidDriver] Checking whether app is actually present
[AndroidDriver] Starting Android session
[debug] [ADB] Running /home/tiago/Android/Sdk/platform-tools/adb with args: ["-P",5037,"-s","T099706ZXD","wait-for-device"]
[debug] [ADB] Getting connected devices...
[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running /home/tiago/Android/Sdk/platform-tools/adb with args: ["-P",5037,"-s","T099706ZXD","shell","echo","ping"]
[debug] [Logcat] Starting logcat capture
[debug] [AndroidDriver] Pushing settings apk to device...
[debug] [ADB] Running /home/tiago/Android/Sdk/platform-tools/adb with args: ["-P",5037,"-s","T099706ZXD","install","/home/tiago/code/appium/node_modules/io.appium.settings/bin/settings_apk-debug.apk"]
[debug] [AndroidDriver] Pushing unlock helper app to device...
[debug] [ADB] Running /home/tiago/Android/Sdk/platform-tools/adb with args: ["-P",5037,"-s","T099706ZXD","install","/home/tiago/code/appium/node_modules/appium-unlock/bin/unlock_apk-debug.apk"]
[ADB] Getting device platform version
[debug] [ADB] Getting connected devices...
[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running /home/tiago/Android/Sdk/platform-tools/adb with args: ["-P",5037,"-s","T099706ZXD","shell","getprop","ro.build.version.release"]
[debug] [ADB] Getting connected devices...
[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running /home/tiago/Android/Sdk/platform-tools/adb with args: ["-P",5037,"-s","T099706ZXD","shell","dumpsys","window"]
[AndroidDriver] Screen already unlocked, doing nothing
[debug] [AndroidDriver] Parsing package and activity from app manifest
[ADB] Checking whether aapt is present
[ADB] Using aapt from /home/tiago/Android/Sdk/build-tools/22.0.1/aapt
[ADB] Extracting package and launch activity from manifest
[debug] [ADB] badging package: io.appium.android.apis
[debug] [ADB] badging act: io.appium.android.apis.ApiDemos
[debug] [AndroidDriver] Parsed package and activity are: io.appium.android.apis/io.appium.android.apis.ApiDemos
[AndroidDriver] Remote apk path is /data/local/tmp/29649242b53e9a67ba855b067422713c.apk
[debug] [ADB] Getting connected devices...
[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running /home/tiago/Android/Sdk/platform-tools/adb with args: ["-P",5037,"-s","T099706ZXD","shell","ls","/data/local/tmp/29649242b53e9a67ba855b067422713c.apk"]
[debug] [AndroidDriver] Checking if app is installed
[debug] [ADB] Getting install status for io.appium.android.apis
[debug] [ADB] Getting connected devices...
[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running /home/tiago/Android/Sdk/platform-tools/adb with args: ["-P",5037,"-s","T099706ZXD","shell","getprop","ro.build.version.sdk"]
[debug] [ADB] Device API level: 23
[debug] [ADB] Getting connected devices...
[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running /home/tiago/Android/Sdk/platform-tools/adb with args: ["-P",5037,"-s","T099706ZXD","shell","pm","list","packages","-3","io.appium.android.apis"]
[debug] [ADB] App is installed
[AndroidDriver] Apk is already on remote and installed, resetting
[debug] [AndroidDriver] Running fast reset (stop and clear)
[debug] [ADB] Getting connected devices...
[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running /home/tiago/Android/Sdk/platform-tools/adb with args: ["-P",5037,"-s","T099706ZXD","shell","am","force-stop","io.appium.android.apis"]
[debug] [ADB] Getting connected devices...
[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running /home/tiago/Android/Sdk/platform-tools/adb with args: ["-P",5037,"-s","T099706ZXD","shell","pm","clear","io.appium.android.apis"]
[debug] [AndroidDriver] Extracting strings from apk /home/tiago/code/appium-sample-code/sample-code/apps/ApiDemos/bin/ApiDemos-debug.apk null /tmp/io.appium.android.apis
[debug] [ADB] Extracting strings for language: default
[debug] [ADB] Device API level: 23
[debug] [ADB] Getting connected devices...
[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running /home/tiago/Android/Sdk/platform-tools/adb with args: ["-P",5037,"-s","T099706ZXD","shell","getprop","persist.sys.locale"]
[debug] [ADB] Current device property 'persist.sys.locale': en-US
[debug] [ADB] No strings.xml for language 'en', getting default strings.xml
[debug] [ADB] Reading strings from converted strings.json
[debug] [ADB] Running /home/tiago/Android/Sdk/platform-tools/adb with args: ["-P",5037,"-s","T099706ZXD","push","/tmp/io.appium.android.apis/strings.json","/data/local/tmp"]
[debug] [AndroidBootstrap] Watching for bootstrap disconnect
[debug] [ADB] Forwarding system: 4724 to device: 4724
[debug] [ADB] Running /home/tiago/Android/Sdk/platform-tools/adb with args: ["-P",5037,"-s","T099706ZXD","forward","tcp:4724","tcp:4724"]
[debug] [UiAutomator] Starting UiAutomator
[debug] [UiAutomator] Moving to state 'starting'
[debug] [UiAutomator] Parsing uiautomator jar
[debug] [UiAutomator] Found jar name: 'AppiumBootstrap.jar'
[debug] [ADB] Running /home/tiago/Android/Sdk/platform-tools/adb with args: ["-P",5037,"-s","T099706ZXD","push","/home/tiago/code/appium/node_modules/appium-android-bootstrap/bootstrap/bin/AppiumBootstrap.jar","/data/local/tmp/"]
[debug] [ADB] Attempting to kill all uiautomator processes
[debug] [ADB] Getting all processes with uiautomator
[debug] [ADB] Getting connected devices...
[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running /home/tiago/Android/Sdk/platform-tools/adb with args: ["-P",5037,"-s","T099706ZXD","shell","ps","uiautomator"]
[ADB] No uiautomator process found to kill, continuing...
[debug] [UiAutomator] Starting UIAutomator
[debug] [ADB] Creating ADB subprocess with args: -P, 5037, -s, T099706ZXD, shell, uiautomator, runtest, AppiumBootstrap.jar, -c, io.appium.android.bootstrap.Bootstrap, -e, pkg, io.appium.android.apis, -e, disableAndroidWatchers, false, -e, acceptSslCerts, false
[debug] [UiAutomator] Moving to state 'online'
[AndroidBootstrap] Android bootstrap socket is now connected
[debug] [ADB] Device API level: 23
[debug] [ADB] Getting connected devices...
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] json loading complete.
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Registered crash watchers.
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Client connected
[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running /home/tiago/Android/Sdk/platform-tools/adb with args: ["-P",5037,"-s","T099706ZXD","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 /home/tiago/Android/Sdk/platform-tools/adb with args: ["-P",5037,"-s","T099706ZXD","shell","dumpsys","window","windows"]
[debug] [ADB] Found package: 'io.appium.android.apis' and activity: '.ApiDemos'
[Appium] New AndroidDriver session created successfully, session 84fd8ae7-4918-4b37-8dac-b801dfaf6c1e added to master session list
[MJSONWP] Responding to client with driver.createSession() result: {"platform":"LINUX","webSto...
[HTTP] <-- POST /wd/hub/session 200 15627 ms - 805
[HTTP] --> POST /wd/hub/session/84fd8ae7-4918-4b37-8dac-b801dfaf6c1e/elements {"sessionId":"84fd8ae7-4918-4b37-8dac-b801dfaf6c1e","using":"xpath","value":"//android.widget.TextView"}
[MJSONWP] Calling AppiumDriver.findElements() with args: ["xpath","//android.widget....
[debug] [BaseDriver] Waiting up to 0 ms for condition
[debug] [AndroidBootstrap] Sending command to android: {"cmd":"action","action":"find","params":{"strategy":"xpath","selector":"//android.widget.TextView","context":"","multiple":true}}
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got data from client: {"cmd":"action","action":"find","params":{"strategy":"xpath","selector":"//android.widget.TextView","context":"","multiple":true}}
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command of type ACTION
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command action: find
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Finding '//android.widget.TextView' using 'XPATH' with the contextId: '' multiple: true
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Using: UiSelector[CLASS=android.widget.TextView, INSTANCE=0]
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] getElements selector:UiSelector[CLASS=android.widget.TextView, INSTANCE=0]
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Selector ends with instance.
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Using: UiSelector[CLASS=android.widget.TextView, INSTANCE=1]
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] getElements selector:UiSelector[CLASS=android.widget.TextView, INSTANCE=1]
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Selector ends with instance.
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Using: UiSelector[CLASS=android.widget.TextView, INSTANCE=2]
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] getElements selector:UiSelector[CLASS=android.widget.TextView, INSTANCE=2]
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Selector ends with instance.
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Using: UiSelector[CLASS=android.widget.TextView, INSTANCE=3]
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] getElements selector:UiSelector[CLASS=android.widget.TextView, INSTANCE=3]
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Selector ends with instance.
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Using: UiSelector[CLASS=android.widget.TextView, INSTANCE=4]
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] getElements selector:UiSelector[CLASS=android.widget.TextView, INSTANCE=4]
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Selector ends with instance.
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Using: UiSelector[CLASS=android.widget.TextView, INSTANCE=5]
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] getElements selector:UiSelector[CLASS=android.widget.TextView, INSTANCE=5]
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Selector ends with instance.
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Using: UiSelector[CLASS=android.widget.TextView, INSTANCE=6]
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] getElements selector:UiSelector[CLASS=android.widget.TextView, INSTANCE=6]
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Selector ends with instance.
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Using: UiSelector[CLASS=android.widget.TextView, INSTANCE=7]
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] getElements selector:UiSelector[CLASS=android.widget.TextView, INSTANCE=7]
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Selector ends with instance.
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Using: UiSelector[CLASS=android.widget.TextView, INSTANCE=8]
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] getElements selector:UiSelector[CLASS=android.widget.TextView, INSTANCE=8]
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Selector ends with instance.
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Using: UiSelector[CLASS=android.widget.TextView, INSTANCE=9]
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] getElements selector:UiSelector[CLASS=android.widget.TextView, INSTANCE=9]
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Selector ends with instance.
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Using: UiSelector[CLASS=android.widget.TextView, INSTANCE=10]
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] getElements selector:UiSelector[CLASS=android.widget.TextView, INSTANCE=10]
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Selector ends with instance.
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Using: UiSelector[CLASS=android.widget.TextView, INSTANCE=11]
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] getElements selector:UiSelector[CLASS=android.widget.TextView, INSTANCE=11]
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Selector ends with instance.
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Returning result: {"status":0,"value":[{"ELEMENT":"1"},{"ELEMENT":"2"},{"ELEMENT":"3"},{"ELEMENT":"4"},{"ELEMENT":"5"},{"ELEMENT":"6"},{"ELEMENT":"7"},{"ELEMENT":"8"},{"ELEMENT":"9"},{"ELEMENT":"10"},{"ELEMENT":"11"},{"ELEMENT":"12"}]}
[debug] [AndroidBootstrap] Received command result from bootstrap
[MJSONWP] Responding to client with driver.findElements() result: [{"ELEMENT":"1"},{"ELEMENT"...
[HTTP] <-- POST /wd/hub/session/84fd8ae7-4918-4b37-8dac-b801dfaf6c1e/elements 200 434 ms - 268
[HTTP] --> POST /wd/hub/session/84fd8ae7-4918-4b37-8dac-b801dfaf6c1e/touch/perform {"sessionId":"84fd8ae7-4918-4b37-8dac-b801dfaf6c1e","actions":[{"action":"press","options":{"x":null,"y":null,"element":"8"}},{"action":"moveTo","options":{"x":null,"y":null,"element":"4"}},{"action":"release","options":{}}]}
[MJSONWP] Calling AppiumDriver.performTouch() with args: [[{"action":"press","option...
[debug] [AndroidBootstrap] Sending command to android: {"cmd":"action","action":"element:getLocation","params":{"elementId":"4"}}
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got data from client: {"cmd":"action","action":"element:getLocation","params":{"elementId":"4"}}
[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":0,"y":308}}
[debug] [AndroidBootstrap] Received command result from bootstrap
[debug] [AndroidBootstrap] Sending command to android: {"cmd":"action","action":"element:getSize","params":{"elementId":"4"}}
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got data from client: {"cmd":"action","action":"element:getSize","params":{"elementId":"4"}}
[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":720,"height":96}}
[debug] [AndroidBootstrap] Received command result from bootstrap
[debug] [AndroidBootstrap] Sending command to android: {"cmd":"action","action":"element:getLocation","params":{"elementId":"8"}}
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got data from client: {"cmd":"action","action":"element:getLocation","params":{"elementId":"8"}}
[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":0,"y":700}}
[debug] [AndroidBootstrap] Received command result from bootstrap
[debug] [AndroidBootstrap] Sending command to android: {"cmd":"action","action":"element:getSize","params":{"elementId":"8"}}
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got data from client: {"cmd":"action","action":"element:getSize","params":{"elementId":"8"}}
[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":720,"height":96}}
[debug] [AndroidBootstrap] Received command result from bootstrap
[debug] [AndroidBootstrap] Sending command to android: {"cmd":"action","action":"element:getLocation","params":{"elementId":"4"}}
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got data from client: {"cmd":"action","action":"element:getLocation","params":{"elementId":"4"}}
[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":0,"y":308}}
[debug] [AndroidBootstrap] Received command result from bootstrap
[debug] [AndroidBootstrap] Sending command to android: {"cmd":"action","action":"element:getSize","params":{"elementId":"4"}}
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got data from client: {"cmd":"action","action":"element:getSize","params":{"elementId":"4"}}
[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":720,"height":96}}
[debug] [AndroidBootstrap] Received command result from bootstrap
[debug] [AndroidBootstrap] Sending command to android: {"cmd":"action","action":"element:touchDown","params":{"elementId":"8","x":360,"y":748}}
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got data from client: {"cmd":"action","action":"element:touchDown","params":{"elementId":"8","x":360,"y":748}}
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command of type ACTION
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command action: touchDown
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Performing TouchDown using element? true x: 360, y: 748
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Returning result: {"status":0,"value":true}
[debug] [AndroidBootstrap] Received command result from bootstrap
[debug] [AndroidBootstrap] Sending command to android: {"cmd":"action","action":"element:touchMove","params":{"elementId":"4","x":360,"y":356}}
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got data from client: {"cmd":"action","action":"element:touchMove","params":{"elementId":"4","x":360,"y":356}}
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command of type ACTION
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command action: touchMove
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Performing TouchMove using element? true x: 360, y: 356
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Returning result: {"status":0,"value":true}
[debug] [AndroidBootstrap] Received command result from bootstrap
[debug] [AndroidBootstrap] Sending command to android: {"cmd":"action","action":"element:touchUp","params":{"x":360,"y":356}}
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got data from client: {"cmd":"action","action":"element:touchUp","params":{"x":360,"y":356}}
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command of type ACTION
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command action: touchUp
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Display bounds: [0,0][720,1184]
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Performing TouchUp using element? false x: 360, y: 356
[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/84fd8ae7-4918-4b37-8dac-b801dfaf6c1e/touch/perform 200 208 ms - 76
[HTTP] --> POST /wd/hub/session/84fd8ae7-4918-4b37-8dac-b801dfaf6c1e/element {"sessionId":"84fd8ae7-4918-4b37-8dac-b801dfaf6c1e","using":"accessibility id","value":"Views"}
[MJSONWP] Calling AppiumDriver.findElement() with args: ["accessibility id","Views"...
[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: {"status":0,"value":{"ELEMENT":"13"}}
[debug] [AndroidBootstrap] Received command result from bootstrap
[MJSONWP] Responding to client with driver.findElement() result: {"ELEMENT":"13"}
[HTTP] <-- POST /wd/hub/session/84fd8ae7-4918-4b37-8dac-b801dfaf6c1e/element 200 602 ms - 88
[HTTP] --> DELETE /wd/hub/session/84fd8ae7-4918-4b37-8dac-b801dfaf6c1e {}
[MJSONWP] Calling AppiumDriver.deleteSession() with args: ["84fd8ae7-4918-4b37-8dac-b...
[debug] [AndroidDriver] Shutting down Android driver
[debug] [ADB] Getting connected devices...
[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running /home/tiago/Android/Sdk/platform-tools/adb with args: ["-P",5037,"-s","T099706ZXD","shell","am","force-stop","io.appium.android.apis"]
[debug] [ADB] Getting connected devices...
[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running /home/tiago/Android/Sdk/platform-tools/adb with args: ["-P",5037,"-s","T099706ZXD","shell","am","force-stop","io.appium.unlock"]
[debug] [ADB] Pressing the HOME button
[debug] [ADB] Getting connected devices...
[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running /home/tiago/Android/Sdk/platform-tools/adb with args: ["-P",5037,"-s","T099706ZXD","shell","input","keyevent",3]
[debug] [Logcat] Stopping logcat capture
[debug] [AndroidBootstrap] Sending command to android: {"cmd":"shutdown"}
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got data from client: {"cmd":"shutdown"}
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command of type SHUTDOWN
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Returning result: {"status":0,"value":"OK, shutting down"}
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Closed client connection
[debug] [AndroidBootstrap] Received command result from bootstrap
[debug] [UiAutomator] Shutting down UiAutomator
[debug] [UiAutomator] Moving to state 'stopping'
[debug] [AndroidBootstrap] [UIAUTO STDOUT] INSTRUMENTATION_STATUS: numtests=1
[debug] [AndroidBootstrap] [UIAUTO STDOUT] INSTRUMENTATION_STATUS: stream=.
[debug] [AndroidBootstrap] [UIAUTO STDOUT] INSTRUMENTATION_STATUS: id=UiAutomatorTestRunner
[debug] [AndroidBootstrap] [UIAUTO STDOUT] INSTRUMENTATION_STATUS: test=testRunServer
[debug] [UiAutomator] UiAutomator shut down normally
[debug] [UiAutomator] Moving to state 'stopped'
[debug] [ADB] Attempting to kill all uiautomator processes
[debug] [ADB] Getting all processes with uiautomator
[debug] [ADB] Getting connected devices...
[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running /home/tiago/Android/Sdk/platform-tools/adb with args: ["-P",5037,"-s","T099706ZXD","shell","ps","uiautomator"]
[ADB] No uiautomator process found to kill, continuing...
[debug] [UiAutomator] Moving to state 'stopped'
[Appium] Removing session 84fd8ae7-4918-4b37-8dac-b801dfaf6c1e from our master session list
[debug] [MJSONWP] Received response: null
[debug] [MJSONWP] But deleting session, so not returning
[MJSONWP] Responding to client with driver.deleteSession() result: null
[HTTP] <-- DELETE /wd/hub/session/84fd8ae7-4918-4b37-8dac-b801dfaf6c1e 200 4498 ms - 76
[HTTP] --> POST /wd/hub/session {"desiredCapabilities":{"deviceName":"Android Emulator","platformName":"Android","app":"/home/tiago/code/appium-sample-code/sample-code/apps/ApiDemos/bin/ApiDemos-debug.apk"}}
[MJSONWP] Calling AppiumDriver.createSession() with args: [{"deviceName":"Android Emu...
[Appium] Creating new AndroidDriver session
[Appium] Capabilities:
[Appium] deviceName: 'Android Emulator'
[Appium] platformName: 'Android'
[Appium] app: '/home/tiago/code/appium-sample-code/sample-code/apps/ApiDemos/bin/ApiDemos-debug.apk'
[BaseDriver] Session created with session id: 76e5991a-3729-458f-858f-92b42b0d1a7c
[debug] [AndroidDriver] Getting Java version
[AndroidDriver] Java version is: 1.8.0_25
[ADB] Checking whether adb is present
[ADB] Using adb from /home/tiago/Android/Sdk/platform-tools/adb
[AndroidDriver] Retrieving device list
[debug] [ADB] Trying to find a connected android device
[debug] [ADB] Getting connected devices...
[debug] [ADB] 1 device(s) connected
[AndroidDriver] Using device: T099706ZXD
[ADB] Checking whether adb is present
[ADB] Using adb from /home/tiago/Android/Sdk/platform-tools/adb
[debug] [ADB] Setting device id to T099706ZXD
[BaseDriver] Using local app '/home/tiago/code/appium-sample-code/sample-code/apps/ApiDemos/bin/ApiDemos-debug.apk'
[debug] [AndroidDriver] Checking whether app is actually present
[AndroidDriver] Starting Android session
[debug] [ADB] Running /home/tiago/Android/Sdk/platform-tools/adb with args: ["-P",5037,"-s","T099706ZXD","wait-for-device"]
[debug] [ADB] Getting connected devices...
[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running /home/tiago/Android/Sdk/platform-tools/adb with args: ["-P",5037,"-s","T099706ZXD","shell","echo","ping"]
[debug] [Logcat] Starting logcat capture
[debug] [AndroidDriver] Pushing settings apk to device...
[debug] [ADB] Running /home/tiago/Android/Sdk/platform-tools/adb with args: ["-P",5037,"-s","T099706ZXD","install","/home/tiago/code/appium/node_modules/io.appium.settings/bin/settings_apk-debug.apk"]
[debug] [AndroidDriver] Pushing unlock helper app to device...
[debug] [ADB] Running /home/tiago/Android/Sdk/platform-tools/adb with args: ["-P",5037,"-s","T099706ZXD","install","/home/tiago/code/appium/node_modules/appium-unlock/bin/unlock_apk-debug.apk"]
[ADB] Getting device platform version
[debug] [ADB] Getting connected devices...
[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running /home/tiago/Android/Sdk/platform-tools/adb with args: ["-P",5037,"-s","T099706ZXD","shell","getprop","ro.build.version.release"]
[debug] [ADB] Getting connected devices...
[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running /home/tiago/Android/Sdk/platform-tools/adb with args: ["-P",5037,"-s","T099706ZXD","shell","dumpsys","window"]
[AndroidDriver] Screen already unlocked, doing nothing
[debug] [AndroidDriver] Parsing package and activity from app manifest
[ADB] Checking whether aapt is present
[ADB] Using aapt from /home/tiago/Android/Sdk/build-tools/22.0.1/aapt
[ADB] Extracting package and launch activity from manifest
[debug] [ADB] badging package: io.appium.android.apis
[debug] [ADB] badging act: io.appium.android.apis.ApiDemos
[debug] [AndroidDriver] Parsed package and activity are: io.appium.android.apis/io.appium.android.apis.ApiDemos
[AndroidDriver] Remote apk path is /data/local/tmp/29649242b53e9a67ba855b067422713c.apk
[debug] [ADB] Getting connected devices...
[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running /home/tiago/Android/Sdk/platform-tools/adb with args: ["-P",5037,"-s","T099706ZXD","shell","ls","/data/local/tmp/29649242b53e9a67ba855b067422713c.apk"]
[debug] [AndroidDriver] Checking if app is installed
[debug] [ADB] Getting install status for io.appium.android.apis
[debug] [ADB] Getting connected devices...
[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running /home/tiago/Android/Sdk/platform-tools/adb with args: ["-P",5037,"-s","T099706ZXD","shell","getprop","ro.build.version.sdk"]
[debug] [ADB] Device API level: 23
[debug] [ADB] Getting connected devices...
[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running /home/tiago/Android/Sdk/platform-tools/adb with args: ["-P",5037,"-s","T099706ZXD","shell","pm","list","packages","-3","io.appium.android.apis"]
[debug] [ADB] App is installed
[AndroidDriver] Apk is already on remote and installed, resetting
[debug] [AndroidDriver] Running fast reset (stop and clear)
[debug] [ADB] Getting connected devices...
[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running /home/tiago/Android/Sdk/platform-tools/adb with args: ["-P",5037,"-s","T099706ZXD","shell","am","force-stop","io.appium.android.apis"]
[debug] [ADB] Getting connected devices...
[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running /home/tiago/Android/Sdk/platform-tools/adb with args: ["-P",5037,"-s","T099706ZXD","shell","pm","clear","io.appium.android.apis"]
[debug] [AndroidDriver] Extracting strings from apk /home/tiago/code/appium-sample-code/sample-code/apps/ApiDemos/bin/ApiDemos-debug.apk null /tmp/io.appium.android.apis
[debug] [ADB] Extracting strings for language: default
[debug] [ADB] Device API level: 23
[debug] [ADB] Getting connected devices...
[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running /home/tiago/Android/Sdk/platform-tools/adb with args: ["-P",5037,"-s","T099706ZXD","shell","getprop","persist.sys.locale"]
[debug] [ADB] Current device property 'persist.sys.locale': en-US
[debug] [ADB] No strings.xml for language 'en', getting default strings.xml
[debug] [ADB] Reading strings from converted strings.json
[debug] [ADB] Running /home/tiago/Android/Sdk/platform-tools/adb with args: ["-P",5037,"-s","T099706ZXD","push","/tmp/io.appium.android.apis/strings.json","/data/local/tmp"]
[debug] [AndroidBootstrap] Watching for bootstrap disconnect
[debug] [ADB] Forwarding system: 4724 to device: 4724
[debug] [ADB] Running /home/tiago/Android/Sdk/platform-tools/adb with args: ["-P",5037,"-s","T099706ZXD","forward","tcp:4724","tcp:4724"]
[debug] [UiAutomator] Starting UiAutomator
[debug] [UiAutomator] Moving to state 'starting'
[debug] [UiAutomator] Parsing uiautomator jar
[debug] [UiAutomator] Found jar name: 'AppiumBootstrap.jar'
[debug] [ADB] Running /home/tiago/Android/Sdk/platform-tools/adb with args: ["-P",5037,"-s","T099706ZXD","push","/home/tiago/code/appium/node_modules/appium-android-bootstrap/bootstrap/bin/AppiumBootstrap.jar","/data/local/tmp/"]
[debug] [ADB] Attempting to kill all uiautomator processes
[debug] [ADB] Getting all processes with uiautomator
[debug] [ADB] Getting connected devices...
[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running /home/tiago/Android/Sdk/platform-tools/adb with args: ["-P",5037,"-s","T099706ZXD","shell","ps","uiautomator"]
[ADB] No uiautomator process found to kill, continuing...
[debug] [UiAutomator] Starting UIAutomator
[debug] [ADB] Creating ADB subprocess with args: -P, 5037, -s, T099706ZXD, shell, uiautomator, runtest, AppiumBootstrap.jar, -c, io.appium.android.bootstrap.Bootstrap, -e, pkg, io.appium.android.apis, -e, disableAndroidWatchers, false, -e, acceptSslCerts, false
[debug] [UiAutomator] Moving to state 'online'
[AndroidBootstrap] Android bootstrap socket is now connected
[debug] [ADB] Device API level: 23
[debug] [ADB] Getting connected devices...
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] json loading complete.
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Registered crash watchers.
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Client connected
[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running /home/tiago/Android/Sdk/platform-tools/adb with args: ["-P",5037,"-s","T099706ZXD","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 /home/tiago/Android/Sdk/platform-tools/adb with args: ["-P",5037,"-s","T099706ZXD","shell","dumpsys","window","windows"]
[debug] [ADB] Found package: 'io.appium.android.apis' and activity: '.ApiDemos'
[Appium] New AndroidDriver session created successfully, session 76e5991a-3729-458f-858f-92b42b0d1a7c added to master session list
[MJSONWP] Responding to client with driver.createSession() result: {"platform":"LINUX","webSto...
[HTTP] <-- POST /wd/hub/session 200 14808 ms - 805
[HTTP] --> POST /wd/hub/session/76e5991a-3729-458f-858f-92b42b0d1a7c/element {"sessionId":"76e5991a-3729-458f-858f-92b42b0d1a7c","using":"accessibility id","value":"Graphics"}
[MJSONWP] Calling AppiumDriver.findElement() with args: ["accessibility id","Graphi...
[debug] [BaseDriver] Waiting up to 0 ms for condition
[debug] [AndroidBootstrap] Sending command to android: {"cmd":"action","action":"find","params":{"strategy":"accessibility id","selector":"Graphics","context":"","multiple":false}}
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got data from client: {"cmd":"action","action":"find","params":{"strategy":"accessibility id","selector":"Graphics","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 'Graphics' using 'ACCESSIBILITY_ID' with the contextId: '' multiple: false
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Using: UiSelector[DESCRIPTION=Graphics, INSTANCE=0]
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Returning result: {"status":0,"value":{"ELEMENT":"1"}}
[debug] [AndroidBootstrap] Received command result from bootstrap
[MJSONWP] Responding to client with driver.findElement() result: {"ELEMENT":"1"}
[HTTP] <-- POST /wd/hub/session/76e5991a-3729-458f-858f-92b42b0d1a7c/element 200 165 ms - 87
[HTTP] --> POST /wd/hub/session/76e5991a-3729-458f-858f-92b42b0d1a7c/element/1/click {"sessionId":"76e5991a-3729-458f-858f-92b42b0d1a7c","id":"1"}
[MJSONWP] Calling AppiumDriver.click() with args: ["1","76e5991a-3729-458f-85...
[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: {"status":0,"value":true}
[debug] [AndroidBootstrap] Received command result from bootstrap
[MJSONWP] Responding to client with driver.click() result: true
[HTTP] <-- POST /wd/hub/session/76e5991a-3729-458f-858f-92b42b0d1a7c/element/1/click 200 154 ms - 76
[HTTP] --> POST /wd/hub/session/76e5991a-3729-458f-858f-92b42b0d1a7c/elements {"sessionId":"76e5991a-3729-458f-858f-92b42b0d1a7c","using":"class name","value":"android.widget.TextView"}
[MJSONWP] Calling AppiumDriver.findElements() with args: ["class name","android.widg...
[debug] [BaseDriver] Waiting up to 0 ms for condition
[debug] [AndroidBootstrap] Sending command to android: {"cmd":"action","action":"find","params":{"strategy":"class name","selector":"android.widget.TextView","context":"","multiple":true}}
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got data from client: {"cmd":"action","action":"find","params":{"strategy":"class name","selector":"android.widget.TextView","context":"","multiple":true}}
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command of type ACTION
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command action: find
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Finding 'android.widget.TextView' using 'CLASS_NAME' with the contextId: '' multiple: true
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Using: UiSelector[CLASS=android.widget.TextView]
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] getElements selector:UiSelector[CLASS=android.widget.TextView]
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Element[] is null: (0)
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] getElements tmp selector:UiSelector[CLASS=android.widget.TextView, INSTANCE=0]
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Element[] is null: (1)
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] getElements tmp selector:UiSelector[CLASS=android.widget.TextView, INSTANCE=1]
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Element[] is null: (2)
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] getElements tmp selector:UiSelector[CLASS=android.widget.TextView, INSTANCE=2]
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Element[] is null: (3)
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] getElements tmp selector:UiSelector[CLASS=android.widget.TextView, INSTANCE=3]
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Element[] is null: (4)
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] getElements tmp selector:UiSelector[CLASS=android.widget.TextView, INSTANCE=4]
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Element[] is null: (5)
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] getElements tmp selector:UiSelector[CLASS=android.widget.TextView, INSTANCE=5]
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Element[] is null: (6)
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] getElements tmp selector:UiSelector[CLASS=android.widget.TextView, INSTANCE=6]
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Element[] is null: (7)
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] getElements tmp selector:UiSelector[CLASS=android.widget.TextView, INSTANCE=7]
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Element[] is null: (8)
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] getElements tmp selector:UiSelector[CLASS=android.widget.TextView, INSTANCE=8]
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Element[] is null: (9)
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] getElements tmp selector:UiSelector[CLASS=android.widget.TextView, INSTANCE=9]
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Element[] is null: (10)
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] getElements tmp selector:UiSelector[CLASS=android.widget.TextView, INSTANCE=10]
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Element[] is null: (11)
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] getElements tmp selector:UiSelector[CLASS=android.widget.TextView, INSTANCE=11]
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Element[] is null: (12)
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] getElements tmp selector:UiSelector[CLASS=android.widget.TextView, INSTANCE=12]
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Returning result: {"status":0,"value":[{"ELEMENT":"2"},{"ELEMENT":"3"},{"ELEMENT":"4"},{"ELEMENT":"5"},{"ELEMENT":"6"},{"ELEMENT":"7"},{"ELEMENT":"8"},{"ELEMENT":"9"},{"ELEMENT":"10"},{"ELEMENT":"11"},{"ELEMENT":"12"},{"ELEMENT":"13"}]}
[debug] [AndroidBootstrap] Received command result from bootstrap
[MJSONWP] Responding to client with driver.findElements() result: [{"ELEMENT":"2"},{"ELEMENT"...
[HTTP] <-- POST /wd/hub/session/76e5991a-3729-458f-858f-92b42b0d1a7c/elements 200 1070 ms - 269
[HTTP] --> POST /wd/hub/session/76e5991a-3729-458f-858f-92b42b0d1a7c/touch/perform {"sessionId":"76e5991a-3729-458f-858f-92b42b0d1a7c","actions":[{"action":"press","options":{"x":null,"y":null,"element":"13"}},{"action":"moveTo","options":{"x":null,"y":null,"element":"2"}},{"action":"release","options":{}}]}
[MJSONWP] Calling AppiumDriver.performTouch() with args: [[{"action":"press","option...
[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: {"status":0,"value":{"x":32,"y":29}}
[debug] [AndroidBootstrap] Received command result from bootstrap
[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: {"status":0,"value":{"width":200,"height":54}}
[debug] [AndroidBootstrap] Received command result from bootstrap
[debug] [AndroidBootstrap] Sending command to android: {"cmd":"action","action":"element:getLocation","params":{"elementId":"13"}}
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got data from client: {"cmd":"action","action":"element:getLocation","params":{"elementId":"13"}}
[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":0,"y":1092}}
[debug] [AndroidBootstrap] Received command result from bootstrap
[debug] [AndroidBootstrap] Sending command to android: {"cmd":"action","action":"element:getSize","params":{"elementId":"13"}}
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got data from client: {"cmd":"action","action":"element:getSize","params":{"elementId":"13"}}
[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":720,"height":92}}
[debug] [AndroidBootstrap] Received command result from bootstrap
[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: {"status":0,"value":{"x":32,"y":29}}
[debug] [AndroidBootstrap] Received command result from bootstrap
[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: {"status":0,"value":{"width":200,"height":54}}
[debug] [AndroidBootstrap] Received command result from bootstrap
[debug] [AndroidBootstrap] Sending command to android: {"cmd":"action","action":"element:touchDown","params":{"elementId":"13","x":360,"y":1138}}
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got data from client: {"cmd":"action","action":"element:touchDown","params":{"elementId":"13","x":360,"y":1138}}
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command of type ACTION
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command action: touchDown
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Performing TouchDown using element? true x: 360, y: 1138
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Returning result: {"status":0,"value":true}
[debug] [AndroidBootstrap] Received command result from bootstrap
[debug] [AndroidBootstrap] Sending command to android: {"cmd":"action","action":"element:touchMove","params":{"elementId":"2","x":132,"y":56}}
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got data from client: {"cmd":"action","action":"element:touchMove","params":{"elementId":"2","x":132,"y":56}}
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command of type ACTION
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command action: touchMove
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Performing TouchMove using element? true x: 132, y: 56
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Returning result: {"status":0,"value":true}
[debug] [AndroidBootstrap] Received command result from bootstrap
[debug] [AndroidBootstrap] Sending command to android: {"cmd":"action","action":"element:touchUp","params":{"x":132,"y":56}}
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got data from client: {"cmd":"action","action":"element:touchUp","params":{"x":132,"y":56}}
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command of type ACTION
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command action: touchUp
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Display bounds: [0,0][720,1184]
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Performing TouchUp using element? false x: 132, y: 56
[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/76e5991a-3729-458f-858f-92b42b0d1a7c/touch/perform 200 199 ms - 76
[HTTP] --> POST /wd/hub/session/76e5991a-3729-458f-858f-92b42b0d1a7c/element {"sessionId":"76e5991a-3729-458f-858f-92b42b0d1a7c","using":"accessibility id","value":"Touch Paint"}
[MJSONWP] Calling AppiumDriver.findElement() with args: ["accessibility id","Touch ...
[debug] [BaseDriver] Waiting up to 0 ms for condition
[debug] [AndroidBootstrap] Sending command to android: {"cmd":"action","action":"find","params":{"strategy":"accessibility id","selector":"Touch Paint","context":"","multiple":false}}
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got data from client: {"cmd":"action","action":"find","params":{"strategy":"accessibility id","selector":"Touch Paint","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 'Touch Paint' using 'ACCESSIBILITY_ID' with the contextId: '' multiple: false
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Using: UiSelector[DESCRIPTION=Touch Paint, INSTANCE=0]
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Returning result: {"status":0,"value":{"ELEMENT":"14"}}
[debug] [AndroidBootstrap] Received command result from bootstrap
[MJSONWP] Responding to client with driver.findElement() result: {"ELEMENT":"14"}
[HTTP] <-- POST /wd/hub/session/76e5991a-3729-458f-858f-92b42b0d1a7c/element 200 828 ms - 88
[HTTP] --> POST /wd/hub/session/76e5991a-3729-458f-858f-92b42b0d1a7c/element/14/click {"sessionId":"76e5991a-3729-458f-858f-92b42b0d1a7c","id":"14"}
[MJSONWP] Calling AppiumDriver.click() with args: ["14","76e5991a-3729-458f-8...
[debug] [AndroidBootstrap] Sending command to android: {"cmd":"action","action":"element:click","params":{"elementId":"14"}}
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got data from client: {"cmd":"action","action":"element:click","params":{"elementId":"14"}}
[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.click() result: true
[HTTP] <-- POST /wd/hub/session/76e5991a-3729-458f-858f-92b42b0d1a7c/element/14/click 200 342 ms - 76
[HTTP] --> POST /wd/hub/session/76e5991a-3729-458f-858f-92b42b0d1a7c/touch/multi/perform {"sessionId":"76e5991a-3729-458f-858f-92b42b0d1a7c","actions":[[{"action":"press","options":{"x":150,"y":100}},{"action":"release","options":{}}],[{"action":"press","options":{"x":250,"y":100}},{"action":"release","options":{}}],[{"action":"press","options":{"x":110,"y":200}},{"action":"moveTo","options":{"x":1,"y":1}},{"action":"moveTo","options":{"x":1,"y":1}},{"action":"moveTo","options":{"x":1,"y":1}},{"action":"moveTo","options":{"x":1,"y":1}},{"action":"moveTo","options":{"x":1,"y":1}},{"action":"moveTo","options":{"x":2,"y":1}},{"action":"moveTo","options":{"x":2,"y":1}},{"action":"moveTo","options":{"x":2,"y":1}},{"action":"moveTo","options":{"x":2,"y":1}},{"action":"moveTo","options":{"x":2,"y":1}},{"action":"moveTo","options":{"x":3,"y":1}},{"action":"moveTo","options":{"x":3,"y":1}},{"action":"moveTo","options":{"x":3,"y":1}},{"action":"moveTo","options":{"x":3,"y":1}},{"action":"moveTo","options":{"x":3,"y":1}},{"action":"moveTo","options":{"x":4,"y":1}},{"action":"moveTo",
[MJSONWP] Calling AppiumDriver.performMultiAction() with args: [[[{"action":"press","optio...
[debug] [AndroidBootstrap] Sending command to android: {"cmd":"action","action":"performMultiPointerGesture","params":{"actions":[[{"action":"press","time":0.005,"touch":{"x":150,"y":100}}],[{"action":"press","time":0.005,"touch":{"x":250,"y":100}}],[{"action":"press","time":0.005,"touch":{"x":110,"y":200}},{"action":"moveTo","time":0.01,"touch":{"x":111,"y":201}},{"action":"moveTo","time":0.015,"touch":{"x":112,"y":202}},{"action":"moveTo","time":0.02,"touch":{"x":113,"y":203}},{"action":"moveTo","time":0.025,"touch":{"x":114,"y":204}},{"action":"moveTo","time":0.03,"touch":{"x":115,"y":205}},{"action":"moveTo","time":0.035,"touch":{"x":117,"y":206}},{"action":"moveTo","time":0.04,"touch":{"x":119,"y":207}},{"action":"moveTo","time":0.045,"touch":{"x":121,"y":208}},{"action":"moveTo","time":0.049,"touch":{"x":123,"y":209}},{"action":"moveTo","time":0.054,"touch":{"x":125,"y":210}},{"action":"moveTo","time":0.059,"touch":{"x":128,"y":211}},{"action":"moveTo","time":0.064,"touch":{"x":131,"y":212}},{"action":"moveTo","time":0.069,"touch"...
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got data from client: {"cmd":"action","action":"performMultiPointerGesture","params":{"actions":[[{"action":"press","time":0.005,"touch":{"x":150,"y":100}}],[{"action":"press","time":0.005,"touch":{"x":250,"y":100}}],[{"action":"press","time":0.005,"touch":{"x":110,"y":200}},{"action":"moveTo","time":0.01,"touch":{"x":111,"y":201}},{"action":"moveTo","time":0.015,"touch":{"x":112,"y":202}},{"action":"moveTo","time":0.02,"touch":{"x":113,"y":203}},{"action":"moveTo","time":0.025,"touch":{"x":114,"y":204}},{"action":"moveTo","time":0.03,"touch":{"x":115,"y":205}},{"action":"moveTo","time":0.035,"touch":{"x":117,"y":206}},{"action":"moveTo","time":0.04,"touch":{"x":119,"y":207}},{"action":"moveTo","time":0.045,"touch":{"x":121,"y":208}},{"action":"moveTo","time":0.049,"touch":{"x":123,"y":209}},{"action":"moveTo","time":0.054,"touch":{"x":125,"y":210}},{"action":"moveTo","time":0.059,"touch":{"x":128,"y":211}},{"action":"moveTo","time":0.064,"touch":{"x":131,"y":212}},{"action":"moveTo","time":0.069,"touch":{"x":134,"y":213}},{"action":"moveTo","time":0.075,"touch":{"x":137,"y":214}},{"action":"moveTo","time":0.08,"touch":{"x":140,"y":215}},{"action":"moveTo","time":0.085,"touch":{"x":144,"y":216}},{"action":"moveTo","time":0.09,"touch":{"x":148,"y":217}},{"action":"moveTo","time":0.095,"touch":{"x":152,"y":218}},{"action":"moveTo","time":0.1,"touch":{"x":156,"y":219}},{"action":"moveTo","time":0.105,"touch":{"x":160,"y":220}},{"action":"moveTo","time":0.11,"touch":{"x":165,"y":221}},{"action":"moveTo","time":0.115,"touch":{"x":170,"y":222}},{"action":"moveTo","time":0.12,"touch":{"x":175,"y":223}},{"action":"moveTo","time":0.125,"touch":{"x":180,"y":224}},{"action":"moveTo","time":0.13,"touch":{"x":185,"y":225}},{"action":"moveTo","time":0.135,"touch":{"x":190,"y":225}},{"action":"moveTo","time":0.14,"touch":{"x":195,"y":225}},{"action":"moveTo","time":0.145,"touch":{"x":200,"y":225}},{"action":"moveTo","time":0.15,"touch":{"x":205,"y":225}},{"action":"moveTo","time":0.155,"touch":{"x":210,"y":225}},{"action":"moveTo","time":0.16,"touch":{"x":215,"y":225}},{"action":"moveTo","time":0.165,"touch":{"x":220,"y":225}},{"action":"moveTo","time":0.17,"touch":{"x":225,"y":225}},{"action":"moveTo","time":0.175,"touch":{"x":230,"y":224}},{"action":"moveTo","time":0.18,"touch":{"x":235,"y":223}},{"action":"moveTo","time":0.185,"touch":{"x":240,"y":222}},{"action":"moveTo","time":0.19,"touch":{"x":245,"y":221}},{"action":"moveTo","time":0.195,"touch":{"x":250,"y":220}},{"action":"moveTo","time":0.2,"touch":{"x":254,"y":219}},{"action":"moveTo","time":0.205,"touch":{"x":258,"y":218}},{"action":"moveTo","time":0.21,"touch":{"x":262,"y":217}},{"action":"moveTo","time":0.215,"touch":{"x":266,"y":216}},{"action":"moveTo","time":0.22,"touch":{"x":270,"y":215}},{"action":"moveTo","time":0.225,"touch":{"x":273,"y":214}},{"action":"moveTo","time":0.23,"touch":{"x":276,"y":213}},{"action":"moveTo","time":0.235,"touch":{"x":279,"y":212}},{"action":"moveTo","time":0.24,"touch":{"x":282,"y":211}},{"action":"moveTo","time":0.245,"touch":{"x":285,"y":210}},{"action":"moveTo","time":0.25,"touch":{"x":287,"y":209}},{"action":"moveTo","time":0.255,"touch":{"x":289,"y":208}},{"action":"moveTo","time":0.26,"touch":{"x":291,"y":207}},{"action":"moveTo","time":0.265,"touch":{"x":293,"y":206}},{"action":"moveTo","time":0.27,"touch":{"x":295,"y":205}},{"action":"moveTo","time":0.275,"touch":{"x":296,"y":204}},{"action":"moveTo","time":0.28,"touch":{"x":297,"y":203}},{"action":"moveTo","time":0.285,"touch":{"x":298,"y":202}},{"action":"moveTo","time":0.29,"touch":{"x":299,"y":201}},{"action":"moveTo","time":0.295,"touch":{"x":300,"y":200}}]]}}
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command of type ACTION
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command action: performMultiPointerGesture
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Returning result: {"status":13,"value":"Unable to perform multi pointer gesture"}
[debug] [AndroidBootstrap] Received command result from bootstrap
[HTTP] <-- POST /wd/hub/session/76e5991a-3729-458f-858f-92b42b0d1a7c/touch/multi/perform 500 416 ms - 154
[HTTP] --> DELETE /wd/hub/session/76e5991a-3729-458f-858f-92b42b0d1a7c {}
[MJSONWP] Calling AppiumDriver.deleteSession() with args: ["76e5991a-3729-458f-858f-9...
[debug] [AndroidDriver] Shutting down Android driver
[debug] [ADB] Getting connected devices...
[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running /home/tiago/Android/Sdk/platform-tools/adb with args: ["-P",5037,"-s","T099706ZXD","shell","am","force-stop","io.appium.android.apis"]
[debug] [ADB] Getting connected devices...
[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running /home/tiago/Android/Sdk/platform-tools/adb with args: ["-P",5037,"-s","T099706ZXD","shell","am","force-stop","io.appium.unlock"]
[debug] [ADB] Pressing the HOME button
[debug] [ADB] Getting connected devices...
[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running /home/tiago/Android/Sdk/platform-tools/adb with args: ["-P",5037,"-s","T099706ZXD","shell","input","keyevent",3]
[debug] [Logcat] Stopping logcat capture
[debug] [AndroidBootstrap] Sending command to android: {"cmd":"shutdown"}
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got data from client: {"cmd":"shutdown"}
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command of type SHUTDOWN
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Returning result: {"status":0,"value":"OK, shutting down"}
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Closed client connection
[debug] [AndroidBootstrap] [UIAUTO STDOUT] INSTRUMENTATION_STATUS: numtests=1
[debug] [AndroidBootstrap] [UIAUTO STDOUT] INSTRUMENTATION_STATUS: stream=.
[debug] [AndroidBootstrap] [UIAUTO STDOUT] INSTRUMENTATION_STATUS: id=UiAutomatorTestRunner
[debug] [AndroidBootstrap] Received command result from bootstrap
[debug] [UiAutomator] Shutting down UiAutomator
[debug] [UiAutomator] Moving to state 'stopping'
[debug] [AndroidBootstrap] [UIAUTO STDOUT] INSTRUMENTATION_STATUS: test=testRunServer
[debug] [AndroidBootstrap] [UIAUTO STDOUT] INSTRUMENTATION_STATUS: class=io.appium.android.bootstrap.Bootstrap
[debug] [AndroidBootstrap] [UIAUTO STDOUT] INSTRUMENTATION_STATUS: current=1
[debug] [AndroidBootstrap] [UIAUTO STDOUT] INSTRUMENTATION_STATUS_CODE: 0
[debug] [UiAutomator] UiAutomator shut down normally
[debug] [UiAutomator] Moving to state 'stopped'
[debug] [ADB] Attempting to kill all uiautomator processes
[debug] [ADB] Getting all processes with uiautomator
[debug] [ADB] Getting connected devices...
[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running /home/tiago/Android/Sdk/platform-tools/adb with args: ["-P",5037,"-s","T099706ZXD","shell","ps","uiautomator"]
[ADB] No uiautomator process found to kill, continuing...
[debug] [UiAutomator] Moving to state 'stopped'
[Appium] Removing session 76e5991a-3729-458f-858f-92b42b0d1a7c from our master session list
[debug] [MJSONWP] Received response: null
[debug] [MJSONWP] But deleting session, so not returning
[MJSONWP] Responding to client with driver.deleteSession() result: null
[HTTP] <-- DELETE /wd/hub/session/76e5991a-3729-458f-858f-92b42b0d1a7c 200 4903 ms - 76
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment