This site is in read only mode. Please continue to browse, but replying, likes, and other actions are disabled for now.
8 / 9
Oct 2018

I am using Appium: 1.9.1 Selenium 3.12.0 and java-client’, version: ‘6.1.0’ … When i was running my script then Unable to launch app on real device getting an error when running script uncaughtException: Android bootstrap socket crashed: Error: getaddrinfo ENOENT u ndefined:4724
Appium Log:

[HTTP] {“desiredCapabilities”:{“appActivity”:“com.miui.calculator.cal.Calculator
Activity”,“appPackage”:“com.miui.calculator”,“platformVersion”:“8.1.0”,“platform
Name”:“Android”,“udid”:“35924c6f0804”,“deviceName”:“Redmi Note 5”},“capabilities
”:{“alwaysMatch”:{“appium:appActivity”:“com.miui.calculator.cal.CalculatorActivi
ty”,“appium:appPackage”:“com.miui.calculator”,“appium:deviceName”:“Redmi Note 5”
,“platformName”:“android”,“appium:platformVersion”:“8.1.0”,“appium:udid”:“35924c
6f0804”},“firstMatch”:[{}]}}
[debug] [W3C] Calling AppiumDriver.createSession() with args: [{“appActivity”:“c
om.miui.calculator.cal.CalculatorActivity”,“appPackage”:“com.miui.calculator”,“p
latformVersion”:“8.1.0”,“platformName”:“Android”,“udid”:“35924c6f0804”,“deviceNa
me”:“Redmi Note 5”},null,{“alwaysMatch”:{“appium:appActivity”:“com.miui.calculat
or.cal.CalculatorActivity”,“appium:appPackage”:“com.miui.calculator”,“appium:dev
iceName”:“Redmi Note 5”,“platformName”:“android”,“appium:platformVersion”:“8.1.0
”,“appium:udid”:“35924c6f0804”},“firstMatch”:[{}]}]
[debug] [BaseDriver] Event ‘newSessionRequested’ logged at 1540239103929 (01:41:
43 GMT+0530 (India Standard Time))
[Appium] Consider setting ‘automationName’ capability to ‘UiAutomator2’ on Andro
id >= 6, since UIAutomator framework is not maintained anymore by the OS vendor.

[Appium] Creating new AndroidDriver (v4.1.1) session
[Appium] Capabilities:
[Appium] platformName: android
[Appium] appActivity: com.miui.calculator.cal.CalculatorActivity
[Appium] appPackage: com.miui.calculator
[Appium] deviceName: Redmi Note 5
[Appium] platformVersion: 8.1.0
[Appium] udid: 35924c6f0804
[debug] [BaseDriver] W3C capabilities {“alwaysMatch”:{“platformNa… and MJSONWP
desired capabilities {“appActivity”:“com.miui.ca… were provided
[debug] [BaseDriver] Creating session with W3C capabilities: {“alwaysMatch”:{“pl
atformNa…
[BaseDriver] Session created with session id: 3fb9f3cb-abce-4ce0-b400-410b3a87d8
a5
[AndroidDriver] Java version is: 1.8.0_91
[ADB] Checking whether adb is present
[ADB] Found 2 ‘build-tools’ folders under ‘C:\Users\Office\AppData\Local\Android
\Sdk’ (newest first):
[ADB] C:/Users/Office/AppData/Local/Android/Sdk/build-tools/28.0.3
[ADB] C:/Users/Office/AppData/Local/Android/Sdk/build-tools/28.0.2
[ADB] Using adb.exe from C:\Users\Office\AppData\Local\Android\Sdk\platform-tool
s\adb.exe
[AndroidDriver] Retrieving device list
[debug] [ADB] Trying to find a connected android device
[debug] [ADB] Getting connected devices…
[debug] [ADB] 1 device(s) connected
[AndroidDriver] Using device: 35924c6f0804
[debug] [ADB] Setting device id to 35924c6f0804
[debug] [ADB] Running ‘C:\Users\Office\AppData\Local\Android\Sdk\platform-tools
adb.exe -P 5037 -s 35924c6f0804 shell getprop ro.build.version.sdk’
[debug] [ADB] Current device property ‘ro.build.version.sdk’: 27
[debug] [ADB] Device API level: 27
[AndroidDriver] Consider setting ‘automationName’ capability to ‘uiautomator2’ o
n Android >= 6, since UIAutomator framework is not maintained anymore by the OS
vendor.
[AndroidDriver] App file was not listed, instead we’re going to run com.miui.cal
culator directly on the device
[debug] [AndroidDriver] Checking whether package is present on the device
[debug] [ADB] Running ‘C:\Users\Office\AppData\Local\Android\Sdk\platform-tools
adb.exe -P 5037 -s 35924c6f0804 shell pm list packages com.miui.calculator’
[AndroidDriver] Starting Android session
[debug] [ADB] Running ‘C:\Users\Office\AppData\Local\Android\Sdk\platform-tools
adb.exe -P 5037 -s 35924c6f0804 wait-for-device’
[debug] [ADB] Running ‘C:\Users\Office\AppData\Local\Android\Sdk\platform-tools
adb.exe -P 5037 -s 35924c6f0804 shell echo ping’
[debug] [AndroidDriver] Pushing settings apk to device…
[debug] [ADB] Getting install status for io.appium.settings
[debug] [ADB] Running ‘C:\Users\Office\AppData\Local\Android\Sdk\platform-tools
adb.exe -P 5037 -s 35924c6f0804 shell pm list packages io.appium.settings’
[debug] [ADB] App is installed
[debug] [ADB] Getting package info for ‘io.appium.settings’
[debug] [ADB] Running ‘C:\Users\Office\AppData\Local\Android\Sdk\platform-tools
adb.exe -P 5037 -s 35924c6f0804 shell dumpsys package io.appium.settings’
[ADB] Checking whether aapt is present
[ADB] Using aapt.exe from C:\Users\Office\AppData\Local\Android\Sdk\build-tools
28.0.3\aapt.exe
[debug] [ADB] The installed ‘io.appium.settings’ package does not require upgrad
e (‘2.3.0’ >= ‘2.3.0’)
[debug] [ADB] Running ‘C:\Users\Office\AppData\Local\Android\Sdk\platform-tools
adb.exe -P 5037 -s 35924c6f0804 shell ps’
[debug] [ADB] Device API level: 27
[debug] [ADB] Running ‘C:\Users\Office\AppData\Local\Android\Sdk\platform-tools
adb.exe -P 5037 -s 35924c6f0804 shell am start -W -n io.appium.settings/.Setting
s -a android.intent.action.MAIN -c android.intent.category.LAUNCHER -f 0x1020000
0’
[debug] [ADB] Device API level: 27
[debug] [ADB] Running ‘C:\Users\Office\AppData\Local\Android\Sdk\platform-tools
adb.exe -P 5037 -s 35924c6f0804 shell appops set io.appium.settings android:moc
k_location allow’
[AndroidDriver] setDeviceLanguageCountry requires language or country.
[AndroidDriver] Got language: ‘null’ and country: ‘null’
[debug] [Logcat] Starting logcat capture
[debug] [AndroidDriver] Pushing unlock helper app to device…
[debug] [ADB] Getting install status for io.appium.unlock
[debug] [ADB] Running ‘C:\Users\Office\AppData\Local\Android\Sdk\platform-tools
adb.exe -P 5037 -s 35924c6f0804 shell pm list packages io.appium.unlock’
[debug] [ADB] App is installed
[debug] [ADB] Getting package info for ‘io.appium.unlock’
[debug] [ADB] Running ‘C:\Users\Office\AppData\Local\Android\Sdk\platform-tools
adb.exe -P 5037 -s 35924c6f0804 shell dumpsys package io.appium.unlock’
[debug] [ADB] The installed ‘io.appium.unlock’ package does not require upgrade
(‘2.0.0’ >= ‘2.0.0’)
[ADB] Getting device platform version
[debug] [ADB] Running ‘C:\Users\Office\AppData\Local\Android\Sdk\platform-tools
adb.exe -P 5037 -s 35924c6f0804 shell getprop ro.build.version.release’
[debug] [ADB] Current device property ‘ro.build.version.release’: 8.1.0
[debug] [ADB] Running ‘C:\Users\Office\AppData\Local\Android\Sdk\platform-tools
adb.exe -P 5037 -s 35924c6f0804 shell wm size’
[debug] [ADB] Running ‘C:\Users\Office\AppData\Local\Android\Sdk\platform-tools
adb.exe -P 5037 -s 35924c6f0804 shell getprop ro.product.model’
[debug] [ADB] Current device property ‘ro.product.model’: Redmi Note 5
[debug] [ADB] Running ‘C:\Users\Office\AppData\Local\Android\Sdk\platform-tools
adb.exe -P 5037 -s 35924c6f0804 shell getprop ro.product.manufacturer’
[debug] [ADB] Current device property ‘ro.product.manufacturer’: Xiaomi
[AndroidDriver] No app sent in, not parsing package/activity
[debug] [AndroidDriver] No app capability. Assuming it is already on the device
[debug] [ADB] Getting install status for com.miui.calculator
[debug] [ADB] Running ‘C:\Users\Office\AppData\Local\Android\Sdk\platform-tools
adb.exe -P 5037 -s 35924c6f0804 shell pm list packages com.miui.calculator’
[debug] [ADB] App is installed
[debug] [ADB] Running ‘C:\Users\Office\AppData\Local\Android\Sdk\platform-tools
adb.exe -P 5037 -s 35924c6f0804 shell am force-stop com.miui.calculator’
[debug] [ADB] Running ‘C:\Users\Office\AppData\Local\Android\Sdk\platform-tools
adb.exe -P 5037 -s 35924c6f0804 shell pm clear com.miui.calculator’
[debug] [AndroidDriver] Performed fast reset on the installed ‘com.miui.calculat
or’ application (stop and clear)
[debug] [AndroidBootstrap] Watching for bootstrap disconnect
[debug] [ADB] Forwarding system: 4724 to device: 4724
[debug] [ADB] Running ‘C:\Users\Office\AppData\Local\Android\Sdk\platform-tools
adb.exe -P 5037 -s 35924c6f0804 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\Office\AppData\Local\Android\Sdk\platform-tools
adb.exe -P 5037 -s 35924c6f0804 push C:\Users\Office\AppData\Roaming\npm\
node_modules\appium\node_modules\appium-android-driver\bootstrap\bin\Appiu
mBootstrap.jar /data/local/tmp/’
[debug] [ADB] Attempting to kill all uiautomator processes
[debug] [ADB] Getting all processes with uiautomator
[debug] [ADB] Running ‘C:\Users\Office\AppData\Local\Android\Sdk\platform-tools
adb.exe -P 5037 -s 35924c6f0804 shell ps’
[ADB] No uiautomator process found to kill, continuing…
[debug] [UiAutomator] Starting UIAutomator
[debug] [ADB] Creating ADB subprocess with args: [”-P”,5037,”-s",“35924c6f0804”,
“shell”,“uiautomator”,“runtest”,“AppiumBootstrap.jar”,"-c",“io.appium.android.bo
otstrap.Bootstrap”,"-e",“pkg”,“com.miui.calculator”,"-e",“disableAndroidWatchers
”,false,"-e",“acceptSslCerts”,false]
[debug] [UiAutomator] Moving to state 'online’
uncaughtException: Android bootstrap socket crashed: Error: getaddrinfo ENOENT u
ndefined:4724
{“date”:“Tue Oct 23 2018 01:42:31 GMT+0530 (India Standard Time)”,“proce
ss”:{“pid”:22440,“uid”:null,“gid”:null,“cwd”:“C:\Users\Office”,“execPath”:“C:
\Program Files\nodejs\node.exe”,“version”:“v8.12.0”,“argv”:[“C:\Program Files
\nodejs\node.exe”,“C:\Users\Office\AppData\Roaming\npm\node_modules\app
ium\build\lib\main.js”],“memoryUsage”:{“rss”:123469824,“heapTotal”:104345600,
“heapUsed”:79044056,“external”:1193085}},“os”:{“loadavg”:[0,0,0],“uptime”:173154
.3100878},“trace”:[{“column”:21,“file”:“C:\Users\Office\AppData\Roaming\npm
\node_modules\appium\node_modules\appium-android-driver\lib\bootstrap.js”,
“function”:null,“line”:97,“method”:null,“native”:false},{“column”:13,“file”:“eve
nts.js”,“function”:“emitOne”,“line”:116,“method”:null,“native”:false},{“column”:
7,“file”:“events.js”,“function”:“Socket.emit”,“line”:211,“method”:“emit”,“native
”:false},{“column”:8,“file”:“internal/streams/destroy.js”,“function”:“emitErrorN
T”,“line”:66,“method”:null,“native”:false},{“column”:11,“file”:“internal/process
/next_tick.js”,“function”:"_combinedTickCallback",“line”:139,“method”:null,“nati
ve”:false},{“column”:9,“file”:“internal/process/next_tick.js”,“function”:“proces
s._tickCallback”,“line”:181,“method”:"_tickCallback",“native”:false}],“stack”:[“
Error: Android bootstrap socket crashed: Error: getaddrinfo ENOENT undefined:472
4”," at Socket. (C:\Users\Office\AppData\Roaming\npm\node_mo
dules\appium\node_modules\appium-android-driver\lib\bootstrap.js:97:21)",“
at emitOne (events.js:116:13)”," at Socket.emit (events.js:211:7)"," at
emitErrorNT (internal/streams/destroy.js:66:8)"," at _combinedTickCallback (
internal/process/next_tick.js:139:11)"," at process._tickCallback (internal/p
rocess/next_tick.js:181:9)"]}

Please help how to resolve this error
Console error:
org.openqa.selenium.WebDriverException: It is impossible to create a new session because ‘createSession’ which takes HttpClient, InputStream and long was not found or it is not accessible
Build info: version: ‘3.12.0’, revision: ‘7c6e0b3’, time: ‘2018-05-08T14:04:26.12Z’

Code:
package com.example.office.appium_project;

import org.openqa.selenium.By;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.WebElement;
import org.openqa.selenium.remote.CapabilityType;
import org.openqa.selenium.remote.DesiredCapabilities;
import org.testng.annotations.AfterMethod;
import org.testng.annotations.BeforeClass;
import org.testng.annotations.BeforeMethod;
import org.testng.annotations.Test;

import java.io.File;
import java.net.MalformedURLException;
import java.net.URL;
import java.util.List;

import io.appium.java_client.AppiumDriver;
import io.appium.java_client.MobileElement;
import io.appium.java_client.android.AndroidDriver;
import io.appium.java_client.android.AndroidElement;

public class launchApp {

AndroidDriver<AndroidElement> driver;

@BeforeMethod
public void beforeClass() throws MalformedURLException, InterruptedException {
    DesiredCapabilities capabilities = new DesiredCapabilities();

    capabilities.setCapability("deviceName", "Redmi Note 5");
    capabilities.setCapability("udid", "35924c6f0804");
    capabilities.setCapability("platformName", "Android");
    capabilities.setCapability("platformVersion", "8.1.0");
    // capab.setCapability("appPackage", "io.appium.android.apis");
    //capab.setCapability("appActivity", "io.appium.android.apis.ApiDemos");
    capabilities.setCapability("appPackage", "com.miui.calculator");
    capabilities.setCapability("appActivity", "com.miui.calculator.cal.CalculatorActivity");
    driver = new AndroidDriver<AndroidElement>(new URL("http://0.0.0.0:4723/wd/hub"), capabilities);
   Thread.sleep(5000);

}

@Test
public void m1() throws InterruptedException {
    System.out.println("Test");
    Thread.sleep(2000);

}

}

  • created

    Oct '18
  • last reply

    Oct '18
  • 8

    replies

  • 847

    views

  • 3

    users

  • 4

    links

Hi Bilal Thanks for the quick reply…
I have set udid into deviceName and removed udid capability but still have the same error… I am stuck from last 2-3 week but unable to solve this problem… can any one help me to solve this, its frustrating for me, couldn’t understand where i am missing
New capability that i have set:

public void beforeClass() throws MalformedURLException, InterruptedException {
DesiredCapabilities capabilities = new DesiredCapabilities();

    capabilities.setCapability("deviceName", "35924c6f0804");
    capabilities.setCapability("platformName", "Android");
    capabilities.setCapability("platformVersion", "8.1.0");
    capabilities.setCapability("appPackage", "com.miui.calculator");
    capabilities.setCapability("appActivity", "com.miui.calculator.cal.CalculatorActivity");
    driver = new AndroidDriver<AndroidElement>(new URL("http://0.0.0.0:4723/wd/hub"), capabilities);
   Thread.sleep(5000);

}

does one care to read warnings?

Thanks mykola for quick reply i have added automationName : ‘UiAutomation2’: in my desired capability, previous error resolved but getting another error can you plz take a look into appium log.
How to resolve this, plz reply it will save my time

Appium Log:

[info] e[35m[Appium]e[39m Welcome to Appium v1.9.1
[info] e[35m[Appium]e[39m Non-default server args:
[info] e[35m[Appium]e[39m sessionOverride: true
[info] e[35m[Appium]e[39m Appium REST http interface listener started on 0.0.0.0:4723[info] e[35m[HTTP]e[39m e[37m–>e[39m e[37mPOSTe[39m e[37m/wd/hub/sessione[39m
[info] e[35m[HTTP]e[39m e[90m{“desiredCapabilities”:{“appActivity”:“com.miui.calculator.cal.CalculatorActivity”,“appPackage”:“com.miui.calculator”,“platformVersion”:“8.1.0”,“automationName”:“UiAutomator2”,“platformName”:“Android”,“deviceName”:“35924c6f0804”},“capabilities”:{“alwaysMatch”:{“appium:appActivity”:“com.miui.calculator.cal.CalculatorActivity”,“appium:appPackage”:“com.miui.calculator”,“appium:automationName”:“UiAutomator2”,“appium:deviceName”:“35924c6f0804”,“platformName”:“android”,“appium:platformVersion”:“8.1.0”},“firstMatch”:[{}]}}e[39m
[debug] e[35m[W3C]e[39m Calling AppiumDriver.createSession() with args: [{“appActivity”:“com.miui.calculator.cal.CalculatorActivity”,“appPackage”:“com.miui.calculator”,“platformVersion”:“8.1.0”,“automationName”:“UiAutomator2”,“platformName”:“Android”,“deviceName”:“35924c6f0804”},null,{“alwaysMatch”:{“appium:appActivity”:“com.miui.calculator.cal.CalculatorActivity”,“appium:appPackage”:“com.miui.calculator”,“appium:automationName”:“UiAutomator2”,“appium:deviceName”:“35924c6f0804”,“platformName”:“android”,“appium:platformVersion”:“8.1.0”},“firstMatch”:[{}]}]
[debug] e[35m[BaseDriver]e[39m Event ‘newSessionRequested’ logged at 1540375765159 (15:39:25 GMT+0530 (India Standard Time))
[info] e[35m[Appium]e[39m Creating new AndroidUiautomator2Driver (v1.19.0) session
[info] e[35m[Appium]e[39m Capabilities:
[info] e[35m[Appium]e[39m platformName: android
[info] e[35m[Appium]e[39m appActivity: com.miui.calculator.cal.CalculatorActivity
[info] e[35m[Appium]e[39m appPackage: com.miui.calculator
[info] e[35m[Appium]e[39m automationName: UiAutomator2
[info] e[35m[Appium]e[39m deviceName: 35924c6f0804
[info] e[35m[Appium]e[39m platformVersion: 8.1.0
[debug] e[35m[BaseDriver]e[39m W3C capabilities {“alwaysMatch”:{“platformNa… and MJSONWP desired capabilities {“appActivity”:“com.miui.ca… were provided
[debug] e[35m[BaseDriver]e[39m Creating session with W3C capabilities: {“alwaysMatch”:{“platformNa…
[info] e[35m[BaseDriver]e[39m Session created with session id: 249e2e56-c9e3-4e8c-ae2a-e66ffcd6f74a[info] e[35m[AndroidDriver]e[39m Java version is: 1.8.0_91
[info] e[35m[ADB]e[39m Checking whether adb is present
[info] e[35m[ADB]e[39m Found 2 ‘build-tools’ folders under ‘C:\Users\Office\AppData\Local\Android\Sdk’ (newest first):
[info] e[35m[ADB]e[39m C:/Users/Office/AppData/Local/Android/Sdk/build-tools/28.0.3
[info] e[35m[ADB]e[39m C:/Users/Office/AppData/Local/Android/Sdk/build-tools/28.0.2
[info] e[35m[ADB]e[39m Using adb.exe from C:\Users\Office\AppData\Local\Android\Sdk\platform-tools\adb.exe
[info] e[35m[AndroidDriver]e[39m Retrieving device list
[debug] e[35m[ADB]e[39m Trying to find a connected android device
[debug] e[35m[ADB]e[39m Getting connected devices…[debug] e[35m[ADB]e[39m 1 device(s) connected
[info] e[35m[AndroidDriver]e[39m Looking for a device with Android ‘8.1.0’
[debug] e[35m[ADB]e[39m Setting device id to 35924c6f0804
[info] e[35m[ADB]e[39m Getting device platform version
[debug] e[35m[ADB]e[39m Running ‘C:\Users\Office\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s 35924c6f0804 shell getprop ro.build.version.release’
[debug] e[35m[ADB]e[39m Current device property ‘ro.build.version.release’: 8.1.0
[info] e[35m[AndroidDriver]e[39m Using device: 35924c6f0804
[debug] e[35m[ADB]e[39m Setting device id to 35924c6f0804
[debug] e[35m[ADB]e[39m Running ‘C:\Users\Office\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s 35924c6f0804 shell getprop ro.build.version.sdk’[debug] e[35m[ADB]e[39m Current device property ‘ro.build.version.sdk’: 27
[debug] e[35m[ADB]e[39m Device API level: 27
[warn] e[35m[AndroidDriver]e[39m No app sent in, not parsing package/activity
[info] e[35m[ADB]e[39m Getting device platform version
[debug] e[35m[ADB]e[39m Running ‘C:\Users\Office\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s 35924c6f0804 shell getprop ro.build.version.release’
[debug] e[35m[ADB]e[39m Current device property ‘ro.build.version.release’: 8.1.0
[debug] e[35m[ADB]e[39m Running ‘C:\Users\Office\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s 35924c6f0804 shell wm size’[debug] e[35m[ADB]e[39m Running ‘C:\Users\Office\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s 35924c6f0804 shell wm density’[debug] e[35m[ADB]e[39m Running ‘C:\Users\Office\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s 35924c6f0804 shell getprop ro.product.model’
[debug] e[35m[ADB]e[39m Current device property ‘ro.product.model’: Redmi Note 5
[debug] e[35m[ADB]e[39m Running ‘C:\Users\Office\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s 35924c6f0804 shell getprop ro.product.manufacturer’[debug] e[35m[ADB]e[39m Current device property ‘ro.product.manufacturer’: Xiaomi
[debug] e[35m[ADB]e[39m Device API level: 27
[debug] e[35m[ADB]e[39m Running ‘C:\Users\Office\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s 35924c6f0804 shell am force-stop io.appium.uiautomator2.server’
[debug] e[35m[ADB]e[39m Checking app cert for C:\Users\Office\AppData\Local\Programs\Appium\resources\app\node_modules\appium\node_modules\appium-uiautomator2-server\apks\appium-uiautomator2-server-v1.18.0.apk
[info] e[35m[ADB]e[39m Using apksigner.bat from C:\Users\Office\AppData\Local\Android\Sdk\build-tools\28.0.3\apksigner.bat
[debug] e[35m[ADB]e[39m Starting ‘C:\Users\Office\AppData\Local\Android\Sdk\build-tools\28.0.3\apksigner.bat’ with args '[“verify”,”–print-certs”,“C:\Users\Office\AppData\Local\Programs\Appium\resources\app\node_modules\appium\node_modules\appium-uiautomator2-server\apks\appium-uiautomator2-server-v1.18.0.apk”]’[debug] e[35m[ADB]e[39m apksigner stdout: Signer #1 certificate DN: C=US, O=Android, CN=Android Debug
[debug] e[35m[ADB]e[39m Signer #1 certificate SHA-256 digest: 707bc2493ea5b0267dc10a9bd4cedbab5431976f13274cdd045d93470179556d
[debug] e[35m[ADB]e[39m Signer #1 certificate SHA-1 digest: b8db0b11cec13cc7574a7d62f383ec16c0d275ee
[debug] e[35m[ADB]e[39m Signer #1 certificate MD5 digest: 4fcd3b10d1e80a20bbd28758c8a3e19b
[debug] e[35m[ADB]e[39m WARNING: META-INF/INDEX.LIST not protected by signature. Unauthorized modifications to this JAR entry will not be detected. Delete or move the entry outside of META-INF/.
[debug] e[35m[ADB]e[39m WARNING: META-INF/io.netty.versions.properties not protected by signature. Unauthorized modifications to this JAR entry will not be detected. Delete or move the entry outside of META-INF/.
[debug] e[35m[ADB]e[39m
[debug] e[35m[ADB]e[39m ‘C:\Users\Office\AppData\Local\Programs\Appium\resources\app\node_modules\appium\node_modules\appium-uiautomator2-server\apks\appium-uiautomator2-server-v1.18.0.apk’ is not signed with debug cert.
[info] e[35m[ADB]e[39m Checking whether zipalign is present
[info] e[35m[ADB]e[39m Using zipalign.exe from C:\Users\Office\AppData\Local\Android\Sdk\build-tools\28.0.3\zipalign.exe[debug] e[35m[ADB]e[39m C:\Users\Office\AppData\Local\Programs\Appium\resources\app\node_modules\appium\node_modules\appium-uiautomator2-server\apks\appium-uiautomator2-server-v1.18.0.apk’ is already zip-aligned. Doing nothing
[debug] e[35m[ADB]e[39m Signing ‘C:\Users\Office\AppData\Local\Programs\Appium\resources\app\node_modules\appium\node_modules\appium-uiautomator2-server\apks\appium-uiautomator2-server-v1.18.0.apk’ with default cert
[debug] e[35m[ADB]e[39m Starting ‘C:\Users\Office\AppData\Local\Android\Sdk\build-tools\28.0.3\apksigner.bat’ with args '[“sign”,”–key",“C:\Users\Office\AppData\Local\Programs\Appium\resources\app\node_modules\appium\node_modules\appium-adb\keys\testkey.pk8”,"–cert",“C:\Users\Office\AppData\Local\Programs\Appium\resources\app\node_modules\appium\node_modules\appium-adb\keys\testkey.x509.pem”,“C:\Users\Office\AppData\Local\Programs\Appium\resources\app\node_modules\appium\node_modules\appium-uiautomator2-server\apks\appium-uiautomator2-server-v1.18.0.apk”]’[debug] e[35m[ADB]e[39m Checking app cert for C:\Users\Office\AppData\Local\Programs\Appium\resources\app\node_modules\appium\node_modules\appium-uiautomator2-server\apks\appium-uiautomator2-server-debug-androidTest.apk
[debug] e[35m[ADB]e[39m Starting ‘C:\Users\Office\AppData\Local\Android\Sdk\build-tools\28.0.3\apksigner.bat’ with args ‘[“verify”,"–print-certs",“C:\Users\Office\AppData\Local\Programs\Appium\resources\app\node_modules\appium\node_modules\appium-uiautomator2-server\apks\appium-uiautomator2-server-debug-androidTest.apk”]’[debug] e[35m[ADB]e[39m apksigner stdout: Signer #1 certificate DN: C=US, O=Android, CN=Android Debug
[debug] e[35m[ADB]e[39m Signer #1 certificate SHA-256 digest: 707bc2493ea5b0267dc10a9bd4cedbab5431976f13274cdd045d93470179556d
[debug] e[35m[ADB]e[39m Signer #1 certificate SHA-1 digest: b8db0b11cec13cc7574a7d62f383ec16c0d275ee
[debug] e[35m[ADB]e[39m Signer #1 certificate MD5 digest: 4fcd3b10d1e80a20bbd28758c8a3e19b
[debug] e[35m[ADB]e[39m
[debug] e[35m[ADB]e[39m ‘C:\Users\Office\AppData\Local\Programs\Appium\resources\app\node_modules\appium\node_modules\appium-uiautomator2-server\apks\appium-uiautomator2-server-debug-androidTest.apk’ is not signed with debug cert.
[debug] e[35m[ADB]e[39m C:\Users\Office\AppData\Local\Programs\Appium\resources\app\node_modules\appium\node_modules\appium-uiautomator2-server\apks\appium-uiautomator2-server-debug-androidTest.apk’ is already zip-aligned. Doing nothing
[debug] e[35m[ADB]e[39m Signing ‘C:\Users\Office\AppData\Local\Programs\Appium\resources\app\node_modules\appium\node_modules\appium-uiautomator2-server\apks\appium-uiautomator2-server-debug-androidTest.apk’ with default cert
[debug] e[35m[ADB]e[39m Starting ‘C:\Users\Office\AppData\Local\Android\Sdk\build-tools\28.0.3\apksigner.bat’ with args ‘[“sign”,"–key",“C:\Users\Office\AppData\Local\Programs\Appium\resources\app\node_modules\appium\node_modules\appium-adb\keys\testkey.pk8”,"–cert",“C:\Users\Office\AppData\Local\Programs\Appium\resources\app\node_modules\appium\node_modules\appium-adb\keys\testkey.x509.pem”,“C:\Users\Office\AppData\Local\Programs\Appium\resources\app\node_modules\appium\node_modules\appium-uiautomator2-server\apks\appium-uiautomator2-server-debug-androidTest.apk”]’[debug] e[35m[ADB]e[39m Uninstalling io.appium.uiautomator2.server
[debug] e[35m[ADB]e[39m Getting install status for io.appium.uiautomator2.server
[debug] e[35m[ADB]e[39m Running ‘C:\Users\Office\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s 35924c6f0804 shell pm list packages io.appium.uiautomator2.server’[debug] e[35m[ADB]e[39m App is installed
[debug] e[35m[ADB]e[39m Running ‘C:\Users\Office\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s 35924c6f0804 shell am force-stop io.appium.uiautomator2.server’[debug] e[35m[ADB]e[39m ‘adb uninstall io.appium.uiautomator2.server’ command output: Success
[info] e[35m[ADB]e[39m io.appium.uiautomator2.server was successfully uninstalled
[debug] e[35m[ADB]e[39m Uninstalling io.appium.uiautomator2.server.test
[debug] e[35m[ADB]e[39m Getting install status for io.appium.uiautomator2.server.test
[debug] e[35m[ADB]e[39m Running ‘C:\Users\Office\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s 35924c6f0804 shell pm list packages io.appium.uiautomator2.server.test’[debug] e[35m[ADB]e[39m App is installed
[debug] e[35m[ADB]e[39m Running ‘C:\Users\Office\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s 35924c6f0804 shell am force-stop io.appium.uiautomator2.server.test’[debug] e[35m[ADB]e[39m Running ‘C:\Users\Office\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s 35924c6f0804 uninstall io.appium.uiautomator2.server.test’[debug] e[35m[ADB]e[39m ‘adb uninstall io.appium.uiautomator2.server.test’ command output: Success
[info] e[35m[ADB]e[39m io.appium.uiautomator2.server.test was successfully uninstalled
[debug] e[35m[ADB]e[39m Getting install status for io.appium.uiautomator2.server
[debug] e[35m[ADB]e[39m Running ‘C:\Users\Office\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s 35924c6f0804 shell pm list packages io.appium.uiautomator2.server’[debug] e[35m[ADB]e[39m App is not installed
[debug] e[35m[ADB]e[39m App ‘C:\Users\Office\AppData\Local\Programs\Appium\resources\app\node_modules\appium\node_modules\appium-uiautomator2-server\apks\appium-uiautomator2-server-v1.18.0.apk’ not installed. Installing
[debug] e[35m[ADB]e[39m Running ‘C:\Users\Office\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s 35924c6f0804 install C:\Users\Office\AppData\Local\Programs\Appium\resources\app\node_modules\appium\node_modules\appium-uiautomator2-server\apks\appium-uiautomator2-server-v1.18.0.apk’[debug] e[35m[ADB]e[39m Install command stdout: Success
[debug] e[35m[ADB]e[39m Getting install status for io.appium.uiautomator2.server.test
[debug] e[35m[ADB]e[39m Running ‘C:\Users\Office\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s 35924c6f0804 shell pm list packages io.appium.uiautomator2.server.test’[debug] e[35m[ADB]e[39m App is not installed
[debug] e[35m[ADB]e[39m App ‘C:\Users\Office\AppData\Local\Programs\Appium\resources\app\node_modules\appium\node_modules\appium-uiautomator2-server\apks\appium-uiautomator2-server-debug-androidTest.apk’ not installed. Installing
[debug] e[35m[ADB]e[39m Running ‘C:\Users\Office\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s 35924c6f0804 install C:\Users\Office\AppData\Local\Programs\Appium\resources\app\node_modules\appium\node_modules\appium-uiautomator2-server\apks\appium-uiautomator2-server-debug-androidTest.apk’[debug] e[35m[ADB]e[39m Install command stdout: Success
[debug] e[35m[UiAutomator2]e[39m Waiting up to 20000ms for instrumentation ‘io.appium.uiautomator2.server.test/android.support.test.runner.AndroidJUnitRunner’ to be available
[debug] e[35m[ADB]e[39m Running ‘C:\Users\Office\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s 35924c6f0804 shell pm list instrumentation’[debug] e[35m[UiAutomator2]e[39m Instrumentation ‘io.appium.uiautomator2.server.test/android.support.test.runner.AndroidJUnitRunner’ available
[debug] e[35m[ADB]e[39m Running ‘C:\Users\Office\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s 35924c6f0804 wait-for-device’
[debug] e[35m[ADB]e[39m Running ‘C:\Users\Office\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s 35924c6f0804 shell echo ping’
[debug] e[35m[AndroidDriver]e[39m Pushing settings apk to device…
[debug] e[35m[ADB]e[39m Getting install status for io.appium.settings
[debug] e[35m[ADB]e[39m Running ‘C:\Users\Office\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s 35924c6f0804 shell pm list packages io.appium.settings’[debug] e[35m[ADB]e[39m App is installed
[debug] e[35m[ADB]e[39m Getting package info for ‘io.appium.settings’
[debug] e[35m[ADB]e[39m Running ‘C:\Users\Office\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s 35924c6f0804 shell dumpsys package io.appium.settings’[info] e[35m[ADB]e[39m Checking whether aapt is present
[info] e[35m[ADB]e[39m Using aapt.exe from C:\Users\Office\AppData\Local\Android\Sdk\build-tools\28.0.3\aapt.exe[debug] e[35m[ADB]e[39m The installed ‘io.appium.settings’ package does not require upgrade (‘2.3.0’ >= ‘2.3.0’)
[debug] e[35m[ADB]e[39m Running ‘C:\Users\Office\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s 35924c6f0804 shell ps’[debug] e[35m[ADB]e[39m Device API level: 27
[debug] e[35m[ADB]e[39m Running ‘C:\Users\Office\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s 35924c6f0804 shell am start -W -n io.appium.settings/.Settings -a android.intent.action.MAIN -c android.intent.category.LAUNCHER -f 0x10200000’[debug] e[35m[ADB]e[39m Device API level: 27
[debug] e[35m[ADB]e[39m Running ‘C:\Users\Office\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s 35924c6f0804 shell appops set io.appium.settings android:mock_location allow’
[warn] e[35m[AndroidDriver]e[39m setDeviceLanguageCountry requires language or country.
[warn] e[35m[AndroidDriver]e[39m Got language: ‘undefined’ and country: ‘undefined’
[debug] e[35m[Logcat]e[39m Starting logcat capture[debug] e[35m[AndroidDriver]e[39m Pushing unlock helper app to device…
[debug] e[35m[ADB]e[39m Getting install status for io.appium.unlock
[debug] e[35m[ADB]e[39m Running ‘C:\Users\Office\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s 35924c6f0804 shell pm list packages io.appium.unlock’[debug] e[35m[ADB]e[39m App is installed
[debug] e[35m[ADB]e[39m Getting package info for ‘io.appium.unlock’
[debug] e[35m[ADB]e[39m Running ‘C:\Users\Office\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s 35924c6f0804 shell dumpsys package io.appium.unlock’[debug] e[35m[ADB]e[39m Running ‘C:\Users\Office\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s 35924c6f0804 shell rm -rf /data/local/tmp/strings.json’
[debug] e[35m[ADB]e[39m Running ‘C:\Users\Office\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s 35924c6f0804 shell pm path com.miui.calculator’[debug] e[35m[ADB]e[39m Running ‘C:\Users\Office\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s 35924c6f0804 pull /system/app/Calculator/Calculator.apk C:\Users\Office\AppData\Local\Temp\com.miui.calculator.apk’[debug] e[35m[ADB]e[39m Pulled app for package ‘com.miui.calculator’ to ‘C:\Users\Office\AppData\Local\Temp\com.miui.calculator.apk’
[debug] e[35m[AndroidDriver]e[39m Extracting strings from apk
[debug] e[35m[AndroidDriver]e[39m C:\Users\Office\AppData\Local\Temp\com.miui.calculator.apk
[debug] e[35m[AndroidDriver]e[39m undefined
[debug] e[35m[AndroidDriver]e[39m C:\Users\Office\AppData\Local\Temp\com.miui.calculator
[debug] e[35m[ADB]e[39m Extracting strings for language: default[info] e[35m[ADB]e[39m Successfully extracted 645 strings from ‘C:\Users\Office\AppData\Local\Temp\com.miui.calculator.apk’ resources for ‘(default)’ configuration[debug] e[35m[UiAutomator2]e[39m No app capability. Assuming it is already on the device
[debug] e[35m[ADB]e[39m Getting install status for com.miui.calculator
[debug] e[35m[ADB]e[39m Running ‘C:\Users\Office\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s 35924c6f0804 shell pm list packages com.miui.calculator’[debug] e[35m[ADB]e[39m App is installed
[debug] e[35m[ADB]e[39m Running ‘C:\Users\Office\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s 35924c6f0804 shell am force-stop com.miui.calculator’
[debug] e[35m[ADB]e[39m Running ‘C:\Users\Office\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s 35924c6f0804 shell pm clear com.miui.calculator’[debug] e[35m[AndroidDriver]e[39m Performed fast reset on the installed ‘com.miui.calculator’ application (stop and clear)
[debug] e[35m[ADB]e[39m Checking app cert for undefined
[debug] e[35m[ADB]e[39m ‘undefined’ doesn’t exist
[debug] e[35m[ADB]e[39m Getting all processes with uiautomator
[debug] e[35m[ADB]e[39m Running ‘C:\Users\Office\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s 35924c6f0804 shell ps’[debug] e[35m[ADB]e[39m Running ‘C:\Users\Office\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s 35924c6f0804 shell am force-stop io.appium.uiautomator2.server’[info] e[35m[UiAutomator2]e[39m Starting uiautomator2 server 1.18.0
[info] e[35m[UiAutomator2]e[39m Using UIAutomator2 server from ‘C:\Users\Office\AppData\Local\Programs\Appium\resources\app\node_modules\appium\node_modules\appium-uiautomator2-server\apks\appium-uiautomator2-server-v1.18.0.apk’ and test from ‘C:\Users\Office\AppData\Local\Programs\Appium\resources\app\node_modules\appium\node_modules\appium-uiautomator2-server\apks\appium-uiautomator2-server-debug-androidTest.apk’
[info] e[35m[UiAutomator2]e[39m Running command: ‘adb -s 35924c6f0804 shell am instrument -w io.appium.uiautomator2.server.test/android.support.test.runner.AndroidJUnitRunner’
[info] e[35m[UiAutomator2]e[39m Waiting up to 20000ms for UiAutomator2 to be online…
[debug] e[35m[JSONWP Proxy]e[39m Matched ‘/status’ to command name ‘getStatus’
[debug] e[35m[JSONWP Proxy]e[39m Proxying [GET /status] to [GET http://localhost:8200/wd/hub/status] with no body
[error] e[35m[UiAutomator2]e[39m [UIAutomator2 Error] getaddrinfo ENOENT localhost localhost:5037
[debug] e[35m[UiAutomator2]e[39m Full error: Error: getaddrinfo ENOENT localhost localhost:5037
[debug] e[35m[UiAutomator2]e[39m at GetAddrInfoReqWrap.onlookup [as oncomplete] (dns.js:50:26)[debug] e[35m[JSONWP Proxy]e[39m Matched ‘/status’ to command name ‘getStatus’
[debug] e[35m[JSONWP Proxy]e[39m Proxying [GET /status] to [GET http://localhost:8200/wd/hub/status] with no body[debug] e[35m[JSONWP Proxy]e[39m Matched ‘/status’ to command name ‘getStatus’
[debug] e[35m[JSONWP Proxy]e[39m Proxying [GET /status] to [GET http://localhost:8200/wd/hub/status] with no body[debug] e[35m[JSONWP Proxy]e[39m Matched ‘/status’ to command name ‘getStatus’
[debug] e[35m[JSONWP Proxy]e[39m Proxying [GET /status] to [GET http://localhost:8200/wd/hub/status] with no body[debug] e[35m[JSONWP Proxy]e[39m Matched ‘/status’ to command name ‘getStatus’
[debug] e[35m[JSONWP Proxy]e[39m Proxying [GET /status] to [GET http://localhost:8200/wd/hub/status] with no body[debug] e[35m[JSONWP Proxy]e[39m Matched ‘/status’ to command name ‘getStatus’
[debug] e[35m[JSONWP Proxy]e[39m Proxying [GET /status] to [GET http://localhost:8200/wd/hub/status] with no body[debug] e[35m[JSONWP Proxy]e[39m Matched ‘/status’ to command name ‘getStatus’
[debug] e[35m[JSONWP Proxy]e[39m Proxying [GET /status] to [GET http://localhost:8200/wd/hub/status] with no body[debug] e[35m[JSONWP Proxy]e[39m Matched ‘/status’ to command name ‘getStatus’
[debug] e[35m[JSONWP Proxy]e[39m Proxying [GET /status] to [GET http://localhost:8200/wd/hub/status] with no body[debug] e[35m[JSONWP Proxy]e[39m Matched ‘/status’ to command name ‘getStatus’
[debug] e[35m[JSONWP Proxy]e[39m Proxying [GET /status] to [GET http://localhost:8200/wd/hub/status] with no body[debug] e[35m[JSONWP Proxy]e[39m Matched ‘/status’ to command name ‘getStatus’
[debug] e[35m[JSONWP Proxy]e[39m Proxying [GET /status] to [GET http://localhost:8200/wd/hub/status] with no body[debug] e[35m[JSONWP Proxy]e[39m Matched ‘/status’ to command name ‘getStatus’
[debug] e[35m[JSONWP Proxy]e[39m Proxying [GET /status] to [GET http://localhost:8200/wd/hub/status] with no body[debug] e[35m[JSONWP Proxy]e[39m Matched ‘/status’ to command name ‘getStatus’
[debug] e[35m[JSONWP Proxy]e[39m Proxying [GET /status] to [GET http://localhost:8200/wd/hub/status] with no body[debug] e[35m[JSONWP Proxy]e[39m Matched ‘/status’ to command name ‘getStatus’
[debug] e[35m[JSONWP Proxy]e[39m Proxying [GET /status] to [GET http://localhost:8200/wd/hub/status] with no body[debug] e[35m[JSONWP Proxy]e[39m Matched ‘/status’ to command name ‘getStatus’
[debug] e[35m[JSONWP Proxy]e[39m Proxying [GET /status] to [GET http://localhost:8200/wd/hub/status] with no body[debug] e[35m[JSONWP Proxy]e[39m Matched ‘/status’ to command name ‘getStatus’
[debug] e[35m[JSONWP Proxy]e[39m Proxying [GET /status] to [GET http://localhost:8200/wd/hub/status] with no body[debug] e[35m[JSONWP Proxy]e[39m Matched ‘/status’ to command name ‘getStatus’
[debug] e[35m[JSONWP Proxy]e[39m Proxying [GET /status] to [GET http://localhost:8200/wd/hub/status] with no body[debug] e[35m[JSONWP Proxy]e[39m Matched ‘/status’ to command name ‘getStatus’
[debug] e[35m[JSONWP Proxy]e[39m Proxying [GET /status] to [GET http://localhost:8200/wd/hub/status] with no body[debug] e[35m[JSONWP Proxy]e[39m Matched ‘/status’ to command name ‘getStatus’
[debug] e[35m[JSONWP Proxy]e[39m Proxying [GET /status] to [GET http://localhost:8200/wd/hub/status] with no body[debug] e[35m[JSONWP Proxy]e[39m Matched ‘/status’ to command name ‘getStatus’
[debug] e[35m[JSONWP Proxy]e[39m Proxying [GET /status] to [GET http://localhost:8200/wd/hub/status] with no body[debug] e[35m[JSONWP Proxy]e[39m Matched ‘/status’ to command name ‘getStatus’
[debug] e[35m[JSONWP Proxy]e[39m Proxying [GET /status] to [GET http://localhost:8200/wd/hub/status] with no body
[debug] e[35m[UiAutomator2]e[39m Deleting UiAutomator2 session
[debug] e[35m[UiAutomator2]e[39m Deleting UiAutomator2 server session
[debug] e[35m[JSONWP Proxy]e[39m Matched ‘/’ to command name ‘deleteSession’
[warn] e[35m[UiAutomator2]e[39m Did not get confirmation UiAutomator2 deleteSession worked; Error was: UnknownError: An unknown server-side error occurred while processing the command. Original error: Trying to proxy a session command without session id
[debug] e[35m[ADB]e[39m Running ‘C:\Users\Office\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s 35924c6f0804 shell am force-stop com.miui.calculator’
[debug] e[35m[Logcat]e[39m Stopping logcat capture
[debug] e[35m[ADB]e[39m Removing forwarded port socket connection: 8200
[debug] e[35m[ADB]e[39m Running ‘C:\Users\Office\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s 35924c6f0804 forward --remove tcp:8200’[debug] e[35m[BaseDriver]e[39m Event ‘newSessionStarted’ logged at 1540375814656 (15:40:14 GMT+0530 (India Standard Time))
[debug] e[35m[W3C]e[39m Encountered internal error running command: UnknownError: An unknown server-side error occurred while processing the command. Original error: Could not proxy command to remote server. Original error: Error: getaddrinfo ENOENT localhost localhost:8200
[debug] e[35m[W3C]e[39m at JWProxy.command$ (C:\Users\Office\AppData\Local\Programs\Appium\resources\app\node_modules\appium\node_modules\appium-base-driver\lib\jsonwp-proxy\proxy.js:238:13)
[debug] e[35m[W3C]e[39m at tryCatch (C:\Users\Office\AppData\Local\Programs\Appium\resources\app\node_modules\appium\node_modules\babel-runtime\regenerator\runtime.js:67:40)
[debug] e[35m[W3C]e[39m at GeneratorFunctionPrototype.invoke [as _invoke] (C:\Users\Office\AppData\Local\Programs\Appium\resources\app\node_modules\appium\node_modules\babel-runtime\regenerator\runtime.js:315:22)
[debug] e[35m[W3C]e[39m at GeneratorFunctionPrototype.prototype.(anonymous function) [as throw] (C:\Users\Office\AppData\Local\Programs\Appium\resources\app\node_modules\appium\node_modules\babel-runtime\regenerator\runtime.js:100:21)
[debug] e[35m[W3C]e[39m at GeneratorFunctionPrototype.invoke (C:\Users\Office\AppData\Local\Programs\Appium\resources\app\node_modules\appium\node_modules\babel-runtime\regenerator\runtime.js:136:37)
[debug] e[35m[W3C]e[39m at run (C:\Users\Office\AppData\Local\Programs\Appium\resources\app\webpack:~\babel-polyfill~\core-js\modules\es6.promise.js:75:1)
[debug] e[35m[W3C]e[39m at C:\Users\Office\AppData\Local\Programs\Appium\resources\app\webpack:~\babel-polyfill~\core-js\modules\es6.promise.js:92:1
[debug] e[35m[W3C]e[39m at flush (C:\Users\Office\AppData\Local\Programs\Appium\resources\app\webpack:~\babel-polyfill~\core-js\modules_microtask.js:18:1)
[debug] e[35m[W3C]e[39m at process._tickCallback (internal/process/next_tick.js:61:11)
[info] e[35m[HTTP]e[39m e[37m<-- POST /wd/hub/session e[39me[31m500e[39m e[90m49514 ms - 1973e[39m
[info] e[35m[HTTP]e[39m e[90me[39m