Facing the issue while running Appium
Exception in thread “main” org.openqa.selenium.WebDriverException: Returned value cannot be converted to WebElement: {ELEMENT=1}
Appium version (or git revision) that exhibits the issue: 1.2.4
Last Appium version that did not exhibit the issue (if applicable):
Desktop OS/version used to run Appium: Windows 10
Node.js version (unless using Appium.app|exe):6.11.4
Mobile platform/version under test: Honor 4x 6.0.1
Real device or emulator/simulator: real device
Appium CLI or Appium.app|exe:1.7.0
Please provide more details, if necessary.
package com.appium.testCases;
import java.net.MalformedURLException;
import java.net.URL;
import java.util.concurrent.TimeUnit;
import org.openqa.selenium.WebElement;
import org.openqa.selenium.remote.DesiredCapabilities;
import org.testng.annotations.AfterMethod;
import org.testng.annotations.BeforeMethod;
import org.testng.annotations.Test;
import io.appium.java_client.android.AndroidDriver;
import io.appium.java_client.android.AndroidElement;
import io.appium.java_client.remote.MobileCapabilityType;
public class FBApp {
public AndroidDriver<AndroidElement> driver;
@BeforeMethod
public void setUp() throws MalformedURLException{
DesiredCapabilities capabilities = new DesiredCapabilities();
capabilities.setCapability(MobileCapabilityType.DEVICE_NAME, "Android");
capabilities.setCapability("platformName", "Android");
capabilities.setCapability("autoGrantPermissions","true");
capabilities.setCapability("appPackage","com.facebook.katana");
capabilities.setCapability("appActivity", "com.facebook.katana.LoginActivity");
driver = new AndroidDriver<>(new URL("http://127.0.0.1:4723/wd/hub"), capabilities);
driver.manage().timeouts().implicitlyWait(20L, TimeUnit.SECONDS);
//frameLayout = driver.findElement(By.className("android.widget.FrameLayout"));
}
@Test
public void Login() throws MalformedURLException, InterruptedException{
//AndroidDriver<AndroidElement> driver;
driver.manage().timeouts().implicitlyWait(10, TimeUnit.SECONDS);
//Email or User name
// driver.findElementById("com.facebook.katana:id/login_username").clear();
// Thread.sleep(2000);
// driver.findElementById("com.facebook.katana:id/login_username").sendKeys("[email protected]");
// driver.hideKeyboard();
// //Password
// driver.findElementById("com.facebook.katana:id/login_password").sendKeys("xyz");
// //Submit Button
// driver.findElementByTagName("LOG IN").click();
System.out.println("FB App Launch");
WebElement email = driver.findElementByAndroidUIAutomator("new UiSelector().resourceId(\"com.facebook.katana:id/login_username\")");
email.sendKeys("[email protected]");
Thread.sleep(5000);
System.out.println("Login details entered");
driver.findElementByAndroidUIAutomator("new UiSelector().resourceId(\"com.facebook.katana:id/login_password\")").sendKeys("xxxxxx");
Thread.sleep(5000);
System.out.println("Password Enterd");
driver.findElementByAndroidUIAutomator("new UiSelector().resourceId(\"com.facebook.katana:id/login_login\").text(\"LOG IN \")").click();
Thread.sleep(8000);
System.out.println("Cliked on LogIN");
Thread.sleep(5000);
System.out.println("FB run");
}
@AfterMethod
public void tearDown(){
driver.quit();
}
}
[info] [Appium] Welcome to Appium v1.7.0
[info] [Appium] Non-default server args:
[info] [Appium] address: 127.0.0.1
[info] [Appium] Appium REST http interface listener started on 127.0.0.1:4723[info] [HTTP] --> POST /wd/hub/session {"desiredCapabilities":{"appPackage":"com.facebook.katana","appActivity":"com.facebook.katana.LoginActivity","autoGrantPermissions":"true","platformName":"Android","deviceName":"Android"}}
[debug] [MJSONWP] Calling AppiumDriver.createSession() with args: [{"appPackage":"com.facebook.katana","appActivity":"com.facebook.katana.LoginActivity","autoGrantPermissions":"true","platformName":"Android","deviceName":"Android"},null,null]
[debug] [BaseDriver] Event 'newSessionRequested' logged at 1508836953552 (14:52:33 GMT+0530 (India Standard Time))
[info] [Appium] Creating new AndroidDriver (v1.26.5) session
[info] [Appium] Capabilities:
[info] [Appium] appPackage: 'com.facebook.katana'
[info] [Appium] appActivity: 'com.facebook.katana.LoginActivity'
[info] [Appium] autoGrantPermissions: 'true'
[info] [Appium] platformName: 'Android'
[info] [Appium] deviceName: 'Android'
[warn] [BaseDriver] Capability 'autoGrantPermissions' changed from string to boolean. This may cause unexpected behavior
[info] [BaseDriver] Session created with session id: bccb86fe-0287-42c5-84c4-1d3c9d7106d9
[debug] [AndroidDriver] Getting Java version[info] [AndroidDriver] Java version is: 1.8.0_111
[info] [ADB] Checking whether adb is present
[info] [ADB] Using adb.exe from C:\Users\cdas\AppData\Local\Android\sdk\platform-tools\adb.exe
[info] [AndroidDriver] Retrieving device list
[debug] [ADB] Trying to find a connected android device
[debug] [ADB] Getting connected devices...[debug] [ADB] 1 device(s) connected
[info] [AndroidDriver] Using device: A6TDU15401007022
[info] [ADB] Checking whether adb is present
[info] [ADB] Using adb.exe from C:\Users\cdas\AppData\Local\Android\sdk\platform-tools\adb.exe
[debug] [ADB] Setting device id to A6TDU15401007022
[info] [AndroidDriver] App file was not listed, instead we're going to run com.facebook.katana directly on the device
[debug] [AndroidDriver] Checking whether package is present on the device
[debug] [ADB] Getting connected devices...[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running 'C:\Users\cdas\AppData\Local\Android\sdk\platform-tools\adb.exe' with args: ["-P",5037,"-s","A6TDU15401007022","shell","pm","list","packages","com.facebook.katana"][info] [AndroidDriver] Starting Android session
[debug] [ADB] Running 'C:\Users\cdas\AppData\Local\Android\sdk\platform-tools\adb.exe' with args: ["-P",5037,"-s","A6TDU15401007022","wait-for-device"][debug] [ADB] Getting connected devices...[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running 'C:\Users\cdas\AppData\Local\Android\sdk\platform-tools\adb.exe' with args: ["-P",5037,"-s","A6TDU15401007022","shell","echo","ping"][debug] [Logcat] Starting logcat capture[debug] [AndroidDriver] Pushing settings apk to device...
[debug] [ADB] Getting install status for io.appium.settings
[debug] [ADB] Getting connected devices...[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running 'C:\Users\cdas\AppData\Local\Android\sdk\platform-tools\adb.exe' with args: ["-P",5037,"-s","A6TDU15401007022","shell","pm","list","packages","io.appium.settings"][debug] [ADB] App is installed
[debug] [ADB] Getting package info for io.appium.settings
[debug] [ADB] Getting connected devices...[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running 'C:\Users\cdas\AppData\Local\Android\sdk\platform-tools\adb.exe' with args: ["-P",5037,"-s","A6TDU15401007022","shell","dumpsys","package","io.appium.settings"][info] [ADB] Checking whether aapt is present
[info] [ADB] Using aapt.exe from C:\Users\cdas\AppData\Local\Android\sdk\build-tools\25.0.3\aapt.exe[debug] [ADB] The installed "io.appium.settings" package does not require upgrade (4 >= 4)
[debug] [ADB] Getting connected devices...[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running 'C:\Users\cdas\AppData\Local\Android\sdk\platform-tools\adb.exe' with args: ["-P",5037,"-s","A6TDU15401007022","shell","getprop","ro.build.version.sdk"][debug] [ADB] Current device property 'ro.build.version.sdk': 23
[debug] [ADB] Device API level: 23
[debug] [ADB] Getting connected devices...[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running 'C:\Users\cdas\AppData\Local\Android\sdk\platform-tools\adb.exe' with args: ["-P",5037,"-s","A6TDU15401007022","shell","dumpsys","package","io.appium.settings"][debug] [ADB] Getting connected devices...[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running 'C:\Users\cdas\AppData\Local\Android\sdk\platform-tools\adb.exe' with args: ["-P",5037,"-s","A6TDU15401007022","shell","pm","dump","io.appium.settings"][debug] [ADB] Got the following command chunks to execute: pm,grant,io.appium.settings,android.permission.CHANGE_NETWORK_STATE,;,pm,grant,io.appium.settings,android.permission.WRITE_SETTINGS,;,pm,grant,io.appium.settings,android.permission.ACCESS_MOCK_LOCATION,;
[debug] [ADB] Getting connected devices...[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running 'C:\Users\cdas\AppData\Local\Android\sdk\platform-tools\adb.exe' with args: ["-P",5037,"-s","A6TDU15401007022","shell","pm","grant","io.appium.settings","android.permission.CHANGE_NETWORK_STATE",";","pm","grant","io.appium.settings","android.permission.WRITE_SETTINGS",";","pm","grant","io.appium.settings","android.permission.ACCESS_MOCK_LOCATION",";"][debug] [ADB] Getting connected devices...[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running 'C:\Users\cdas\AppData\Local\Android\sdk\platform-tools\adb.exe' with args: ["-P",5037,"-s","A6TDU15401007022","shell","ps"][debug] [ADB] Device API level: 23
[debug] [ADB] Getting connected devices...[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running 'C:\Users\cdas\AppData\Local\Android\sdk\platform-tools\adb.exe' with args: ["-P",5037,"-s","A6TDU15401007022","shell","am","start","-W","-n","io.appium.settings/.Settings","-a","android.intent.action.MAIN","-c","android.intent.category.LAUNCHER","-f","0x10200000"][debug] [ADB] Device API level: 23
[debug] [ADB] Getting connected devices...[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running 'C:\Users\cdas\AppData\Local\Android\sdk\platform-tools\adb.exe' with args: ["-P",5037,"-s","A6TDU15401007022","shell","appops","set","io.appium.settings","android:mock_location","allow"][debug] [AndroidDriver] Pushing unlock helper app to device...
[debug] [ADB] Running 'C:\Users\cdas\AppData\Local\Android\sdk\platform-tools\adb.exe' with args: ["-P",5037,"-s","A6TDU15401007022","install","C:\Users\cdas\AppData\Local\Programs\appium-desktop\resources\app\node_modules\appium\node_modules\appium-unlock\bin\unlock_apk-debug.apk"][info] [ADB] Getting device platform version
[debug] [ADB] Getting connected devices...[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running 'C:\Users\cdas\AppData\Local\Android\sdk\platform-tools\adb.exe' with args: ["-P",5037,"-s","A6TDU15401007022","shell","getprop","ro.build.version.release"][debug] [ADB] Current device property 'ro.build.version.release': 6.0.1
[debug] [ADB] Getting connected devices...[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running 'C:\Users\cdas\AppData\Local\Android\sdk\platform-tools\adb.exe' with args: ["-P",5037,"-s","A6TDU15401007022","shell","wm","size"][debug] [ADB] Getting connected devices...[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running 'C:\Users\cdas\AppData\Local\Android\sdk\platform-tools\adb.exe' with args: ["-P",5037,"-s","A6TDU15401007022","shell","getprop","ro.product.model"][debug] [ADB] Current device property 'ro.product.model': Che1-L04
[debug] [ADB] Getting connected devices...[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running 'C:\Users\cdas\AppData\Local\Android\sdk\platform-tools\adb.exe' with args: ["-P",5037,"-s","A6TDU15401007022","shell","getprop","ro.product.manufacturer"][debug] [ADB] Current device property 'ro.product.manufacturer': HUAWEI
[warn] [AndroidDriver] No app sent in, not parsing package/activity
[debug] [AndroidDriver] No app capability. Assuming it is already on the device
[debug] [AndroidDriver] Running fast reset (stop and clear)
[debug] [ADB] Getting connected devices...[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running 'C:\Users\cdas\AppData\Local\Android\sdk\platform-tools\adb.exe' with args: ["-P",5037,"-s","A6TDU15401007022","shell","am","force-stop","com.facebook.katana"][debug] [ADB] Getting connected devices...[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running 'C:\Users\cdas\AppData\Local\Android\sdk\platform-tools\adb.exe' with args: ["-P",5037,"-s","A6TDU15401007022","shell","pm","clear","com.facebook.katana"][debug] [ADB] Device API level: 23
[debug] [ADB] Getting connected devices...[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running 'C:\Users\cdas\AppData\Local\Android\sdk\platform-tools\adb.exe' with args: ["-P",5037,"-s","A6TDU15401007022","shell","dumpsys","package","com.facebook.katana"][debug] [ADB] Getting connected devices...[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running 'C:\Users\cdas\AppData\Local\Android\sdk\platform-tools\adb.exe' with args: ["-P",5037,"-s","A6TDU15401007022","shell","pm","dump","com.facebook.katana"][debug] [ADB] Got the following command chunks to execute: pm,grant,com.facebook.katana,android.permission.WRITE_SETTINGS,;,pm,grant,com.facebook.katana,android.permission.ACCESS_COARSE_LOCATION,;,pm,grant,com.facebook.katana,android.permission.READ_CONTACTS,;,pm,grant,com.facebook.katana,android.permission.WRITE_CONTACTS,;,pm,grant,com.facebook.katana,android.permission.GET_ACCOUNTS,;,pm,grant,com.facebook.katana,android.permission.ACCESS_FINE_LOCATION,;,pm,grant,com.facebook.katana,android.permission.CAMERA,;,pm,grant,com.facebook.katana,android.permission.RECORD_AUDIO,;,pm,grant,com.facebook.katana,android.permission.WRITE_EXTERNAL_STORAGE,;,pm,grant,com.facebook.katana,android.permission.READ_PHONE_STATE,;,pm,grant,com.facebook.katana,android.permission.READ_CALENDAR,;,pm,grant,com.facebook.katana,android.permission.WRITE_CALENDAR,;,pm,grant,com.facebook.katana,android.permission.READ_SMS,;,pm,grant,com.facebook.katana,android.permission.CHANGE_NETWORK_STATE,;,pm,grant,com.facebook.katana,android.permission.SYSTEM_ALERT_WINDOW,;,pm,grant,com.facebook.katana,android.permission.READ_EXTERNAL_STORAGE,;,pm,grant,com.facebook.katana,android.permission.BATTERY_STATS,;
[debug] [ADB] Getting connected devices...[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running 'C:\Users\cdas\AppData\Local\Android\sdk\platform-tools\adb.exe' with args: ["-P",5037,"-s","A6TDU15401007022","shell","pm","grant","com.facebook.katana","android.permission.WRITE_SETTINGS",";","pm","grant","com.facebook.katana","android.permission.ACCESS_COARSE_LOCATION",";","pm","grant","com.facebook.katana","android.permission.READ_CONTACTS",";","pm","grant","com.facebook.katana","android.permission.WRITE_CONTACTS",";","pm","grant","com.facebook.katana","android.permission.GET_ACCOUNTS",";","pm","grant","com.facebook.katana","android.permission.ACCESS_FINE_LOCATION",";","pm","grant","com.facebook.katana","android.permission.CAMERA",";","pm","grant","com.facebook.katana","android.permission.RECORD_AUDIO",";","pm","grant","com.facebook.katana","android.permission.WRITE_EXTERNAL_STORAGE",";","pm","grant","com.facebook.katana","android.permission.READ_PHONE_STATE",";","pm","grant","com.facebook.katana","android.permission.READ_CALENDAR",";","pm","grant","com.facebook.katana","android.permission.WRITE_CALENDAR",";","pm","grant","com.facebook.katana","android.permission.READ_SMS",";","pm","grant","com.facebook.katana","android.permission.CHANGE_NETWORK_STATE",";","pm","grant","com.facebook.katana","android.permission.SYSTEM_ALERT_WINDOW",";"][debug] [ADB] Getting connected devices...[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running 'C:\Users\cdas\AppData\Local\Android\sdk\platform-tools\adb.exe' with args: ["-P",5037,"-s","A6TDU15401007022","shell","pm","grant","com.facebook.katana","android.permission.READ_EXTERNAL_STORAGE",";","pm","grant","com.facebook.katana","android.permission.BATTERY_STATS",";"][debug] [AndroidBootstrap] Watching for bootstrap disconnect
[debug] [ADB] Forwarding system: 4724 to device: 4724
[debug] [ADB] Running 'C:\Users\cdas\AppData\Local\Android\sdk\platform-tools\adb.exe' with args: ["-P",5037,"-s","A6TDU15401007022","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 'C:\Users\cdas\AppData\Local\Android\sdk\platform-tools\adb.exe' with args: ["-P",5037,"-s","A6TDU15401007022","push","C:\Users\cdas\AppData\Local\Programs\appium-desktop\resources\app\node_modules\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 'C:\Users\cdas\AppData\Local\Android\sdk\platform-tools\adb.exe' with args: ["-P",5037,"-s","A6TDU15401007022","shell","ps"][info] [ADB] No uiautomator process found to kill, continuing...
[debug] [UiAutomator] Starting UIAutomator
[debug] [ADB] Creating ADB subprocess with args: ["-P",5037,"-s","A6TDU15401007022","shell","uiautomator","runtest","AppiumBootstrap.jar","-c","io.appium.android.bootstrap.Bootstrap","-e","pkg","com.facebook.katana","-e","disableAndroidWatchers",false,"-e","acceptSslCerts",false][debug] [UiAutomator] Moving to state 'online'
[info] [AndroidBootstrap] Android bootstrap socket is now connected
[debug] [ADB] Getting connected devices...
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Loading json...
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] json loading complete.
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Registered crash watchers.
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Client connected[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running 'C:\Users\cdas\AppData\Local\Android\sdk\platform-tools\adb.exe' with args: ["-P",5037,"-s","A6TDU15401007022","shell","dumpsys","window"][info] [AndroidDriver] Screen already unlocked, doing nothing
[debug] [ADB] Device API level: 23
[debug] [ADB] Getting connected devices...[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running 'C:\Users\cdas\AppData\Local\Android\sdk\platform-tools\adb.exe' with args: ["-P",5037,"-s","A6TDU15401007022","shell","am","start","-W","-n","com.facebook.katana/com.facebook.katana.LoginActivity","-S"][info] [Appium] New AndroidDriver session created successfully, session bccb86fe-0287-42c5-84c4-1d3c9d7106d9 added to master session list
[debug] [BaseDriver] Event 'newSessionStarted' logged at 1508837070316 (14:54:30 GMT+0530 (India Standard Time))
[debug] [MJSONWP] Responding to client with driver.createSession() result: {"platform":"LINUX","webStorageEnabled":false,"takesScreenshot":true,"javascriptEnabled":true,"databaseEnabled":false,"networkConnectionEnabled":true,"locationContextEnabled":false,"warnings":{},"desired":{"appPackage":"com.facebook.katana","appActivity":"com.facebook.katana.LoginActivity","autoGrantPermissions":true,"platformName":"Android","deviceName":"Android"},"appPackage":"com.facebook.katana","appActivity":"com.facebook.katana.LoginActivity","autoGrantPermissions":true,"platformName":"Android","deviceName":"A6TDU15401007022","deviceUDID":"A6TDU15401007022","platformVersion":"6.0.1","deviceScreenSize":"720x1280","deviceModel":"Che1-L04","deviceManufacturer":"HUAWEI"}
[info] [HTTP] <-- POST /wd/hub/session 200 116766 ms - 753 [info] [HTTP] --> GET /wd/hub/session/bccb86fe-0287-42c5-84c4-1d3c9d7106d9 {}
[debug] [MJSONWP] Calling AppiumDriver.getSession() with args: ["bccb86fe-0287-42c5-84c4-1d3c9d7106d9"]
[debug] [MJSONWP] Responding to client with driver.getSession() result: {"platform":"LINUX","webStorageEnabled":false,"takesScreenshot":true,"javascriptEnabled":true,"databaseEnabled":false,"networkConnectionEnabled":true,"locationContextEnabled":false,"warnings":{},"desired":{"appPackage":"com.facebook.katana","appActivity":"com.facebook.katana.LoginActivity","autoGrantPermissions":true,"platformName":"Android","deviceName":"Android"},"appPackage":"com.facebook.katana","appActivity":"com.facebook.katana.LoginActivity","autoGrantPermissions":true,"platformName":"Android","deviceName":"A6TDU15401007022","deviceUDID":"A6TDU15401007022","platformVersion":"6.0.1","deviceScreenSize":"720x1280","deviceModel":"Che1-L04","deviceManufacturer":"HUAWEI"}
[info] [HTTP] <-- GET /wd/hub/session/bccb86fe-0287-42c5-84c4-1d3c9d7106d9 200 7 ms - 753
[info] [HTTP] --> GET /wd/hub/session/bccb86fe-0287-42c5-84c4-1d3c9d7106d9 {}
[debug] [MJSONWP] Calling AppiumDriver.getSession() with args: ["bccb86fe-0287-42c5-84c4-1d3c9d7106d9"]
[debug] [MJSONWP] Responding to client with driver.getSession() result: {"platform":"LINUX","webStorageEnabled":false,"takesScreenshot":true,"javascriptEnabled":true,"databaseEnabled":false,"networkConnectionEnabled":true,"locationContextEnabled":false,"warnings":{},"desired":{"appPackage":"com.facebook.katana","appActivity":"com.facebook.katana.LoginActivity","autoGrantPermissions":true,"platformName":"Android","deviceName":"Android"},"appPackage":"com.facebook.katana","appActivity":"com.facebook.katana.LoginActivity","autoGrantPermissions":true,"platformName":"Android","deviceName":"A6TDU15401007022","deviceUDID":"A6TDU15401007022","platformVersion":"6.0.1","deviceScreenSize":"720x1280","deviceModel":"Che1-L04","deviceManufacturer":"HUAWEI"}
[info] [HTTP] <-- GET /wd/hub/session/bccb86fe-0287-42c5-84c4-1d3c9d7106d9 200 2 ms - 753
[info] [HTTP] --> POST /wd/hub/session/bccb86fe-0287-42c5-84c4-1d3c9d7106d9/timeouts {"type":"implicit","ms":20000}
[debug] [MJSONWP] Calling AppiumDriver.timeouts() with args: ["implicit",20000,"bccb86fe-0287-42c5-84c4-1d3c9d7106d9"]
[debug] [BaseDriver] Set implicit wait to 20000ms
[debug] [MJSONWP] Responding to client with driver.timeouts() result: null
[info] [HTTP] <-- POST /wd/hub/session/bccb86fe-0287-42c5-84c4-1d3c9d7106d9/timeouts 200 3 ms - 76
[info] [HTTP] --> POST /wd/hub/session/bccb86fe-0287-42c5-84c4-1d3c9d7106d9/timeouts {"type":"implicit","ms":10000}
[debug] [MJSONWP] Calling AppiumDriver.timeouts() with args: ["implicit",10000,"bccb86fe-0287-42c5-84c4-1d3c9d7106d9"]
[debug] [BaseDriver] Set implicit wait to 10000ms
[debug] [MJSONWP] Responding to client with driver.timeouts() result: null
[info] [HTTP] <-- POST /wd/hub/session/bccb86fe-0287-42c5-84c4-1d3c9d7106d9/timeouts 200 1 ms - 76
[info] [HTTP] --> POST /wd/hub/session/bccb86fe-0287-42c5-84c4-1d3c9d7106d9/element {"using":"-android uiautomator","value":"new UiSelector().resourceId(\"com.facebook.katana:id/login_username\")"}
[debug] [MJSONWP] Calling AppiumDriver.findElement() with args: ["-android uiautomator","new UiSelector().resourceId(\"com.facebook.katana:id/login_username\")","bccb86fe-0287-42c5-84c4-1d3c9d7106d9"]
[debug] [BaseDriver] Valid locator strategies for this request: xpath, id, class name, accessibility id, -android uiautomator
[debug] [BaseDriver] Valid locator strategies for this request: xpath, id, class name, accessibility id, -android uiautomator
[debug] [BaseDriver] Waiting up to 10000 ms for condition
[debug] [AndroidBootstrap] Sending command to android: {"cmd":"action","action":"find","params":{"strategy":"-android uiautomator","selector":"new UiSelector().resourceId(\"com.facebook.katana:id/login_username\")","context":"","multiple":false}}
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got data from client: {"cmd":"action","action":"find","params":{"strategy":"-android uiautomator","selector":"new UiSelector().resourceId(\"com.facebook.katana:id/login_username\")","context":"","multiple":false}}
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command of type ACTION
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command action: find
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Finding 'new UiSelector().resourceId("com.facebook.katana:id/login_username")' using 'ANDROID_UIAUTOMATOR' with the contextId: '' multiple: false
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Parsing selector: new UiSelector().resourceId("com.facebook.katana:id/login_username")
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] UiSelector coerce type: class java.lang.String arg: "com.facebook.katana:id/login_username"
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Using: UiSelector[RESOURCE_ID=com.facebook.katana:id/login_username][debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Failed to locate element. Clearing Accessibility cache and retrying.
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Finding 'new UiSelector().resourceId("com.facebook.katana:id/login_username")' using 'ANDROID_UIAUTOMATOR' with the contextId: '' multiple: false
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Parsing selector: new UiSelector().resourceId("com.facebook.katana:id/login_username")
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] UiSelector coerce type: class java.lang.String arg: "com.facebook.katana:id/login_username"
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Using: UiSelector[RESOURCE_ID=com.facebook.katana:id/login_username]
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Returning result: {"status":7,"value":"No element found"}
[debug] [AndroidBootstrap] Received command result from bootstrap
[debug] [BaseDriver] Waited for 254 ms so far[debug] [AndroidBootstrap] Sending command to android: {"cmd":"action","action":"find","params":{"strategy":"-android uiautomator","selector":"new UiSelector().resourceId(\"com.facebook.katana:id/login_username\")","context":"","multiple":false}}
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got data from client: {"cmd":"action","action":"find","params":{"strategy":"-android uiautomator","selector":"new UiSelector().resourceId(\"com.facebook.katana:id/login_username\")","context":"","multiple":false}}
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command of type ACTION
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command action: find
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Finding 'new UiSelector().resourceId("com.facebook.katana:id/login_username")' using 'ANDROID_UIAUTOMATOR' with the contextId: '' multiple: false
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Parsing selector: new UiSelector().resourceId("com.facebook.katana:id/login_username")
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] UiSelector coerce type: class java.lang.String arg: "com.facebook.katana:id/login_username"
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Using: UiSelector[RESOURCE_ID=com.facebook.katana:id/login_username]
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Failed to locate element. Clearing Accessibility cache and retrying.
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Finding 'new UiSelector().resourceId("com.facebook.katana:id/login_username")' using 'ANDROID_UIAUTOMATOR' with the contextId: '' multiple: false
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Parsing selector: new UiSelector().resourceId("com.facebook.katana:id/login_username")
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] UiSelector coerce type: class java.lang.String arg: "com.facebook.katana:id/login_username"
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Using: UiSelector[RESOURCE_ID=com.facebook.katana:id/login_username]
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Returning result: {"status":7,"value":"No element found"}
[debug] [AndroidBootstrap] Received command result from bootstrap
[debug] [BaseDriver] Waited for 786 ms so far[debug] [AndroidBootstrap] Sending command to android: {"cmd":"action","action":"find","params":{"strategy":"-android uiautomator","selector":"new UiSelector().resourceId(\"com.facebook.katana:id/login_username\")","context":"","multiple":false}}
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got data from client: {"cmd":"action","action":"find","params":{"strategy":"-android uiautomator","selector":"new UiSelector().resourceId(\"com.facebook.katana:id/login_username\")","context":"","multiple":false}}
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command of type ACTION
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command action: find
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Finding 'new UiSelector().resourceId("com.facebook.katana:id/login_username")' using 'ANDROID_UIAUTOMATOR' with the contextId: '' multiple: false
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Parsing selector: new UiSelector().resourceId("com.facebook.katana:id/login_username")
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] UiSelector coerce type: class java.lang.String arg: "com.facebook.katana:id/login_username"
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Using: UiSelector[RESOURCE_ID=com.facebook.katana:id/login_username]
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Failed to locate element. Clearing Accessibility cache and retrying.
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Finding 'new UiSelector().resourceId("com.facebook.katana:id/login_username")' using 'ANDROID_UIAUTOMATOR' with the contextId: '' multiple: false
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Parsing selector: new UiSelector().resourceId("com.facebook.katana:id/login_username")
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] UiSelector coerce type: class java.lang.String arg: "com.facebook.katana:id/login_username"
[debug] [AndroidBootstrap] [UIAUTO STDOUT] [APPIUM-UIAUTO] [debug] Using: UiSelector[RESOURCE_ID=com.facebo
[debug] [AndroidBootstrap] [UIAUTO STDOUT] ok.katana:id/login_username][/APPIUM-UIAUTO]
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Returning result: {"status":7,"value":"No element found"}
[debug] [AndroidBootstrap] Received command result from bootstrap
[debug] [BaseDriver] Waited for 1314 ms so far[debug] [AndroidBootstrap] Sending command to android: {"cmd":"action","action":"find","params":{"strategy":"-android uiautomator","selector":"new UiSelector().resourceId(\"com.facebook.katana:id/login_username\")","context":"","multiple":false}}
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got data from client: {"cmd":"action","action":"find","params":{"strategy":"-android uiautomator","selector":"new UiSelector().resourceId(\"com.facebook.katana:id/login_username\")","context":"","multiple":false}}
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command of type ACTION
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command action: find
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Finding 'new UiSelector().resourceId("com.facebook.katana:id/login_username")' using 'ANDROID_UIAUTOMATOR' with the contextId: '' multiple: false
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Parsing selector: new UiSelector().resourceId("com.facebook.katana:id/login_username")
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] UiSelector coerce type: class java.lang.String arg: "com.facebook.katana:id/login_username"
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Using: UiSelector[RESOURCE_ID=com.facebook.katana:id/login_username]
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Failed to locate element. Clearing Accessibility cache and retrying.
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Finding 'new UiSelector().resourceId("com.facebook.katana:id/login_username")' using 'ANDROID_UIAUTOMATOR' with the contextId: '' multiple: false
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Parsing selector: new UiSelector().resourceId("com.facebook.katana:id/login_username")
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] UiSelector coerce type: class java.lang.String arg: "com.facebook.katana:id/login_username"
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Using: UiSelector[RESOURCE_ID=com.facebook.katana:id/login_username]
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Returning result: {"status":7,"value":"No element found"}
[debug] [AndroidBootstrap] Received command result from bootstrap
[debug] [BaseDriver] Waited for 1839 ms so far[debug] [AndroidBootstrap] Sending command to android: {"cmd":"action","action":"find","params":{"strategy":"-android uiautomator","selector":"new UiSelector().resourceId(\"com.facebook.katana:id/login_username\")","context":"","multiple":false}}
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got data from client: {"cmd":"action","action":"find","params":{"strategy":"-android uiautomator","selector":"new UiSelector().resourceId(\"com.facebook.katana:id/login_username\")","context":"","multiple":false}}
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command of type ACTION
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command action: find
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Finding 'new UiSelector().resourceId("com.facebook.katana:id/login_username")' using 'ANDROID_UIAUTOMATOR' with the contextId: '' multiple: false
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Parsing selector: new UiSelector().resourceId("com.facebook.katana:id/login_username")
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] UiSelector coerce type: class java.lang.String arg: "com.facebook.katana:id/login_username"
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Using: UiSelector[RESOURCE_ID=com.facebook.katana:id/login_username]
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Failed to locate element. Clearing Accessibility cache and retrying.
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Finding 'new UiSelector().resourceId("com.facebook.katana:id/login_username")' using 'ANDROID_UIAUTOMATOR' with the contextId: '' multiple: false
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Parsing selector: new UiSelector().resourceId("com.facebook.katana:id/login_username")
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] UiSelector coerce type: class java.lang.String arg: "com.facebook.katana:id/login_username"
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Using: UiSelector[RESOURCE_ID=com.facebook.katana:id/login_username]
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Returning result: {"status":7,"value":"No element found"}
[debug] [AndroidBootstrap] Received command result from bootstrap
[debug] [BaseDriver] Waited for 2367 ms so far[debug] [AndroidBootstrap] Sending command to android: {"cmd":"action","action":"find","params":{"strategy":"-android uiautomator","selector":"new UiSelector().resourceId(\"com.facebook.katana:id/login_username\")","context":"","multiple":false}}
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got data from client: {"cmd":"action","action":"find","params":{"strategy":"-android uiautomator","selector":"new UiSelector().resourceId(\"com.facebook.katana:id/login_username\")","context":"","multiple":false}}
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command of type ACTION
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command action: find
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Finding 'new UiSelector().resourceId("com.facebook.katana:id/login_username")' using 'ANDROID_UIAUTOMATOR' with the contextId: '' multiple: false
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Parsing selector: new UiSelector().resourceId("com.facebook.katana:id/login_username")
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] UiSelector coerce type: class java.lang.String arg: "com.facebook.katana:id/login_username"
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Using: UiSelector[RESOURCE_ID=com.facebook.katana:id/login_username]
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Failed to locate element. Clearing Accessibility cache and retrying.
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Finding 'new UiSelector().resourceId("com.facebook.katana:id/login_username")' using 'ANDROID_UIAUTOMATOR' with the contextId: '' multiple: false
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Parsing selector: new UiSelector().resourceId("com.facebook.katana:id/login_username")
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] UiSelector coerce type: class java.lang.String arg: "com.facebook.katana:id/login_username"
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Using: UiSelector[RESOURCE_ID=com.facebook.katana:id/login_username]
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Returning result: {"status":7,"value":"No element found"}
[debug] [AndroidBootstrap] Received command result from bootstrap
[debug] [BaseDriver] Waited for 2894 ms so far[debug] [AndroidBootstrap] Sending command to android: {"cmd":"action","action":"find","params":{"strategy":"-android uiautomator","selector":"new UiSelector().resourceId(\"com.facebook.katana:id/login_username\")","context":"","multiple":false}}
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got data from client: {"cmd":"action","action":"find","params":{"strategy":"-android uiautomator","selector":"new UiSelector().resourceId(\"com.facebook.katana:id/login_username\")","context":"","multiple":false}}
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command of type ACTION
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command action: find
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Finding 'new UiSelector().resourceId("com.facebook.katana:id/login_username")' using 'ANDROID_UIAUTOMATOR' with the contextId: '' multiple: false
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Parsing selector: new UiSelector().resourceId("com.facebook.katana:id/login_username")
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] UiSelector coerce type: class java.lang.String arg: "com.facebook.katana:id/login_username"
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Using: UiSelector[RESOURCE_ID=com.facebook.katana:id/login_username]
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Failed to locate element. Clearing Accessibility cache and retrying.
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Finding 'new UiSelector().resourceId("com.facebook.katana:id/login_username")' using 'ANDROID_UIAUTOMATOR' with the contextId: '' multiple: false
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Parsing selector: new UiSelector().resourceId("com.facebook.katana:id/login_username")
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] UiSelector coerce type: class java.lang.String arg: "com.facebook.katana:id/login_username"
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Using: UiSelector[RESOURCE_ID=com.facebook.katana:id/login_username][debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Returning result: {"status":7,"value":"No element found"}
[debug] [AndroidBootstrap] Received command result from bootstrap
[debug] [BaseDriver] Waited for 3423 ms so far[debug] [AndroidBootstrap] Sending command to android: {"cmd":"action","action":"find","params":{"strategy":"-android uiautomator","selector":"new UiSelector().resourceId(\"com.facebook.katana:id/login_username\")","context":"","multiple":false}}
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got data from client: {"cmd":"action","action":"find","params":{"strategy":"-android uiautomator","selector":"new UiSelector().resourceId(\"com.facebook.katana:id/login_username\")","context":"","multiple":false}}
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command of type ACTION
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command action: find
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Finding 'new UiSelector().resourceId("com.facebook.katana:id/login_username")' using 'ANDROID_UIAUTOMATOR' with the contextId: '' multiple: false
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Parsing selector: new UiSelector().resourceId("com.facebook.katana:id/login_username")
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] UiSelector coerce type: class java.lang.String arg: "com.facebook.katana:id/login_username"
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Using: UiSelector[RESOURCE_ID=com.facebook.katana:id/login_username]
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Failed to locate element. Clearing Accessibility cache and retrying.
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Finding 'new UiSelector().resourceId("com.facebook.katana:id/login_username")' using 'ANDROID_UIAUTOMATOR' with the contextId: '' multiple: false
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Parsing selector: new UiSelector().resourceId("com.facebook.katana:id/login_username")
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] UiSelector coerce type: class java.lang.String arg: "com.facebook.katana:id/login_username"
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Using: UiSelector[RESOURCE_ID=com.facebook.katana:id/login_username]
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Returning result: {"status":7,"value":"No element found"}
[debug] [AndroidBootstrap] Received command result from bootstrap
[debug] [BaseDriver] Waited for 3964 ms so far[debug] [AndroidBootstrap] Sending command to android: {"cmd":"action","action":"find","params":{"strategy":"-android uiautomator","selector":"new UiSelector().resourceId(\"com.facebook.katana:id/login_username\")","context":"","multiple":false}}
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got data from client: {"cmd":"action","action":"find","params":{"strategy":"-android uiautomator","selector":"new UiSelector().resourceId(\"com.facebook.katana:id/login_username\")","context":"","multiple":false}}
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command of type ACTION
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command action: find
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Finding 'new UiSelector().resourceId("com.facebook.katana:id/login_username")' using 'ANDROID_UIAUTOMATOR' with the contextId: '' multiple: false
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Parsing selector: new UiSelector().resourceId("com.facebook.katana:id/login_username")
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] UiSelector coerce type: class java.lang.String arg: "com.facebook.katana:id/login_username"
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Using: UiSelector[RESOURCE_ID=com.facebook.katana:id/login_username]
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Failed to locate element. Clearing Accessibility cache and retrying.
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Finding 'new UiSelector().resourceId("com.facebook.katana:id/login_username")' using 'ANDROID_UIAUTOMATOR' with the contextId: '' multiple: false
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Parsing selector: new UiSelector().resourceId("com.facebook.katana:id/login_username")
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] UiSelector coerce type: class java.lang.String arg: "com.facebook.katana:id/login_username"
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Using: UiSelector[RESOURCE_ID=com.facebook.katana:id/login_username]
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Returning result: {"status":7,"value":"No element found"}
[debug] [AndroidBootstrap] Received command result from bootstrap
[debug] [BaseDriver] Waited for 4510 ms so far[debug] [AndroidBootstrap] Sending command to android: {"cmd":"action","action":"find","params":{"strategy":"-android uiautomator","selector":"new UiSelector().resourceId(\"com.facebook.katana:id/login_username\")","context":"","multiple":false}}
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got data from client: {"cmd":"action","action":"find","params":{"strategy":"-android uiautomator","selector":"new UiSelector().resourceId(\"com.facebook.katana:id/login_username\")","context":"","multiple":false}}
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command of type ACTION
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command action: find
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Finding 'new UiSelector().resourceId("com.facebook.katana:id/login_username")' using 'ANDROID_UIAUTOMATOR' with the contextId: '' multiple: false
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Parsing selector: new UiSelector().resourceId("com.facebook.katana:id/login_username")
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] UiSelector coerce type: class java.lang.String arg: "com.facebook.katana:id/login_username"
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Using: UiSelector[RESOURCE_ID=com.facebook.katana:id/login_username]
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Failed to locate element. Clearing Accessibility cache and retrying.
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Finding 'new UiSelector().resourceId("com.facebook.katana:id/login_username")' using 'ANDROID_UIAUTOMATOR' with the contextId: '' multiple: false
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Parsing selector: new UiSelector().resourceId("com.facebook.katana:id/login_username")
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] UiSelector coerce type: class java.lang.String arg: "com.facebook.katana:id/login_username"
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Using: UiSelector[RESOURCE_ID=com.facebook.katana:id/login_username]
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Returning result: {"status":7,"value":"No element found"}
[debug] [AndroidBootstrap] Received command result from bootstrap
[debug] [BaseDriver] Waited for 5035 ms so far[debug] [AndroidBootstrap] Sending command to android: {"cmd":"action","action":"find","params":{"strategy":"-android uiautomator","selector":"new UiSelector().resourceId(\"com.facebook.katana:id/login_username\")","context":"","multiple":false}}
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got data from client: {"cmd":"action","action":"find","params":{"strategy":"-android uiautomator","selector":"new UiSelector().resourceId(\"com.facebook.katana:id/login_username\")","context":"","multiple":false}}
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command of type ACTION
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command action: find
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Finding 'new UiSelector().resourceId("com.facebook.katana:id/login_username")' using 'ANDROID_UIAUTOMATOR' with the contextId: '' multiple: false
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Parsing selector: new UiSelector().resourceId("com.facebook.katana:id/login_username")
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] UiSelector coerce type: class java.lang.String arg: "com.facebook.katana:id/login_username"
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Using: UiSelector[RESOURCE_ID=com.facebook.katana:id/login_username]
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Failed to locate element. Clearing Accessibility cache and retrying.
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Finding 'new UiSelector().resourceId("com.facebook.katana:id/login_username")' using 'ANDROID_UIAUTOMATOR' with the contextId: '' multiple: false
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Parsing selector: new UiSelector().resourceId("com.facebook.katana:id/login_username")
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] UiSelector coerce type: class java.lang.String arg: "com.facebook.katana:id/login_username"
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Using: UiSelector[RESOURCE_ID=com.facebook.katana:id/login_username]
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Returning result: {"status":7,"value":"No element found"}
[debug] [AndroidBootstrap] Received command result from bootstrap
[debug] [BaseDriver] Waited for 5572 ms so far[debug] [AndroidBootstrap] Sending command to android: {"cmd":"action","action":"find","params":{"strategy":"-android uiautomator","selector":"new UiSelector().resourceId(\"com.facebook.katana:id/login_username\")","context":"","multiple":false}}
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got data from client: {"cmd":"action","action":"find","params":{"strategy":"-android uiautomator","selector":"new UiSelector().resourceId(\"com.facebook.katana:id/login_username\")","context":"","multiple":false}}
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command of type ACTION
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command action: find
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Finding 'new UiSelector().resourceId("com.facebook.katana:id/login_username")' using 'ANDROID_UIAUTOMATOR' with the contextId: '' multiple: false
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Parsing selector: new UiSelector().resourceId("com.facebook.katana:id/login_username")
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] UiSelector coerce type: class java.lang.String arg: "com.facebook.katana:id/login_username"
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Using: UiSelector[RESOURCE_ID=com.facebook.katana:id/login_username][debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Failed to locate element. Clearing Accessibility cache and retrying.
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Finding 'new UiSelector().resourceId("com.facebook.katana:id/login_username")' using 'ANDROID_UIAUTOMATOR' with the contextId: '' multiple: false
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Parsing selector: new UiSelector().resourceId("com.facebook.katana:id/login_username")
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] UiSelector coerce type: class java.lang.String arg: "com.facebook.katana:id/login_username"
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Using: UiSelector[RESOURCE_ID=com.facebook.katana:id/login_username][debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Returning result: {"status":0,"value":{"ELEMENT":"1"}}
[debug] [AndroidBootstrap] Received command result from bootstrap
[debug] [MJSONWP] Responding to client with driver.findElement() result: {"ELEMENT":"1"}
[info] [HTTP] <-- POST /wd/hub/session/bccb86fe-0287-42c5-84c4-1d3c9d7106d9/element 200 9451 ms - 87
[info] [HTTP] --> DELETE /wd/hub/session/bccb86fe-0287-42c5-84c4-1d3c9d7106d9 {}
[debug] [MJSONWP] Calling AppiumDriver.deleteSession() with args: ["bccb86fe-0287-42c5-84c4-1d3c9d7106d9"]
[debug] [BaseDriver] Event 'quitSessionRequested' logged at 1508837079899 (14:54:39 GMT+0530 (India Standard Time))
[info] [Appium] Removing session bccb86fe-0287-42c5-84c4-1d3c9d7106d9 from our master session list
[debug] [AndroidDriver] Shutting down Android driver
[debug] [ADB] Getting connected devices...[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running 'C:\Users\cdas\AppData\Local\Android\sdk\platform-tools\adb.exe' with args: ["-P",5037,"-s","A6TDU15401007022","shell","am","force-stop","com.facebook.katana"][debug] [ADB] Pressing the HOME button
[debug] [ADB] Getting connected devices...[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running 'C:\Users\cdas\AppData\Local\Android\sdk\platform-tools\adb.exe' with args: ["-P",5037,"-s","A6TDU15401007022","shell","input","keyevent",3][debug] [AndroidBootstrap] Sending command to android: {"cmd":"shutdown"}
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got data from client: {"cmd":"shutdown"}
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command of type SHUTDOWN
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Returning result: {"status":0,"value":"OK, shutting down"}
[debug] [AndroidBootstrap] Received command result from bootstrap
[debug] [UiAutomator] Shutting down UiAutomator
[debug] [UiAutomator] Moving to state 'stopping'
[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 'C:\Users\cdas\AppData\Local\Android\sdk\platform-tools\adb.exe' with args: ["-P",5037,"-s","A6TDU15401007022","shell","ps"][info] [ADB] No uiautomator process found to kill, continuing...
[debug] [UiAutomator] Moving to state 'stopped'
[debug] [Logcat] Stopping logcat capture
[debug] [ADB] Getting connected devices...[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running 'C:\Users\cdas\AppData\Local\Android\sdk\platform-tools\adb.exe' with args: ["-P",5037,"-s","A6TDU15401007022","shell","am","force-stop","io.appium.unlock"][debug] [AndroidDriver] Not cleaning generated files. Add clearSystemFiles capability if wanted.
[debug] [BaseDriver] Event 'quitSessionFinished' logged at 1508837095320 (14:54:55 GMT+0530 (India Standard Time))
[debug] [MJSONWP] Received response: null
[debug] [MJSONWP] But deleting session, so not returning
[debug] [MJSONWP] Responding to client with driver.deleteSession() result: null
[info] [HTTP] <-- DELETE /wd/hub/session/bccb86fe-0287-42c5-84c4-1d3c9d7106d9 200 15422 ms - 76 [info] [HTTP] --> POST /wd/hub/session {"desiredCapabilities":{"appPackage":"com.facebook.katana","appActivity":"com.facebook.katana.LoginActivity","autoGrantPermissions":"true","platformName":"Android","deviceName":"Android"}}
[debug] [MJSONWP] Calling AppiumDriver.createSession() with args: [{"appPackage":"com.facebook.katana","appActivity":"com.facebook.katana.LoginActivity","autoGrantPermissions":"true","platformName":"Android","deviceName":"Android"},null,null]
[debug] [BaseDriver] Event 'newSessionRequested' logged at 1508837362604 (14:59:22 GMT+0530 (India Standard Time))
[info] [Appium] Creating new AndroidDriver (v1.26.5) session
[info] [Appium] Capabilities:
[info] [Appium] appPackage: 'com.facebook.katana'
[info] [Appium] appActivity: 'com.facebook.katana.LoginActivity'
[info] [Appium] autoGrantPermissions: 'true'
[info] [Appium] platformName: 'Android'
[info] [Appium] deviceName: 'Android'
[warn] [BaseDriver] Capability 'autoGrantPermissions' changed from string to boolean. This may cause unexpected behavior
[info] [BaseDriver] Session created with session id: 5bc0699c-ba00-4ba4-b41d-f7ef9021530b
[debug] [AndroidDriver] Getting Java version[info] [AndroidDriver] Java version is: 1.8.0_111
[info] [ADB] Checking whether adb is present
[info] [ADB] Using adb.exe from C:\Users\cdas\AppData\Local\Android\sdk\platform-tools\adb.exe
[info] [AndroidDriver] Retrieving device list
[debug] [ADB] Trying to find a connected android device
[debug] [ADB] Getting connected devices...[debug] [ADB] 1 device(s) connected
[info] [AndroidDriver] Using device: A6TDU15401007022
[info] [ADB] Checking whether adb is present
[info] [ADB] Using adb.exe from C:\Users\cdas\AppData\Local\Android\sdk\platform-tools\adb.exe
[debug] [ADB] Setting device id to A6TDU15401007022
[info] [AndroidDriver] App file was not listed, instead we're going to run com.facebook.katana directly on the device
[debug] [AndroidDriver] Checking whether package is present on the device
[debug] [ADB] Getting connected devices...[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running 'C:\Users\cdas\AppData\Local\Android\sdk\platform-tools\adb.exe' with args: ["-P",5037,"-s","A6TDU15401007022","shell","pm","list","packages","com.facebook.katana"][info] [AndroidDriver] Starting Android session
[debug] [ADB] Running 'C:\Users\cdas\AppData\Local\Android\sdk\platform-tools\adb.exe' with args: ["-P",5037,"-s","A6TDU15401007022","wait-for-device"][debug] [ADB] Getting connected devices...[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running 'C:\Users\cdas\AppData\Local\Android\sdk\platform-tools\adb.exe' with args: ["-P",5037,"-s","A6TDU15401007022","shell","echo","ping"][debug] [Logcat] Starting logcat capture[debug] [AndroidDriver] Pushing settings apk to device...
[debug] [ADB] Getting install status for io.appium.settings
[debug] [ADB] Getting connected devices...[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running 'C:\Users\cdas\AppData\Local\Android\sdk\platform-tools\adb.exe' with args: ["-P",5037,"-s","A6TDU15401007022","shell","pm","list","packages","io.appium.settings"][debug] [ADB] App is installed
[debug] [ADB] Getting package info for io.appium.settings
[debug] [ADB] Getting connected devices...[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running 'C:\Users\cdas\AppData\Local\Android\sdk\platform-tools\adb.exe' with args: ["-P",5037,"-s","A6TDU15401007022","shell","dumpsys","package","io.appium.settings"][info] [ADB] Checking whether aapt is present
[info] [ADB] Using aapt.exe from C:\Users\cdas\AppData\Local\Android\sdk\build-tools\25.0.3\aapt.exe[debug] [ADB] The installed "io.appium.settings" package does not require upgrade (4 >= 4)
[debug] [ADB] Getting connected devices...[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running 'C:\Users\cdas\AppData\Local\Android\sdk\platform-tools\adb.exe' with args: ["-P",5037,"-s","A6TDU15401007022","shell","getprop","ro.build.version.sdk"][debug] [ADB] Current device property 'ro.build.version.sdk': 23
[debug] [ADB] Device API level: 23
[debug] [ADB] Getting connected devices...[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running 'C:\Users\cdas\AppData\Local\Android\sdk\platform-tools\adb.exe' with args: ["-P",5037,"-s","A6TDU15401007022","shell","dumpsys","package","io.appium.settings"][debug] [ADB] Getting connected devices...[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running 'C:\Users\cdas\AppData\Local\Android\sdk\platform-tools\adb.exe' with args: ["-P",5037,"-s","A6TDU15401007022","shell","pm","dump","io.appium.settings"][debug] [ADB] Got the following command chunks to execute: pm,grant,io.appium.settings,android.permission.CHANGE_NETWORK_STATE,;,pm,grant,io.appium.settings,android.permission.WRITE_SETTINGS,;,pm,grant,io.appium.settings,android.permission.ACCESS_MOCK_LOCATION,;
[debug] [ADB] Getting connected devices...[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running 'C:\Users\cdas\AppData\Local\Android\sdk\platform-tools\adb.exe' with args: ["-P",5037,"-s","A6TDU15401007022","shell","pm","grant","io.appium.settings","android.permission.CHANGE_NETWORK_STATE",";","pm","grant","io.appium.settings","android.permission.WRITE_SETTINGS",";","pm","grant","io.appium.settings","android.permission.ACCESS_MOCK_LOCATION",";"][debug] [ADB] Getting connected devices...[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running 'C:\Users\cdas\AppData\Local\Android\sdk\platform-tools\adb.exe' with args: ["-P",5037,"-s","A6TDU15401007022","shell","ps"][debug] [ADB] Device API level: 23
[debug] [ADB] Getting connected devices...[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running 'C:\Users\cdas\AppData\Local\Android\sdk\platform-tools\adb.exe' with args: ["-P",5037,"-s","A6TDU15401007022","shell","appops","set","io.appium.settings","android:mock_location","allow"][debug] [AndroidDriver] Pushing unlock helper app to device...
[debug] [ADB] Running 'C:\Users\cdas\AppData\Local\Android\sdk\platform-tools\adb.exe' with args: ["-P",5037,"-s","A6TDU15401007022","install","C:\Users\cdas\AppData\Local\Programs\appium-desktop\resources\app\node_modules\appium\node_modules\appium-unlock\bin\unlock_apk-debug.apk"][info] [ADB] Getting device platform version
[debug] [ADB] Getting connected devices...[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running 'C:\Users\cdas\AppData\Local\Android\sdk\platform-tools\adb.exe' with args: ["-P",5037,"-s","A6TDU15401007022","shell","getprop","ro.build.version.release"][debug] [ADB] Current device property 'ro.build.version.release': 6.0.1
[debug] [ADB] Getting connected devices...[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running 'C:\Users\cdas\AppData\Local\Android\sdk\platform-tools\adb.exe' with args: ["-P",5037,"-s","A6TDU15401007022","shell","wm","size"][debug] [ADB] Getting connected devices...[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running 'C:\Users\cdas\AppData\Local\Android\sdk\platform-tools\adb.exe' with args: ["-P",5037,"-s","A6TDU15401007022","shell","getprop","ro.product.model"][debug] [ADB] Current device property 'ro.product.model': Che1-L04
[debug] [ADB] Getting connected devices...[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running 'C:\Users\cdas\AppData\Local\Android\sdk\platform-tools\adb.exe' with args: ["-P",5037,"-s","A6TDU15401007022","shell","getprop","ro.product.manufacturer"][debug] [ADB] Current device property 'ro.product.manufacturer': HUAWEI
[warn] [AndroidDriver] No app sent in, not parsing package/activity
[debug] [AndroidDriver] No app capability. Assuming it is already on the device
[debug] [AndroidDriver] Running fast reset (stop and clear)
[debug] [ADB] Getting connected devices...[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running 'C:\Users\cdas\AppData\Local\Android\sdk\platform-tools\adb.exe' with args: ["-P",5037,"-s","A6TDU15401007022","shell","am","force-stop","com.facebook.katana"][debug] [ADB] Getting connected devices...[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running 'C:\Users\cdas\AppData\Local\Android\sdk\platform-tools\adb.exe' with args: ["-P",5037,"-s","A6TDU15401007022","shell","pm","clear","com.facebook.katana"][debug] [ADB] Device API level: 23
[debug] [ADB] Getting connected devices...[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running 'C:\Users\cdas\AppData\Local\Android\sdk\platform-tools\adb.exe' with args: ["-P",5037,"-s","A6TDU15401007022","shell","dumpsys","package","com.facebook.katana"][debug] [ADB] Getting connected devices...[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running 'C:\Users\cdas\AppData\Local\Android\sdk\platform-tools\adb.exe' with args: ["-P",5037,"-s","A6TDU15401007022","shell","pm","dump","com.facebook.katana"][debug] [ADB] Got the following command chunks to execute: pm,grant,com.facebook.katana,android.permission.WRITE_SETTINGS,;,pm,grant,com.facebook.katana,android.permission.ACCESS_COARSE_LOCATION,;,pm,grant,com.facebook.katana,android.permission.READ_CONTACTS,;,pm,grant,com.facebook.katana,android.permission.WRITE_CONTACTS,;,pm,grant,com.facebook.katana,android.permission.GET_ACCOUNTS,;,pm,grant,com.facebook.katana,android.permission.ACCESS_FINE_LOCATION,;,pm,grant,com.facebook.katana,android.permission.CAMERA,;,pm,grant,com.facebook.katana,android.permission.RECORD_AUDIO,;,pm,grant,com.facebook.katana,android.permission.WRITE_EXTERNAL_STORAGE,;,pm,grant,com.facebook.katana,android.permission.READ_PHONE_STATE,;,pm,grant,com.facebook.katana,android.permission.READ_CALENDAR,;,pm,grant,com.facebook.katana,android.permission.WRITE_CALENDAR,;,pm,grant,com.facebook.katana,android.permission.READ_SMS,;,pm,grant,com.facebook.katana,android.permission.CHANGE_NETWORK_STATE,;,pm,grant,com.facebook.katana,android.permission.SYSTEM_ALERT_WINDOW,;,pm,grant,com.facebook.katana,android.permission.READ_EXTERNAL_STORAGE,;
[debug] [ADB] Getting connected devices...[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running 'C:\Users\cdas\AppData\Local\Android\sdk\platform-tools\adb.exe' with args: ["-P",5037,"-s","A6TDU15401007022","shell","pm","grant","com.facebook.katana","android.permission.WRITE_SETTINGS",";","pm","grant","com.facebook.katana","android.permission.ACCESS_COARSE_LOCATION",";","pm","grant","com.facebook.katana","android.permission.READ_CONTACTS",";","pm","grant","com.facebook.katana","android.permission.WRITE_CONTACTS",";","pm","grant","com.facebook.katana","android.permission.GET_ACCOUNTS",";","pm","grant","com.facebook.katana","android.permission.ACCESS_FINE_LOCATION",";","pm","grant","com.facebook.katana","android.permission.CAMERA",";","pm","grant","com.facebook.katana","android.permission.RECORD_AUDIO",";","pm","grant","com.facebook.katana","android.permission.WRITE_EXTERNAL_STORAGE",";","pm","grant","com.facebook.katana","android.permission.READ_PHONE_STATE",";","pm","grant","com.facebook.katana","android.permission.READ_CALENDAR",";","pm","grant","com.facebook.katana","android.permission.WRITE_CALENDAR",";","pm","grant","com.facebook.katana","android.permission.READ_SMS",";","pm","grant","com.facebook.katana","android.permission.CHANGE_NETWORK_STATE",";","pm","grant","com.facebook.katana","android.permission.SYSTEM_ALERT_WINDOW",";"][debug] [ADB] Getting connected devices...[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running 'C:\Users\cdas\AppData\Local\Android\sdk\platform-tools\adb.exe' with args: ["-P",5037,"-s","A6TDU15401007022","shell","pm","grant","com.facebook.katana","android.permission.READ_EXTERNAL_STORAGE",";"][debug] [AndroidBootstrap] Watching for bootstrap disconnect
[debug] [ADB] Forwarding system: 4724 to device: 4724
[debug] [ADB] Running 'C:\Users\cdas\AppData\Local\Android\sdk\platform-tools\adb.exe' with args: ["-P",5037,"-s","A6TDU15401007022","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 'C:\Users\cdas\AppData\Local\Android\sdk\platform-tools\adb.exe' with args: ["-P",5037,"-s","A6TDU15401007022","push","C:\Users\cdas\AppData\Local\Programs\appium-desktop\resources\app\node_modules\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 'C:\Users\cdas\AppData\Local\Android\sdk\platform-tools\adb.exe' with args: ["-P",5037,"-s","A6TDU15401007022","shell","ps"][info] [ADB] No uiautomator process found to kill, continuing...
[debug] [UiAutomator] Starting UIAutomator
[debug] [ADB] Creating ADB subprocess with args: ["-P",5037,"-s","A6TDU15401007022","shell","uiautomator","runtest","AppiumBootstrap.jar","-c","io.appium.android.bootstrap.Bootstrap","-e","pkg","com.facebook.katana","-e","disableAndroidWatchers",false,"-e","acceptSslCerts",false][debug] [UiAutomator] Moving to state 'online'
[info] [AndroidBootstrap] Android bootstrap socket is now connected
[debug] [ADB] Getting connected devices...
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] json loading complete.
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Registered crash watchers.
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Client connected[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running 'C:\Users\cdas\AppData\Local\Android\sdk\platform-tools\adb.exe' with args: ["-P",5037,"-s","A6TDU15401007022","shell","dumpsys","window"][info] [AndroidDriver] Screen already unlocked, doing nothing
[debug] [ADB] Device API level: 23
[debug] [ADB] Getting connected devices...[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running 'C:\Users\cdas\AppData\Local\Android\sdk\platform-tools\adb.exe' with args: ["-P",5037,"-s","A6TDU15401007022","shell","am","start","-W","-n","com.facebook.katana/com.facebook.katana.LoginActivity","-S"][info] [Appium] New AndroidDriver session created successfully, session 5bc0699c-ba00-4ba4-b41d-f7ef9021530b added to master session list
[debug] [BaseDriver] Event 'newSessionStarted' logged at 1508837475829 (15:01:15 GMT+0530 (India Standard Time))
[debug] [MJSONWP] Responding to client with driver.createSession() result: {"platform":"LINUX","webStorageEnabled":false,"takesScreenshot":true,"javascriptEnabled":true,"databaseEnabled":false,"networkConnectionEnabled":true,"locationContextEnabled":false,"warnings":{},"desired":{"appPackage":"com.facebook.katana","appActivity":"com.facebook.katana.LoginActivity","autoGrantPermissions":true,"platformName":"Android","deviceName":"Android"},"appPackage":"com.facebook.katana","appActivity":"com.facebook.katana.LoginActivity","autoGrantPermissions":true,"platformName":"Android","deviceName":"A6TDU15401007022","deviceUDID":"A6TDU15401007022","platformVersion":"6.0.1","deviceScreenSize":"720x1280","deviceModel":"Che1-L04","deviceManufacturer":"HUAWEI"}
[info] [HTTP] <-- POST /wd/hub/session 200 113235 ms - 753
[info] [HTTP] --> GET /wd/hub/session/5bc0699c-ba00-4ba4-b41d-f7ef9021530b {}
[debug] [MJSONWP] Calling AppiumDriver.getSession() with args: ["5bc0699c-ba00-4ba4-b41d-f7ef9021530b"]
[debug] [MJSONWP] Responding to client with driver.getSession() result: {"platform":"LINUX","webStorageEnabled":false,"takesScreenshot":true,"javascriptEnabled":true,"databaseEnabled":false,"networkConnectionEnabled":true,"locationContextEnabled":false,"warnings":{},"desired":{"appPackage":"com.facebook.katana","appActivity":"com.facebook.katana.LoginActivity","autoGrantPermissions":true,"platformName":"Android","deviceName":"Android"},"appPackage":"com.facebook.katana","appActivity":"com.facebook.katana.LoginActivity","autoGrantPermissions":true,"platformName":"Android","deviceName":"A6TDU15401007022","deviceUDID":"A6TDU15401007022","platformVersion":"6.0.1","deviceScreenSize":"720x1280","deviceModel":"Che1-L04","deviceManufacturer":"HUAWEI"}
[info] [HTTP] <-- GET /wd/hub/session/5bc0699c-ba00-4ba4-b41d-f7ef9021530b 200 7 ms - 753
[info] [HTTP] --> GET /wd/hub/session/5bc0699c-ba00-4ba4-b41d-f7ef9021530b {}
[debug] [MJSONWP] Calling AppiumDriver.getSession() with args: ["5bc0699c-ba00-4ba4-b41d-f7ef9021530b"]
[debug] [MJSONWP] Responding to client with driver.getSession() result: {"platform":"LINUX","webStorageEnabled":false,"takesScreenshot":true,"javascriptEnabled":true,"databaseEnabled":false,"networkConnectionEnabled":true,"locationContextEnabled":false,"warnings":{},"desired":{"appPackage":"com.facebook.katana","appActivity":"com.facebook.katana.LoginActivity","autoGrantPermissions":true,"platformName":"Android","deviceName":"Android"},"appPackage":"com.facebook.katana","appActivity":"com.facebook.katana.LoginActivity","autoGrantPermissions":true,"platformName":"Android","deviceName":"A6TDU15401007022","deviceUDID":"A6TDU15401007022","platformVersion":"6.0.1","deviceScreenSize":"720x1280","deviceModel":"Che1-L04","deviceManufacturer":"HUAWEI"}
[info] [HTTP] <-- GET /wd/hub/session/5bc0699c-ba00-4ba4-b41d-f7ef9021530b 200 2 ms - 753
[info] [HTTP] --> POST /wd/hub/session/5bc0699c-ba00-4ba4-b41d-f7ef9021530b/timeouts {"type":"implicit","ms":20000}
[debug] [MJSONWP] Calling AppiumDriver.timeouts() with args: ["implicit",20000,"5bc0699c-ba00-4ba4-b41d-f7ef9021530b"]
[debug] [BaseDriver] Set implicit wait to 20000ms
[debug] [MJSONWP] Responding to client with driver.timeouts() result: null
[info] [HTTP] <-- POST /wd/hub/session/5bc0699c-ba00-4ba4-b41d-f7ef9021530b/timeouts 200 3 ms - 76
[info] [HTTP] --> POST /wd/hub/session/5bc0699c-ba00-4ba4-b41d-f7ef9021530b/timeouts {"type":"implicit","ms":10000}
[debug] [MJSONWP] Calling AppiumDriver.timeouts() with args: ["implicit",10000,"5bc0699c-ba00-4ba4-b41d-f7ef9021530b"]
[debug] [BaseDriver] Set implicit wait to 10000ms
[debug] [MJSONWP] Responding to client with driver.timeouts() result: null
[info] [HTTP] <-- POST /wd/hub/session/5bc0699c-ba00-4ba4-b41d-f7ef9021530b/timeouts 200 1 ms - 76
[info] [HTTP] --> POST /wd/hub/session/5bc0699c-ba00-4ba4-b41d-f7ef9021530b/element {"using":"-android uiautomator","value":"new UiSelector().resourceId(\"com.facebook.katana:id/login_username\")"}
[debug] [MJSONWP] Calling AppiumDriver.findElement() with args: ["-android uiautomator","new UiSelector().resourceId(\"com.facebook.katana:id/login_username\")","5bc0699c-ba00-4ba4-b41d-f7ef9021530b"]
[debug] [BaseDriver] Valid locator strategies for this request: xpath, id, class name, accessibility id, -android uiautomator
[debug] [BaseDriver] Valid locator strategies for this request: xpath, id, class name, accessibility id, -android uiautomator
[debug] [BaseDriver] Waiting up to 10000 ms for condition
[debug] [AndroidBootstrap] Sending command to android: {"cmd":"action","action":"find","params":{"strategy":"-android uiautomator","selector":"new UiSelector().resourceId(\"com.facebook.katana:id/login_username\")","context":"","multiple":false}}
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got data from client: {"cmd":"action","action":"find","params":{"strategy":"-android uiautomator","selector":"new UiSelector().resourceId(\"com.facebook.katana:id/login_username\")","context":"","multiple":false}}
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command of type ACTION
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command action: find
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Finding 'new UiSelector().resourceId("com.facebook.katana:id/login_username")' using 'ANDROID_UIAUTOMATOR' with the contextId: '' multiple: false
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Parsing selector: new UiSelector().resourceId("com.facebook.katana:id/login_username")
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] UiSelector coerce type: class java.lang.String arg: "com.facebook.katana:id/login_username"
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Using: UiSelector[RESOURCE_ID=com.facebook.katana:id/login_username][debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Failed to locate element. Clearing Accessibility cache and retrying.
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Finding 'new UiSelector().resourceId("com.facebook.katana:id/login_username")' using 'ANDROID_UIAUTOMATOR' with the contextId: '' multiple: false
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Parsing selector: new UiSelector().resourceId("com.facebook.katana:id/login_username")
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] UiSelector coerce type: class java.lang.String arg: "com.facebook.katana:id/login_username"
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Using: UiSelector[RESOURCE_ID=com.facebook.katana:id/login_username][debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Returning result: {"status":0,"value":{"ELEMENT":"1"}}
[debug] [AndroidBootstrap] Received command result from bootstrap
[debug] [MJSONWP] Responding to client with driver.findElement() result: {"ELEMENT":"1"}
[info] [HTTP] <-- POST /wd/hub/session/5bc0699c-ba00-4ba4-b41d-f7ef9021530b/element 200 3727 ms - 87
[info] [HTTP] --> DELETE /wd/hub/session/5bc0699c-ba00-4ba4-b41d-f7ef9021530b {}
[debug] [MJSONWP] Calling AppiumDriver.deleteSession() with args: ["5bc0699c-ba00-4ba4-b41d-f7ef9021530b"]
[debug] [BaseDriver] Event 'quitSessionRequested' logged at 1508837479725 (15:01:19 GMT+0530 (India Standard Time))
[info] [Appium] Removing session 5bc0699c-ba00-4ba4-b41d-f7ef9021530b from our master session list
[debug] [AndroidDriver] Shutting down Android driver
[debug] [ADB] Getting connected devices...[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running 'C:\Users\cdas\AppData\Local\Android\sdk\platform-tools\adb.exe' with args: ["-P",5037,"-s","A6TDU15401007022","shell","am","force-stop","com.facebook.katana"][debug] [ADB] Pressing the HOME button
[debug] [ADB] Getting connected devices...[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running 'C:\Users\cdas\AppData\Local\Android\sdk\platform-tools\adb.exe' with args: ["-P",5037,"-s","A6TDU15401007022","shell","input","keyevent",3][debug] [AndroidBootstrap] Sending command to android: {"cmd":"shutdown"}
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got data from client: {"cmd":"shutdown"}
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command of type SHUTDOWN
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Returning result: {"status":0,"value":"OK, shutting down"}
[debug] [AndroidBootstrap] Received command result from bootstrap
[debug] [UiAutomator] Shutting down UiAutomator
[debug] [UiAutomator] Moving to state 'stopping'[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running 'C:\Users\cdas\AppData\Local\Android\sdk\platform-tools\adb.exe' with args: ["-P",5037,"-s","A6TDU15401007022","shell","ps"][info] [ADB] No uiautomator process found to kill, continuing...
[debug] [UiAutomator] Moving to state 'stopped'
[debug] [Logcat] Stopping logcat capture[debug] [ADB] Getting connected devices...[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running 'C:\Users\cdas\AppData\Local\Android\sdk\platform-tools\adb.exe' with args: ["-P",5037,"-s","A6TDU15401007022","shell","am","force-stop","io.appium.unlock"][debug] [AndroidDriver] Not cleaning generated files. Add clearSystemFiles capability if wanted.
[debug] [BaseDriver] Event 'quitSessionFinished' logged at 1508837495100 (15:01:35 GMT+0530 (India Standard Time))
[debug] [MJSONWP] Received response: null
[debug] [MJSONWP] But deleting session, so not returning
[debug] [MJSONWP] Responding to client with driver.deleteSession() result: null
[info] [HTTP] <-- DELETE /wd/hub/session/5bc0699c-ba00-4ba4-b41d-f7ef9021530b 200 15375 ms - 76 [info] [HTTP] --> POST /wd/hub/session {"desiredCapabilities":{"appPackage":"com.facebook.katana","appActivity":"com.facebook.katana.LoginActivity","autoGrantPermissions":"true","platformName":"Android","deviceName":"Android"}}
[debug] [MJSONWP] Calling AppiumDriver.createSession() with args: [{"appPackage":"com.facebook.katana","appActivity":"com.facebook.katana.LoginActivity","autoGrantPermissions":"true","platformName":"Android","deviceName":"Android"},null,null]
[debug] [BaseDriver] Event 'newSessionRequested' logged at 1508837686503 (15:04:46 GMT+0530 (India Standard Time))
[info] [Appium] Creating new AndroidDriver (v1.26.5) session
[info] [Appium] Capabilities:
[info] [Appium] appPackage: 'com.facebook.katana'
[info] [Appium] appActivity: 'com.facebook.katana.LoginActivity'
[info] [Appium] autoGrantPermissions: 'true'
[info] [Appium] platformName: 'Android'
[info] [Appium] deviceName: 'Android'
[warn] [BaseDriver] Capability 'autoGrantPermissions' changed from string to boolean. This may cause unexpected behavior
[info] [BaseDriver] Session created with session id: b7c5d800-e2ec-4b99-8808-7efe9e7569b6
[debug] [AndroidDriver] Getting Java version[info] [AndroidDriver] Java version is: 1.8.0_111
[info] [ADB] Checking whether adb is present
[info] [ADB] Using adb.exe from C:\Users\cdas\AppData\Local\Android\sdk\platform-tools\adb.exe
[info] [AndroidDriver] Retrieving device list
[debug] [ADB] Trying to find a connected android device
[debug] [ADB] Getting connected devices...[debug] [ADB] 1 device(s) connected
[info] [AndroidDriver] Using device: A6TDU15401007022
[info] [ADB] Checking whether adb is present
[info] [ADB] Using adb.exe from C:\Users\cdas\AppData\Local\Android\sdk\platform-tools\adb.exe
[debug] [ADB] Setting device id to A6TDU15401007022
[info] [AndroidDriver] App file was not listed, instead we're going to run com.facebook.katana directly on the device
[debug] [AndroidDriver] Checking whether package is present on the device
[debug] [ADB] Getting connected devices...[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running 'C:\Users\cdas\AppData\Local\Android\sdk\platform-tools\adb.exe' with args: ["-P",5037,"-s","A6TDU15401007022","shell","pm","list","packages","com.facebook.katana"][info] [AndroidDriver] Starting Android session
[debug] [ADB] Running 'C:\Users\cdas\AppData\Local\Android\sdk\platform-tools\adb.exe' with args: ["-P",5037,"-s","A6TDU15401007022","wait-for-device"][debug] [ADB] Getting connected devices...[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running 'C:\Users\cdas\AppData\Local\Android\sdk\platform-tools\adb.exe' with args: ["-P",5037,"-s","A6TDU15401007022","shell","echo","ping"][debug] [Logcat] Starting logcat capture[debug] [AndroidDriver] Pushing settings apk to device...
[debug] [ADB] Getting install status for io.appium.settings
[debug] [ADB] Getting connected devices...[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running 'C:\Users\cdas\AppData\Local\Android\sdk\platform-tools\adb.exe' with args: ["-P",5037,"-s","A6TDU15401007022","shell","pm","list","packages","io.appium.settings"][debug] [ADB] App is installed
[debug] [ADB] Getting package info for io.appium.settings
[debug] [ADB] Getting connected devices...[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running 'C:\Users\cdas\AppData\Local\Android\sdk\platform-tools\adb.exe' with args: ["-P",5037,"-s","A6TDU15401007022","shell","dumpsys","package","io.appium.settings"][info] [ADB] Checking whether aapt is present[debug] [ADB] The installed "io.appium.settings" package does not require upgrade (4 >= 4)
[debug] [ADB] Getting connected devices...[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running 'C:\Users\cdas\AppData\Local\Android\sdk\platform-tools\adb.exe' with args: ["-P",5037,"-s","A6TDU15401007022","shell","getprop","ro.build.version.sdk"][debug] [ADB] Current device property 'ro.build.version.sdk': 23
[debug] [ADB] Device API level: 23
[debug] [ADB] Getting connected devices...[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running 'C:\Users\cdas\AppData\Local\Android\sdk\platform-tools\adb.exe' with args: ["-P",5037,"-s","A6TDU15401007022","shell","dumpsys","package","io.appium.settings"][debug] [ADB] Getting connected devices...[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running 'C:\Users\cdas\AppData\Local\Android\sdk\platform-tools\adb.exe' with args: ["-P",5037,"-s","A6TDU15401007022","shell","pm","dump","io.appium.settings"][debug] [ADB] Got the following command chunks to execute: pm,grant,io.appium.settings,android.permission.CHANGE_NETWORK_STATE,;,pm,grant,io.appium.settings,android.permission.WRITE_SETTINGS,;,pm,grant,io.appium.settings,android.permission.ACCESS_MOCK_LOCATION,;
[debug] [ADB] Getting connected devices...[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running 'C:\Users\cdas\AppData\Local\Android\sdk\platform-tools\adb.exe' with args: ["-P",5037,"-s","A6TDU15401007022","shell","pm","grant","io.appium.settings","android.permission.CHANGE_NETWORK_STATE",";","pm","grant","io.appium.settings","android.permission.WRITE_SETTINGS",";","pm","grant","io.appium.settings","android.permission.ACCESS_MOCK_LOCATION",";"][debug] [ADB] Getting connected devices...[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running 'C:\Users\cdas\AppData\Local\Android\sdk\platform-tools\adb.exe' with args: ["-P",5037,"-s","A6TDU15401007022","shell","ps"][debug] [ADB] Device API level: 23
[debug] [ADB] Getting connected devices...[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running 'C:\Users\cdas\AppData\Local\Android\sdk\platform-tools\adb.exe' with args: ["-P",5037,"-s","A6TDU15401007022","shell","appops","set","io.appium.settings","android:mock_location","allow"][debug] [AndroidDriver] Pushing unlock helper app to device...
[debug] [ADB] Running 'C:\Users\cdas\AppData\Local\Android\sdk\platform-tools\adb.exe' with args: ["-P",5037,"-s","A6TDU15401007022","install","C:\Users\cdas\AppData\Local\Programs\appium-desktop\resources\app\node_modules\appium\node_modules\appium-unlock\bin\unlock_apk-debug.apk"][info] [ADB] Getting device platform version
[debug] [ADB] Getting connected devices...[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running 'C:\Users\cdas\AppData\Local\Android\sdk\platform-tools\adb.exe' with args: ["-P",5037,"-s","A6TDU15401007022","shell","getprop","ro.build.version.release"][debug] [ADB] Current device property 'ro.build.version.release': 6.0.1
[debug] [ADB] Getting connected devices...[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running 'C:\Users\cdas\AppData\Local\Android\sdk\platform-tools\adb.exe' with args: ["-P",5037,"-s","A6TDU15401007022","shell","wm","size"][debug] [ADB] Getting connected devices...[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running 'C:\Users\cdas\AppData\Local\Android\sdk\platform-tools\adb.exe' with args: ["-P",5037,"-s","A6TDU15401007022","shell","getprop","ro.product.model"][debug] [ADB] Current device property 'ro.product.model': Che1-L04
[debug] [ADB] Getting connected devices...[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running 'C:\Users\cdas\AppData\Local\Android\sdk\platform-tools\adb.exe' with args: ["-P",5037,"-s","A6TDU15401007022","shell","getprop","ro.product.manufacturer"][debug] [ADB] Current device property 'ro.product.manufacturer': HUAWEI
[warn] [AndroidDriver] No app sent in, not parsing package/activity
[debug] [AndroidDriver] No app capability. Assuming it is already on the device
[debug] [AndroidDriver] Running fast reset (stop and clear)
[debug] [ADB] Getting connected devices...[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running 'C:\Users\cdas\AppData\Local\Android\sdk\platform-tools\adb.exe' with args: ["-P",5037,"-s","A6TDU15401007022","shell","am","force-stop","com.facebook.katana"][debug] [ADB] Getting connected devices...[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running 'C:\Users\cdas\AppData\Local\Android\sdk\platform-tools\adb.exe' with args: ["-P",5037,"-s","A6TDU15401007022","shell","pm","clear","com.facebook.katana"][debug] [ADB] Device API level: 23
[debug] [ADB] Getting connected devices...[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running 'C:\Users\cdas\AppData\Local\Android\sdk\platform-tools\adb.exe' with args: ["-P",5037,"-s","A6TDU15401007022","shell","dumpsys","package","com.facebook.katana"][debug] [ADB] Getting connected devices...[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running 'C:\Users\cdas\AppData\Local\Android\sdk\platform-tools\adb.exe' with args: ["-P",5037,"-s","A6TDU15401007022","shell","pm","dump","com.facebook.katana"][debug] [ADB] Got the following command chunks to execute: pm,grant,com.facebook.katana,android.permission.WRITE_SETTINGS,;,pm,grant,com.facebook.katana,android.permission.ACCESS_COARSE_LOCATION,;,pm,grant,com.facebook.katana,android.permission.READ_CONTACTS,;,pm,grant,com.facebook.katana,android.permission.WRITE_CONTACTS,;,pm,grant,com.facebook.katana,android.permission.GET_ACCOUNTS,;,pm,grant,com.facebook.katana,android.permission.ACCESS_FINE_LOCATION,;,pm,grant,com.facebook.katana,android.permission.CAMERA,;,pm,grant,com.facebook.katana,android.permission.RECORD_AUDIO,;,pm,grant,com.facebook.katana,android.permission.WRITE_EXTERNAL_STORAGE,;,pm,grant,com.facebook.katana,android.permission.READ_PHONE_STATE,;,pm,grant,com.facebook.katana,android.permission.READ_CALENDAR,;,pm,grant,com.facebook.katana,android.permission.WRITE_CALENDAR,;,pm,grant,com.facebook.katana,android.permission.READ_SMS,;,pm,grant,com.facebook.katana,android.permission.CHANGE_NETWORK_STATE,;,pm,grant,com.facebook.katana,android.permission.SYSTEM_ALERT_WINDOW,;,pm,grant,com.facebook.katana,android.permission.READ_EXTERNAL_STORAGE,;
[debug] [ADB] Getting connected devices...[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running 'C:\Users\cdas\AppData\Local\Android\sdk\platform-tools\adb.exe' with args: ["-P",5037,"-s","A6TDU15401007022","shell","pm","grant","com.facebook.katana","android.permission.WRITE_SETTINGS",";","pm","grant","com.facebook.katana","android.permission.ACCESS_COARSE_LOCATION",";","pm","grant","com.facebook.katana","android.permission.READ_CONTACTS",";","pm","grant","com.facebook.katana","android.permission.WRITE_CONTACTS",";","pm","grant","com.facebook.katana","android.permission.GET_ACCOUNTS",";","pm","grant","com.facebook.katana","android.permission.ACCESS_FINE_LOCATION",";","pm","grant","com.facebook.katana","android.permission.CAMERA",";","pm","grant","com.facebook.katana","android.permission.RECORD_AUDIO",";","pm","grant","com.facebook.katana","android.permission.WRITE_EXTERNAL_STORAGE",";","pm","grant","com.facebook.katana","android.permission.READ_PHONE_STATE",";","pm","grant","com.facebook.katana","android.permission.READ_CALENDAR",";","pm","grant","com.facebook.katana","android.permission.WRITE_CALENDAR",";","pm","grant","com.facebook.katana","android.permission.READ_SMS",";","pm","grant","com.facebook.katana","android.permission.CHANGE_NETWORK_STATE",";","pm","grant","com.facebook.katana","android.permission.SYSTEM_ALERT_WINDOW",";"][debug] [ADB] Getting connected devices...[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running 'C:\Users\cdas\AppData\Local\Android\sdk\platform-tools\adb.exe' with args: ["-P",5037,"-s","A6TDU15401007022","shell","pm","grant","com.facebook.katana","android.permission.READ_EXTERNAL_STORAGE",";"][debug] [AndroidBootstrap] Watching for bootstrap disconnect
[debug] [ADB] Forwarding system: 4724 to device: 4724
[debug] [ADB] Running 'C:\Users\cdas\AppData\Local\Android\sdk\platform-tools\adb.exe' with args: ["-P",5037,"-s","A6TDU15401007022","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 'C:\Users\cdas\AppData\Local\Android\sdk\platform-tools\adb.exe' with args: ["-P",5037,"-s","A6TDU15401007022","push","C:\Users\cdas\AppData\Local\Programs\appium-desktop\resources\app\node_modules\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 'C:\Users\cdas\AppData\Local\Android\sdk\platform-tools\adb.exe' with args: ["-P",5037,"-s","A6TDU15401007022","shell","ps"][info] [ADB] No uiautomator process found to kill, continuing...
[debug] [UiAutomator] Starting UIAutomator
[debug] [ADB] Creating ADB subprocess with args: ["-P",5037,"-s","A6TDU15401007022","shell","uiautomator","runtest","AppiumBootstrap.jar","-c","io.appium.android.bootstrap.Bootstrap","-e","pkg","com.facebook.katana","-e","disableAndroidWatchers",false,"-e","acceptSslCerts",false][debug] [UiAutomator] Moving to state 'online'
[info] [AndroidBootstrap] Android bootstrap socket is now connected
[debug] [ADB] Getting connected devices...
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] json loading complete.
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Registered crash watchers.
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Client connected[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running 'C:\Users\cdas\AppData\Local\Android\sdk\platform-tools\adb.exe' with args: ["-P",5037,"-s","A6TDU15401007022","shell","dumpsys","window"][info] [AndroidDriver] Screen already unlocked, doing nothing
[debug] [ADB] Device API level: 23
[debug] [ADB] Getting connected devices...[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running 'C:\Users\cdas\AppData\Local\Android\sdk\platform-tools\adb.exe' with args: ["-P",5037,"-s","A6TDU15401007022","shell","am","start","-W","-n","com.facebook.katana/com.facebook.katana.LoginActivity","-S"][info] [Appium] New AndroidDriver session created successfully, session b7c5d800-e2ec-4b99-8808-7efe9e7569b6 added to master session list
[debug] [BaseDriver] Event 'newSessionStarted' logged at 1508837802334 (15:06:42 GMT+0530 (India Standard Time))
[debug] [MJSONWP] Responding to client with driver.createSession() result: {"platform":"LINUX","webStorageEnabled":false,"takesScreenshot":true,"javascriptEnabled":true,"databaseEnabled":false,"networkConnectionEnabled":true,"locationContextEnabled":false,"warnings":{},"desired":{"appPackage":"com.facebook.katana","appActivity":"com.facebook.katana.LoginActivity","autoGrantPermissions":true,"platformName":"Android","deviceName":"Android"},"appPackage":"com.facebook.katana","appActivity":"com.facebook.katana.LoginActivity","autoGrantPermissions":true,"platformName":"Android","deviceName":"A6TDU15401007022","deviceUDID":"A6TDU15401007022","platformVersion":"6.0.1","deviceScreenSize":"720x1280","deviceModel":"Che1-L04","deviceManufacturer":"HUAWEI"}
[info] [HTTP] <-- POST /wd/hub/session 200 115839 ms - 753
[info] [HTTP] --> GET /wd/hub/session/b7c5d800-e2ec-4b99-8808-7efe9e7569b6 {}
[debug] [MJSONWP] Calling AppiumDriver.getSession() with args: ["b7c5d800-e2ec-4b99-8808-7efe9e7569b6"]
[debug] [MJSONWP] Responding to client with driver.getSession() result: {"platform":"LINUX","webStorageEnabled":false,"takesScreenshot":true,"javascriptEnabled":true,"databaseEnabled":false,"networkConnectionEnabled":true,"locationContextEnabled":false,"warnings":{},"desired":{"appPackage":"com.facebook.katana","appActivity":"com.facebook.katana.LoginActivity","autoGrantPermissions":true,"platformName":"Android","deviceName":"Android"},"appPackage":"com.facebook.katana","appActivity":"com.facebook.katana.LoginActivity","autoGrantPermissions":true,"platformName":"Android","deviceName":"A6TDU15401007022","deviceUDID":"A6TDU15401007022","platformVersion":"6.0.1","deviceScreenSize":"720x1280","deviceModel":"Che1-L04","deviceManufacturer":"HUAWEI"}
[info] [HTTP] <-- GET /wd/hub/session/b7c5d800-e2ec-4b99-8808-7efe9e7569b6 200 6 ms - 753
[info] [HTTP] --> GET /wd/hub/session/b7c5d800-e2ec-4b99-8808-7efe9e7569b6 {}
[debug] [MJSONWP] Calling AppiumDriver.getSession() with args: ["b7c5d800-e2ec-4b99-8808-7efe9e7569b6"]
[debug] [MJSONWP] Responding to client with driver.getSession() result: {"platform":"LINUX","webStorageEnabled":false,"takesScreenshot":true,"javascriptEnabled":true,"databaseEnabled":false,"networkConnectionEnabled":true,"locationContextEnabled":false,"warnings":{},"desired":{"appPackage":"com.facebook.katana","appActivity":"com.facebook.katana.LoginActivity","autoGrantPermissions":true,"platformName":"Android","deviceName":"Android"},"appPackage":"com.facebook.katana","appActivity":"com.facebook.katana.LoginActivity","autoGrantPermissions":true,"platformName":"Android","deviceName":"A6TDU15401007022","deviceUDID":"A6TDU15401007022","platformVersion":"6.0.1","deviceScreenSize":"720x1280","deviceModel":"Che1-L04","deviceManufacturer":"HUAWEI"}
[info] [HTTP] <-- GET /wd/hub/session/b7c5d800-e2ec-4b99-8808-7efe9e7569b6 200 2 ms - 753
[info] [HTTP] --> POST /wd/hub/session/b7c5d800-e2ec-4b99-8808-7efe9e7569b6/timeouts {"type":"implicit","ms":20000}
[debug] [MJSONWP] Calling AppiumDriver.timeouts() with args: ["implicit",20000,"b7c5d800-e2ec-4b99-8808-7efe9e7569b6"]
[debug] [BaseDriver] Set implicit wait to 20000ms
[debug] [MJSONWP] Responding to client with driver.timeouts() result: null
[info] [HTTP] <-- POST /wd/hub/session/b7c5d800-e2ec-4b99-8808-7efe9e7569b6/timeouts 200 3 ms - 76 [info] [HTTP] --> POST /wd/hub/session/b7c5d800-e2ec-4b99-8808-7efe9e7569b6/element {"using":"-android uiautomator","value":"new UiSelector().resourceId(\"com.facebook.katana:id/login_username\")"}
[debug] [MJSONWP] Calling AppiumDriver.findElement() with args: ["-android uiautomator","new UiSelector().resourceId(\"com.facebook.katana:id/login_username\")","b7c5d800-e2ec-4b99-8808-7efe9e7569b6"]
[debug] [BaseDriver] Valid locator strategies for this request: xpath, id, class name, accessibility id, -android uiautomator
[debug] [BaseDriver] Valid locator strategies for this request: xpath, id, class name, accessibility id, -android uiautomator
[debug] [BaseDriver] Waiting up to 10000 ms for condition
[debug] [AndroidBootstrap] Sending command to android: {"cmd":"action","action":"find","params":{"strategy":"-android uiautomator","selector":"new UiSelector().resourceId(\"com.facebook.katana:id/login_username\")","context":"","multiple":false}}
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got data from client: {"cmd":"action","action":"find","params":{"strategy":"-android uiautomator","selector":"new UiSelector().resourceId(\"com.facebook.katana:id/login_username\")","context":"","multiple":false}}
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command of type ACTION
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command action: find
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Finding 'new UiSelector().resourceId("com.facebook.katana:id/login_username")' using 'ANDROID_UIAUTOMATOR' with the contextId: '' multiple: false
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Parsing selector: new UiSelector().resourceId("com.facebook.katana:id/login_username")
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] UiSelector coerce type: class java.lang.String arg: "com.facebook.katana:id/login_username"
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Using: UiSelector[RESOURCE_ID=com.facebook.katana:id/login_username]
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Failed to locate element. Clearing Accessibility cache and retrying.
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Finding 'new UiSelector().resourceId("com.facebook.katana:id/login_username")' using 'ANDROID_UIAUTOMATOR' with the contextId: '' multiple: false
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Parsing selector: new UiSelector().resourceId("com.facebook.katana:id/login_username")
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] UiSelector coerce type: class java.lang.String arg: "com.facebook.katana:id/login_username"
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Using: UiSelector[RESOURCE_ID=com.facebook.katana:id/login_username]
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Returning result: {"status":7,"value":"No element found"}
[debug] [AndroidBootstrap] Received command result from bootstrap
[debug] [BaseDriver] Waited for 195 ms so far[debug] [AndroidBootstrap] Sending command to android: {"cmd":"action","action":"find","params":{"strategy":"-android uiautomator","selector":"new UiSelector().resourceId(\"com.facebook.katana:id/login_username\")","context":"","multiple":false}}
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got data from client: {"cmd":"action","action":"find","params":{"strategy":"-android uiautomator","selector":"new UiSelector().resourceId(\"com.facebook.katana:id/login_username\")","context":"","multiple":false}}
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command of type ACTION
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command action: find
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Finding 'new UiSelector().resourceId("com.facebook.katana:id/login_username")' using 'ANDROID_UIAUTOMATOR' with the contextId: '' multiple: false
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Parsing selector: new UiSelector().resourceId("com.facebook.katana:id/login_username")
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] UiSelector coerce type: class java.lang.String arg: "com.facebook.katana:id/login_username"
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Using: UiSelector[RESOURCE_ID=com.facebook.katana:id/login_username]
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Failed to locate element. Clearing Accessibility cache and retrying.
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Finding 'new UiSelector().resourceId("com.facebook.katana:id/login_username")' using 'ANDROID_UIAUTOMATOR' with the contextId: '' multiple: false
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Parsing selector: new UiSelector().resourceId("com.facebook.katana:id/login_username")
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] UiSelector coerce type: class java.lang.String arg: "com.facebook.katana:id/login_username"
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Using: UiSelector[RESOURCE_ID=com.facebook.katana:id/login_username]
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Returning result: {"status":7,"value":"No element found"}
[debug] [AndroidBootstrap] Received command result from bootstrap
[debug] [BaseDriver] Waited for 725 ms so far[debug] [AndroidBootstrap] Sending command to android: {"cmd":"action","action":"find","params":{"strategy":"-android uiautomator","selector":"new UiSelector().resourceId(\"com.facebook.katana:id/login_username\")","context":"","multiple":false}}
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got data from client: {"cmd":"action","action":"find","params":{"strategy":"-android uiautomator","selector":"new UiSelector().resourceId(\"com.facebook.katana:id/login_username\")","context":"","multiple":false}}
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command of type ACTION
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command action: find
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Finding 'new UiSelector().resourceId("com.facebook.katana:id/login_username")' using 'ANDROID_UIAUTOMATOR' with the contextId: '' multiple: false
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Parsing selector: new UiSelector().resourceId("com.facebook.katana:id/login_username")
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] UiSelector coerce type: class java.lang.String arg: "com.facebook.katana:id/login_username"
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Using: UiSelector[RESOURCE_ID=com.facebook.katana:id/login_username]
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Failed to locate element. Clearing Accessibility cache and retrying.[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Returning result: {"status":7,"value":"No element found"}
[debug] [AndroidBootstrap] Received command result from bootstrap
[debug] [BaseDriver] Waited for 1250 ms so far[debug] [AndroidBootstrap] Sending command to android: {"cmd":"action","action":"find","params":{"strategy":"-android uiautomator","selector":"new UiSelector().resourceId(\"com.facebook.katana:id/login_username\")","context":"","multiple":false}}
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got data from client: {"cmd":"action","action":"find","params":{"strategy":"-android uiautomator","selector":"new UiSelector().resourceId(\"com.facebook.katana:id/login_username\")","context":"","multiple":false}}
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command of type ACTION
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command action: find
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Finding 'new UiSelector().resourceId("com.facebook.katana:id/login_username")' using 'ANDROID_UIAUTOMATOR' with the contextId: '' multiple: false
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Parsing selector: new UiSelector().resourceId("com.facebook.katana:id/login_username")
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] UiSelector coerce type: class java.lang.String arg: "com.facebook.katana:id/login_username"
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Using: UiSelector[RESOURCE_ID=com.facebook.katana:id/login_username]
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Failed to locate element. Clearing Accessibility cache and retrying.
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Finding 'new UiSelector().resourceId("com.facebook.katana:id/login_username")' using 'ANDROID_UIAUTOMATOR' with the contextId: '' multiple: false
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Parsing selector: new UiSelector().resourceId("com.facebook.katana:id/login_username")
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] UiSelector coerce type: class java.lang.String arg: "com.facebook.katana:id/login_username"
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Using: UiSelector[RESOURCE_ID=com.facebook.katana:id/login_username]
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Returning result: {"status":7,"value":"No element found"}
[debug] [AndroidBootstrap] Received command result from bootstrap
[debug] [BaseDriver] Waited for 1773 ms so far[debug] [AndroidBootstrap] Sending command to android: {"cmd":"action","action":"find","params":{"strategy":"-android uiautomator","selector":"new UiSelector().resourceId(\"com.facebook.katana:id/login_username\")","context":"","multiple":false}}
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got data from client: {"cmd":"action","action":"find","params":{"strategy":"-android uiautomator","selector":"new UiSelector().resourceId(\"com.facebook.katana:id/login_username\")","context":"","multiple":false}}
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command of type ACTION
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command action: find
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Finding 'new UiSelector().resourceId("com.facebook.katana:id/login_username")' using 'ANDROID_UIAUTOMATOR' with the contextId: '' multiple: false
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Parsing selector: new UiSelector().resourceId("com.facebook.katana:id/login_username")
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] UiSelector coerce type: class java.lang.String arg: "com.facebook.katana:id/login_username"
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Using: UiSelector[RESOURCE_ID=com.facebook.katana:id/login_username]
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Failed to locate element. Clearing Accessibility cache and retrying.
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Finding 'new UiSelector().resourceId("com.facebook.katana:id/login_username")' using 'ANDROID_UIAUTOMATOR' with the contextId: '' multiple: false
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Parsing selector: new UiSelector().resourceId("com.facebook.katana:id/login_username")
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] UiSelector coerce type: class java.lang.String arg: "com.facebook.katana:id/login_username"
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Using: UiSelector[RESOURCE_ID=com.facebook.katana:id/login_username]
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Returning result: {"status":7,"value":"No element found"}
[debug] [AndroidBootstrap] Received command result from bootstrap
[debug] [BaseDriver] Waited for 2286 ms so far[debug] [AndroidBootstrap] Sending command to android: {"cmd":"action","action":"find","params":{"strategy":"-android uiautomator","selector":"new UiSelector().resourceId(\"com.facebook.katana:id/login_username\")","context":"","multiple":false}}
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got data from client: {"cmd":"action","action":"find","params":{"strategy":"-android uiautomator","selector":"new UiSelector().resourceId(\"com.facebook.katana:id/login_username\")","context":"","multiple":false}}
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command of type ACTION
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command action: find
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Finding 'new UiSelector().resourceId("com.facebook.katana:id/login_username")' using 'ANDROID_UIAUTOMATOR' with the contextId: '' multiple: false
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Parsing selector: new UiSelector().resourceId("com.facebook.katana:id/login_username")
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] UiSelector coerce type: class java.lang.String arg: "com.facebook.katana:id/login_username"
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Using: UiSelector[RESOURCE_ID=com.facebook.katana:id/login_username]
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Failed to locate element. Clearing Accessibility cache and retrying.
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Finding 'new UiSelector().resourceId("com.facebook.katana:id/login_username")' using 'ANDROID_UIAUTOMATOR' with the contextId: '' multiple: false
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Parsing selector: new UiSelector().resourceId("com.facebook.katana:id/login_username")
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] UiSelector coerce type: class java.lang.String arg: "com.facebook.katana:id/login_username"
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Using: UiSelector[RESOURCE_ID=com.facebook.katana:id/login_username]
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Returning result: {"status":7,"value":"No element found"}
[debug] [AndroidBootstrap] Received command result from bootstrap
[debug] [BaseDriver] Waited for 2813 ms so far[debug] [AndroidBootstrap] Sending command to android: {"cmd":"action","action":"find","params":{"strategy":"-android uiautomator","selector":"new UiSelector().resourceId(\"com.facebook.katana:id/login_username\")","context":"","multiple":false}}
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got data from client: {"cmd":"action","action":"find","params":{"strategy":"-android uiautomator","selector":"new UiSelector().resourceId(\"com.facebook.katana:id/login_username\")","context":"","multiple":false}}
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command of type ACTION
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command action: find
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Finding 'new UiSelector().resourceId("com.facebook.katana:id/login_username")' using 'ANDROID_UIAUTOMATOR' with the contextId: '' multiple: false
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Parsing selector: new UiSelector().resourceId("com.facebook.katana:id/login_username")
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] UiSelector coerce type: class java.lang.String arg: "com.facebook.katana:id/login_username"
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Using: UiSelector[RESOURCE_ID=com.facebook.katana:id/login_username]
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Failed to locate element. Clearing Accessibility cache and retrying.
[debug] [AndroidBootstrap] Received command result from bootstrap
[debug] [BaseDriver] Waited for 3363 ms so far
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Finding 'new UiSelector().resourceId("com.facebook.katana:id/login_username")' using 'ANDROID_UIAUTOMATOR' with the contextId: '' multiple: false
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Parsing selector: new UiSelector().resourceId("com.facebook.katana:id/login_username")
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] UiSelector coerce type: class java.lang.String arg: "com.facebook.katana:id/login_username"
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Using: UiSelector[RESOURCE_ID=com.facebook.katana:id/login_username]
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Returning result: {"status":7,"value":"No element found"}[debug] [AndroidBootstrap] Sending command to android: {"cmd":"action","action":"find","params":{"strategy":"-android uiautomator","selector":"new UiSelector().resourceId(\"com.facebook.katana:id/login_username\")","context":"","multiple":false}}
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got data from client: {"cmd":"action","action":"find","params":{"strategy":"-android uiautomator","selector":"new UiSelector().resourceId(\"com.facebook.katana:id/login_username\")","context":"","multiple":false}}
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command of type ACTION
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command action: find
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Finding 'new UiSelector().resourceId("com.facebook.katana:id/login_username")' using 'ANDROID_UIAUTOMATOR' with the contextId: '' multiple: false
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Parsing selector: new UiSelector().resourceId("com.facebook.katana:id/login_username")
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] UiSelector coerce type: class java.lang.String arg: "com.facebook.katana:id/login_username"
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Using: UiSelector[RESOURCE_ID=com.facebook.katana:id/login_username]
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Failed to locate element. Clearing Accessibility cache and retrying.
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Finding 'new UiSelector().resourceId("com.facebook.katana:id/login_username")' using 'ANDROID_UIAUTOMATOR' with the contextId: '' multiple: false
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Parsing selector: new UiSelector().resourceId("com.facebook.katana:id/login_username")
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] UiSelector coerce type: class java.lang.String arg: "com.facebook.katana:id/login_username"
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Using: UiSelector[RESOURCE_ID=com.facebook.katana:id/login_username]
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Returning result: {"status":7,"value":"No element found"}
[debug] [AndroidBootstrap] Received command result from bootstrap
[debug] [BaseDriver] Waited for 4084 ms so far[debug] [AndroidBootstrap] Sending command to android: {"cmd":"action","action":"find","params":{"strategy":"-android uiautomator","selector":"new UiSelector().resourceId(\"com.facebook.katana:id/login_username\")","context":"","multiple":false}}
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got data from client: {"cmd":"action","action":"find","params":{"strategy":"-android uiautomator","selector":"new UiSelector().resourceId(\"com.facebook.katana:id/login_username\")","context":"","multiple":false}}
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command of type ACTION
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command action: find
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Finding 'new UiSelector().resourceId("com.facebook.katana:id/login_username")' using 'ANDROID_UIAUTOMATOR' with the contextId: '' multiple: false
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Parsing selector: new UiSelector().resourceId("com.facebook.katana:id/login_username")
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] UiSelector coerce type: class java.lang.String arg: "com.facebook.katana:id/login_username"
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Using: UiSelector[RESOURCE_ID=com.facebook.katana:id/login_username]
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Failed to locate element. Clearing Accessibility cache and retrying.
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Finding 'new UiSelector().resourceId("com.facebook.katana:id/login_username")' using 'ANDROID_UIAUTOMATOR' with the contextId: '' multiple: false
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Parsing selector: new UiSelector().resourceId("com.facebook.katana:id/login_username")
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] UiSelector coerce type: class java.lang.String arg: "com.facebook.katana:id/login_username"
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Using: UiSelector[RESOURCE_ID=com.facebook.katana:id/login_username]
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Returning result: {"status":7,"value":"No element found"}
[debug] [AndroidBootstrap] Received command result from bootstrap
[debug] [BaseDriver] Waited for 4621 ms so far[debug] [AndroidBootstrap] Sending command to android: {"cmd":"action","action":"find","params":{"strategy":"-android uiautomator","selector":"new UiSelector().resourceId(\"com.facebook.katana:id/login_username\")","context":"","multiple":false}}
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got data from client: {"cmd":"action","action":"find","params":{"strategy":"-android uiautomator","selector":"new UiSelector().resourceId(\"com.facebook.katana:id/login_username\")","context":"","multiple":false}}
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command of type ACTION
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command action: find
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Finding 'new UiSelector().resourceId("com.facebook.katana:id/login_username")' using 'ANDROID_UIAUTOMATOR' with the contextId: '' multiple: false
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Parsing selector: new UiSelector().resourceId("com.facebook.katana:id/login_username")
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] UiSelector coerce type: class java.lang.String arg: "com.facebook.katana:id/login_username"
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Using: UiSelector[RESOURCE_ID=com.facebook.katana:id/login_username]
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Failed to locate element. Clearing Accessibility cache and retrying.
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Finding 'new UiSelector().resourceId("com.facebook.katana:id/login_username")' using 'ANDROID_UIAUTOMATOR' with the contextId: '' multiple: false
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Parsing selector: new UiSelector().resourceId("com.facebook.katana:id/login_username")
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] UiSelector coerce type: class java.lang.String arg: "com.facebook.katana:id/login_username"
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Using: UiSelector[RESOURCE_ID=com.facebook.katana:id/login_username]
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Returning result: {"status":7,"value":"No element found"}
[debug] [AndroidBootstrap] Received command result from bootstrap
[debug] [BaseDriver] Waited for 5162 ms so far[debug] [AndroidBootstrap] Sending command to android: {"cmd":"action","action":"find","params":{"strategy":"-android uiautomator","selector":"new UiSelector().resourceId(\"com.facebook.katana:id/login_username\")","context":"","multiple":false}}
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got data from client: {"cmd":"action","action":"find","params":{"strategy":"-android uiautomator","selector":"new UiSelector().resourceId(\"com.facebook.katana:id/login_username\")","context":"","multiple":false}}
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command of type ACTION
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command action: find
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Finding 'new UiSelector().resourceId("com.facebook.katana:id/login_username")' using 'ANDROID_UIAUTOMATOR' with the contextId: '' multiple: false
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Parsing selector: new UiSelector().resourceId("com.facebook.katana:id/login_username")
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] UiSelector coerce type: class java.lang.String arg: "com.facebook.katana:id/login_username"
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Using: UiSelector[RESOURCE_ID=com.facebook.katana:id/login_username][debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Failed to locate element. Clearing Accessibility cache and retrying.
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Finding 'new UiSelector().resourceId("com.facebook.katana:id/login_username")' using 'ANDROID_UIAUTOMATOR' with the contextId: '' multiple: false
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Parsing selector: new UiSelector().resourceId("com.facebook.katana:id/login_username")
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] UiSelector coerce type: class java.lang.String arg: "com.facebook.katana:id/login_username"
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Using: UiSelector[RESOURCE_ID=com.facebook.katana:id/login_username][debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Returning result: {"status":7,"value":"No element found"}
[debug] [AndroidBootstrap] Received command result from bootstrap
[debug] [BaseDriver] Waited for 8875 ms so far[debug] [AndroidBootstrap] Sending command to android: {"cmd":"action","action":"find","params":{"strategy":"-android uiautomator","selector":"new UiSelector().resourceId(\"com.facebook.katana:id/login_username\")","context":"","multiple":false}}
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got data from client: {"cmd":"action","action":"find","params":{"strategy":"-android uiautomator","selector":"new UiSelector().resourceId(\"com.facebook.katana:id/login_username\")","context":"","multiple":false}}
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command of type ACTION
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command action: find
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Finding 'new UiSelector().resourceId("com.facebook.katana:id/login_username")' using 'ANDROID_UIAUTOMATOR' with the contextId: '' multiple: false
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Parsing selector: new UiSelector().resourceId("com.facebook.katana:id/login_username")
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] UiSelector coerce type: class java.lang.String arg: "com.facebook.katana:id/login_username"
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Using: UiSelector[RESOURCE_ID=com.facebook.katana:id/login_username]
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Returning result: {"status":0,"value":{"ELEMENT":"1"}}
[debug] [AndroidBootstrap] Received command result from bootstrap
[debug] [MJSONWP] Responding to client with driver.findElement() result: {"ELEMENT":"1"}
[info] [HTTP] <-- POST /wd/hub/session/b7c5d800-e2ec-4b99-8808-7efe9e7569b6/element 200 9436 ms - 87
[info] [HTTP] --> DELETE /wd/hub/session/b7c5d800-e2ec-4b99-8808-7efe9e7569b6 {}
[debug] [MJSONWP] Calling AppiumDriver.deleteSession() with args: ["b7c5d800-e2ec-4b99-8808-7efe9e7569b6"]
[debug] [BaseDriver] Event 'quitSessionRequested' logged at 1508837811902 (15:06:51 GMT+0530 (India Standard Time))
[info] [Appium] Removing session b7c5d800-e2ec-4b99-8808-7efe9e7569b6 from our master session list
[debug] [AndroidDriver] Shutting down Android driver
[debug] [ADB] Getting connected devices...[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running 'C:\Users\cdas\AppData\Local\Android\sdk\platform-tools\adb.exe' with args: ["-P",5037,"-s","A6TDU15401007022","shell","am","force-stop","com.facebook.katana"][debug] [ADB] Pressing the HOME button
[debug] [ADB] Getting connected devices...[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running 'C:\Users\cdas\AppData\Local\Android\sdk\platform-tools\adb.exe' with args: ["-P",5037,"-s","A6TDU15401007022","shell","input","keyevent",3][debug] [AndroidBootstrap] Sending command to android: {"cmd":"shutdown"}
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got data from client: {"cmd":"shutdown"}
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command of type SHUTDOWN
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Returning result: {"status":0,"value":"OK, shutting down"}
[debug] [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] [AndroidBootstrap] Received command result from bootstrap
[debug] [UiAutomator] Shutting down UiAutomator
[debug] [UiAutomator] Moving to state 'stopping'
[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 'C:\Users\cdas\AppData\Local\Android\sdk\platform-tools\adb.exe' with args: ["-P",5037,"-s","A6TDU15401007022","shell","ps"][info] [ADB] No uiautomator process found to kill, continuing...
[debug] [UiAutomator] Moving to state 'stopped'
[debug] [Logcat] Stopping logcat capture
[debug] [ADB] Getting connected devices...[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running 'C:\Users\cdas\AppData\Local\Android\sdk\platform-tools\adb.exe' with args: ["-P",5037,"-s","A6TDU15401007022","shell","am","force-stop","io.appium.unlock"][debug] [AndroidDriver] Not cleaning generated files. Add clearSystemFiles capability if wanted.
[debug] [BaseDriver] Event 'quitSessionFinished' logged at 1508837826639 (15:07:06 GMT+0530 (India Standard Time))
[debug] [MJSONWP] Received response: null
[debug] [MJSONWP] But deleting session, so not returning
[debug] [MJSONWP] Responding to client with driver.deleteSession() result: null
[info] [HTTP] <-- DELETE /wd/hub/session/b7c5d800-e2ec-4b99-8808-7efe9e7569b6 200 14738 ms - 76 [info] [HTTP] --> POST /wd/hub/session {"desiredCapabilities":{"appPackage":"com.facebook.katana","appActivity":"com.facebook.katana.LoginActivity","autoGrantPermissions":"true","platformName":"Android","deviceName":"Android"}}
[debug] [MJSONWP] Calling AppiumDriver.createSession() with args: [{"appPackage":"com.facebook.katana","appActivity":"com.facebook.katana.LoginActivity","autoGrantPermissions":"true","platformName":"Android","deviceName":"Android"},null,null]
[debug] [BaseDriver] Event 'newSessionRequested' logged at 1508838067364 (15:11:07 GMT+0530 (India Standard Time))
[info] [Appium] Creating new AndroidDriver (v1.26.5) session
[info] [Appium] Capabilities:
[info] [Appium] appPackage: 'com.facebook.katana'
[info] [Appium] appActivity: 'com.facebook.katana.LoginActivity'
[info] [Appium] autoGrantPermissions: 'true'
[info] [Appium] platformName: 'Android'
[info] [Appium] deviceName: 'Android'
[warn] [BaseDriver] Capability 'autoGrantPermissions' changed from string to boolean. This may cause unexpected behavior
[info] [BaseDriver] Session created with session id: 61afe14b-d283-45a9-9e1b-68a25760d65f
[debug] [AndroidDriver] Getting Java version[info] [AndroidDriver] Java version is: 1.8.0_111
[info] [ADB] Checking whether adb is present
[info] [ADB] Using adb.exe from C:\Users\cdas\AppData\Local\Android\sdk\platform-tools\adb.exe
[info] [AndroidDriver] Retrieving device list
[debug] [ADB] Trying to find a connected android device
[debug] [ADB] Getting connected devices...[debug] [ADB] 1 device(s) connected
[info] [AndroidDriver] Using device: A6TDU15401007022
[info] [ADB] Checking whether adb is present
[info] [ADB] Using adb.exe from C:\Users\cdas\AppData\Local\Android\sdk\platform-tools\adb.exe
[debug] [ADB] Setting device id to A6TDU15401007022
[info] [AndroidDriver] App file was not listed, instead we're going to run com.facebook.katana directly on the device
[debug] [AndroidDriver] Checking whether package is present on the device
[debug] [ADB] Getting connected devices...[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running 'C:\Users\cdas\AppData\Local\Android\sdk\platform-tools\adb.exe' with args: ["-P",5037,"-s","A6TDU15401007022","shell","pm","list","packages","com.facebook.katana"][info] [AndroidDriver] Starting Android session
[debug] [ADB] Running 'C:\Users\cdas\AppData\Local\Android\sdk\platform-tools\adb.exe' with args: ["-P",5037,"-s","A6TDU15401007022","wait-for-device"][debug] [ADB] Getting connected devices...[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running 'C:\Users\cdas\AppData\Local\Android\sdk\platform-tools\adb.exe' with args: ["-P",5037,"-s","A6TDU15401007022","shell","echo","ping"][debug] [Logcat] Starting logcat capture[debug] [AndroidDriver] Pushing settings apk to device...
[debug] [ADB] Getting install status for io.appium.settings
[debug] [ADB] Getting connected devices...[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running 'C:\Users\cdas\AppData\Local\Android\sdk\platform-tools\adb.exe' with args: ["-P",5037,"-s","A6TDU15401007022","shell","pm","list","packages","io.appium.settings"][debug] [ADB] App is installed
[debug] [ADB] Getting package info for io.appium.settings
[debug] [ADB] Getting connected devices...[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running 'C:\Users\cdas\AppData\Local\Android\sdk\platform-tools\adb.exe' with args: ["-P",5037,"-s","A6TDU15401007022","shell","dumpsys","package","io.appium.settings"][info] [ADB] Checking whether aapt is present
[info] [ADB] Using aapt.exe from C:\Users\cdas\AppData\Local\Android\sdk\build-tools\25.0.3\aapt.exe[debug] [ADB] The installed "io.appium.settings" package does not require upgrade (4 >= 4)
[debug] [ADB] Getting connected devices...[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running 'C:\Users\cdas\AppData\Local\Android\sdk\platform-tools\adb.exe' with args: ["-P",5037,"-s","A6TDU15401007022","shell","getprop","ro.build.version.sdk"][debug] [ADB] Current device property 'ro.build.version.sdk': 23
[debug] [ADB] Device API level: 23
[debug] [ADB] Getting connected devices...[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running 'C:\Users\cdas\AppData\Local\Android\sdk\platform-tools\adb.exe' with args: ["-P",5037,"-s","A6TDU15401007022","shell","dumpsys","package","io.appium.settings"][debug] [ADB] Getting connected devices...[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running 'C:\Users\cdas\AppData\Local\Android\sdk\platform-tools\adb.exe' with args: ["-P",5037,"-s","A6TDU15401007022","shell","pm","dump","io.appium.settings"][debug] [ADB] Got the following command chunks to execute: pm,grant,io.appium.settings,android.permission.CHANGE_NETWORK_STATE,;,pm,grant,io.appium.settings,android.permission.WRITE_SETTINGS,;,pm,grant,io.appium.settings,android.permission.ACCESS_MOCK_LOCATION,;
[debug] [ADB] Getting connected devices...[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running 'C:\Users\cdas\AppData\Local\Android\sdk\platform-tools\adb.exe' with args: ["-P",5037,"-s","A6TDU15401007022","shell","pm","grant","io.appium.settings","android.permission.CHANGE_NETWORK_STATE",";","pm","grant","io.appium.settings","android.permission.WRITE_SETTINGS",";","pm","grant","io.appium.settings","android.permission.ACCESS_MOCK_LOCATION",";"][debug] [ADB] Getting connected devices...[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running 'C:\Users\cdas\AppData\Local\Android\sdk\platform-tools\adb.exe' with args: ["-P",5037,"-s","A6TDU15401007022","shell","ps"][debug] [ADB] Device API level: 23
[debug] [ADB] Getting connected devices...[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running 'C:\Users\cdas\AppData\Local\Android\sdk\platform-tools\adb.exe' with args: ["-P",5037,"-s","A6TDU15401007022","shell","am","start","-W","-n","io.appium.settings/.Settings","-a","android.intent.action.MAIN","-c","android.intent.category.LAUNCHER","-f","0x10200000"][debug] [ADB] Device API level: 23
[debug] [ADB] Getting connected devices...[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running 'C:\Users\cdas\AppData\Local\Android\sdk\platform-tools\adb.exe' with args: ["-P",5037,"-s","A6TDU15401007022","shell","appops","set","io.appium.settings","android:mock_location","allow"][debug] [AndroidDriver] Pushing unlock helper app to device...
[debug] [ADB] Running 'C:\Users\cdas\AppData\Local\Android\sdk\platform-tools\adb.exe' with args: ["-P",5037,"-s","A6TDU15401007022","install","C:\Users\cdas\AppData\Local\Programs\appium-desktop\resources\app\node_modules\appium\node_modules\appium-unlock\bin\unlock_apk-debug.apk"][info] [ADB] Getting device platform version
[debug] [ADB] Getting connected devices...[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running 'C:\Users\cdas\AppData\Local\Android\sdk\platform-tools\adb.exe' with args: ["-P",5037,"-s","A6TDU15401007022","shell","getprop","ro.build.version.release"][debug] [ADB] Current device property 'ro.build.version.release': 6.0.1
[debug] [ADB] Getting connected devices...[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running 'C:\Users\cdas\AppData\Local\Android\sdk\platform-tools\adb.exe' with args: ["-P",5037,"-s","A6TDU15401007022","shell","wm","size"][debug] [ADB] Getting connected devices...[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running 'C:\Users\cdas\AppData\Local\Android\sdk\platform-tools\adb.exe' with args: ["-P",5037,"-s","A6TDU15401007022","shell","getprop","ro.product.model"][debug] [ADB] Current device property 'ro.product.model': Che1-L04
[debug] [ADB] Getting connected devices...[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running 'C:\Users\cdas\AppData\Local\Android\sdk\platform-tools\adb.exe' with args: ["-P",5037,"-s","A6TDU15401007022","shell","getprop","ro.product.manufacturer"][debug] [ADB] Current device property 'ro.product.manufacturer': HUAWEI
[warn] [AndroidDriver] No app sent in, not parsing package/activity
[debug] [AndroidDriver] No app capability. Assuming it is already on the device
[debug] [AndroidDriver] Running fast reset (stop and clear)
[debug] [ADB] Getting connected devices...[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running 'C:\Users\cdas\AppData\Local\Android\sdk\platform-tools\adb.exe' with args: ["-P",5037,"-s","A6TDU15401007022","shell","am","force-stop","com.facebook.katana"][debug] [ADB] Getting connected devices...[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running 'C:\Users\cdas\AppData\Local\Android\sdk\platform-tools\adb.exe' with args: ["-P",5037,"-s","A6TDU15401007022","shell","pm","clear","com.facebook.katana"][debug] [ADB] Device API level: 23
[debug] [ADB] Getting connected devices...[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running 'C:\Users\cdas\AppData\Local\Android\sdk\platform-tools\adb.exe' with args: ["-P",5037,"-s","A6TDU15401007022","shell","dumpsys","package","com.facebook.katana"][debug] [ADB] Getting connected devices...[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running 'C:\Users\cdas\AppData\Local\Android\sdk\platform-tools\adb.exe' with args: ["-P",5037,"-s","A6TDU15401007022","shell","pm","dump","com.facebook.katana"][debug] [ADB] Got the following command chunks to execute: pm,grant,com.facebook.katana,android.permission.WRITE_SETTINGS,;,pm,grant,com.facebook.katana,android.permission.ACCESS_COARSE_LOCATION,;,pm,grant,com.facebook.katana,android.permission.READ_CONTACTS,;,pm,grant,com.facebook.katana,android.permission.WRITE_CONTACTS,;,pm,grant,com.facebook.katana,android.permission.GET_ACCOUNTS,;,pm,grant,com.facebook.katana,android.permission.ACCESS_FINE_LOCATION,;,pm,grant,com.facebook.katana,android.permission.CAMERA,;,pm,grant,com.facebook.katana,android.permission.RECORD_AUDIO,;,pm,grant,com.facebook.katana,android.permission.WRITE_EXTERNAL_STORAGE,;,pm,grant,com.facebook.katana,android.permission.READ_PHONE_STATE,;,pm,grant,com.facebook.katana,android.permission.READ_CALENDAR,;,pm,grant,com.facebook.katana,android.permission.WRITE_CALENDAR,;,pm,grant,com.facebook.katana,android.permission.READ_SMS,;,pm,grant,com.facebook.katana,android.permission.CHANGE_NETWORK_STATE,;,pm,grant,com.facebook.katana,android.permission.SYSTEM_ALERT_WINDOW,;,pm,grant,com.facebook.katana,android.permission.READ_EXTERNAL_STORAGE,;
[debug] [ADB] Getting connected devices...[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running 'C:\Users\cdas\AppData\Local\Android\sdk\platform-tools\adb.exe' with args: ["-P",5037,"-s","A6TDU15401007022","shell","pm","grant","com.facebook.katana","android.permission.WRITE_SETTINGS",";","pm","grant","com.facebook.katana","android.permission.ACCESS_COARSE_LOCATION",";","pm","grant","com.facebook.katana","android.permission.READ_CONTACTS",";","pm","grant","com.facebook.katana","android.permission.WRITE_CONTACTS",";","pm","grant","com.facebook.katana","android.permission.GET_ACCOUNTS",";","pm","grant","com.facebook.katana","android.permission.ACCESS_FINE_LOCATION",";","pm","grant","com.facebook.katana","android.permission.CAMERA",";","pm","grant","com.facebook.katana","android.permission.RECORD_AUDIO",";","pm","grant","com.facebook.katana","android.permission.WRITE_EXTERNAL_STORAGE",";","pm","grant","com.facebook.katana","android.permission.READ_PHONE_STATE",";","pm","grant","com.facebook.katana","android.permission.READ_CALENDAR",";","pm","grant","com.facebook.katana","android.permission.WRITE_CALENDAR",";","pm","grant","com.facebook.katana","android.permission.READ_SMS",";","pm","grant","com.facebook.katana","android.permission.CHANGE_NETWORK_STATE",";","pm","grant","com.facebook.katana","android.permission.SYSTEM_ALERT_WINDOW",";"][debug] [ADB] Getting connected devices...[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running 'C:\Users\cdas\AppData\Local\Android\sdk\platform-tools\adb.exe' with args: ["-P",5037,"-s","A6TDU15401007022","shell","pm","grant","com.facebook.katana","android.permission.READ_EXTERNAL_STORAGE",";"][debug] [AndroidBootstrap] Watching for bootstrap disconnect
[debug] [ADB] Forwarding system: 4724 to device: 4724
[debug] [ADB] Running 'C:\Users\cdas\AppData\Local\Android\sdk\platform-tools\adb.exe' with args: ["-P",5037,"-s","A6TDU15401007022","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 'C:\Users\cdas\AppData\Local\Android\sdk\platform-tools\adb.exe' with args: ["-P",5037,"-s","A6TDU15401007022","push","C:\Users\cdas\AppData\Local\Programs\appium-desktop\resources\app\node_modules\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 'C:\Users\cdas\AppData\Local\Android\sdk\platform-tools\adb.exe' with args: ["-P",5037,"-s","A6TDU15401007022","shell","ps"][info] [ADB] No uiautomator process found to kill, continuing...
[debug] [UiAutomator] Starting UIAutomator
[debug] [ADB] Creating ADB subprocess with args: ["-P",5037,"-s","A6TDU15401007022","shell","uiautomator","runtest","AppiumBootstrap.jar","-c","io.appium.android.bootstrap.Bootstrap","-e","pkg","com.facebook.katana","-e","disableAndroidWatchers",false,"-e","acceptSslCerts",false][debug] [UiAutomator] Moving to state 'online'
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Loading json...
[info] [AndroidBootstrap] Android bootstrap socket is now connected
[debug] [ADB] Getting connected devices...
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] json loading complete.
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Registered crash watchers.
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Client connected[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running 'C:\Users\cdas\AppData\Local\Android\sdk\platform-tools\adb.exe' with args: ["-P",5037,"-s","A6TDU15401007022","shell","dumpsys","window"][info] [AndroidDriver] Screen already unlocked, doing nothing
[debug] [ADB] Device API level: 23
[debug] [ADB] Getting connected devices...[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running 'C:\Users\cdas\AppData\Local\Android\sdk\platform-tools\adb.exe' with args: ["-P",5037,"-s","A6TDU15401007022","shell","am","start","-W","-n","com.facebook.katana/com.facebook.katana.LoginActivity","-S"][info] [Appium] New AndroidDriver session created successfully, session 61afe14b-d283-45a9-9e1b-68a25760d65f added to master session list
[debug] [BaseDriver] Event 'newSessionStarted' logged at 1508838179631 (15:12:59 GMT+0530 (India Standard Time))
[debug] [MJSONWP] Responding to client with driver.createSession() result: {"platform":"LINUX","webStorageEnabled":false,"takesScreenshot":true,"javascriptEnabled":true,"databaseEnabled":false,"networkConnectionEnabled":true,"locationContextEnabled":false,"warnings":{},"desired":{"appPackage":"com.facebook.katana","appActivity":"com.facebook.katana.LoginActivity","autoGrantPermissions":true,"platformName":"Android","deviceName":"Android"},"appPackage":"com.facebook.katana","appActivity":"com.facebook.katana.LoginActivity","autoGrantPermissions":true,"platformName":"Android","deviceName":"A6TDU15401007022","deviceUDID":"A6TDU15401007022","platformVersion":"6.0.1","deviceScreenSize":"720x1280","deviceModel":"Che1-L04","deviceManufacturer":"HUAWEI"}
[info] [HTTP] <-- POST /wd/hub/session 200 112274 ms - 753
[info] [HTTP] --> GET /wd/hub/session/61afe14b-d283-45a9-9e1b-68a25760d65f {}
[debug] [MJSONWP] Calling AppiumDriver.getSession() with args: ["61afe14b-d283-45a9-9e1b-68a25760d65f"]
[debug] [MJSONWP] Responding to client with driver.getSession() result: {"platform":"LINUX","webStorageEnabled":false,"takesScreenshot":true,"javascriptEnabled":true,"databaseEnabled":false,"networkConnectionEnabled":true,"locationContextEnabled":false,"warnings":{},"desired":{"appPackage":"com.facebook.katana","appActivity":"com.facebook.katana.LoginActivity","autoGrantPermissions":true,"platformName":"Android","deviceName":"Android"},"appPackage":"com.facebook.katana","appActivity":"com.facebook.katana.LoginActivity","autoGrantPermissions":true,"platformName":"Android","deviceName":"A6TDU15401007022","deviceUDID":"A6TDU15401007022","platformVersion":"6.0.1","deviceScreenSize":"720x1280","deviceModel":"Che1-L04","deviceManufacturer":"HUAWEI"}
[info] [HTTP] <-- GET /wd/hub/session/61afe14b-d283-45a9-9e1b-68a25760d65f 200 6 ms - 753
[info] [HTTP] --> GET /wd/hub/session/61afe14b-d283-45a9-9e1b-68a25760d65f {}
[debug] [MJSONWP] Calling AppiumDriver.getSession() with args: ["61afe14b-d283-45a9-9e1b-68a25760d65f"]
[debug] [MJSONWP] Responding to client with driver.getSession() result: {"platform":"LINUX","webStorageEnabled":false,"takesScreenshot":true,"javascriptEnabled":true,"databaseEnabled":false,"networkConnectionEnabled":true,"locationContextEnabled":false,"warnings":{},"desired":{"appPackage":"com.facebook.katana","appActivity":"com.facebook.katana.LoginActivity","autoGrantPermissions":true,"platformName":"Android","deviceName":"Android"},"appPackage":"com.facebook.katana","appActivity":"com.facebook.katana.LoginActivity","autoGrantPermissions":true,"platformName":"Android","deviceName":"A6TDU15401007022","deviceUDID":"A6TDU15401007022","platformVersion":"6.0.1","deviceScreenSize":"720x1280","deviceModel":"Che1-L04","deviceManufacturer":"HUAWEI"}
[info] [HTTP] <-- GET /wd/hub/session/61afe14b-d283-45a9-9e1b-68a25760d65f 200 1 ms - 753
[info] [HTTP] --> POST /wd/hub/session/61afe14b-d283-45a9-9e1b-68a25760d65f/timeouts {"type":"implicit","ms":20000}
[debug] [MJSONWP] Calling AppiumDriver.timeouts() with args: ["implicit",20000,"61afe14b-d283-45a9-9e1b-68a25760d65f"]
[debug] [BaseDriver] Set implicit wait to 20000ms
[debug] [MJSONWP] Responding to client with driver.timeouts() result: null
[info] [HTTP] <-- POST /wd/hub/session/61afe14b-d283-45a9-9e1b-68a25760d65f/timeouts 200 2 ms - 76
[info] [HTTP] --> POST /wd/hub/session/61afe14b-d283-45a9-9e1b-68a25760d65f/timeouts {"type":"implicit","ms":10000}
[debug] [MJSONWP] Calling AppiumDriver.timeouts() with args: ["implicit",10000,"61afe14b-d283-45a9-9e1b-68a25760d65f"]
[debug] [BaseDriver] Set implicit wait to 10000ms
[debug] [MJSONWP] Responding to client with driver.timeouts() result: null
[info] [HTTP] <-- POST /wd/hub/session/61afe14b-d283-45a9-9e1b-68a25760d65f/timeouts 200 1 ms - 76
[info] [HTTP] --> POST /wd/hub/session/61afe14b-d283-45a9-9e1b-68a25760d65f/element {"using":"-android uiautomator","value":"new UiSelector().resourceId(\"com.facebook.katana:id/login_username\")"}
[debug] [MJSONWP] Calling AppiumDriver.findElement() with args: ["-android uiautomator","new UiSelector().resourceId(\"com.facebook.katana:id/login_username\")","61afe14b-d283-45a9-9e1b-68a25760d65f"]
[debug] [BaseDriver] Valid locator strategies for this request: xpath, id, class name, accessibility id, -android uiautomator
[debug] [BaseDriver] Valid locator strategies for this request: xpath, id, class name, accessibility id, -android uiautomator
[debug] [BaseDriver] Waiting up to 10000 ms for condition
[debug] [AndroidBootstrap] Sending command to android: {"cmd":"action","action":"find","params":{"strategy":"-android uiautomator","selector":"new UiSelector().resourceId(\"com.facebook.katana:id/login_username\")","context":"","multiple":false}}
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got data from client: {"cmd":"action","action":"find","params":{"strategy":"-android uiautomator","selector":"new UiSelector().resourceId(\"com.facebook.katana:id/login_username\")","context":"","multiple":false}}
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command of type ACTION
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command action: find
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Finding 'new UiSelector().resourceId("com.facebook.katana:id/login_username")' using 'ANDROID_UIAUTOMATOR' with the contextId: '' multiple: false
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Parsing selector: new UiSelector().resourceId("com.facebook.katana:id/login_username")
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] UiSelector coerce type: class java.lang.String arg: "com.facebook.katana:id/login_username"
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Using: UiSelector[RESOURCE_ID=com.facebook.katana:id/login_username][debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Failed to locate element. Clearing Accessibility cache and retrying.
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Finding 'new UiSelector().resourceId("com.facebook.katana:id/login_username")' using 'ANDROID_UIAUTOMATOR' with the contextId: '' multiple: false
[debug] [AndroidBootstrap] Received command result from bootstrap
[debug] [BaseDriver] Waited for 249 ms so far
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Parsing selector: new UiSelector().resourceId("com.facebook.katana:id/login_username")
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] UiSelector coerce type: class java.lang.String arg: "com.facebook.katana:id/login_username"
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Using: UiSelector[RESOURCE_ID=com.facebook.katana:id/login_username]
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Returning result: {"status":7,"value":"No element found"}[debug] [AndroidBootstrap] Sending command to android: {"cmd":"action","action":"find","params":{"strategy":"-android uiautomator","selector":"new UiSelector().resourceId(\"com.facebook.katana:id/login_username\")","context":"","multiple":false}}
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got data from client: {"cmd":"action","action":"find","params":{"strategy":"-android uiautomator","selector":"new UiSelector().resourceId(\"com.facebook.katana:id/login_username\")","context":"","multiple":false}}
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command of type ACTION
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command action: find
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Finding 'new UiSelector().resourceId("com.facebook.katana:id/login_username")' using 'ANDROID_UIAUTOMATOR' with the contextId: '' multiple: false
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Parsing selector: new UiSelector().resourceId("com.facebook.katana:id/login_username")
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] UiSelector coerce type: class java.lang.String arg: "com.facebook.katana:id/login_username"
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Using: UiSelector[RESOURCE_ID=com.facebook.katana:id/login_username]
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Failed to locate element. Clearing Accessibility cache and retrying.
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Finding 'new UiSelector().resourceId("com.facebook.katana:id/login_username")' using 'ANDROID_UIAUTOMATOR' with the contextId: '' multiple: false
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Parsing selector: new UiSelector().resourceId("com.facebook.katana:id/login_username")
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] UiSelector coerce type: class java.lang.String arg: "com.facebook.katana:id/login_username"
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Using: UiSelector[RESOURCE_ID=com.facebook.katana:id/login_username]
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Returning result: {"status":7,"value":"No element found"}
[debug] [AndroidBootstrap] Received command result from bootstrap
[debug] [BaseDriver] Waited for 782 ms so far[debug] [AndroidBootstrap] Sending command to android: {"cmd":"action","action":"find","params":{"strategy":"-android uiautomator","selector":"new UiSelector().resourceId(\"com.facebook.katana:id/login_username\")","context":"","multiple":false}}
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got data from client: {"cmd":"action","action":"find","params":{"strategy":"-android uiautomator","selector":"new UiSelector().resourceId(\"com.facebook.katana:id/login_username\")","context":"","multiple":false}}
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command of type ACTION
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command action: find
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Finding 'new UiSelector().resourceId("com.facebook.katana:id/login_username")' using 'ANDROID_UIAUTOMATOR' with the contextId: '' multiple: false
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Parsing selector: new UiSelector().resourceId("com.facebook.katana:id/login_username")
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] UiSelector coerce type: class java.lang.String arg: "com.facebook.katana:id/login_username"
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Using: UiSelector[RESOURCE_ID=com.facebook.katana:id/login_username]
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Failed to locate element. Clearing Accessibility cache and retrying.
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Finding 'new UiSelector().resourceId("com.facebook.katana:id/login_username")' using 'ANDROID_UIAUTOMATOR' with the contextId: '' multiple: false
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Parsing selector: new UiSelector().resourceId("com.facebook.katana:id/login_username")
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] UiSelector coerce type: class java.lang.String arg: "com.facebook.katana:id/login_username"
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Using: UiSelector[RESOURCE_ID=com.facebook.katana:id/login_username]
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Returning result: {"status":7,"value":"No element found"}
[debug] [AndroidBootstrap] Received command result from bootstrap
[debug] [BaseDriver] Waited for 1307 ms so far[debug] [AndroidBootstrap] Sending command to android: {"cmd":"action","action":"find","params":{"strategy":"-android uiautomator","selector":"new UiSelector().resourceId(\"com.facebook.katana:id/login_username\")","context":"","multiple":false}}
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got data from client: {"cmd":"action","action":"find","params":{"strategy":"-android uiautomator","selector":"new UiSelector().resourceId(\"com.facebook.katana:id/login_username\")","context":"","multiple":false}}
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command of type ACTION
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command action: find
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Finding 'new UiSelector().resourceId("com.facebook.katana:id/login_username")' using 'ANDROID_UIAUTOMATOR' with the contextId: '' multiple: false
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Parsing selector: new UiSelector().resourceId("com.facebook.katana:id/login_username")
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] UiSelector coerce type: class java.lang.String arg: "com.facebook.katana:id/login_username"
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Using: UiSelector[RESOURCE_ID=com.facebook.katana:id/login_username]
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Failed to locate element. Clearing Accessibility cache and retrying.
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Finding 'new UiSelector().resourceId("com.facebook.katana:id/login_username")' using 'ANDROID_UIAUTOMATOR' with the contextId: '' multiple: false
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Parsing selector: new UiSelector().resourceId("com.facebook.katana:id/login_username")
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] UiSelector coerce type: class java.lang.String arg: "com.facebook.katana:id/login_username"
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Using: UiSelector[RESOURCE_ID=com.facebook.katana:id/login_username][debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Returning result: {"status":7,"value":"No element found"}
[debug] [AndroidBootstrap] Received command result from bootstrap
[debug] [BaseDriver] Waited for 1832 ms so far[debug] [AndroidBootstrap] Sending command to android: {"cmd":"action","action":"find","params":{"strategy":"-android uiautomator","selector":"new UiSelector().resourceId(\"com.facebook.katana:id/login_username\")","context":"","multiple":false}}
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got data from client: {"cmd":"action","action":"find","params":{"strategy":"-android uiautomator","selector":"new UiSelector().resourceId(\"com.facebook.katana:id/login_username\")","context":"","multiple":false}}
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command of type ACTION
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command action: find
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Finding 'new UiSelector().resourceId("com.facebook.katana:id/login_username")' using 'ANDROID_UIAUTOMATOR' with the contextId: '' multiple: false
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Parsing selector: new UiSelector().resourceId("com.facebook.katana:id/login_username")
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] UiSelector coerce type: class java.lang.String arg: "com.facebook.katana:id/login_username"
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Using: UiSelector[RESOURCE_ID=com.facebook.katana:id/login_username]
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Failed to locate element. Clearing Accessibility cache and retrying.
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Finding 'new UiSelector().resourceId("com.facebook.katana:id/login_username")' using 'ANDROID_UIAUTOMATOR' with the contextId: '' multiple: false
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Parsing selector: new UiSelector().resourceId("com.facebook.katana:id/login_username")
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] UiSelector coerce type: class java.lang.String arg: "com.facebook.katana:id/login_username"
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Using: UiSelector[RESOURCE_ID=com.facebook.katana:id/login_username]
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Returning result: {"status":7,"value":"No element found"}
[debug] [AndroidBootstrap] Received command result from bootstrap
[debug] [BaseDriver] Waited for 2362 ms so far[debug] [AndroidBootstrap] Sending command to android: {"cmd":"action","action":"find","params":{"strategy":"-android uiautomator","selector":"new UiSelector().resourceId(\"com.facebook.katana:id/login_username\")","context":"","multiple":false}}
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got data from client: {"cmd":"action","action":"find","params":{"strategy":"-android uiautomator","selector":"new UiSelector().resourceId(\"com.facebook.katana:id/login_username\")","context":"","multiple":false}}
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command of type ACTION
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command action: find
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Finding 'new UiSelector().resourceId("com.facebook.katana:id/login_username")' using 'ANDROID_UIAUTOMATOR' with the contextId: '' multiple: false
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Parsing selector: new UiSelector().resourceId("com.facebook.katana:id/login_username")
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] UiSelector coerce type: class java.lang.String arg: "com.facebook.katana:id/login_username"
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Using: UiSelector[RESOURCE_ID=com.facebook.katana:id/login_username]
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Failed to locate element. Clearing Accessibility cache and retrying.
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Finding 'new UiSelector().resourceId("com.facebook.katana:id/login_username")' using 'ANDROID_UIAUTOMATOR' with the contextId: '' multiple: false
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Parsing selector: new UiSelector().resourceId("com.facebook.katana:id/login_username")
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] UiSelector coerce type: class java.lang.String arg: "com.facebook.katana:id/login_username"
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Using: UiSelector[RESOURCE_ID=com.facebook.katana:id/login_username]
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Returning result: {"status":7,"value":"No element found"}
[debug] [AndroidBootstrap] Received command result from bootstrap
[debug] [BaseDriver] Waited for 2877 ms so far[debug] [AndroidBootstrap] Sending command to android: {"cmd":"action","action":"find","params":{"strategy":"-android uiautomator","selector":"new UiSelector().resourceId(\"com.facebook.katana:id/login_username\")","context":"","multiple":false}}
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got data from client: {"cmd":"action","action":"find","params":{"strategy":"-android uiautomator","selector":"new UiSelector().resourceId(\"com.facebook.katana:id/login_username\")","context":"","multiple":false}}
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command of type ACTION
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command action: find
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Finding 'new UiSelector().resourceId("com.facebook.katana:id/login_username")' using 'ANDROID_UIAUTOMATOR' with the contextId: '' multiple: false
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Parsing selector: new UiSelector().resourceId("com.facebook.katana:id/login_username")
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] UiSelector coerce type: class java.lang.String arg: "com.facebook.katana:id/login_username"
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Using: UiSelector[RESOURCE_ID=com.facebook.katana:id/login_username]
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Failed to locate element. Clearing Accessibility cache and retrying.
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Finding 'new UiSelector().resourceId("com.facebook.katana:id/login_username")' using 'ANDROID_UIAUTOMATOR' with the contextId: '' multiple: false
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Parsing selector: new UiSelector().resourceId("com.facebook.katana:id/login_username")
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] UiSelector coerce type: class java.lang.String arg: "com.facebook.katana:id/login_username"
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Using: UiSelector[RESOURCE_ID=com.facebook.katana:id/login_username]
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Returning result: {"status":7,"value":"No element found"}
[debug] [AndroidBootstrap] Received command result from bootstrap
[debug] [BaseDriver] Waited for 3402 ms so far[debug] [AndroidBootstrap] Sending command to android: {"cmd":"action","action":"find","params":{"strategy":"-android uiautomator","selector":"new UiSelector().resourceId(\"com.facebook.katana:id/login_username\")","context":"","multiple":false}}
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got data from client: {"cmd":"action","action":"find","params":{"strategy":"-android uiautomator","selector":"new UiSelector().resourceId(\"com.facebook.katana:id/login_username\")","context":"","multiple":false}}
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command of type ACTION
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command action: find
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Finding 'new UiSelector().resourceId("com.facebook.katana:id/login_username")' using 'ANDROID_UIAUTOMATOR' with the contextId: '' multiple: false
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Parsing selector: new UiSelector().resourceId("com.facebook.katana:id/login_username")
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] UiSelector coerce type: class java.lang.String arg: "com.facebook.katana:id/login_username"
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Using: UiSelector[RESOURCE_ID=com.facebook.katana:id/login_username]
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Failed to locate element. Clearing Accessibility cache and retrying.
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Finding 'new UiSelector().resourceId("com.facebook.katana:id/login_username")' using 'ANDROID_UIAUTOMATOR' with the contextId: '' multiple: false
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Parsing selector: new UiSelector().resourceId("com.facebook.katana:id/login_username")
[debug] [AndroidBootstrap] [UIAUTO STDOUT] [APPIUM-UIAUTO] [debug] UiSelector coerce type: class java.lang.String arg: "com.facebo
[debug] [AndroidBootstrap] [UIAUTO STDOUT] ok.katana:id/login_username"[/APPIUM-UIAUTO]
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Using: UiSelector[RESOURCE_ID=com.facebook.katana:id/login_username]
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Returning result: {"status":7,"value":"No element found"}
[debug] [AndroidBootstrap] Received command result from bootstrap
[debug] [BaseDriver] Waited for 3927 ms so far[debug] [AndroidBootstrap] Sending command to android: {"cmd":"action","action":"find","params":{"strategy":"-android uiautomator","selector":"new UiSelector().resourceId(\"com.facebook.katana:id/login_username\")","context":"","multiple":false}}
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got data from client: {"cmd":"action","action":"find","params":{"strategy":"-android uiautomator","selector":"new UiSelector().resourceId(\"com.facebook.katana:id/login_username\")","context":"","multiple":false}}
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command of type ACTION
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command action: find
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Finding 'new UiSelector().resourceId("com.facebook.katana:id/login_username")' using 'ANDROID_UIAUTOMATOR' with the contextId: '' multiple: false
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Parsing selector: new UiSelector().resourceId("com.facebook.katana:id/login_username")
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] UiSelector coerce type: class java.lang.String arg: "com.facebook.katana:id/login_username"
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Using: UiSelector[RESOURCE_ID=com.facebook.katana:id/login_username]
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Failed to locate element. Clearing Accessibility cache and retrying.
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Finding 'new UiSelector().resourceId("com.facebook.katana:id/login_username")' using 'ANDROID_UIAUTOMATOR' with the contextId: '' multiple: false
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Parsing selector: new UiSelector().resourceId("com.facebook.katana:id/login_username")
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] UiSelector coerce type: class java.lang.String arg: "com.facebook.katana:id/login_username"
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Using: UiSelector[RESOURCE_ID=com.facebook.katana:id/login_username]
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Returning result: {"status":7,"value":"No element found"}
[debug] [AndroidBootstrap] Received command result from bootstrap
[debug] [BaseDriver] Waited for 4470 ms so far[debug] [AndroidBootstrap] Sending command to android: {"cmd":"action","action":"find","params":{"strategy":"-android uiautomator","selector":"new UiSelector().resourceId(\"com.facebook.katana:id/login_username\")","context":"","multiple":false}}
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got data from client: {"cmd":"action","action":"find","params":{"strategy":"-android uiautomator","selector":"new UiSelector().resourceId(\"com.facebook.katana:id/login_username\")","context":"","multiple":false}}
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command of type ACTION
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command action: find
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Finding 'new UiSelector().resourceId("com.facebook.katana:id/login_username")' using 'ANDROID_UIAUTOMATOR' with the contextId: '' multiple: false
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Parsing selector: new UiSelector().resourceId("com.facebook.katana:id/login_username")
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] UiSelector coerce type: class java.lang.String arg: "com.facebook.katana:id/login_username"
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Using: UiSelector[RESOURCE_ID=com.facebook.katana:id/login_username]
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Failed to locate element. Clearing Accessibility cache and retrying.
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Finding 'new UiSelector().resourceId("com.facebook.katana:id/login_username")' using 'ANDROID_UIAUTOMATOR' with the contextId: '' multiple: false
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Parsing selector: new UiSelector().resourceId("com.facebook.katana:id/login_username")
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] UiSelector coerce type: class java.lang.String arg: "com.facebook.katana:id/login_username"
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Using: UiSelector[RESOURCE_ID=com.facebook.katana:id/login_username]
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Returning result: {"status":7,"value":"No element found"}
[debug] [AndroidBootstrap] Received command result from bootstrap
[debug] [BaseDriver] Waited for 5003 ms so far[debug] [AndroidBootstrap] Sending command to android: {"cmd":"action","action":"find","params":{"strategy":"-android uiautomator","selector":"new UiSelector().resourceId(\"com.facebook.katana:id/login_username\")","context":"","multiple":false}}
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got data from client: {"cmd":"action","action":"find","params":{"strategy":"-android uiautomator","selector":"new UiSelector().resourceId(\"com.facebook.katana:id/login_username\")","context":"","multiple":false}}
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command of type ACTION
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command action: find
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Finding 'new UiSelector().resourceId("com.facebook.katana:id/login_username")' using 'ANDROID_UIAUTOMATOR' with the contextId: '' multiple: false
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Parsing selector: new UiSelector().resourceId("com.facebook.katana:id/login_username")
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] UiSelector coerce type: class java.lang.String arg: "com.facebook.katana:id/login_username"
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Using: UiSelector[RESOURCE_ID=com.facebook.katana:id/login_username][debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Failed to locate element. Clearing Accessibility cache and retrying.
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Finding 'new UiSelector().resourceId("com.facebook.katana:id/login_username")' using 'ANDROID_UIAUTOMATOR' with the contextId: '' multiple: false
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Parsing selector: new UiSelector().resourceId("com.facebook.katana:id/login_username")
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] UiSelector coerce type: class java.lang.String arg: "com.facebook.katana:id/login_username"
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Using: UiSelector[RESOURCE_ID=com.facebook.katana:id/login_username][debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Returning result: {"status":7,"value":"No element found"}
[debug] [AndroidBootstrap] Received command result from bootstrap
[debug] [BaseDriver] Waited for 7021 ms so far[debug] [AndroidBootstrap] Sending command to android: {"cmd":"action","action":"find","params":{"strategy":"-android uiautomator","selector":"new UiSelector().resourceId(\"com.facebook.katana:id/login_username\")","context":"","multiple":false}}
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got data from client: {"cmd":"action","action":"find","params":{"strategy":"-android uiautomator","selector":"new UiSelector().resourceId(\"com.facebook.katana:id/login_username\")","context":"","multiple":false}}
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command of type ACTION
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command action: find
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Finding 'new UiSelector().resourceId("com.facebook.katana:id/login_username")' using 'ANDROID_UIAUTOMATOR' with the contextId: '' multiple: false
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Parsing selector: new UiSelector().resourceId("com.facebook.katana:id/login_username")
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] UiSelector coerce type: class java.lang.String arg: "com.facebook.katana:id/login_username"
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Using: UiSelector[RESOURCE_ID=com.facebook.katana:id/login_username][debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Returning result: {"status":0,"value":{"ELEMENT":"1"}}
[debug] [AndroidBootstrap] Received command result from bootstrap
[debug] [MJSONWP] Responding to client with driver.findElement() result: {"ELEMENT":"1"}
[info] [HTTP] <-- POST /wd/hub/session/61afe14b-d283-45a9-9e1b-68a25760d65f/element 200 9017 ms - 87
[info] [HTTP] --> DELETE /wd/hub/session/61afe14b-d283-45a9-9e1b-68a25760d65f {}
[debug] [MJSONWP] Calling AppiumDriver.deleteSession() with args: ["61afe14b-d283-45a9-9e1b-68a25760d65f"]
[debug] [BaseDriver] Event 'quitSessionRequested' logged at 1508838188768 (15:13:08 GMT+0530 (India Standard Time))
[info] [Appium] Removing session 61afe14b-d283-45a9-9e1b-68a25760d65f from our master session list
[debug] [AndroidDriver] Shutting down Android driver
[debug] [ADB] Getting connected devices...[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running 'C:\Users\cdas\AppData\Local\Android\sdk\platform-tools\adb.exe' with args: ["-P",5037,"-s","A6TDU15401007022","shell","am","force-stop","com.facebook.katana"][debug] [ADB] Pressing the HOME button
[debug] [ADB] Getting connected devices...[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running 'C:\Users\cdas\AppData\Local\Android\sdk\platform-tools\adb.exe' with args: ["-P",5037,"-s","A6TDU15401007022","shell","input","keyevent",3][debug] [AndroidBootstrap] Sending command to android: {"cmd":"shutdown"}
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got data from client: {"cmd":"shutdown"}
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command of type SHUTDOWN
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Returning result: {"status":0,"value":"OK, shutting down"}
[debug] [AndroidBootstrap] Received command result from bootstrap
[debug] [UiAutomator] Shutting down UiAutomator
[debug] [UiAutomator] Moving to state 'stopping'
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Closed client connection
[debug] [AndroidBootstrap] [UIAUTO STDOUT] INSTRUMENTATION_STATUS: numtests=1
[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 'C:\Users\cdas\AppData\Local\Android\sdk\platform-tools\adb.exe' with args: ["-P",5037,"-s","A6TDU15401007022","shell","ps"][info] [ADB] No uiautomator process found to kill, continuing...
[debug] [UiAutomator] Moving to state 'stopped'
[debug] [Logcat] Stopping logcat capture
[debug] [ADB] Getting connected devices...[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running 'C:\Users\cdas\AppData\Local\Android\sdk\platform-tools\adb.exe' with args: ["-P",5037,"-s","A6TDU15401007022","shell","am","force-stop","io.appium.unlock"][debug] [AndroidDriver] Not cleaning generated files. Add clearSystemFiles capability if wanted.
[debug] [BaseDriver] Event 'quitSessionFinished' logged at 1508838204369 (15:13:24 GMT+0530 (India Standard Time))
[debug] [MJSONWP] Received response: null
[debug] [MJSONWP] But deleting session, so not returning
[debug] [MJSONWP] Responding to client with driver.deleteSession() result: null
[info] [HTTP] <-- DELETE /wd/hub/session/61afe14b-d283-45a9-9e1b-68a25760d65f 200 15602 ms - 76 [info] [HTTP] --> POST /wd/hub/session {"desiredCapabilities":{"appPackage":"com.facebook.katana","appActivity":"com.facebook.katana.LoginActivity","autoGrantPermissions":"true","platformName":"Android","deviceName":"Android"}}
[debug] [MJSONWP] Calling AppiumDriver.createSession() with args: [{"appPackage":"com.facebook.katana","appActivity":"com.facebook.katana.LoginActivity","autoGrantPermissions":"true","platformName":"Android","deviceName":"Android"},null,null]
[debug] [BaseDriver] Event 'newSessionRequested' logged at 1508838241378 (15:14:01 GMT+0530 (India Standard Time))
[info] [Appium] Creating new AndroidDriver (v1.26.5) session
[info] [Appium] Capabilities:
[info] [Appium] appPackage: 'com.facebook.katana'
[info] [Appium] appActivity: 'com.facebook.katana.LoginActivity'
[info] [Appium] autoGrantPermissions: 'true'
[info] [Appium] platformName: 'Android'
[info] [Appium] deviceName: 'Android'
[warn] [BaseDriver] Capability 'autoGrantPermissions' changed from string to boolean. This may cause unexpected behavior
[info] [BaseDriver] Session created with session id: c75fa880-becc-4318-b214-c3148a713b8d
[debug] [AndroidDriver] Getting Java version[info] [AndroidDriver] Java version is: 1.8.0_111
[info] [ADB] Checking whether adb is present
[info] [ADB] Using adb.exe from C:\Users\cdas\AppData\Local\Android\sdk\platform-tools\adb.exe
[info] [AndroidDriver] Retrieving device list
[debug] [ADB] Trying to find a connected android device
[debug] [ADB] Getting connected devices...[debug] [ADB] 1 device(s) connected
[info] [AndroidDriver] Using device: A6TDU15401007022
[info] [ADB] Checking whether adb is present
[info] [ADB] Using adb.exe from C:\Users\cdas\AppData\Local\Android\sdk\platform-tools\adb.exe
[debug] [ADB] Setting device id to A6TDU15401007022
[info] [AndroidDriver] App file was not listed, instead we're going to run com.facebook.katana directly on the device
[debug] [AndroidDriver] Checking whether package is present on the device
[debug] [ADB] Getting connected devices...[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running 'C:\Users\cdas\AppData\Local\Android\sdk\platform-tools\adb.exe' with args: ["-P",5037,"-s","A6TDU15401007022","shell","pm","list","packages","com.facebook.katana"][info] [AndroidDriver] Starting Android session
[debug] [ADB] Running 'C:\Users\cdas\AppData\Local\Android\sdk\platform-tools\adb.exe' with args: ["-P",5037,"-s","A6TDU15401007022","wait-for-device"][debug] [ADB] Getting connected devices...[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running 'C:\Users\cdas\AppData\Local\Android\sdk\platform-tools\adb.exe' with args: ["-P",5037,"-s","A6TDU15401007022","shell","echo","ping"][debug] [Logcat] Starting logcat capture[debug] [AndroidDriver] Pushing settings apk to device...
[debug] [ADB] Getting install status for io.appium.settings
[debug] [ADB] Getting connected devices...[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running 'C:\Users\cdas\AppData\Local\Android\sdk\platform-tools\adb.exe' with args: ["-P",5037,"-s","A6TDU15401007022","shell","pm","list","packages","io.appium.settings"][debug] [ADB] App is installed
[debug] [ADB] Getting package info for io.appium.settings
[debug] [ADB] Getting connected devices...[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running 'C:\Users\cdas\AppData\Local\Android\sdk\platform-tools\adb.exe' with args: ["-P",5037,"-s","A6TDU15401007022","shell","dumpsys","package","io.appium.settings"][info] [ADB] Checking whether aapt is present
[info] [ADB] Using aapt.exe from C:\Users\cdas\AppData\Local\Android\sdk\build-tools\25.0.3\aapt.exe[debug] [ADB] The installed "io.appium.settings" package does not require upgrade (4 >= 4)
[debug] [ADB] Getting connected devices...[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running 'C:\Users\cdas\AppData\Local\Android\sdk\platform-tools\adb.exe' with args: ["-P",5037,"-s","A6TDU15401007022","shell","getprop","ro.build.version.sdk"][debug] [ADB] Current device property 'ro.build.version.sdk': 23
[debug] [ADB] Device API level: 23
[debug] [ADB] Getting connected devices...[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running 'C:\Users\cdas\AppData\Local\Android\sdk\platform-tools\adb.exe' with args: ["-P",5037,"-s","A6TDU15401007022","shell","dumpsys","package","io.appium.settings"][debug] [ADB] Getting connected devices...[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running 'C:\Users\cdas\AppData\Local\Android\sdk\platform-tools\adb.exe' with args: ["-P",5037,"-s","A6TDU15401007022","shell","pm","dump","io.appium.settings"][debug] [ADB] Got the following command chunks to execute: pm,grant,io.appium.settings,android.permission.CHANGE_NETWORK_STATE,;,pm,grant,io.appium.settings,android.permission.WRITE_SETTINGS,;,pm,grant,io.appium.settings,android.permission.ACCESS_MOCK_LOCATION,;
[debug] [ADB] Getting connected devices...[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running 'C:\Users\cdas\AppData\Local\Android\sdk\platform-tools\adb.exe' with args: ["-P",5037,"-s","A6TDU15401007022","shell","pm","grant","io.appium.settings","android.permission.CHANGE_NETWORK_STATE",";","pm","grant","io.appium.settings","android.permission.WRITE_SETTINGS",";","pm","grant","io.appium.settings","android.permission.ACCESS_MOCK_LOCATION",";"][debug] [ADB] Getting connected devices...[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running 'C:\Users\cdas\AppData\Local\Android\sdk\platform-tools\adb.exe' with args: ["-P",5037,"-s","A6TDU15401007022","shell","ps"][debug] [ADB] Device API level: 23
[debug] [ADB] Getting connected devices...[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running 'C:\Users\cdas\AppData\Local\Android\sdk\platform-tools\adb.exe' with args: ["-P",5037,"-s","A6TDU15401007022","shell","appops","set","io.appium.settings","android:mock_location","allow"][debug] [AndroidDriver] Pushing unlock helper app to device...
[debug] [ADB] Running 'C:\Users\cdas\AppData\Local\Android\sdk\platform-tools\adb.exe' with args: ["-P",5037,"-s","A6TDU15401007022","install","C:\Users\cdas\AppData\Local\Programs\appium-desktop\resources\app\node_modules\appium\node_modules\appium-unlock\bin\unlock_apk-debug.apk"][info] [ADB] Getting device platform version
[debug] [ADB] Getting connected devices...[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running 'C:\Users\cdas\AppData\Local\Android\sdk\platform-tools\adb.exe' with args: ["-P",5037,"-s","A6TDU15401007022","shell","getprop","ro.build.version.release"][debug] [ADB] Current device property 'ro.build.version.release': 6.0.1
[debug] [ADB] Getting connected devices...[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running 'C:\Users\cdas\AppData\Local\Android\sdk\platform-tools\adb.exe' with args: ["-P",5037,"-s","A6TDU15401007022","shell","wm","size"][debug] [ADB] Getting connected devices...[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running 'C:\Users\cdas\AppData\Local\Android\sdk\platform-tools\adb.exe' with args: ["-P",5037,"-s","A6TDU15401007022","shell","getprop","ro.product.model"][debug] [ADB] Current device property 'ro.product.model': Che1-L04
[debug] [ADB] Getting connected devices...[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running 'C:\Users\cdas\AppData\Local\Android\sdk\platform-tools\adb.exe' with args: ["-P",5037,"-s","A6TDU15401007022","shell","getprop","ro.product.manufacturer"][debug] [ADB] Current device property 'ro.product.manufacturer': HUAWEI
[warn] [AndroidDriver] No app sent in, not parsing package/activity
[debug] [AndroidDriver] No app capability. Assuming it is already on the device
[debug] [AndroidDriver] Running fast reset (stop and clear)
[debug] [ADB] Getting connected devices...[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running 'C:\Users\cdas\AppData\Local\Android\sdk\platform-tools\adb.exe' with args: ["-P",5037,"-s","A6TDU15401007022","shell","am","force-stop","com.facebook.katana"][debug] [ADB] Getting connected devices...[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running 'C:\Users\cdas\AppData\Local\Android\sdk\platform-tools\adb.exe' with args: ["-P",5037,"-s","A6TDU15401007022","shell","pm","clear","com.facebook.katana"][debug] [ADB] Device API level: 23
[debug] [ADB] Getting connected devices...[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running 'C:\Users\cdas\AppData\Local\Android\sdk\platform-tools\adb.exe' with args: ["-P",5037,"-s","A6TDU15401007022","shell","dumpsys","package","com.facebook.katana"][debug] [ADB] Getting connected devices...[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running 'C:\Users\cdas\AppData\Local\Android\sdk\platform-tools\adb.exe' with args: ["-P",5037,"-s","A6TDU15401007022","shell","pm","dump","com.facebook.katana"][debug] [ADB] Got the following command chunks to execute: pm,grant,com.facebook.katana,android.permission.WRITE_SETTINGS,;,pm,grant,com.facebook.katana,android.permission.ACCESS_COARSE_LOCATION,;,pm,grant,com.facebook.katana,android.permission.READ_CONTACTS,;,pm,grant,com.facebook.katana,android.permission.WRITE_CONTACTS,;,pm,grant,com.facebook.katana,android.permission.GET_ACCOUNTS,;,pm,grant,com.facebook.katana,android.permission.ACCESS_FINE_LOCATION,;,pm,grant,com.facebook.katana,android.permission.CAMERA,;,pm,grant,com.facebook.katana,android.permission.RECORD_AUDIO,;,pm,grant,com.facebook.katana,android.permission.WRITE_EXTERNAL_STORAGE,;,pm,grant,com.facebook.katana,android.permission.READ_PHONE_STATE,;,pm,grant,com.facebook.katana,android.permission.READ_CALENDAR,;,pm,grant,com.facebook.katana,android.permission.WRITE_CALENDAR,;,pm,grant,com.facebook.katana,android.permission.READ_SMS,;,pm,grant,com.facebook.katana,android.permission.CHANGE_NETWORK_STATE,;,pm,grant,com.facebook.katana,android.permission.SYSTEM_ALERT_WINDOW,;,pm,grant,com.facebook.katana,android.permission.READ_EXTERNAL_STORAGE,;
[debug] [ADB] Getting connected devices...[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running 'C:\Users\cdas\AppData\Local\Android\sdk\platform-tools\adb.exe' with args: ["-P",5037,"-s","A6TDU15401007022","shell","pm","grant","com.facebook.katana","android.permission.WRITE_SETTINGS",";","pm","grant","com.facebook.katana","android.permission.ACCESS_COARSE_LOCATION",";","pm","grant","com.facebook.katana","android.permission.READ_CONTACTS",";","pm","grant","com.facebook.katana","android.permission.WRITE_CONTACTS",";","pm","grant","com.facebook.katana","android.permission.GET_ACCOUNTS",";","pm","grant","com.facebook.katana","android.permission.ACCESS_FINE_LOCATION",";","pm","grant","com.facebook.katana","android.permission.CAMERA",";","pm","grant","com.facebook.katana","android.permission.RECORD_AUDIO",";","pm","grant","com.facebook.katana","android.permission.WRITE_EXTERNAL_STORAGE",";","pm","grant","com.facebook.katana","android.permission.READ_PHONE_STATE",";","pm","grant","com.facebook.katana","android.permission.READ_CALENDAR",";","pm","grant","com.facebook.katana","android.permission.WRITE_CALENDAR",";","pm","grant","com.facebook.katana","android.permission.READ_SMS",";","pm","grant","com.facebook.katana","android.permission.CHANGE_NETWORK_STATE",";","pm","grant","com.facebook.katana","android.permission.SYSTEM_ALERT_WINDOW",";"][debug] [ADB] Getting connected devices...[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running 'C:\Users\cdas\AppData\Local\Android\sdk\platform-tools\adb.exe' with args: ["-P",5037,"-s","A6TDU15401007022","shell","pm","grant","com.facebook.katana","android.permission.READ_EXTERNAL_STORAGE",";"][debug] [AndroidBootstrap] Watching for bootstrap disconnect
[debug] [ADB] Forwarding system: 4724 to device: 4724
[debug] [ADB] Running 'C:\Users\cdas\AppData\Local\Android\sdk\platform-tools\adb.exe' with args: ["-P",5037,"-s","A6TDU15401007022","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 'C:\Users\cdas\AppData\Local\Android\sdk\platform-tools\adb.exe' with args: ["-P",5037,"-s","A6TDU15401007022","push","C:\Users\cdas\AppData\Local\Programs\appium-desktop\resources\app\node_modules\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 'C:\Users\cdas\AppData\Local\Android\sdk\platform-tools\adb.exe' with args: ["-P",5037,"-s","A6TDU15401007022","shell","ps"][info] [ADB] No uiautomator process found to kill, continuing...
[debug] [UiAutomator] Starting UIAutomator
[debug] [ADB] Creating ADB subprocess with args: ["-P",5037,"-s","A6TDU15401007022","shell","uiautomator","runtest","AppiumBootstrap.jar","-c","io.appium.android.bootstrap.Bootstrap","-e","pkg","com.facebook.katana","-e","disableAndroidWatchers",false,"-e","acceptSslCerts",false][debug] [UiAutomator] Moving to state 'online'
[info] [AndroidBootstrap] Android bootstrap socket is now connected
[debug] [ADB] Getting connected devices...
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] json loading complete.
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Registered crash watchers.
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Client connected[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running 'C:\Users\cdas\AppData\Local\Android\sdk\platform-tools\adb.exe' with args: ["-P",5037,"-s","A6TDU15401007022","shell","dumpsys","window"][info] [AndroidDriver] Screen already unlocked, doing nothing
[debug] [ADB] Device API level: 23
[debug] [ADB] Getting connected devices...[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running 'C:\Users\cdas\AppData\Local\Android\sdk\platform-tools\adb.exe' with args: ["-P",5037,"-s","A6TDU15401007022","shell","am","start","-W","-n","com.facebook.katana/com.facebook.katana.LoginActivity","-S"][info] [Appium] New AndroidDriver session created successfully, session c75fa880-becc-4318-b214-c3148a713b8d added to master session list
[debug] [BaseDriver] Event 'newSessionStarted' logged at 1508838350130 (15:15:50 GMT+0530 (India Standard Time))
[debug] [MJSONWP] Responding to client with driver.createSession() result: {"platform":"LINUX","webStorageEnabled":false,"takesScreenshot":true,"javascriptEnabled":true,"databaseEnabled":false,"networkConnectionEnabled":true,"locationContextEnabled":false,"warnings":{},"desired":{"appPackage":"com.facebook.katana","appActivity":"com.facebook.katana.LoginActivity","autoGrantPermissions":true,"platformName":"Android","deviceName":"Android"},"appPackage":"com.facebook.katana","appActivity":"com.facebook.katana.LoginActivity","autoGrantPermissions":true,"platformName":"Android","deviceName":"A6TDU15401007022","deviceUDID":"A6TDU15401007022","platformVersion":"6.0.1","deviceScreenSize":"720x1280","deviceModel":"Che1-L04","deviceManufacturer":"HUAWEI"}
[info] [HTTP] <-- POST /wd/hub/session 200 108751 ms - 753
[info] [HTTP] --> GET /wd/hub/session/c75fa880-becc-4318-b214-c3148a713b8d {}
[debug] [MJSONWP] Calling AppiumDriver.getSession() with args: ["c75fa880-becc-4318-b214-c3148a713b8d"]
[debug] [MJSONWP] Responding to client with driver.getSession() result: {"platform":"LINUX","webStorageEnabled":false,"takesScreenshot":true,"javascriptEnabled":true,"databaseEnabled":false,"networkConnectionEnabled":true,"locationContextEnabled":false,"warnings":{},"desired":{"appPackage":"com.facebook.katana","appActivity":"com.facebook.katana.LoginActivity","autoGrantPermissions":true,"platformName":"Android","deviceName":"Android"},"appPackage":"com.facebook.katana","appActivity":"com.facebook.katana.LoginActivity","autoGrantPermissions":true,"platformName":"Android","deviceName":"A6TDU15401007022","deviceUDID":"A6TDU15401007022","platformVersion":"6.0.1","deviceScreenSize":"720x1280","deviceModel":"Che1-L04","deviceManufacturer":"HUAWEI"}
[info] [HTTP] <-- GET /wd/hub/session/c75fa880-becc-4318-b214-c3148a713b8d 200 7 ms - 753
[info] [HTTP] --> GET /wd/hub/session/c75fa880-becc-4318-b214-c3148a713b8d {}
[debug] [MJSONWP] Calling AppiumDriver.getSession() with args: ["c75fa880-becc-4318-b214-c3148a713b8d"]
[debug] [MJSONWP] Responding to client with driver.getSession() result: {"platform":"LINUX","webStorageEnabled":false,"takesScreenshot":true,"javascriptEnabled":true,"databaseEnabled":false,"networkConnectionEnabled":true,"locationContextEnabled":false,"warnings":{},"desired":{"appPackage":"com.facebook.katana","appActivity":"com.facebook.katana.LoginActivity","autoGrantPermissions":true,"platformName":"Android","deviceName":"Android"},"appPackage":"com.facebook.katana","appActivity":"com.facebook.katana.LoginActivity","autoGrantPermissions":true,"platformName":"Android","deviceName":"A6TDU15401007022","deviceUDID":"A6TDU15401007022","platformVersion":"6.0.1","deviceScreenSize":"720x1280","deviceModel":"Che1-L04","deviceManufacturer":"HUAWEI"}
[info] [HTTP] <-- GET /wd/hub/session/c75fa880-becc-4318-b214-c3148a713b8d 200 2 ms - 753
[info] [HTTP] --> POST /wd/hub/session/c75fa880-becc-4318-b214-c3148a713b8d/timeouts {"type":"implicit","ms":20000}
[debug] [MJSONWP] Calling AppiumDriver.timeouts() with args: ["implicit",20000,"c75fa880-becc-4318-b214-c3148a713b8d"]
[debug] [BaseDriver] Set implicit wait to 20000ms
[debug] [MJSONWP] Responding to client with driver.timeouts() result: null
[info] [HTTP] <-- POST /wd/hub/session/c75fa880-becc-4318-b214-c3148a713b8d/timeouts 200 3 ms - 76
[info] [HTTP] --> POST /wd/hub/session/c75fa880-becc-4318-b214-c3148a713b8d/timeouts {"type":"implicit","ms":10000}
[debug] [MJSONWP] Calling AppiumDriver.timeouts() with args: ["implicit",10000,"c75fa880-becc-4318-b214-c3148a713b8d"]
[debug] [BaseDriver] Set implicit wait to 10000ms
[debug] [MJSONWP] Responding to client with driver.timeouts() result: null
[info] [HTTP] <-- POST /wd/hub/session/c75fa880-becc-4318-b214-c3148a713b8d/timeouts 200 1 ms - 76
[info] [HTTP] --> POST /wd/hub/session/c75fa880-becc-4318-b214-c3148a713b8d/element {"using":"-android uiautomator","value":"new UiSelector().resourceId(\"com.facebook.katana:id/login_username\")"}
[debug] [MJSONWP] Calling AppiumDriver.findElement() with args: ["-android uiautomator","new UiSelector().resourceId(\"com.facebook.katana:id/login_username\")","c75fa880-becc-4318-b214-c3148a713b8d"]
[debug] [BaseDriver] Valid locator strategies for this request: xpath, id, class name, accessibility id, -android uiautomator
[debug] [BaseDriver] Valid locator strategies for this request: xpath, id, class name, accessibility id, -android uiautomator
[debug] [BaseDriver] Waiting up to 10000 ms for condition
[debug] [AndroidBootstrap] Sending command to android: {"cmd":"action","action":"find","params":{"strategy":"-android uiautomator","selector":"new UiSelector().resourceId(\"com.facebook.katana:id/login_username\")","context":"","multiple":false}}
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got data from client: {"cmd":"action","action":"find","params":{"strategy":"-android uiautomator","selector":"new UiSelector().resourceId(\"com.facebook.katana:id/login_username\")","context":"","multiple":false}}
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command of type ACTION
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command action: find
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Finding 'new UiSelector().resourceId("com.facebook.katana:id/login_username")' using 'ANDROID_UIAUTOMATOR' with the contextId: '' multiple: false
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Parsing selector: new UiSelector().resourceId("com.facebook.katana:id/login_username")
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] UiSelector coerce type: class java.lang.String arg: "com.facebook.katana:id/login_username"
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Using: UiSelector[RESOURCE_ID=com.facebook.katana:id/login_username][debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Failed to locate element. Clearing Accessibility cache and retrying.
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Finding 'new UiSelector().resourceId("com.facebook.katana:id/login_username")' using 'ANDROID_UIAUTOMATOR' with the contextId: '' multiple: false
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Parsing selector: new UiSelector().resourceId("com.facebook.katana:id/login_username")
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] UiSelector coerce type: class java.lang.String arg: "com.facebook.katana:id/login_username"
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Using: UiSelector[RESOURCE_ID=com.facebook.katana:id/login_username]
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Returning result: {"status":7,"value":"No element found"}
[debug] [AndroidBootstrap] Received command result from bootstrap
[debug] [BaseDriver] Waited for 176 ms so far[debug] [AndroidBootstrap] Sending command to android: {"cmd":"action","action":"find","params":{"strategy":"-android uiautomator","selector":"new UiSelector().resourceId(\"com.facebook.katana:id/login_username\")","context":"","multiple":false}}
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got data from client: {"cmd":"action","action":"find","params":{"strategy":"-android uiautomator","selector":"new UiSelector().resourceId(\"com.facebook.katana:id/login_username\")","context":"","multiple":false}}
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command of type ACTION
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command action: find
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Finding 'new UiSelector().resourceId("com.facebook.katana:id/login_username")' using 'ANDROID_UIAUTOMATOR' with the contextId: '' multiple: false
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Parsing selector: new UiSelector().resourceId("com.facebook.katana:id/login_username")
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] UiSelector coerce type: class java.lang.String arg: "com.facebook.katana:id/login_username"
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Using: UiSelector[RESOURCE_ID=com.facebook.katana:id/login_username]
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Failed to locate element. Clearing Accessibility cache and retrying.
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Finding 'new UiSelector().resourceId("com.facebook.katana:id/login_username")' using 'ANDROID_UIAUTOMATOR' with the contextId: '' multiple: false
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Parsing selector: new UiSelector().resourceId("com.facebook.katana:id/login_username")
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] UiSelector coerce type: class java.lang.String arg: "com.facebook.katana:id/login_username"
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Using: UiSelector[RESOURCE_ID=com.facebook.katana:id/login_username]
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Returning result: {"status":7,"value":"No element found"}
[debug] [AndroidBootstrap] Received command result from bootstrap
[debug] [BaseDriver] Waited for 704 ms so far[debug] [AndroidBootstrap] Sending command to android: {"cmd":"action","action":"find","params":{"strategy":"-android uiautomator","selector":"new UiSelector().resourceId(\"com.facebook.katana:id/login_username\")","context":"","multiple":false}}
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got data from client: {"cmd":"action","action":"find","params":{"strategy":"-android uiautomator","selector":"new UiSelector().resourceId(\"com.facebook.katana:id/login_username\")","context":"","multiple":false}}
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command of type ACTION
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command action: find
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Finding 'new UiSelector().resourceId("com.facebook.katana:id/login_username")' using 'ANDROID_UIAUTOMATOR' with the contextId: '' multiple: false
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Parsing selector: new UiSelector().resourceId("com.facebook.katana:id/login_username")
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] UiSelector coerce type: class java.lang.String arg: "com.facebook.katana:id/login_username"
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Using: UiSelector[RESOURCE_ID=com.facebook.katana:id/login_username]
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Failed to locate element. Clearing Accessibility cache and retrying.
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Finding 'new UiSelector().resourceId("com.facebook.katana:id/login_username")' using 'ANDROID_UIAUTOMATOR' with the contextId: '' multiple: false
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Parsing selector: new UiSelector().resourceId("com.facebook.katana:id/login_username")
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] UiSelector coerce type: class java.lang.String arg: "com.facebook.katana:id/login_username"
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Using: UiSelector[RESOURCE_ID=com.facebook.katana:id/login_username]
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Returning result: {"status":7,"value":"No element found"}
[debug] [AndroidBootstrap] Received command result from bootstrap
[debug] [BaseDriver] Waited for 1217 ms so far[debug] [AndroidBootstrap] Sending command to android: {"cmd":"action","action":"find","params":{"strategy":"-android uiautomator","selector":"new UiSelector().resourceId(\"com.facebook.katana:id/login_username\")","context":"","multiple":false}}
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got data from client: {"cmd":"action","action":"find","params":{"strategy":"-android uiautomator","selector":"new UiSelector().resourceId(\"com.facebook.katana:id/login_username\")","context":"","multiple":false}}
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command of type ACTION
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command action: find
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Finding 'new UiSelector().resourceId("com.facebook.katana:id/login_username")' using 'ANDROID_UIAUTOMATOR' with the contextId: '' multiple: false
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Parsing selector: new UiSelector().resourceId("com.facebook.katana:id/login_username")
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] UiSelector coerce type: class java.lang.String arg: "com.facebook.katana:id/login_username"
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Using: UiSelector[RESOURCE_ID=com.facebook.katana:id/login_username]
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Failed to locate element. Clearing Accessibility cache and retrying.
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Finding 'new UiSelector().resourceId("com.facebook.katana:id/login_username")' using 'ANDROID_UIAUTOMATOR' with the contextId: '' multiple: false
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Parsing selector: new UiSelector().resourceId("com.facebook.katana:id/login_username")
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] UiSelector coerce type: class java.lang.String arg: "com.facebook.katana:id/login_username"
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Using: UiSelector[RESOURCE_ID=com.facebook.katana:id/login_username]
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Returning result: {"status":7,"value":"No element found"}
[debug] [AndroidBootstrap] Received command result from bootstrap
[debug] [BaseDriver] Waited for 1742 ms so far[debug] [AndroidBootstrap] Sending command to android: {"cmd":"action","action":"find","params":{"strategy":"-android uiautomator","selector":"new UiSelector().resourceId(\"com.facebook.katana:id/login_username\")","context":"","multiple":false}}
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got data from client: {"cmd":"action","action":"find","params":{"strategy":"-android uiautomator","selector":"new UiSelector().resourceId(\"com.facebook.katana:id/login_username\")","context":"","multiple":false}}
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command of type ACTION
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command action: find
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Finding 'new UiSelector().resourceId("com.facebook.katana:id/login_username")' using 'ANDROID_UIAUTOMATOR' with the contextId: '' multiple: false
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Parsing selector: new UiSelector().resourceId("com.facebook.katana:id/login_username")
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] UiSelector coerce type: class java.lang.String arg: "com.facebook.katana:id/login_username"
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Using: UiSelector[RESOURCE_ID=com.facebook.katana:id/login_username]
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Failed to locate element. Clearing Accessibility cache and retrying.
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Finding 'new UiSelector().resourceId("com.facebook.katana:id/login_username")' using 'ANDROID_UIAUTOMATOR' with the contextId: '' multiple: false
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Parsing selector: new UiSelector().resourceId("com.facebook.katana:id/login_username")
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] UiSelector coerce type: class java.lang.String arg: "com.facebook.katana:id/login_username"
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Using: UiSelector[RESOURCE_ID=com.facebook.katana:id/login_username]
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Returning result: {"status":7,"value":"No element found"}
[debug] [AndroidBootstrap] Received command result from bootstrap
[debug] [BaseDriver] Waited for 2269 ms so far[debug] [AndroidBootstrap] Sending command to android: {"cmd":"action","action":"find","params":{"strategy":"-android uiautomator","selector":"new UiSelector().resourceId(\"com.facebook.katana:id/login_username\")","context":"","multiple":false}}
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got data from client: {"cmd":"action","action":"find","params":{"strategy":"-android uiautomator","selector":"new UiSelector().resourceId(\"com.facebook.katana:id/login_username\")","context":"","multiple":false}}
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command of type ACTION
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command action: find
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Finding 'new UiSelector().resourceId("com.facebook.katana:id/login_username")' using 'ANDROID_UIAUTOMATOR' with the contextId: '' multiple: false
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Parsing selector: new UiSelector().resourceId("com.facebook.katana:id/login_username")
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] UiSelector coerce type: class java.lang.String arg: "com.facebook.katana:id/login_username"
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Using: UiSelector[RESOURCE_ID=com.facebook.katana:id/login_username]
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Failed to locate element. Clearing Accessibility cache and retrying.
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Finding 'new UiSelector().resourceId("com.facebook.katana:id/login_username")' using 'ANDROID_UIAUTOMATOR' with the contextId: '' multiple: false
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Parsing selector: new UiSelector().resourceId("com.facebook.katana:id/login_username")
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] UiSelector coerce type: class java.lang.String arg: "com.facebook.katana:id/login_username"
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Using: UiSelector[RESOURCE_ID=com.facebook.katana:id/login_username]
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Returning result: {"status":7,"value":"No element found"}
[debug] [AndroidBootstrap] Received command result from bootstrap
[debug] [BaseDriver] Waited for 2796 ms so far[debug] [AndroidBootstrap] Sending command to android: {"cmd":"action","action":"find","params":{"strategy":"-android uiautomator","selector":"new UiSelector().resourceId(\"com.facebook.katana:id/login_username\")","context":"","multiple":false}}
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got data from client: {"cmd":"action","action":"find","params":{"strategy":"-android uiautomator","selector":"new UiSelector().resourceId(\"com.facebook.katana:id/login_username\")","context":"","multiple":false}}
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command of type ACTION
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command action: find
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Finding 'new UiSelector().resourceId("com.facebook.katana:id/login_username")' using 'ANDROID_UIAUTOMATOR' with the contextId: '' multiple: false
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Parsing selector: new UiSelector().resourceId("com.facebook.katana:id/login_username")
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] UiSelector coerce type: class java.lang.String arg: "com.facebook.katana:id/login_username"
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Using: UiSelector[RESOURCE_ID=com.facebook.katana:id/login_username][debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Failed to locate element. Clearing Accessibility cache and retrying.
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Finding 'new UiSelector().resourceId("com.facebook.katana:id/login_username")' using 'ANDROID_UIAUTOMATOR' with the contextId: '' multiple: false
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Parsing selector: new UiSelector().resourceId("com.facebook.katana:id/login_username")
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] UiSelector coerce type: class java.lang.String arg: "com.facebook.katana:id/login_username"
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Using: UiSelector[RESOURCE_ID=com.facebook.katana:id/login_username]
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Returning result: {"status":7,"value":"No element found"}
[debug] [AndroidBootstrap] Received command result from bootstrap
[debug] [BaseDriver] Waited for 3310 ms so far[debug] [AndroidBootstrap] Sending command to android: {"cmd":"action","action":"find","params":{"strategy":"-android uiautomator","selector":"new UiSelector().resourceId(\"com.facebook.katana:id/login_username\")","context":"","multiple":false}}
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got data from client: {"cmd":"action","action":"find","params":{"strategy":"-android uiautomator","selector":"new UiSelector().resourceId(\"com.facebook.katana:id/login_username\")","context":"","multiple":false}}
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command of type ACTION
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command action: find
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Finding 'new UiSelector().resourceId("com.facebook.katana:id/login_username")' using 'ANDROID_UIAUTOMATOR' with the contextId: '' multiple: false
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Parsing selector: new UiSelector().resourceId("com.facebook.katana:id/login_username")
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] UiSelector coerce type: class java.lang.String arg: "com.facebook.katana:id/login_username"
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Using: UiSelector[RESOURCE_ID=com.facebook.katana:id/login_username]
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Failed to locate element. Clearing Accessibility cache and retrying.
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Finding 'new UiSelector().resourceId("com.facebook.katana:id/login_username")' using 'ANDROID_UIAUTOMATOR' with the contextId: '' multiple: false
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Parsing selector: new UiSelector().resourceId("com.facebook.katana:id/login_username")
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] UiSelector coerce type: class java.lang.String arg: "com.facebook.katana:id/login_username"
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Using: UiSelector[RESOURCE_ID=com.facebook.katana:id/login_username]
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Returning result: {"status":7,"value":"No element found"}
[debug] [AndroidBootstrap] Received command result from bootstrap
[debug] [BaseDriver] Waited for 3825 ms so far[debug] [AndroidBootstrap] Sending command to android: {"cmd":"action","action":"find","params":{"strategy":"-android uiautomator","selector":"new UiSelector().resourceId(\"com.facebook.katana:id/login_username\")","context":"","multiple":false}}
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got data from client: {"cmd":"action","action":"find","params":{"strategy":"-android uiautomator","selector":"new UiSelector().resourceId(\"com.facebook.katana:id/login_username\")","context":"","multiple":false}}
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command of type ACTION
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command action: find
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Finding 'new UiSelector().resourceId("com.facebook.katana:id/login_username")' using 'ANDROID_UIAUTOMATOR' with the contextId: '' multiple: false
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Parsing selector: new UiSelector().resourceId("com.facebook.katana:id/login_username")
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] UiSelector coerce type: class java.lang.String arg: "com.facebook.katana:id/login_username"
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Using: UiSelector[RESOURCE_ID=com.facebook.katana:id/login_username]
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Failed to locate element. Clearing Accessibility cache and retrying.
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Finding 'new UiSelector().resourceId("com.facebook.katana:id/login_username")' using 'ANDROID_UIAUTOMATOR' with the contextId: '' multiple: false
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Parsing selector: new UiSelector().resourceId("com.facebook.katana:id/login_username")
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] UiSelector coerce type: class java.lang.String arg: "com.facebook.katana:id/login_username"
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Using: UiSelector[RESOURCE_ID=com.facebook.katana:id/login_username]
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Returning result: {"status":7,"value":"No element found"}
[debug] [AndroidBootstrap] Received command result from bootstrap
[debug] [BaseDriver] Waited for 4360 ms so far[debug] [AndroidBootstrap] Sending command to android: {"cmd":"action","action":"find","params":{"strategy":"-android uiautomator","selector":"new UiSelector().resourceId(\"com.facebook.katana:id/login_username\")","context":"","multiple":false}}
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got data from client: {"cmd":"action","action":"find","params":{"strategy":"-android uiautomator","selector":"new UiSelector().resourceId(\"com.facebook.katana:id/login_username\")","context":"","multiple":false}}
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command of type ACTION
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command action: find
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Finding 'new UiSelector().resourceId("com.facebook.katana:id/login_username")' using 'ANDROID_UIAUTOMATOR' with the contextId: '' multiple: false
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Parsing selector: new UiSelector().resourceId("com.facebook.katana:id/login_username")
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] UiSelector coerce type: class java.lang.String arg: "com.facebook.katana:id/login_username"
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Using: UiSelector[RESOURCE_ID=com.facebook.katana:id/login_username]
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Failed to locate element. Clearing Accessibility cache and retrying.
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Finding 'new UiSelector().resourceId("com.facebook.katana:id/login_username")' using 'ANDROID_UIAUTOMATOR' with the contextId: '' multiple: false
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Parsing selector: new UiSelector().resourceId("com.facebook.katana:id/login_username")
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] UiSelector coerce type: class java.lang.String arg: "com.facebook.katana:id/login_username"
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Using: UiSelector[RESOURCE_ID=com.facebook.katana:id/login_username]
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Returning result: {"status":7,"value":"No element found"}
[debug] [AndroidBootstrap] Received command result from bootstrap
[debug] [BaseDriver] Waited for 4898 ms so far[debug] [AndroidBootstrap] Sending command to android: {"cmd":"action","action":"find","params":{"strategy":"-android uiautomator","selector":"new UiSelector().resourceId(\"com.facebook.katana:id/login_username\")","context":"","multiple":false}}
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got data from client: {"cmd":"action","action":"find","params":{"strategy":"-android uiautomator","selector":"new UiSelector().resourceId(\"com.facebook.katana:id/login_username\")","context":"","multiple":false}}
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command of type ACTION
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command action: find
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Finding 'new UiSelector().resourceId("com.facebook.katana:id/login_username")' using 'ANDROID_UIAUTOMATOR' with the contextId: '' multiple: false
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Parsing selector: new UiSelector().resourceId("com.facebook.katana:id/login_username")
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] UiSelector coerce type: class java.lang.String arg: "com.facebook.katana:id/login_username"
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Using: UiSelector[RESOURCE_ID=com.facebook.katana:id/login_username][debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Failed to locate element. Clearing Accessibility cache and retrying.
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Finding 'new UiSelector().resourceId("com.facebook.katana:id/login_username")' using 'ANDROID_UIAUTOMATOR' with the contextId: '' multiple: false
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Parsing selector: new UiSelector().resourceId("com.facebook.katana:id/login_username")
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] UiSelector coerce type: class java.lang.String arg: "com.facebook.katana:id/login_username"
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Using: UiSelector[RESOURCE_ID=com.facebook.katana:id/login_username][debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Returning result: {"status":7,"value":"No element found"}
[debug] [AndroidBootstrap] Received command result from bootstrap
[debug] [BaseDriver] Waited for 6752 ms so far[debug] [AndroidBootstrap] Sending command to android: {"cmd":"action","action":"find","params":{"strategy":"-android uiautomator","selector":"new UiSelector().resourceId(\"com.facebook.katana:id/login_username\")","context":"","multiple":false}}
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got data from client: {"cmd":"action","action":"find","params":{"strategy":"-android uiautomator","selector":"new UiSelector().resourceId(\"com.facebook.katana:id/login_username\")","context":"","multiple":false}}
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command of type ACTION
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command action: find
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Finding 'new UiSelector().resourceId("com.facebook.katana:id/login_username")' using 'ANDROID_UIAUTOMATOR' with the contextId: '' multiple: false
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Parsing selector: new UiSelector().resourceId("com.facebook.katana:id/login_username")
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] UiSelector coerce type: class java.lang.String arg: "com.facebook.katana:id/login_username"
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Using: UiSelector[RESOURCE_ID=com.facebook.katana:id/login_username][debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Returning result: {"status":0,"value":{"ELEMENT":"1"}}
[debug] [AndroidBootstrap] Received command result from bootstrap
[debug] [MJSONWP] Responding to client with driver.findElement() result: {"ELEMENT":"1"}
[info] [HTTP] <-- POST /wd/hub/session/c75fa880-becc-4318-b214-c3148a713b8d/element 200 8663 ms - 87
[info] [HTTP] --> DELETE /wd/hub/session/c75fa880-becc-4318-b214-c3148a713b8d {}
[debug] [MJSONWP] Calling AppiumDriver.deleteSession() with args: ["c75fa880-becc-4318-b214-c3148a713b8d"]
[debug] [BaseDriver] Event 'quitSessionRequested' logged at 1508838358943 (15:15:58 GMT+0530 (India Standard Time))
[info] [Appium] Removing session c75fa880-becc-4318-b214-c3148a713b8d from our master session list
[debug] [AndroidDriver] Shutting down Android driver
[debug] [ADB] Getting connected devices...[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running 'C:\Users\cdas\AppData\Local\Android\sdk\platform-tools\adb.exe' with args: ["-P",5037,"-s","A6TDU15401007022","shell","am","force-stop","com.facebook.katana"][debug] [ADB] Pressing the HOME button
[debug] [ADB] Getting connected devices...[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running 'C:\Users\cdas\AppData\Local\Android\sdk\platform-tools\adb.exe' with args: ["-P",5037,"-s","A6TDU15401007022","shell","input","keyevent",3][debug] [AndroidBootstrap] Sending command to android: {"cmd":"shutdown"}
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got data from client: {"cmd":"shutdown"}
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command of type SHUTDOWN
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Returning result: {"status":0,"value":"OK, shutting down"}
[debug] [AndroidBootstrap] Received command result from bootstrap
[debug] [UiAutomator] Shutting down UiAutomator
[debug] [UiAutomator] Moving to state 'stopping'
[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 'C:\Users\cdas\AppData\Local\Android\sdk\platform-tools\adb.exe' with args: ["-P",5037,"-s","A6TDU15401007022","shell","ps"][info] [ADB] No uiautomator process found to kill, continuing...
[debug] [UiAutomator] Moving to state 'stopped'
[debug] [Logcat] Stopping logcat capture
[debug] [ADB] Getting connected devices...[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running 'C:\Users\cdas\AppData\Local\Android\sdk\platform-tools\adb.exe' with args: ["-P",5037,"-s","A6TDU15401007022","shell","am","force-stop","io.appium.unlock"][debug] [AndroidDriver] Not cleaning generated files. Add clearSystemFiles capability if wanted.
[debug] [BaseDriver] Event 'quitSessionFinished' logged at 1508838374014 (15:16:14 GMT+0530 (India Standard Time))
[debug] [MJSONWP] Received response: null
[debug] [MJSONWP] But deleting session, so not returning
[debug] [MJSONWP] Responding to client with driver.deleteSession() result: null
[info] [HTTP] <-- DELETE /wd/hub/session/c75fa880-becc-4318-b214-c3148a713b8d 200 15070 ms - 76
Duplicate of https://github.com/appium/java-client/issues/727
If I run with java-client-5.0.0-BETA6.jar
Got issue at Eclipse:
Exception in thread "main" java.lang.NoSuchMethodError: com.google.common.base.Throwables.throwIfUnchecked(Ljava/lang/Throwable;)V
at io.appium.java_client.remote.AppiumCommandExecutor.execute(AppiumCommandExecutor.java:176)
at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:644)
at io.appium.java_client.DefaultGenericMobileDriver.execute(DefaultGenericMobileDriver.java:42)
at io.appium.java_client.AppiumDriver.execute(AppiumDriver.java:1)
at io.appium.java_client.android.AndroidDriver.execute(AndroidDriver.java:1)
at org.openqa.selenium.remote.RemoteWebDriver.startSession(RemoteWebDriver.java:249)
at org.openqa.selenium.remote.RemoteWebDriver.
at org.openqa.selenium.remote.RemoteWebDriver.
at io.appium.java_client.DefaultGenericMobileDriver.
at io.appium.java_client.AppiumDriver.
at io.appium.java_client.AppiumDriver.
at io.appium.java_client.android.AndroidDriver.
at com.appium.testCases.DesignLayout.main(DesignLayout.java:49)
At Appium server:
[info] [Appium] Welcome to Appium v1.7.0
[info] [Appium] Non-default server args:
[info] [Appium] address: 127.0.0.1
[info] [Appium] Appium REST http interface listener started on 127.0.0.1:4723[debug] [ADB] Getting connected devices...[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running 'C:\Users\cdas\AppData\Local\Android\sdk\platform-toolsadb.exe' with args: ["-P",5037,"-s","A6TDU15401007022","shell","ps"][debug] [ADB] Device API level: 23
[debug] [ADB] Getting connected devices...[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running 'C:\Users\cdas\AppData\Local\Android\sdk\platform-toolsadb.exe' with args: ["-P",5037,"-s","A6TDU15401007022","shell","am","start","-W","-n","io.appium.settings/.Settings","-a","android.intent.action.MAIN","-c","android.intent.category.LAUNCHER","-f","0x10200000"][debug] [ADB] Device API level: 23
[debug] [ADB] Getting connected devices...[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running 'C:\Users\cdas\AppData\Local\Android\sdk\platform-toolsadb.exe' with args: ["-P",5037,"-s","A6TDU15401007022","shell","appops","set","io.appium.settings","android:mock_location","allow"][debug] [AndroidDriver] Pushing unlock helper app to device...
[debug] [ADB] Running 'C:\Users\cdas\AppData\Local\Android\sdk\platform-toolsadb.exe' with args: ["-P",5037,"-s","A6TDU15401007022","install","C:\Users\cdas\AppData\Local\Programs\appium-desktop\resources\app\node_modules\appium\node_modules\appium-unlock\bin\unlock_apk-debug.apk"][info] [HTTP] --> POST /wd/hub/session {"capabilities":[{"desiredCapabilities":{"appPackage":"com.facebook.katana","appActivity":"com.facebook.katana.LoginActivity","autoGrantPermissions":"true","platformName":"Android","deviceName":"Android"}},{"requiredCapabilities":{}}],"desiredCapabilities":{"appPackage":"com.facebook.katana","appActivity":"com.facebook.katana.LoginActivity","autoGrantPermissions":"true","platformName":"Android","deviceName":"Android"},"requiredCapabilities":{}}
[debug] [MJSONWP] Calling AppiumDriver.createSession() with args: [{"appPackage":"com.facebook.katana","appActivity":"com.facebook.katana.LoginActivity","autoGrantPermissions":"true","platformName":"Android","deviceName":"Android"},{},[{"desiredCapabilities":{"appPackage":"com.facebook.katana","appActivity":"com.facebook.katana.LoginActivity","autoGrantPermissions":"true","platformName":"Android","deviceName":"Android"}},{"requiredCapabilities":{}}]]
[debug] [BaseDriver] Event 'newSessionRequested' logged at 1508842701699 (16:28:21 GMT+0530 (India Standard Time))
[info] [Appium] Creating new AndroidDriver (v1.26.5) session
[info] [Appium] Capabilities:
[info] [Appium] appPackage: 'com.facebook.katana'
[info] [Appium] appActivity: 'com.facebook.katana.LoginActivity'
[info] [Appium] autoGrantPermissions: 'true'
[info] [Appium] platformName: 'Android'
[info] [Appium] deviceName: 'Android'
[warn] [BaseDriver] Capability 'autoGrantPermissions' changed from string to boolean. This may cause unexpected behavior
[info] [BaseDriver] Session created with session id: 70d0642a-410d-4daa-9db8-682889f196b1
[debug] [AndroidDriver] Getting Java version[info] [ADB] Getting device platform version
[debug] [ADB] Getting connected devices...[info] [AndroidDriver] Java version is: 1.8.0_111
[info] [ADB] Checking whether adb is present
[info] [ADB] Using adb.exe from C:\Users\cdas\AppData\Local\Android\sdk\platform-toolsadb.exe
[info] [AndroidDriver] Retrieving device list
[debug] [ADB] Trying to find a connected android device
[debug] [ADB] Getting connected devices...[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running 'C:\Users\cdas\AppData\Local\Android\sdk\platform-toolsadb.exe' with args: ["-P",5037,"-s","A6TDU15401007022","shell","getprop","ro.build.version.release"][debug] [ADB] 1 device(s) connected
[info] [AndroidDriver] Using device: A6TDU15401007022
[info] [ADB] Checking whether adb is present
[info] [ADB] Using adb.exe from C:\Users\cdas\AppData\Local\Android\sdk\platform-toolsadb.exe
[debug] [ADB] Setting device id to A6TDU15401007022
[info] [AndroidDriver] App file was not listed, instead we're going to run com.facebook.katana directly on the device
[debug] [AndroidDriver] Checking whether package is present on the device
[debug] [ADB] Getting connected devices...[debug] [ADB] Current device property 'ro.build.version.release': 6.0.1
[debug] [ADB] Getting connected devices...[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running 'C:\Users\cdas\AppData\Local\Android\sdk\platform-toolsadb.exe' with args: ["-P",5037,"-s","A6TDU15401007022","shell","pm","list","packages","com.facebook.katana"][debug] [ADB] 1 device(s) connected
[debug] [ADB] Running 'C:\Users\cdas\AppData\Local\Android\sdk\platform-toolsadb.exe' with args: ["-P",5037,"-s","A6TDU15401007022","shell","wm","size"][info] [HTTP] <-- POST /wd/hub/session - - ms - - [info] [AndroidDriver] Starting Android session
[debug] [ADB] Running 'C:\Users\cdas\AppData\Local\Android\sdk\platform-toolsadb.exe' with args: ["-P",5037,"-s","A6TDU15401007022","wait-for-device"][debug] [ADB] Getting connected devices...[debug] [ADB] Getting connected devices...[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running 'C:\Users\cdas\AppData\Local\Android\sdk\platform-toolsadb.exe' with args: ["-P",5037,"-s","A6TDU15401007022","shell","getprop","ro.product.model"][debug] [ADB] 1 device(s) connected
[debug] [ADB] Running 'C:\Users\cdas\AppData\Local\Android\sdk\platform-toolsadb.exe' with args: ["-P",5037,"-s","A6TDU15401007022","shell","echo","ping"][debug] [ADB] Current device property 'ro.product.model': Che1-L04
[debug] [ADB] Getting connected devices...[debug] [Logcat] Starting logcat capture[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running 'C:\Users\cdas\AppData\Local\Android\sdk\platform-toolsadb.exe' with args: ["-P",5037,"-s","A6TDU15401007022","shell","getprop","ro.product.manufacturer"][debug] [AndroidDriver] Pushing settings apk to device...
[debug] [ADB] Getting install status for io.appium.settings
[debug] [ADB] Getting connected devices...[debug] [ADB] Current device property 'ro.product.manufacturer': HUAWEI
[warn] [AndroidDriver] No app sent in, not parsing package/activity
[debug] [AndroidDriver] No app capability. Assuming it is already on the device
[debug] [AndroidDriver] Running fast reset (stop and clear)
[debug] [ADB] Getting connected devices...[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running 'C:\Users\cdas\AppData\Local\Android\sdk\platform-toolsadb.exe' with args: ["-P",5037,"-s","A6TDU15401007022","shell","pm","list","packages","io.appium.settings"][debug] [ADB] 1 device(s) connected
[debug] [ADB] Running 'C:\Users\cdas\AppData\Local\Android\sdk\platform-toolsadb.exe' with args: ["-P",5037,"-s","A6TDU15401007022","shell","am","force-stop","com.facebook.katana"][debug] [ADB] App is installed
[debug] [ADB] Getting package info for io.appium.settings
[debug] [ADB] Getting connected devices...[debug] [ADB] Getting connected devices...[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running 'C:\Users\cdas\AppData\Local\Android\sdk\platform-toolsadb.exe' with args: ["-P",5037,"-s","A6TDU15401007022","shell","dumpsys","package","io.appium.settings"][debug] [ADB] 1 device(s) connected
[debug] [ADB] Running 'C:\Users\cdas\AppData\Local\Android\sdk\platform-toolsadb.exe' with args: ["-P",5037,"-s","A6TDU15401007022","shell","pm","clear","com.facebook.katana"][info] [ADB] Checking whether aapt is present
[info] [ADB] Using aapt.exe from C:\Users\cdas\AppData\Local\Android\sdk\build-tools\25.0.3aapt.exe[debug] [ADB] The installed "io.appium.settings" package does not require upgrade (4 >= 4)
[debug] [ADB] Getting connected devices...[debug] [ADB] Device API level: 23
[debug] [ADB] Getting connected devices...[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running 'C:\Users\cdas\AppData\Local\Android\sdk\platform-toolsadb.exe' with args: ["-P",5037,"-s","A6TDU15401007022","shell","getprop","ro.build.version.sdk"][debug] [ADB] 1 device(s) connected
[debug] [ADB] Running 'C:\Users\cdas\AppData\Local\Android\sdk\platform-toolsadb.exe' with args: ["-P",5037,"-s","A6TDU15401007022","shell","dumpsys","package","com.facebook.katana"][debug] [ADB] Current device property 'ro.build.version.sdk': 23
[debug] [ADB] Device API level: 23
[debug] [ADB] Getting connected devices...[debug] [ADB] Getting connected devices...[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running 'C:\Users\cdas\AppData\Local\Android\sdk\platform-toolsadb.exe' with args: ["-P",5037,"-s","A6TDU15401007022","shell","dumpsys","package","io.appium.settings"][info] [HTTP] --> POST /wd/hub/session {"capabilities":[{"desiredCapabilities":{"appPackage":"com.facebook.katana","appActivity":"com.facebook.katana.LoginActivity","autoGrantPermissions":"true","platformName":"Android","deviceName":"Android"}},{"requiredCapabilities":{}}],"desiredCapabilities":{"appPackage":"com.facebook.katana","appActivity":"com.facebook.katana.LoginActivity","autoGrantPermissions":"true","platformName":"Android","deviceName":"Android"},"requiredCapabilities":{}}
[debug] [MJSONWP] Calling AppiumDriver.createSession() with args: [{"appPackage":"com.facebook.katana","appActivity":"com.facebook.katana.LoginActivity","autoGrantPermissions":"true","platformName":"Android","deviceName":"Android"},{},[{"desiredCapabilities":{"appPackage":"com.facebook.katana","appActivity":"com.facebook.katana.LoginActivity","autoGrantPermissions":"true","platformName":"Android","deviceName":"Android"}},{"requiredCapabilities":{}}]]
[debug] [BaseDriver] Event 'newSessionRequested' logged at 1508842750462 (16:29:10 GMT+0530 (India Standard Time))
[info] [Appium] Creating new AndroidDriver (v1.26.5) session
[info] [Appium] Capabilities:
[info] [Appium] appPackage: 'com.facebook.katana'
[info] [Appium] appActivity: 'com.facebook.katana.LoginActivity'
[info] [Appium] autoGrantPermissions: 'true'
[info] [Appium] platformName: 'Android'
[info] [Appium] deviceName: 'Android'
[warn] [BaseDriver] Capability 'autoGrantPermissions' changed from string to boolean. This may cause unexpected behavior
[info] [BaseDriver] Session created with session id: 23855fce-a972-4792-a881-4810c6ecbfde
[debug] [AndroidDriver] Getting Java version[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running 'C:\Users\cdas\AppData\Local\Android\sdk\platform-toolsadb.exe' with args: ["-P",5037,"-s","A6TDU15401007022","shell","pm","dump","com.facebook.katana"][debug] [ADB] Getting connected devices...[info] [AndroidDriver] Java version is: 1.8.0_111
[info] [ADB] Checking whether adb is present
[info] [ADB] Using adb.exe from C:\Users\cdas\AppData\Local\Android\sdk\platform-toolsadb.exe
[info] [AndroidDriver] Retrieving device list
[debug] [ADB] Trying to find a connected android device
[debug] [ADB] Getting connected devices...[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running 'C:\Users\cdas\AppData\Local\Android\sdk\platform-toolsadb.exe' with args: ["-P",5037,"-s","A6TDU15401007022","shell","pm","dump","io.appium.settings"][debug] [ADB] 1 device(s) connected
[info] [AndroidDriver] Using device: A6TDU15401007022
[info] [ADB] Checking whether adb is present
[info] [ADB] Using adb.exe from C:\Users\cdas\AppData\Local\Android\sdk\platform-toolsadb.exe
[debug] [ADB] Setting device id to A6TDU15401007022
[info] [AndroidDriver] App file was not listed, instead we're going to run com.facebook.katana directly on the device
[debug] [AndroidDriver] Checking whether package is present on the device
[debug] [ADB] Getting connected devices...[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running 'C:\Users\cdas\AppData\Local\Android\sdk\platform-toolsadb.exe' with args: ["-P",5037,"-s","A6TDU15401007022","shell","pm","list","packages","com.facebook.katana"][debug] [ADB] Got the following command chunks to execute: pm,grant,com.facebook.katana,android.permission.WRITE_SETTINGS,;,pm,grant,com.facebook.katana,android.permission.ACCESS_COARSE_LOCATION,;,pm,grant,com.facebook.katana,android.permission.READ_CONTACTS,;,pm,grant,com.facebook.katana,android.permission.WRITE_CONTACTS,;,pm,grant,com.facebook.katana,android.permission.GET_ACCOUNTS,;,pm,grant,com.facebook.katana,android.permission.ACCESS_FINE_LOCATION,;,pm,grant,com.facebook.katana,android.permission.CAMERA,;,pm,grant,com.facebook.katana,android.permission.RECORD_AUDIO,;,pm,grant,com.facebook.katana,android.permission.WRITE_EXTERNAL_STORAGE,;,pm,grant,com.facebook.katana,android.permission.READ_PHONE_STATE,;,pm,grant,com.facebook.katana,android.permission.READ_CALENDAR,;,pm,grant,com.facebook.katana,android.permission.WRITE_CALENDAR,;,pm,grant,com.facebook.katana,android.permission.READ_SMS,;,pm,grant,com.facebook.katana,android.permission.CHANGE_NETWORK_STATE,;,pm,grant,com.facebook.katana,android.permission.SYSTEM_ALERT_WINDOW,;,pm,grant,com.facebook.katana,android.permission.READ_EXTERNAL_STORAGE,;
[debug] [ADB] Getting connected devices...[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running 'C:\Users\cdas\AppData\Local\Android\sdk\platform-toolsadb.exe' with args: ["-P",5037,"-s","A6TDU15401007022","shell","pm","grant","com.facebook.katana","android.permission.WRITE_SETTINGS",";","pm","grant","com.facebook.katana","android.permission.ACCESS_COARSE_LOCATION",";","pm","grant","com.facebook.katana","android.permission.READ_CONTACTS",";","pm","grant","com.facebook.katana","android.permission.WRITE_CONTACTS",";","pm","grant","com.facebook.katana","android.permission.GET_ACCOUNTS",";","pm","grant","com.facebook.katana","android.permission.ACCESS_FINE_LOCATION",";","pm","grant","com.facebook.katana","android.permission.CAMERA",";","pm","grant","com.facebook.katana","android.permission.RECORD_AUDIO",";","pm","grant","com.facebook.katana","android.permission.WRITE_EXTERNAL_STORAGE",";","pm","grant","com.facebook.katana","android.permission.READ_PHONE_STATE",";","pm","grant","com.facebook.katana","android.permission.READ_CALENDAR",";","pm","grant","com.facebook.katana","android.permission.WRITE_CALENDAR",";","pm","grant","com.facebook.katana","android.permission.READ_SMS",";","pm","grant","com.facebook.katana","android.permission.CHANGE_NETWORK_STATE",";","pm","grant","com.facebook.katana","android.permission.SYSTEM_ALERT_WINDOW",";"][info] [AndroidDriver] Starting Android session
[debug] [ADB] Running 'C:\Users\cdas\AppData\Local\Android\sdk\platform-toolsadb.exe' with args: ["-P",5037,"-s","A6TDU15401007022","wait-for-device"][debug] [ADB] Got the following command chunks to execute: pm,grant,io.appium.settings,android.permission.CHANGE_NETWORK_STATE,;,pm,grant,io.appium.settings,android.permission.WRITE_SETTINGS,;,pm,grant,io.appium.settings,android.permission.ACCESS_MOCK_LOCATION,;
[debug] [ADB] Getting connected devices...[debug] [ADB] Getting connected devices...[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running 'C:\Users\cdas\AppData\Local\Android\sdk\platform-toolsadb.exe' with args: ["-P",5037,"-s","A6TDU15401007022","shell","pm","grant","io.appium.settings","android.permission.CHANGE_NETWORK_STATE",";","pm","grant","io.appium.settings","android.permission.WRITE_SETTINGS",";","pm","grant","io.appium.settings","android.permission.ACCESS_MOCK_LOCATION",";"][debug] [ADB] 1 device(s) connected
[debug] [ADB] Running 'C:\Users\cdas\AppData\Local\Android\sdk\platform-toolsadb.exe' with args: ["-P",5037,"-s","A6TDU15401007022","shell","echo","ping"][debug] [Logcat] Starting logcat capture[debug] [ADB] Getting connected devices...[debug] [AndroidDriver] Pushing settings apk to device...
[debug] [ADB] Getting install status for io.appium.settings
[debug] [ADB] Getting connected devices...[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running 'C:\Users\cdas\AppData\Local\Android\sdk\platform-toolsadb.exe' with args: ["-P",5037,"-s","A6TDU15401007022","shell","ps"][debug] [ADB] 1 device(s) connected
[debug] [ADB] Running 'C:\Users\cdas\AppData\Local\Android\sdk\platform-toolsadb.exe' with args: ["-P",5037,"-s","A6TDU15401007022","shell","pm","list","packages","io.appium.settings"][debug] [ADB] Getting connected devices...[debug] [ADB] Device API level: 23
[debug] [ADB] Getting connected devices...[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running 'C:\Users\cdas\AppData\Local\Android\sdk\platform-toolsadb.exe' with args: ["-P",5037,"-s","A6TDU15401007022","shell","pm","grant","com.facebook.katana","android.permission.READ_EXTERNAL_STORAGE",";"]
[debug] [ADB] App is installed
[debug] [ADB] Getting package info for io.appium.settings
[debug] [ADB] Getting connected devices...[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running 'C:\Users\cdas\AppData\Local\Android\sdk\platform-toolsadb.exe' with args: ["-P",5037,"-s","A6TDU15401007022","shell","appops","set","io.appium.settings","android:mock_location","allow"][debug] [ADB] 1 device(s) connected
[debug] [ADB] Running 'C:\Users\cdas\AppData\Local\Android\sdk\platform-toolsadb.exe' with args: ["-P",5037,"-s","A6TDU15401007022","shell","dumpsys","package","io.appium.settings"][debug] [AndroidBootstrap] Watching for bootstrap disconnect
[debug] [ADB] Forwarding system: 4724 to device: 4724
[debug] [ADB] Running 'C:\Users\cdas\AppData\Local\Android\sdk\platform-toolsadb.exe' with args: ["-P",5037,"-s","A6TDU15401007022","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 'C:\Users\cdas\AppData\Local\Android\sdk\platform-toolsadb.exe' with args: ["-P",5037,"-s","A6TDU15401007022","push","C:\Users\cdas\AppData\Local\Programs\appium-desktop\resources\app\node_modules\appium\node_modules\appium-android-bootstrap\bootstrap\bin\AppiumBootstrap.jar","/data/local/tmp/"][debug] [AndroidDriver] Pushing unlock helper app to device...
[debug] [ADB] Running 'C:\Users\cdas\AppData\Local\Android\sdk\platform-toolsadb.exe' with args: ["-P",5037,"-s","A6TDU15401007022","install","C:\Users\cdas\AppData\Local\Programs\appium-desktop\resources\app\node_modules\appium\node_modules\appium-unlock\bin\unlock_apk-debug.apk"][info] [ADB] Checking whether aapt is present
[info] [ADB] Using aapt.exe from C:\Users\cdas\AppData\Local\Android\sdk\build-tools\25.0.3aapt.exe[debug] [ADB] The installed "io.appium.settings" package does not require upgrade (4 >= 4)
[debug] [ADB] Getting connected devices...
[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 'C:\Users\cdas\AppData\Local\Android\sdk\platform-toolsadb.exe' with args: ["-P",5037,"-s","A6TDU15401007022","shell","getprop","ro.build.version.sdk"][debug] [ADB] 1 device(s) connected
[debug] [ADB] Running 'C:\Users\cdas\AppData\Local\Android\sdk\platform-toolsadb.exe' with args: ["-P",5037,"-s","A6TDU15401007022","shell","ps"]
[info] [ADB] Getting device platform version
[debug] [ADB] Getting connected devices...[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running 'C:\Users\cdas\AppData\Local\Android\sdk\platform-toolsadb.exe' with args: ["-P",5037,"-s","A6TDU15401007022","shell","getprop","ro.build.version.release"][debug] [ADB] Current device property 'ro.build.version.sdk': 23
[debug] [ADB] Device API level: 23
[debug] [ADB] Getting connected devices...[info] [ADB] No uiautomator process found to kill, continuing...
[debug] [UiAutomator] Starting UIAutomator
[debug] [ADB] Creating ADB subprocess with args: ["-P",5037,"-s","A6TDU15401007022","shell","uiautomator","runtest","AppiumBootstrap.jar","-c","io.appium.android.bootstrap.Bootstrap","-e","pkg","com.facebook.katana","-e","disableAndroidWatchers",false,"-e","acceptSslCerts",false][debug] [ADB] Current device property 'ro.build.version.release': 6.0.1
[debug] [ADB] Getting connected devices...
[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running 'C:\Users\cdas\AppData\Local\Android\sdk\platform-toolsadb.exe' with args: ["-P",5037,"-s","A6TDU15401007022","shell","dumpsys","package","io.appium.settings"][debug] [UiAutomator] Moving to state 'online'
[info] [AndroidBootstrap] Android bootstrap socket is now connected
[debug] [ADB] Getting connected devices...
[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running 'C:\Users\cdas\AppData\Local\Android\sdk\platform-toolsadb.exe' with args: ["-P",5037,"-s","A6TDU15401007022","shell","wm","size"]
[debug] [ADB] Getting connected devices...[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Client connected[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running 'C:\Users\cdas\AppData\Local\Android\sdk\platform-toolsadb.exe' with args: ["-P",5037,"-s","A6TDU15401007022","shell","dumpsys","window"][debug] [ADB] 1 device(s) connected
[debug] [ADB] Running 'C:\Users\cdas\AppData\Local\Android\sdk\platform-toolsadb.exe' with args: ["-P",5037,"-s","A6TDU15401007022","shell","pm","dump","io.appium.settings"][debug] [ADB] Getting connected devices...[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running 'C:\Users\cdas\AppData\Local\Android\sdk\platform-toolsadb.exe' with args: ["-P",5037,"-s","A6TDU15401007022","shell","getprop","ro.product.model"][info] [AndroidDriver] Screen already unlocked, doing nothing
[debug] [ADB] Device API level: 23
[debug] [ADB] Getting connected devices...[debug] [ADB] Current device property 'ro.product.model': Che1-L04
[debug] [ADB] Getting connected devices...
[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running 'C:\Users\cdas\AppData\Local\Android\sdk\platform-toolsadb.exe' with args: ["-P",5037,"-s","A6TDU15401007022","shell","am","start","-W","-n","com.facebook.katana/com.facebook.katana.LoginActivity","-S"][debug] [ADB] 1 device(s) connected
[debug] [ADB] Running 'C:\Users\cdas\AppData\Local\Android\sdk\platform-toolsadb.exe' with args: ["-P",5037,"-s","A6TDU15401007022","shell","getprop","ro.product.manufacturer"][debug] [ADB] Got the following command chunks to execute: pm,grant,io.appium.settings,android.permission.CHANGE_NETWORK_STATE,;,pm,grant,io.appium.settings,android.permission.WRITE_SETTINGS,;,pm,grant,io.appium.settings,android.permission.ACCESS_MOCK_LOCATION,;
[debug] [ADB] Getting connected devices...
[debug] [ADB] Current device property 'ro.product.manufacturer': HUAWEI
[warn] [AndroidDriver] No app sent in, not parsing package/activity
[debug] [AndroidDriver] No app capability. Assuming it is already on the device
[debug] [AndroidDriver] Running fast reset (stop and clear)
[debug] [ADB] Getting connected devices...[info] [Appium] New AndroidDriver session created successfully, session 9cc4a16d-334f-41b4-9648-28be8ac8cb20 added to master session list
[debug] [BaseDriver] Event 'newSessionStarted' logged at 1508842825058 (16:30:25 GMT+0530 (India Standard Time))
[debug] [MJSONWP] Responding to client with driver.createSession() result: {"platform":"LINUX","webStorageEnabled":false,"takesScreenshot":true,"javascriptEnabled":true,"databaseEnabled":false,"networkConnectionEnabled":true,"locationContextEnabled":false,"warnings":{},"desired":{"appPackage":"com.facebook.katana","appActivity":"com.facebook.katana.LoginActivity","browserName":"","autoGrantPermissions":true,"platformName":"Android","deviceName":"Android"},"appPackage":"com.facebook.katana","appActivity":"com.facebook.katana.LoginActivity","browserName":"","autoGrantPermissions":true,"platformName":"Android","deviceName":"A6TDU15401007022","deviceUDID":"A6TDU15401007022","platformVersion":"6.0.1","deviceScreenSize":"720x1280","deviceModel":"Che1-L04","deviceManufacturer":"HUAWEI"}[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running 'C:\Users\cdas\AppData\Local\Android\sdk\platform-toolsadb.exe' with args: ["-P",5037,"-s","A6TDU15401007022","shell","pm","grant","io.appium.settings","android.permission.CHANGE_NETWORK_STATE",";","pm","grant","io.appium.settings","android.permission.WRITE_SETTINGS",";","pm","grant","io.appium.settings","android.permission.ACCESS_MOCK_LOCATION",";"][debug] [ADB] 1 device(s) connected
[debug] [ADB] Running 'C:\Users\cdas\AppData\Local\Android\sdk\platform-toolsadb.exe' with args: ["-P",5037,"-s","A6TDU15401007022","shell","am","force-stop","com.facebook.katana"][debug] [ADB] Getting connected devices...[debug] [ADB] Getting connected devices...[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running 'C:\Users\cdas\AppData\Local\Android\sdk\platform-toolsadb.exe' with args: ["-P",5037,"-s","A6TDU15401007022","shell","pm","clear","com.facebook.katana"][debug] [ADB] 1 device(s) connected
[debug] [ADB] Running 'C:\Users\cdas\AppData\Local\Android\sdk\platform-toolsadb.exe' with args: ["-P",5037,"-s","A6TDU15401007022","shell","ps"][debug] [ADB] Device API level: 23
[debug] [ADB] Getting connected devices...[debug] [ADB] Device API level: 23
[debug] [ADB] Getting connected devices...[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running 'C:\Users\cdas\AppData\Local\Android\sdk\platform-toolsadb.exe' with args: ["-P",5037,"-s","A6TDU15401007022","shell","dumpsys","package","com.facebook.katana"][debug] [ADB] 1 device(s) connected
[debug] [ADB] Running 'C:\Users\cdas\AppData\Local\Android\sdk\platform-toolsadb.exe' with args: ["-P",5037,"-s","A6TDU15401007022","shell","appops","set","io.appium.settings","android:mock_location","allow"][debug] [ADB] Getting connected devices...[debug] [AndroidDriver] Pushing unlock helper app to device...
[debug] [ADB] Running 'C:\Users\cdas\AppData\Local\Android\sdk\platform-toolsadb.exe' with args: ["-P",5037,"-s","A6TDU15401007022","install","C:\Users\cdas\AppData\Local\Programs\appium-desktop\resources\app\node_modules\appium\node_modules\appium-unlock\bin\unlock_apk-debug.apk"][debug] [ADB] 1 device(s) connected
[debug] [ADB] Running 'C:\Users\cdas\AppData\Local\Android\sdk\platform-toolsadb.exe' with args: ["-P",5037,"-s","A6TDU15401007022","shell","pm","dump","com.facebook.katana"][debug] [ADB] Got the following command chunks to execute: pm,grant,com.facebook.katana,android.permission.WRITE_SETTINGS,;,pm,grant,com.facebook.katana,android.permission.ACCESS_COARSE_LOCATION,;,pm,grant,com.facebook.katana,android.permission.READ_CONTACTS,;,pm,grant,com.facebook.katana,android.permission.WRITE_CONTACTS,;,pm,grant,com.facebook.katana,android.permission.GET_ACCOUNTS,;,pm,grant,com.facebook.katana,android.permission.ACCESS_FINE_LOCATION,;,pm,grant,com.facebook.katana,android.permission.CAMERA,;,pm,grant,com.facebook.katana,android.permission.RECORD_AUDIO,;,pm,grant,com.facebook.katana,android.permission.WRITE_EXTERNAL_STORAGE,;,pm,grant,com.facebook.katana,android.permission.READ_PHONE_STATE,;,pm,grant,com.facebook.katana,android.permission.READ_CALENDAR,;,pm,grant,com.facebook.katana,android.permission.WRITE_CALENDAR,;,pm,grant,com.facebook.katana,android.permission.READ_SMS,;,pm,grant,com.facebook.katana,android.permission.CHANGE_NETWORK_STATE,;,pm,grant,com.facebook.katana,android.permission.SYSTEM_ALERT_WINDOW,;,pm,grant,com.facebook.katana,android.permission.READ_EXTERNAL_STORAGE,;
[debug] [ADB] Getting connected devices...[info] [ADB] Getting device platform version
[debug] [ADB] Getting connected devices...[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running 'C:\Users\cdas\AppData\Local\Android\sdk\platform-toolsadb.exe' with args: ["-P",5037,"-s","A6TDU15401007022","shell","pm","grant","com.facebook.katana","android.permission.WRITE_SETTINGS",";","pm","grant","com.facebook.katana","android.permission.ACCESS_COARSE_LOCATION",";","pm","grant","com.facebook.katana","android.permission.READ_CONTACTS",";","pm","grant","com.facebook.katana","android.permission.WRITE_CONTACTS",";","pm","grant","com.facebook.katana","android.permission.GET_ACCOUNTS",";","pm","grant","com.facebook.katana","android.permission.ACCESS_FINE_LOCATION",";","pm","grant","com.facebook.katana","android.permission.CAMERA",";","pm","grant","com.facebook.katana","android.permission.RECORD_AUDIO",";","pm","grant","com.facebook.katana","android.permission.WRITE_EXTERNAL_STORAGE",";","pm","grant","com.facebook.katana","android.permission.READ_PHONE_STATE",";","pm","grant","com.facebook.katana","android.permission.READ_CALENDAR",";","pm","grant","com.facebook.katana","android.permission.WRITE_CALENDAR",";","pm","grant","com.facebook.katana","android.permission.READ_SMS",";","pm","grant","com.facebook.katana","android.permission.CHANGE_NETWORK_STATE",";","pm","grant","com.facebook.katana","android.permission.SYSTEM_ALERT_WINDOW",";"][debug] [ADB] 1 device(s) connected
[debug] [ADB] Running 'C:\Users\cdas\AppData\Local\Android\sdk\platform-toolsadb.exe' with args: ["-P",5037,"-s","A6TDU15401007022","shell","getprop","ro.build.version.release"][debug] [ADB] Current device property 'ro.build.version.release': 6.0.1
[debug] [ADB] Getting connected devices...[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running 'C:\Users\cdas\AppData\Local\Android\sdk\platform-toolsadb.exe' with args: ["-P",5037,"-s","A6TDU15401007022","shell","wm","size"][debug] [ADB] Getting connected devices...[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running 'C:\Users\cdas\AppData\Local\Android\sdk\platform-toolsadb.exe' with args: ["-P",5037,"-s","A6TDU15401007022","shell","getprop","ro.product.model"][debug] [ADB] Current device property 'ro.product.model': Che1-L04
[debug] [ADB] Getting connected devices...[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running 'C:\Users\cdas\AppData\Local\Android\sdk\platform-toolsadb.exe' with args: ["-P",5037,"-s","A6TDU15401007022","shell","getprop","ro.product.manufacturer"][debug] [ADB] Current device property 'ro.product.manufacturer': HUAWEI
[warn] [AndroidDriver] No app sent in, not parsing package/activity
[debug] [AndroidDriver] No app capability. Assuming it is already on the device
[debug] [AndroidDriver] Running fast reset (stop and clear)
[debug] [ADB] Getting connected devices...[debug] [ADB] Getting connected devices...[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running 'C:\Users\cdas\AppData\Local\Android\sdk\platform-toolsadb.exe' with args: ["-P",5037,"-s","A6TDU15401007022","shell","am","force-stop","com.facebook.katana"][debug] [ADB] 1 device(s) connected
[debug] [ADB] Running 'C:\Users\cdas\AppData\Local\Android\sdk\platform-toolsadb.exe' with args: ["-P",5037,"-s","A6TDU15401007022","shell","pm","grant","com.facebook.katana","android.permission.READ_EXTERNAL_STORAGE",";"][debug] [ADB] Getting connected devices...[debug] [AndroidBootstrap] Watching for bootstrap disconnect
[debug] [ADB] Forwarding system: 4724 to device: 4724
[debug] [ADB] Running 'C:\Users\cdas\AppData\Local\Android\sdk\platform-toolsadb.exe' with args: ["-P",5037,"-s","A6TDU15401007022","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 'C:\Users\cdas\AppData\Local\Android\sdk\platform-toolsadb.exe' with args: ["-P",5037,"-s","A6TDU15401007022","push","C:\Users\cdas\AppData\Local\Programs\appium-desktop\resources\app\node_modules\appium\node_modules\appium-android-bootstrap\bootstrap\bin\AppiumBootstrap.jar","/data/local/tmp/"][debug] [ADB] 1 device(s) connected
[debug] [ADB] Running 'C:\Users\cdas\AppData\Local\Android\sdk\platform-toolsadb.exe' with args: ["-P",5037,"-s","A6TDU15401007022","shell","pm","clear","com.facebook.katana"][debug] [ADB] Attempting to kill all uiautomator processes
[debug] [ADB] Getting all processes with uiautomator
[debug] [ADB] Getting connected devices...[debug] [ADB] Device API level: 23
[debug] [ADB] Getting connected devices...[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running 'C:\Users\cdas\AppData\Local\Android\sdk\platform-toolsadb.exe' with args: ["-P",5037,"-s","A6TDU15401007022","shell","ps"][debug] [ADB] 1 device(s) connected
[debug] [ADB] Running 'C:\Users\cdas\AppData\Local\Android\sdk\platform-toolsadb.exe' with args: ["-P",5037,"-s","A6TDU15401007022","shell","dumpsys","package","com.facebook.katana"][warn] [BaseDriver] Shutting down because we waited 60 seconds for a command
[debug] [AndroidDriver] Shutting down Android driver
[warn] [Appium] Closing session, cause was 'New Command Timeout of 60 seconds expired. Try customizing the timeout using the 'newCommandTimeout' desired capability'
[info] [Appium] Removing session 9cc4a16d-334f-41b4-9648-28be8ac8cb20 from our master session list
[debug] [ADB] Getting connected devices...[debug] [ADB] Attempting to kill process 14685
[debug] [ADB] Getting connected devices...[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running 'C:\Users\cdas\AppData\Local\Android\sdk\platform-toolsadb.exe' with args: ["-P",5037,"-s","A6TDU15401007022","shell","am","force-stop","com.facebook.katana"][debug] [ADB] 1 device(s) connected
[debug] [ADB] Running 'C:\Users\cdas\AppData\Local\Android\sdk\platform-toolsadb.exe' with args: ["-P",5037,"-s","A6TDU15401007022","shell","kill","-0",14685]
[debug] [ADB] Getting connected devices...[debug] [ADB] Pressing the HOME button
[debug] [ADB] Getting connected devices...[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running 'C:\Users\cdas\AppData\Local\Android\sdk\platform-toolsadb.exe' with args: ["-P",5037,"-s","A6TDU15401007022","shell","pm","dump","com.facebook.katana"]
[debug] [ADB] Getting connected devices...[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running 'C:\Users\cdas\AppData\Local\Android\sdk\platform-toolsadb.exe' with args: ["-P",5037,"-s","A6TDU15401007022","shell","input","keyevent",3][debug] [ADB] 1 device(s) connected
[debug] [ADB] Running 'C:\Users\cdas\AppData\Local\Android\sdk\platform-toolsadb.exe' with args: ["-P",5037,"-s","A6TDU15401007022","shell","kill",14685][warn] [ADB] Cannot kill process 14685 in 1000 ms. Trying to force kill...
[debug] [ADB] Getting connected devices...
[error] [UiAutomator] UiAutomator exited unexpectedly with code 0, signal null
[debug] [UiAutomator] Moving to state 'stopped'
[debug] [AndroidDriver] Shutting down Android driver
[debug] [ADB] Getting connected devices...[warn] [AndroidBootstrap] Cannot shut down Android bootstrap; it has already shut down
[debug] [Logcat] Stopping logcat capture
[debug] [ADB] Getting connected devices...[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running 'C:\Users\cdas\AppData\Local\Android\sdk\platform-toolsadb.exe' with args: ["-P",5037,"-s","A6TDU15401007022","shell","kill","-9",14685][debug] [ADB] 1 device(s) connected
[debug] [ADB] Running 'C:\Users\cdas\AppData\Local\Android\sdk\platform-toolsadb.exe' with args: ["-P",5037,"-s","A6TDU15401007022","shell","am","force-stop","com.facebook.katana"][debug] [ADB] 1 device(s) connected
[debug] [ADB] Running 'C:\Users\cdas\AppData\Local\Android\sdk\platform-toolsadb.exe' with args: ["-P",5037,"-s","A6TDU15401007022","shell","am","force-stop","io.appium.unlock"][debug] [UiAutomator] Starting UIAutomator
[debug] [ADB] Creating ADB subprocess with args: ["-P",5037,"-s","A6TDU15401007022","shell","uiautomator","runtest","AppiumBootstrap.jar","-c","io.appium.android.bootstrap.Bootstrap","-e","pkg","com.facebook.katana","-e","disableAndroidWatchers",false,"-e","acceptSslCerts",false][debug] [ADB] Pressing the HOME button
[debug] [ADB] Getting connected devices...[debug] [AndroidDriver] Not cleaning generated files. Add clearSystemFiles capability if wanted.
[debug] [ADB] Got the following command chunks to execute: pm,grant,com.facebook.katana,android.permission.WRITE_SETTINGS,;,pm,grant,com.facebook.katana,android.permission.ACCESS_COARSE_LOCATION,;,pm,grant,com.facebook.katana,android.permission.READ_CONTACTS,;,pm,grant,com.facebook.katana,android.permission.WRITE_CONTACTS,;,pm,grant,com.facebook.katana,android.permission.GET_ACCOUNTS,;,pm,grant,com.facebook.katana,android.permission.ACCESS_FINE_LOCATION,;,pm,grant,com.facebook.katana,android.permission.CAMERA,;,pm,grant,com.facebook.katana,android.permission.RECORD_AUDIO,;,pm,grant,com.facebook.katana,android.permission.WRITE_EXTERNAL_STORAGE,;,pm,grant,com.facebook.katana,android.permission.READ_PHONE_STATE,;,pm,grant,com.facebook.katana,android.permission.READ_CALENDAR,;,pm,grant,com.facebook.katana,android.permission.WRITE_CALENDAR,;,pm,grant,com.facebook.katana,android.permission.READ_SMS,;,pm,grant,com.facebook.katana,android.permission.CHANGE_NETWORK_STATE,;,pm,grant,com.facebook.katana,android.permission.SYSTEM_ALERT_WINDOW,;,pm,grant,com.facebook.katana,android.permission.READ_EXTERNAL_STORAGE,;
[debug] [ADB] Getting connected devices...[debug] [UiAutomator] Moving to state 'online'
[info] [AndroidBootstrap] Android bootstrap socket is now connected
[debug] [ADB] Getting connected devices...[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running 'C:\Users\cdas\AppData\Local\Android\sdk\platform-toolsadb.exe' with args: ["-P",5037,"-s","A6TDU15401007022","shell","input","keyevent",3]
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Client connected[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running 'C:\Users\cdas\AppData\Local\Android\sdk\platform-toolsadb.exe' with args: ["-P",5037,"-s","A6TDU15401007022","shell","pm","grant","com.facebook.katana","android.permission.WRITE_SETTINGS",";","pm","grant","com.facebook.katana","android.permission.ACCESS_COARSE_LOCATION",";","pm","grant","com.facebook.katana","android.permission.READ_CONTACTS",";","pm","grant","com.facebook.katana","android.permission.WRITE_CONTACTS",";","pm","grant","com.facebook.katana","android.permission.GET_ACCOUNTS",";","pm","grant","com.facebook.katana","android.permission.ACCESS_FINE_LOCATION",";","pm","grant","com.facebook.katana","android.permission.CAMERA",";","pm","grant","com.facebook.katana","android.permission.RECORD_AUDIO",";","pm","grant","com.facebook.katana","android.permission.WRITE_EXTERNAL_STORAGE",";","pm","grant","com.facebook.katana","android.permission.READ_PHONE_STATE",";","pm","grant","com.facebook.katana","android.permission.READ_CALENDAR",";","pm","grant","com.facebook.katana","android.permission.WRITE_CALENDAR",";","pm","grant","com.facebook.katana","android.permission.READ_SMS",";","pm","grant","com.facebook.katana","android.permission.CHANGE_NETWORK_STATE",";","pm","grant","com.facebook.katana","android.permission.SYSTEM_ALERT_WINDOW",";"][debug] [ADB] 1 device(s) connected
[debug] [ADB] Running 'C:\Users\cdas\AppData\Local\Android\sdk\platform-toolsadb.exe' with args: ["-P",5037,"-s","A6TDU15401007022","shell","dumpsys","window"][info] [AndroidDriver] Screen already unlocked, doing nothing
[debug] [ADB] Device API level: 23
[debug] [ADB] Getting connected devices...[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running 'C:\Users\cdas\AppData\Local\Android\sdk\platform-toolsadb.exe' with args: ["-P",5037,"-s","A6TDU15401007022","shell","am","start","-W","-n","com.facebook.katana/com.facebook.katana.LoginActivity","-S"][info] [Appium] New AndroidDriver session created successfully, session 70d0642a-410d-4daa-9db8-682889f196b1 added to master session list
[debug] [BaseDriver] Event 'newSessionStarted' logged at 1508842920617 (16:32:00 GMT+0530 (India Standard Time))
[debug] [MJSONWP] Responding to client with driver.createSession() result: {"platform":"LINUX","webStorageEnabled":false,"takesScreenshot":true,"javascriptEnabled":true,"databaseEnabled":false,"networkConnectionEnabled":true,"locationContextEnabled":false,"warnings":{},"desired":{"appPackage":"com.facebook.katana","appActivity":"com.facebook.katana.LoginActivity","autoGrantPermissions":true,"platformName":"Android","deviceName":"Android"},"appPackage":"com.facebook.katana","appActivity":"com.facebook.katana.LoginActivity","autoGrantPermissions":true,"platformName":"Android","deviceName":"A6TDU15401007022","deviceUDID":"A6TDU15401007022","platformVersion":"6.0.1","deviceScreenSize":"720x1280","deviceModel":"Che1-L04","deviceManufacturer":"HUAWEI"}[debug] [ADB] Getting connected devices...[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running 'C:\Users\cdas\AppData\Local\Android\sdk\platform-toolsadb.exe' with args: ["-P",5037,"-s","A6TDU15401007022","shell","pm","grant","com.facebook.katana","android.permission.READ_EXTERNAL_STORAGE",";"][debug] [AndroidBootstrap] Watching for bootstrap disconnect
[debug] [ADB] Forwarding system: 4724 to device: 4724
[debug] [ADB] Running 'C:\Users\cdas\AppData\Local\Android\sdk\platform-toolsadb.exe' with args: ["-P",5037,"-s","A6TDU15401007022","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 'C:\Users\cdas\AppData\Local\Android\sdk\platform-toolsadb.exe' with args: ["-P",5037,"-s","A6TDU15401007022","push","C:\Users\cdas\AppData\Local\Programs\appium-desktop\resources\app\node_modules\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 'C:\Users\cdas\AppData\Local\Android\sdk\platform-toolsadb.exe' with args: ["-P",5037,"-s","A6TDU15401007022","shell","ps"][debug] [ADB] Attempting to kill process 15450
[debug] [ADB] Getting connected devices...[debug] [ADB] Attempting to kill process 15450
[debug] [ADB] Getting connected devices...[debug] [ADB] Attempting to kill process 15450
[debug] [ADB] Getting connected devices...[debug] [ADB] Attempting to kill process 15450
[debug] [ADB] Getting connected devices...[debug] [ADB] Attempting to kill process 15450
[debug] [ADB] Getting connected devices...[debug] [ADB] Attempting to kill process 15450
[debug] [ADB] Getting connected devices...[debug] [ADB] Attempting to kill process 15450
[debug] [ADB] Getting connected devices...[debug] [ADB] Attempting to kill process 15450
[debug] [ADB] Getting connected devices...
[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running 'C:\Users\cdas\AppData\Local\Android\sdk\platform-toolsadb.exe' with args: ["-P",5037,"-s","A6TDU15401007022","shell","kill","-0",15450][debug] [ADB] Attempting to kill process 15450
[debug] [ADB] Getting connected devices...
[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running 'C:\Users\cdas\AppData\Local\Android\sdk\platform-toolsadb.exe' with args: ["-P",5037,"-s","A6TDU15401007022","shell","kill","-0",15450][debug] [ADB] Attempting to kill process 15450
[debug] [ADB] Getting connected devices...
[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running 'C:\Users\cdas\AppData\Local\Android\sdk\platform-toolsadb.exe' with args: ["-P",5037,"-s","A6TDU15401007022","shell","kill","-0",15450][debug] [ADB] Attempting to kill process 15450
[debug] [ADB] Getting connected devices...
[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running 'C:\Users\cdas\AppData\Local\Android\sdk\platform-toolsadb.exe' with args: ["-P",5037,"-s","A6TDU15401007022","shell","kill","-0",15450][debug] [ADB] Attempting to kill process 15450
[debug] [ADB] Getting connected devices...
[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running 'C:\Users\cdas\AppData\Local\Android\sdk\platform-toolsadb.exe' with args: ["-P",5037,"-s","A6TDU15401007022","shell","kill","-0",15450][debug] [ADB] Attempting to kill process 15450
[debug] [ADB] Getting connected devices...
[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running 'C:\Users\cdas\AppData\Local\Android\sdk\platform-toolsadb.exe' with args: ["-P",5037,"-s","A6TDU15401007022","shell","kill","-0",15450][debug] [ADB] Attempting to kill process 15450
[debug] [ADB] Getting connected devices...
[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running 'C:\Users\cdas\AppData\Local\Android\sdk\platform-toolsadb.exe' with args: ["-P",5037,"-s","A6TDU15401007022","shell","kill","-0",15450][debug] [ADB] Attempting to kill process 15450
[debug] [ADB] Getting connected devices...
[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running 'C:\Users\cdas\AppData\Local\Android\sdk\platform-toolsadb.exe' with args: ["-P",5037,"-s","A6TDU15401007022","shell","kill","-0",15450]
[debug] [ADB] Getting connected devices...[debug] [ADB] Attempting to kill process 15450
[debug] [ADB] Getting connected devices...
[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running 'C:\Users\cdas\AppData\Local\Android\sdk\platform-toolsadb.exe' with args: ["-P",5037,"-s","A6TDU15401007022","shell","kill","-0",15450]
[debug] [ADB] Getting connected devices...[debug] [ADB] Attempting to kill process 15450
[debug] [ADB] Getting connected devices...[debug] [ADB] Attempting to kill process 15450
[debug] [ADB] Getting connected devices...
[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running 'C:\Users\cdas\AppData\Local\Android\sdk\platform-toolsadb.exe' with args: ["-P",5037,"-s","A6TDU15401007022","shell","kill","-0",15450]
[debug] [ADB] Getting connected devices...[debug] [ADB] Attempting to kill process 15450
[debug] [ADB] Getting connected devices...
[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running 'C:\Users\cdas\AppData\Local\Android\sdk\platform-toolsadb.exe' with args: ["-P",5037,"-s","A6TDU15401007022","shell","kill","-0",15450]
[debug] [ADB] Getting connected devices...[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running 'C:\Users\cdas\AppData\Local\Android\sdk\platform-toolsadb.exe' with args: ["-P",5037,"-s","A6TDU15401007022","shell","kill",15450][warn] [ADB] Cannot kill process 15450 in 1000 ms. Trying to force kill...
[debug] [ADB] Getting connected devices...
[error] [UiAutomator] UiAutomator exited unexpectedly with code 0, signal null
[debug] [UiAutomator] Moving to state 'stopped'
[debug] [AndroidDriver] Shutting down Android driver
[warn] [Appium] Closing session, cause was 'UiAUtomator shut down unexpectedly'
[info] [Appium] Removing session 70d0642a-410d-4daa-9db8-682889f196b1 from our master session list
[debug] [ADB] Getting connected devices...[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running 'C:\Users\cdas\AppData\Local\Android\sdk\platform-toolsadb.exe' with args: ["-P",5037,"-s","A6TDU15401007022","shell","kill","-9",15450]
[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running 'C:\Users\cdas\AppData\Local\Android\sdk\platform-toolsadb.exe' with args: ["-P",5037,"-s","A6TDU15401007022","shell","am","force-stop","com.facebook.katana"][debug] [UiAutomator] Starting UIAutomator
[debug] [ADB] Creating ADB subprocess with args: ["-P",5037,"-s","A6TDU15401007022","shell","uiautomator","runtest","AppiumBootstrap.jar","-c","io.appium.android.bootstrap.Bootstrap","-e","pkg","com.facebook.katana","-e","disableAndroidWatchers",false,"-e","acceptSslCerts",false][debug] [ADB] Pressing the HOME button
[debug] [ADB] Getting connected devices...[debug] [UiAutomator] Moving to state 'online'
[info] [AndroidBootstrap] Android bootstrap socket is now connected
[debug] [ADB] Getting connected devices...[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Client connected[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running 'C:\Users\cdas\AppData\Local\Android\sdk\platform-toolsadb.exe' with args: ["-P",5037,"-s","A6TDU15401007022","shell","input","keyevent",3][debug] [ADB] 1 device(s) connected
[debug] [ADB] Running 'C:\Users\cdas\AppData\Local\Android\sdk\platform-toolsadb.exe' with args: ["-P",5037,"-s","A6TDU15401007022","shell","dumpsys","window"][warn] [AndroidBootstrap] Cannot shut down Android bootstrap; it has already shut down
[debug] [Logcat] Stopping logcat capture
[debug] [ADB] Getting connected devices...[info] [AndroidDriver] Screen already unlocked, doing nothing
[debug] [ADB] Device API level: 23
[debug] [ADB] Getting connected devices...[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running 'C:\Users\cdas\AppData\Local\Android\sdk\platform-toolsadb.exe' with args: ["-P",5037,"-s","A6TDU15401007022","shell","am","force-stop","io.appium.unlock"][debug] [ADB] 1 device(s) connected
[debug] [ADB] Running 'C:\Users\cdas\AppData\Local\Android\sdk\platform-toolsadb.exe' with args: ["-P",5037,"-s","A6TDU15401007022","shell","am","start","-W","-n","com.facebook.katana/com.facebook.katana.LoginActivity","-S"][debug] [AndroidDriver] Not cleaning generated files. Add clearSystemFiles capability if wanted.[info] [Appium] New AndroidDriver session created successfully, session 23855fce-a972-4792-a881-4810c6ecbfde added to master session list
[debug] [BaseDriver] Event 'newSessionStarted' logged at 1508842974659 (16:32:54 GMT+0530 (India Standard Time))
[debug] [MJSONWP] Responding to client with driver.createSession() result: {"platform":"LINUX","webStorageEnabled":false,"takesScreenshot":true,"javascriptEnabled":true,"databaseEnabled":false,"networkConnectionEnabled":true,"locationContextEnabled":false,"warnings":{},"desired":{"appPackage":"com.facebook.katana","appActivity":"com.facebook.katana.LoginActivity","autoGrantPermissions":true,"platformName":"Android","deviceName":"Android"},"appPackage":"com.facebook.katana","appActivity":"com.facebook.katana.LoginActivity","autoGrantPermissions":true,"platformName":"Android","deviceName":"A6TDU15401007022","deviceUDID":"A6TDU15401007022","platformVersion":"6.0.1","deviceScreenSize":"720x1280","deviceModel":"Che1-L04","deviceManufacturer":"HUAWEI"}
[info] [HTTP] <-- POST /wd/hub/session 200 224189 ms - 753 [warn] [BaseDriver] Shutting down because we waited 60 seconds for a command
[debug] [AndroidDriver] Shutting down Android driver
[warn] [Appium] Closing session, cause was 'New Command Timeout of 60 seconds expired. Try customizing the timeout using the 'newCommandTimeout' desired capability'
[info] [Appium] Removing session 23855fce-a972-4792-a881-4810c6ecbfde from our master session list
[debug] [ADB] Getting connected devices...[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running 'C:\Users\cdas\AppData\Local\Android\sdk\platform-toolsadb.exe' with args: ["-P",5037,"-s","A6TDU15401007022","shell","am","force-stop","com.facebook.katana"][debug] [ADB] Pressing the HOME button
[debug] [ADB] Getting connected devices...[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running 'C:\Users\cdas\AppData\Local\Android\sdk\platform-toolsadb.exe' with args: ["-P",5037,"-s","A6TDU15401007022","shell","input","keyevent",3][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'
[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 'C:\Users\cdas\AppData\Local\Android\sdk\platform-toolsadb.exe' with args: ["-P",5037,"-s","A6TDU15401007022","shell","ps"][info] [ADB] No uiautomator process found to kill, continuing...
[debug] [UiAutomator] Moving to state 'stopped'
[debug] [Logcat] Stopping logcat capture
[debug] [ADB] Getting connected devices...[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running 'C:\Users\cdas\AppData\Local\Android\sdk\platform-toolsadb.exe' with args: ["-P",5037,"-s","A6TDU15401007022","shell","am","force-stop","io.appium.unlock"][debug] [AndroidDriver] Not cleaning generated files. Add clearSystemFiles capability if wanted.[info] [HTTP] --> POST /wd/hub/session {"capabilities":[{"desiredCapabilities":{"appPackage":"com.facebook.katana","appActivity":"com.facebook.katana.LoginActivity","autoGrantPermissions":"true","platformName":"Android","deviceName":"Android"}},{"requiredCapabilities":{}}],"desiredCapabilities":{"appPackage":"com.facebook.katana","appActivity":"com.facebook.katana.LoginActivity","autoGrantPermissions":"true","platformName":"Android","deviceName":"Android"},"requiredCapabilities":{}}
[debug] [MJSONWP] Calling AppiumDriver.createSession() with args: [{"appPackage":"com.facebook.katana","appActivity":"com.facebook.katana.LoginActivity","autoGrantPermissions":"true","platformName":"Android","deviceName":"Android"},{},[{"desiredCapabilities":{"appPackage":"com.facebook.katana","appActivity":"com.facebook.katana.LoginActivity","autoGrantPermissions":"true","platformName":"Android","deviceName":"Android"}},{"requiredCapabilities":{}}]]
[debug] [BaseDriver] Event 'newSessionRequested' logged at 1508843112828 (16:35:12 GMT+0530 (India Standard Time))
[info] [Appium] Creating new AndroidDriver (v1.26.5) session
[info] [Appium] Capabilities:
[info] [Appium] appPackage: 'com.facebook.katana'
[info] [Appium] appActivity: 'com.facebook.katana.LoginActivity'
[info] [Appium] autoGrantPermissions: 'true'
[info] [Appium] platformName: 'Android'
[info] [Appium] deviceName: 'Android'
[warn] [BaseDriver] Capability 'autoGrantPermissions' changed from string to boolean. This may cause unexpected behavior
[info] [BaseDriver] Session created with session id: a33ccaf1-3b22-4316-b9ac-28ba8505faa8
[debug] [AndroidDriver] Getting Java version[info] [AndroidDriver] Java version is: 1.8.0_111
[info] [ADB] Checking whether adb is present
[info] [ADB] Using adb.exe from C:\Users\cdas\AppData\Local\Android\sdk\platform-toolsadb.exe
[info] [AndroidDriver] Retrieving device list
[debug] [ADB] Trying to find a connected android device
[debug] [ADB] Getting connected devices...[debug] [ADB] 1 device(s) connected
[info] [AndroidDriver] Using device: A6TDU15401007022
[info] [ADB] Checking whether adb is present
[info] [ADB] Using adb.exe from C:\Users\cdas\AppData\Local\Android\sdk\platform-toolsadb.exe
[debug] [ADB] Setting device id to A6TDU15401007022
[info] [AndroidDriver] App file was not listed, instead we're going to run com.facebook.katana directly on the device
[debug] [AndroidDriver] Checking whether package is present on the device
[debug] [ADB] Getting connected devices...[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running 'C:\Users\cdas\AppData\Local\Android\sdk\platform-toolsadb.exe' with args: ["-P",5037,"-s","A6TDU15401007022","shell","pm","list","packages","com.facebook.katana"][info] [AndroidDriver] Starting Android session
[debug] [ADB] Running 'C:\Users\cdas\AppData\Local\Android\sdk\platform-toolsadb.exe' with args: ["-P",5037,"-s","A6TDU15401007022","wait-for-device"][debug] [ADB] Getting connected devices...[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running 'C:\Users\cdas\AppData\Local\Android\sdk\platform-toolsadb.exe' with args: ["-P",5037,"-s","A6TDU15401007022","shell","echo","ping"][debug] [Logcat] Starting logcat capture[debug] [AndroidDriver] Pushing settings apk to device...
[debug] [ADB] Getting install status for io.appium.settings
[debug] [ADB] Getting connected devices...[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running 'C:\Users\cdas\AppData\Local\Android\sdk\platform-toolsadb.exe' with args: ["-P",5037,"-s","A6TDU15401007022","shell","pm","list","packages","io.appium.settings"][debug] [ADB] App is installed
[debug] [ADB] Getting package info for io.appium.settings
[debug] [ADB] Getting connected devices...[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running 'C:\Users\cdas\AppData\Local\Android\sdk\platform-toolsadb.exe' with args: ["-P",5037,"-s","A6TDU15401007022","shell","dumpsys","package","io.appium.settings"][info] [ADB] Checking whether aapt is present
[info] [ADB] Using aapt.exe from C:\Users\cdas\AppData\Local\Android\sdk\build-tools\25.0.3aapt.exe[debug] [ADB] The installed "io.appium.settings" package does not require upgrade (4 >= 4)
[debug] [ADB] Getting connected devices...[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running 'C:\Users\cdas\AppData\Local\Android\sdk\platform-toolsadb.exe' with args: ["-P",5037,"-s","A6TDU15401007022","shell","getprop","ro.build.version.sdk"][debug] [ADB] Current device property 'ro.build.version.sdk': 23
[debug] [ADB] Device API level: 23
[debug] [ADB] Getting connected devices...[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running 'C:\Users\cdas\AppData\Local\Android\sdk\platform-toolsadb.exe' with args: ["-P",5037,"-s","A6TDU15401007022","shell","dumpsys","package","io.appium.settings"][debug] [ADB] Getting connected devices...[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running 'C:\Users\cdas\AppData\Local\Android\sdk\platform-toolsadb.exe' with args: ["-P",5037,"-s","A6TDU15401007022","shell","pm","dump","io.appium.settings"][debug] [ADB] Got the following command chunks to execute: pm,grant,io.appium.settings,android.permission.CHANGE_NETWORK_STATE,;,pm,grant,io.appium.settings,android.permission.WRITE_SETTINGS,;,pm,grant,io.appium.settings,android.permission.ACCESS_MOCK_LOCATION,;
[debug] [ADB] Getting connected devices...[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running 'C:\Users\cdas\AppData\Local\Android\sdk\platform-toolsadb.exe' with args: ["-P",5037,"-s","A6TDU15401007022","shell","pm","grant","io.appium.settings","android.permission.CHANGE_NETWORK_STATE",";","pm","grant","io.appium.settings","android.permission.WRITE_SETTINGS",";","pm","grant","io.appium.settings","android.permission.ACCESS_MOCK_LOCATION",";"][debug] [ADB] Getting connected devices...[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running 'C:\Users\cdas\AppData\Local\Android\sdk\platform-toolsadb.exe' with args: ["-P",5037,"-s","A6TDU15401007022","shell","ps"][debug] [ADB] Device API level: 23
[debug] [ADB] Getting connected devices...[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running 'C:\Users\cdas\AppData\Local\Android\sdk\platform-toolsadb.exe' with args: ["-P",5037,"-s","A6TDU15401007022","shell","appops","set","io.appium.settings","android:mock_location","allow"][debug] [AndroidDriver] Pushing unlock helper app to device...
[debug] [ADB] Running 'C:\Users\cdas\AppData\Local\Android\sdk\platform-toolsadb.exe' with args: ["-P",5037,"-s","A6TDU15401007022","install","C:\Users\cdas\AppData\Local\Programs\appium-desktop\resources\app\node_modules\appium\node_modules\appium-unlock\bin\unlock_apk-debug.apk"][info] [ADB] Getting device platform version
[debug] [ADB] Getting connected devices...[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running 'C:\Users\cdas\AppData\Local\Android\sdk\platform-toolsadb.exe' with args: ["-P",5037,"-s","A6TDU15401007022","shell","getprop","ro.build.version.release"][debug] [ADB] Current device property 'ro.build.version.release': 6.0.1
[debug] [ADB] Getting connected devices...[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running 'C:\Users\cdas\AppData\Local\Android\sdk\platform-toolsadb.exe' with args: ["-P",5037,"-s","A6TDU15401007022","shell","wm","size"][debug] [ADB] Getting connected devices...[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running 'C:\Users\cdas\AppData\Local\Android\sdk\platform-toolsadb.exe' with args: ["-P",5037,"-s","A6TDU15401007022","shell","getprop","ro.product.model"][debug] [ADB] Current device property 'ro.product.model': Che1-L04
[debug] [ADB] Getting connected devices...[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running 'C:\Users\cdas\AppData\Local\Android\sdk\platform-toolsadb.exe' with args: ["-P",5037,"-s","A6TDU15401007022","shell","getprop","ro.product.manufacturer"][debug] [ADB] Current device property 'ro.product.manufacturer': HUAWEI
[warn] [AndroidDriver] No app sent in, not parsing package/activity
[debug] [AndroidDriver] No app capability. Assuming it is already on the device
[debug] [AndroidDriver] Running fast reset (stop and clear)
[debug] [ADB] Getting connected devices...[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running 'C:\Users\cdas\AppData\Local\Android\sdk\platform-toolsadb.exe' with args: ["-P",5037,"-s","A6TDU15401007022","shell","am","force-stop","com.facebook.katana"][debug] [ADB] Getting connected devices...[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running 'C:\Users\cdas\AppData\Local\Android\sdk\platform-toolsadb.exe' with args: ["-P",5037,"-s","A6TDU15401007022","shell","pm","clear","com.facebook.katana"][debug] [ADB] Device API level: 23
[debug] [ADB] Getting connected devices...[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running 'C:\Users\cdas\AppData\Local\Android\sdk\platform-toolsadb.exe' with args: ["-P",5037,"-s","A6TDU15401007022","shell","dumpsys","package","com.facebook.katana"][debug] [ADB] Getting connected devices...[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running 'C:\Users\cdas\AppData\Local\Android\sdk\platform-toolsadb.exe' with args: ["-P",5037,"-s","A6TDU15401007022","shell","pm","dump","com.facebook.katana"][debug] [ADB] Got the following command chunks to execute: pm,grant,com.facebook.katana,android.permission.WRITE_SETTINGS,;,pm,grant,com.facebook.katana,android.permission.ACCESS_COARSE_LOCATION,;,pm,grant,com.facebook.katana,android.permission.READ_CONTACTS,;,pm,grant,com.facebook.katana,android.permission.WRITE_CONTACTS,;,pm,grant,com.facebook.katana,android.permission.GET_ACCOUNTS,;,pm,grant,com.facebook.katana,android.permission.ACCESS_FINE_LOCATION,;,pm,grant,com.facebook.katana,android.permission.CAMERA,;,pm,grant,com.facebook.katana,android.permission.RECORD_AUDIO,;,pm,grant,com.facebook.katana,android.permission.WRITE_EXTERNAL_STORAGE,;,pm,grant,com.facebook.katana,android.permission.READ_PHONE_STATE,;,pm,grant,com.facebook.katana,android.permission.READ_CALENDAR,;,pm,grant,com.facebook.katana,android.permission.WRITE_CALENDAR,;,pm,grant,com.facebook.katana,android.permission.READ_SMS,;,pm,grant,com.facebook.katana,android.permission.CHANGE_NETWORK_STATE,;,pm,grant,com.facebook.katana,android.permission.SYSTEM_ALERT_WINDOW,;,pm,grant,com.facebook.katana,android.permission.READ_EXTERNAL_STORAGE,;
[debug] [ADB] Getting connected devices...[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running 'C:\Users\cdas\AppData\Local\Android\sdk\platform-toolsadb.exe' with args: ["-P",5037,"-s","A6TDU15401007022","shell","pm","grant","com.facebook.katana","android.permission.WRITE_SETTINGS",";","pm","grant","com.facebook.katana","android.permission.ACCESS_COARSE_LOCATION",";","pm","grant","com.facebook.katana","android.permission.READ_CONTACTS",";","pm","grant","com.facebook.katana","android.permission.WRITE_CONTACTS",";","pm","grant","com.facebook.katana","android.permission.GET_ACCOUNTS",";","pm","grant","com.facebook.katana","android.permission.ACCESS_FINE_LOCATION",";","pm","grant","com.facebook.katana","android.permission.CAMERA",";","pm","grant","com.facebook.katana","android.permission.RECORD_AUDIO",";","pm","grant","com.facebook.katana","android.permission.WRITE_EXTERNAL_STORAGE",";","pm","grant","com.facebook.katana","android.permission.READ_PHONE_STATE",";","pm","grant","com.facebook.katana","android.permission.READ_CALENDAR",";","pm","grant","com.facebook.katana","android.permission.WRITE_CALENDAR",";","pm","grant","com.facebook.katana","android.permission.READ_SMS",";","pm","grant","com.facebook.katana","android.permission.CHANGE_NETWORK_STATE",";","pm","grant","com.facebook.katana","android.permission.SYSTEM_ALERT_WINDOW",";"][debug] [ADB] Getting connected devices...[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running 'C:\Users\cdas\AppData\Local\Android\sdk\platform-toolsadb.exe' with args: ["-P",5037,"-s","A6TDU15401007022","shell","pm","grant","com.facebook.katana","android.permission.READ_EXTERNAL_STORAGE",";"][debug] [AndroidBootstrap] Watching for bootstrap disconnect
[debug] [ADB] Forwarding system: 4724 to device: 4724
[debug] [ADB] Running 'C:\Users\cdas\AppData\Local\Android\sdk\platform-toolsadb.exe' with args: ["-P",5037,"-s","A6TDU15401007022","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 'C:\Users\cdas\AppData\Local\Android\sdk\platform-toolsadb.exe' with args: ["-P",5037,"-s","A6TDU15401007022","push","C:\Users\cdas\AppData\Local\Programs\appium-desktop\resources\app\node_modules\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 'C:\Users\cdas\AppData\Local\Android\sdk\platform-toolsadb.exe' with args: ["-P",5037,"-s","A6TDU15401007022","shell","ps"][info] [ADB] No uiautomator process found to kill, continuing...
[debug] [UiAutomator] Starting UIAutomator
[debug] [ADB] Creating ADB subprocess with args: ["-P",5037,"-s","A6TDU15401007022","shell","uiautomator","runtest","AppiumBootstrap.jar","-c","io.appium.android.bootstrap.Bootstrap","-e","pkg","com.facebook.katana","-e","disableAndroidWatchers",false,"-e","acceptSslCerts",false][debug] [UiAutomator] Moving to state 'online'
[info] [AndroidBootstrap] Android bootstrap socket is now connected
[debug] [ADB] Getting connected devices...
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] json loading complete.
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Registered crash watchers.
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Client connected[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running 'C:\Users\cdas\AppData\Local\Android\sdk\platform-toolsadb.exe' with args: ["-P",5037,"-s","A6TDU15401007022","shell","dumpsys","window"][info] [AndroidDriver] Screen already unlocked, doing nothing
[debug] [ADB] Device API level: 23
[debug] [ADB] Getting connected devices...[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running 'C:\Users\cdas\AppData\Local\Android\sdk\platform-toolsadb.exe' with args: ["-P",5037,"-s","A6TDU15401007022","shell","am","start","-W","-n","com.facebook.katana/com.facebook.katana.LoginActivity","-S"][info] [Appium] New AndroidDriver session created successfully, session a33ccaf1-3b22-4316-b9ac-28ba8505faa8 added to master session list
[debug] [BaseDriver] Event 'newSessionStarted' logged at 1508843267926 (16:37:47 GMT+0530 (India Standard Time))
[debug] [MJSONWP] Responding to client with driver.createSession() result: {"platform":"LINUX","webStorageEnabled":false,"takesScreenshot":true,"javascriptEnabled":true,"databaseEnabled":false,"networkConnectionEnabled":true,"locationContextEnabled":false,"warnings":{},"desired":{"appPackage":"com.facebook.katana","appActivity":"com.facebook.katana.LoginActivity","autoGrantPermissions":true,"platformName":"Android","deviceName":"Android"},"appPackage":"com.facebook.katana","appActivity":"com.facebook.katana.LoginActivity","autoGrantPermissions":true,"platformName":"Android","deviceName":"A6TDU15401007022","deviceUDID":"A6TDU15401007022","platformVersion":"6.0.1","deviceScreenSize":"720x1280","deviceModel":"Che1-L04","deviceManufacturer":"HUAWEI"}
[info] [HTTP] <-- POST /wd/hub/session 200 155102 ms - 753 [warn] [BaseDriver] Shutting down because we waited 60 seconds for a command
[debug] [AndroidDriver] Shutting down Android driver
[warn] [Appium] Closing session, cause was 'New Command Timeout of 60 seconds expired. Try customizing the timeout using the 'newCommandTimeout' desired capability'
[info] [Appium] Removing session a33ccaf1-3b22-4316-b9ac-28ba8505faa8 from our master session list
[debug] [ADB] Getting connected devices...[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running 'C:\Users\cdas\AppData\Local\Android\sdk\platform-toolsadb.exe' with args: ["-P",5037,"-s","A6TDU15401007022","shell","am","force-stop","com.facebook.katana"][debug] [ADB] Pressing the HOME button
[debug] [ADB] Getting connected devices...[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running 'C:\Users\cdas\AppData\Local\Android\sdk\platform-toolsadb.exe' with args: ["-P",5037,"-s","A6TDU15401007022","shell","input","keyevent",3][debug] [AndroidBootstrap] Sending command to android: {"cmd":"shutdown"}
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got data from client: {"cmd":"shutdown"}
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command of type SHUTDOWN
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Returning result: {"status":0,"value":"OK, shutting down"}
[debug] [AndroidBootstrap] Received command result from bootstrap
[debug] [UiAutomator] Shutting down UiAutomator
[debug] [UiAutomator] Moving to state 'stopping'
[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 'C:\Users\cdas\AppData\Local\Android\sdk\platform-toolsadb.exe' with args: ["-P",5037,"-s","A6TDU15401007022","shell","ps"][info] [ADB] No uiautomator process found to kill, continuing...
[debug] [UiAutomator] Moving to state 'stopped'
[debug] [Logcat] Stopping logcat capture
[debug] [ADB] Getting connected devices...[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running 'C:\Users\cdas\AppData\Local\Android\sdk\platform-toolsadb.exe' with args: ["-P",5037,"-s","A6TDU15401007022","shell","am","force-stop","io.appium.unlock"][debug] [AndroidDriver] Not cleaning generated files. Add clearSystemFiles capability if wanted.
Hi Frnds,
I found the solution, but cant explain how it works. But it works for me as a miracle.
Just add the below line, and magic happens. I dont have any idea how that makes it work..HAHAHA..
capability.setCapability(MobileCapabilityType.NEW_COMMAND_TIMEOUT, "60");