Skip to content

Instantly share code, notes, and snippets.

@vanlong-nox
Created April 19, 2019 11:30
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save vanlong-nox/9d614aa0e063c8f6cca4e8b31dd6c584 to your computer and use it in GitHub Desktop.
Save vanlong-nox/9d614aa0e063c8f6cca4e8b31dd6c584 to your computer and use it in GitHub Desktop.
Microsoft Windows [Version 10.0.17763.437]
(c) 2018 Microsoft Corporation. All rights reserved.
C:\Users\Japan>cd C:\Users\Japan\node_modules\appium
C:\Users\Japan\node_modules\appium>node .
[Appium] Welcome to Appium v1.13.0-beta.3
[Appium] Appium REST http interface listener started on 0.0.0.0:4723
[HTTP] --> POST /wd/hub/session
[HTTP] {"desiredCapabilities":{"appPackage":"com.microsoft.emmx","recreateChromeDriverSessions":true,"noReset":true,"deviceName":"e19032ef","fullReset":false,"appActivity":"com.microsoft.ruby.Main","chromedriverExecutable":"E:\\Config_test\\Config\\lib\\71-1\\chromedriver.exe","newCommandTimeout":"120","platformVersion":"6.0.1","showChromedriverLog":true,"unicodeKeyboard":"true","platformName":"Android","resetKeyboard":"true"},"requiredCapabilities":{},"capabilities":{"desiredCapabilities":{"appPackage":"com.microsoft.emmx","recreateChromeDriverSessions":true,"noReset":true,"deviceName":"e19032ef","fullReset":false,"appActivity":"com.microsoft.ruby.Main","chromedriverExecutable":"E:\\Config_test\\Config\\lib\\71-1\\chromedriver.exe","newCommandTimeout":"120","platformVersion":"6.0.1","showChromedriverLog":true,"unicodeKeyboard":"true","platformName":"Android","resetKeyboard":"true"},"requiredCapabilities":{}},"alwaysMatch":{"appPackage":"com.microsoft.emmx","recreateChromeDriverSessions":true
[debug] [W3C] Calling AppiumDriver.createSession() with args: [{"appPackage":"com.microsoft.emmx","recreateChromeDriverSessions":true,"noReset":true,"deviceName":"e19032ef","fullReset":false,"appActivity":"com.microsoft.ruby.Main","chromedriverExecutable":"E:\\Config_test\\Config\\lib\\71-1\\chromedriver.exe","newCommandTimeout":"120","platformVersion":"6.0.1","showChromedriverLog":true,"unicodeKeyboard":"true","platformName":"Android","resetKeyboard":"true"},{},{"desiredCapabilities":{"appPackage":"com.microsoft.emmx","recreateChromeDriverSessions":true,"noReset":true,"deviceName":"e19032ef","fullReset":false,"appActivity":"com.microsoft.ruby.Main","chromedriverExecutable":"E:\\Config_test\\Config\\lib\\71-1\\chromedriver.exe","newCommandTimeout":"120","platformVersion":"6.0.1","showChromedriverLog":true,"unicodeKeyboard":"true","platformName":"Android","resetKeyboard":"true"},"requiredCapabilities":{}}]
[debug] [BaseDriver] Event 'newSessionRequested' logged at 1555673306430 (20:28:26 GMT+0900 (Japan Standard Time))
[Appium]
[Appium] ======================================================================
[Appium] DEPRECATION WARNING:
[Appium]
[Appium] The 'automationName' capability was not provided in the desired
[Appium] capabilities for this Android session
[Appium]
[Appium] Setting 'automationName=UiAutomator1' by default and using the
[Appium] UiAutomator1 Driver
[Appium]
[Appium] The next minor version of Appium (1.14.x) will set
[Appium] 'automationName=UiAutomator2' by default and use the UiAutomator2
[Appium] Driver
[Appium]
[Appium] The next major version of Appium (2.x) will **require** the
[Appium] 'automationName' capability to be set for all sessions on all
[Appium] platforms
[Appium]
[Appium] If you are happy with 'UiAutomator1' and do not wish to upgrade
[Appium] Android drivers, please add 'automationName=UiAutomator1' to your
[Appium] desired capabilities
[Appium]
[Appium] For more information about drivers, please visit
[Appium] http://appium.io/docs/en/about-appium/intro/ and explore the
[Appium] 'Drivers' menu
[Appium]
[Appium] ======================================================================
[Appium]
[Appium] Setting automation to 'UiAutomator1'.
[Appium] Consider setting 'automationName' capability to 'UiAutomator2' on Android >= 6, since UIAutomator1 framework is not maintained anymore by the OS vendor.
[Appium] Appium v1.13.0-beta.3 creating new AndroidDriver (v4.15.0) session
[Appium] Capabilities:
[Appium] appPackage: com.microsoft.emmx
[Appium] recreateChromeDriverSessions: true
[Appium] noReset: true
[Appium] deviceName: e19032ef
[Appium] fullReset: false
[Appium] appActivity: com.microsoft.ruby.Main
[Appium] chromedriverExecutable: E:\Config_test\Config\lib\71-1\chromedriver.exe
[Appium] newCommandTimeout: 120
[Appium] platformVersion: 6.0.1
[Appium] showChromedriverLog: true
[Appium] unicodeKeyboard: true
[Appium] platformName: Android
[Appium] resetKeyboard: true
[debug] [BaseDriver] Creating session with MJSONWP desired capabilities: {"appPackage":"com.microsof...
[BaseDriver] Capability 'unicodeKeyboard' changed from string to boolean. This may cause unexpected behavior
[BaseDriver] Capability 'resetKeyboard' changed from string to boolean. This may cause unexpected behavior
[BaseDriver] Capability 'newCommandTimeout' changed from string ('120') to integer (120). This may cause unexpected behavior
[BaseDriver] Session created with session id: 2b9b043d-890e-402a-8c5b-54c0da1de1a0
[ADB] Found 1 'build-tools' folders under 'C:\Users\Japan\AppData\Local\Android\Sdk\' (newest first):
[ADB] C:/Users/Japan/AppData/Local/Android/Sdk/build-tools/28.0.3
[ADB] Using 'adb.exe' from 'C:\Users\Japan\AppData\Local\Android\Sdk\platform-tools\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] Looking for a device with Android '6.0.1'
[debug] [ADB] Setting device id to e19032ef
[ADB] Getting device platform version
[debug] [ADB] Running 'C:\Users\Japan\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s e19032ef shell getprop ro.build.version.release'
[debug] [ADB] Current device property 'ro.build.version.release': 6.0.1
[AndroidDriver] Using device: e19032ef
[ADB] Using 'adb.exe' from 'C:\Users\Japan\AppData\Local\Android\Sdk\platform-tools\adb.exe'
[debug] [ADB] Setting device id to e19032ef
[debug] [ADB] Running 'C:\Users\Japan\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s e19032ef shell getprop ro.build.version.sdk'
[debug] [ADB] Current device property 'ro.build.version.sdk': 23
[debug] [ADB] Device API level: 23
[AndroidDriver] Consider setting 'automationName' capability to 'uiautomator2' on 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.microsoft.emmx directly on the device
[debug] [AndroidDriver] Checking whether package is present on the device
[debug] [ADB] Running 'C:\Users\Japan\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s e19032ef shell pm list packages com.microsoft.emmx'
[AndroidDriver] Starting Android session
[debug] [ADB] Running 'C:\Users\Japan\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s e19032ef wait-for-device'
[debug] [ADB] Running 'C:\Users\Japan\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s e19032ef shell echo ping'
[debug] [AndroidDriver] Pushing settings apk to device...
[debug] [ADB] Getting install status for io.appium.settings
[debug] [ADB] Running 'C:\Users\Japan\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s e19032ef shell dumpsys package io.appium.settings'
[debug] [ADB] 'io.appium.settings' is installed
[debug] [ADB] Getting package info for 'io.appium.settings'
[debug] [ADB] Running 'C:\Users\Japan\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s e19032ef shell dumpsys package io.appium.settings'
[ADB] Using 'aapt.exe' from 'C:\Users\Japan\AppData\Local\Android\Sdk\build-tools\28.0.3\aapt.exe'
[debug] [ADB] The version name of the installed 'io.appium.settings' is greater or equal to the application version name ('2.14.0' >= '2.14.0')
[debug] [ADB] There is no need to install/upgrade 'C:\Users\Japan\node_modules\io.appium.settings\apks\settings_apk-debug.apk'
[debug] [ADB] Getting IDs of all 'io.appium.settings' processes
[debug] [ADB] Running 'C:\Users\Japan\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s e19032ef shell 'pgrep --help; echo $?''
[debug] [ADB] Running 'C:\Users\Japan\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s e19032ef shell pgrep -f io\\.appium\\.settings'
[debug] [AndroidDriver] io.appium.settings is already running. There is no need to reset its permissions.
[debug] [ADB] Running 'C:\Users\Japan\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s e19032ef shell appops set io.appium.settings android\:mock_location allow'
[debug] [Logcat] Starting logcat capture
[debug] [AndroidDriver] Enabling Unicode keyboard support
[debug] [ADB] Running 'C:\Users\Japan\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s e19032ef shell settings get secure default_input_method'
[debug] [AndroidDriver] Unsetting previous IME io.appium.settings/.UnicodeIME
[debug] [AndroidDriver] Setting IME to 'io.appium.settings/.UnicodeIME'
[debug] [ADB] Running 'C:\Users\Japan\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s e19032ef shell ime enable io.appium.settings/.UnicodeIME'
[debug] [ADB] Running 'C:\Users\Japan\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s e19032ef shell ime set io.appium.settings/.UnicodeIME'
[ADB] Getting device platform version
[debug] [ADB] Running 'C:\Users\Japan\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s e19032ef shell getprop ro.build.version.release'
[debug] [ADB] Current device property 'ro.build.version.release': 6.0.1
[debug] [ADB] Running 'C:\Users\Japan\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s e19032ef shell wm size'
[debug] [ADB] Running 'C:\Users\Japan\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s e19032ef shell getprop ro.product.model'
[debug] [ADB] Current device property 'ro.product.model': SCL23
[debug] [ADB] Running 'C:\Users\Japan\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s e19032ef shell getprop ro.product.manufacturer'
[debug] [ADB] Current device property 'ro.product.manufacturer': samsung
[AndroidDriver] No app sent in, not parsing package/activity
[debug] [AndroidDriver] No app capability. Assuming it is already on the device
[debug] [AndroidBootstrap] Watching for bootstrap disconnect
[debug] [ADB] Forwarding system: 4724 to device: 4724
[debug] [ADB] Running 'C:\Users\Japan\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s e19032ef 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\Japan\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s e19032ef shell mkdir -p /data/local'
[debug] [ADB] Running 'C:\Users\Japan\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s e19032ef push C\:\\Users\\Japan\\node_modules\\appium-android-driver\\bootstrap\\bin\\AppiumBootstrap.jar /data/local/tmp/'
[debug] [ADB] Attempting to kill all uiautomator processes
[debug] [ADB] Getting IDs of all 'uiautomator' processes
[debug] [ADB] Running 'C:\Users\Japan\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s e19032ef shell pgrep -f uiautomator'
[ADB] No 'uiautomator' process has been found
[debug] [UiAutomator] Starting UIAutomator
[debug] [ADB] Creating ADB subprocess with args: ["-P",5037,"-s","e19032ef","shell","uiautomator","runtest","AppiumBootstrap.jar","-c","io.appium.android.bootstrap.Bootstrap","-e","pkg","com.microsoft.emmx","-e","disableAndroidWatchers",false,"-e","acceptSslCerts",false]
[debug] [UiAutomator] Moving to state 'online'
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Registered crash watchers.
[AndroidBootstrap] Android bootstrap socket is now connected
[debug] [ADB] Running 'C:\Users\Japan\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s e19032ef shell dumpsys window'
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Client connected
[AndroidDriver] Screen already unlocked, doing nothing
[debug] [ADB] Running 'C:\Users\Japan\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s e19032ef shell am start -W -n com.microsoft.emmx/com.microsoft.ruby.Main -S -a android.intent.action.MAIN -c android.intent.category.LAUNCHER -f 0x10200000'
[Appium] New AndroidDriver session created successfully, session 2b9b043d-890e-402a-8c5b-54c0da1de1a0 added to master session list
[debug] [BaseDriver] Event 'newSessionStarted' logged at 1555673321836 (20:28:41 GMT+0900 (Japan Standard Time))
[debug] [MJSONWP (2b9b043d)] Cached the protocol value 'MJSONWP' for the new session 2b9b043d-890e-402a-8c5b-54c0da1de1a0
[debug] [MJSONWP (2b9b043d)] 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.microsoft.emmx","recreateChromeDriverSessions":true,"noReset":true,"deviceName":"e19032ef","fullReset":false,"appActivity":"com.microsoft.ruby.Main","chromedriverExecutable":"E:\\Config_test\\Config\\lib\\71-1\\chromedriver.exe","newCommandTimeout":120,"platformVersion":"6.0.1","showChromedriverLog":true,"unicodeKeyboard":true,"platformName":"Android","resetKeyboard":true},"appPackage":"com.microsoft.emmx","recreateChromeDriverSessions":true,"noReset":true,"deviceName":"e19032ef","fullReset":false,"appActivity":"com.microsoft.ruby.Main","chromedriverExecutable":"E:\\Config_test\\Config\\lib\\71-1\\chromedriver.exe","newCommandTimeout":120,"platformVersion":"6.0.1","showChromedriverLog":true,"unicodeKeyboard":true,"platformName":"Android","resetKeyboard":true,"deviceUDID":"e19032ef","dev...
[HTTP] <-- POST /wd/hub/session 200 15414 ms - 1173
[HTTP]
[HTTP] --> POST /wd/hub/session/2b9b043d-890e-402a-8c5b-54c0da1de1a0/timeouts
[HTTP] {"type":"implicit","ms":15000}
[debug] [MJSONWP (2b9b043d)] Calling AppiumDriver.timeouts() with args: ["implicit",15000,null,null,null,"2b9b043d-890e-402a-8c5b-54c0da1de1a0"]
[debug] [BaseDriver] MJSONWP timeout arguments: {"type":"implicit","ms":15000}}
[debug] [BaseDriver] Set implicit wait to 15000ms
[debug] [MJSONWP (2b9b043d)] Responding to client with driver.timeouts() result: null
[HTTP] <-- POST /wd/hub/session/2b9b043d-890e-402a-8c5b-54c0da1de1a0/timeouts 200 23 ms - 76
[HTTP]
[HTTP] --> POST /wd/hub/session/2b9b043d-890e-402a-8c5b-54c0da1de1a0/element
[HTTP] {"using":"id","value":"com.microsoft.emmx:id/search_box_text"}
[debug] [MJSONWP (2b9b043d)] Calling AppiumDriver.findElement() with args: ["id","com.microsoft.emmx:id/search_box_text","2b9b043d-890e-402a-8c5b-54c0da1de1a0"]
[debug] [BaseDriver] Valid locator strategies for this request: xpath, id, class name, accessibility id, -android uiautomator
[debug] [BaseDriver] Waiting up to 15000 ms for condition
[debug] [AndroidBootstrap] Sending command to android: {"cmd":"action","action":"find","params":{"strategy":"id","selector":"com.microsoft.emmx:id/search_box_text","context":"","multiple":false}}
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got data from client: {"cmd":"action","action":"find","params":{"strategy":"id","selector":"com.microsoft.emmx:id/search_box_text","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 'com.microsoft.emmx:id/search_box_text' using 'ID' with the contextId: '' multiple: false
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Using: UiSelector[INSTANCE=0, RESOURCE_ID=com.microsoft.emmx:id/search_box_text]
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Returning result: {"status":0,"value":{"ELEMENT":"1"}}
[debug] [AndroidBootstrap] Received command result from bootstrap
[debug] [MJSONWP (2b9b043d)] Responding to client with driver.findElement() result: {"element-6066-11e4-a52e-4f735466cecf":"1","ELEMENT":"1"}
[HTTP] <-- POST /wd/hub/session/2b9b043d-890e-402a-8c5b-54c0da1de1a0/element 200 68 ms - 129
[HTTP]
[HTTP] --> POST /wd/hub/session/2b9b043d-890e-402a-8c5b-54c0da1de1a0/element/1/click
[HTTP] {"id":"1"}
[debug] [MJSONWP (2b9b043d)] Calling AppiumDriver.click() with args: ["1","2b9b043d-890e-402a-8c5b-54c0da1de1a0"]
[debug] [AndroidBootstrap] Sending command to android: {"cmd":"action","action":"element:click","params":{"elementId":"1"}}
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got data from client: {"cmd":"action","action":"element:click","params":{"elementId":"1"}}
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command of type ACTION
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command action: click
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Returning result: {"status":0,"value":true}
[debug] [AndroidBootstrap] Received command result from bootstrap
[debug] [MJSONWP (2b9b043d)] Responding to client with driver.click() result: true
[HTTP] <-- POST /wd/hub/session/2b9b043d-890e-402a-8c5b-54c0da1de1a0/element/1/click 200 391 ms - 76
[HTTP]
[HTTP] --> POST /wd/hub/session/2b9b043d-890e-402a-8c5b-54c0da1de1a0/element
[HTTP] {"using":"id","value":"com.microsoft.emmx:id/url_bar"}
[debug] [MJSONWP (2b9b043d)] Calling AppiumDriver.findElement() with args: ["id","com.microsoft.emmx:id/url_bar","2b9b043d-890e-402a-8c5b-54c0da1de1a0"]
[debug] [BaseDriver] Valid locator strategies for this request: xpath, id, class name, accessibility id, -android uiautomator
[debug] [BaseDriver] Waiting up to 15000 ms for condition
[debug] [AndroidBootstrap] Sending command to android: {"cmd":"action","action":"find","params":{"strategy":"id","selector":"com.microsoft.emmx:id/url_bar","context":"","multiple":false}}
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got data from client: {"cmd":"action","action":"find","params":{"strategy":"id","selector":"com.microsoft.emmx:id/url_bar","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 'com.microsoft.emmx:id/url_bar' using 'ID' with the contextId: '' multiple: false
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Using: UiSelector[INSTANCE=0, RESOURCE_ID=com.microsoft.emmx:id/url_bar]
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Returning result: {"status":0,"value":{"ELEMENT":"2"}}
[debug] [AndroidBootstrap] Received command result from bootstrap
[debug] [MJSONWP (2b9b043d)] Responding to client with driver.findElement() result: {"element-6066-11e4-a52e-4f735466cecf":"2","ELEMENT":"2"}
[HTTP] <-- POST /wd/hub/session/2b9b043d-890e-402a-8c5b-54c0da1de1a0/element 200 50 ms - 129
[HTTP]
[HTTP] --> POST /wd/hub/session/2b9b043d-890e-402a-8c5b-54c0da1de1a0/element/2/value
[HTTP] {"id":"2","value":["google.com"]}
[debug] [MJSONWP (2b9b043d)] Calling AppiumDriver.setValue() with args: [["google.com"],"2","2b9b043d-890e-402a-8c5b-54c0da1de1a0"]
[debug] [AndroidBootstrap] Sending command to android: {"cmd":"action","action":"element:setText","params":{"elementId":"2","text":"google.com","replace":false,"unicodeKeyboard":true}}
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got data from client: {"cmd":"action","action":"element:setText","params":{"elementId":"2","text":"google.com","replace":false,"unicodeKeyboard":true}}
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command of type ACTION
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command action: setText
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Using element passed in: 2
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Attempting to clear using UiObject.clearText().
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Text remains after clearing, but it appears to be hint text.
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Text not cleared. Assuming remainder is hint text.
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Sending plain text to element: google.com
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Returning result: {"status":0,"value":true}
[debug] [AndroidBootstrap] Received command result from bootstrap
[debug] [MJSONWP (2b9b043d)] Responding to client with driver.setValue() result: true
[HTTP] <-- POST /wd/hub/session/2b9b043d-890e-402a-8c5b-54c0da1de1a0/element/2/value 200 6212 ms - 76
[HTTP]
[HTTP] --> POST /wd/hub/session/2b9b043d-890e-402a-8c5b-54c0da1de1a0/appium/device/press_keycode
[HTTP] {"keycode":66}
[debug] [MJSONWP (2b9b043d)] Calling AppiumDriver.pressKeyCode() with args: [66,null,null,null,null,"2b9b043d-890e-402a-8c5b-54c0da1de1a0"]
[debug] [AndroidBootstrap] Sending command to android: {"cmd":"action","action":"pressKeyCode","params":{"keycode":66,"metastate":null}}
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got data from client: {"cmd":"action","action":"pressKeyCode","params":{"keycode":66,"metastate":null}}
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command of type ACTION
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command action: pressKeyCode
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Returning result: {"status":0,"value":true}
[debug] [AndroidBootstrap] Received command result from bootstrap
[debug] [MJSONWP (2b9b043d)] Responding to client with driver.pressKeyCode() result: true
[HTTP] <-- POST /wd/hub/session/2b9b043d-890e-402a-8c5b-54c0da1de1a0/appium/device/press_keycode 200 1306 ms - 76
[HTTP]
[HTTP] --> GET /wd/hub/session/2b9b043d-890e-402a-8c5b-54c0da1de1a0/contexts
[HTTP] {}
[debug] [MJSONWP (2b9b043d)] Calling AppiumDriver.getContexts() with args: ["2b9b043d-890e-402a-8c5b-54c0da1de1a0"]
[debug] [AndroidDriver] Getting a list of available webviews
[debug] [ADB] Running 'C:\Users\Japan\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s e19032ef shell cat /proc/net/unix'
[debug] [AndroidDriver] Found webviews: ["WEBVIEW_chrome"]
[debug] [AndroidDriver] Available contexts: ["NATIVE_APP","WEBVIEW_chrome"]
[debug] [MJSONWP (2b9b043d)] Responding to client with driver.getContexts() result: ["NATIVE_APP","WEBVIEW_chrome"]
[HTTP] <-- GET /wd/hub/session/2b9b043d-890e-402a-8c5b-54c0da1de1a0/contexts 200 104 ms - 103
[HTTP]
[HTTP] --> POST /wd/hub/session/2b9b043d-890e-402a-8c5b-54c0da1de1a0/context
[HTTP] {"name":"WEBVIEW_chrome"}
[debug] [MJSONWP (2b9b043d)] Calling AppiumDriver.setContext() with args: ["WEBVIEW_chrome","2b9b043d-890e-402a-8c5b-54c0da1de1a0"]
[debug] [AndroidDriver] Getting a list of available webviews
[debug] [ADB] Running 'C:\Users\Japan\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s e19032ef shell cat /proc/net/unix'
[debug] [AndroidDriver] Found webviews: ["WEBVIEW_chrome"]
[debug] [AndroidDriver] Available contexts: ["NATIVE_APP","WEBVIEW_chrome"]
[debug] [AndroidDriver] Connecting to chrome-backed webview context 'WEBVIEW_chrome'
[debug] [AndroidDriver] A port was not given, using random free port: 8000
[debug] [AndroidDriver] Before starting chromedriver, androidPackage is com.android.chrome
[debug] [Chromedriver] Changed state to 'starting'
[Chromedriver] Set chromedriver binary as: E:\Config_test\Config\lib\71-1\chromedriver.exe
[debug] [Chromedriver] Killing any old chromedrivers, running: wmic process where "commandline like '%chromedriver.exe%--port=8000%'" delete
[debug] [Chromedriver] Successfully cleaned up old chromedrivers
[debug] [Chromedriver] Cleaning any old adb forwarded port socket connections
[debug] [ADB] List forwarding ports
[debug] [ADB] Running 'C:\Users\Japan\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s e19032ef forward --list'
[Chromedriver] Spawning chromedriver with: E:\Config_test\Config\lib\71-1\chromedriver.exe --url-base=wd/hub --port=8000 --adb-port=5037 --verbose
[debug] [Chromedriver] Chromedriver version: '71.0.3578.137'
[debug] [Chromedriver] [STDOUT] Starting ChromeDriver 71.0.3578.137 (86ee722808adfe9e3c92e6e8ea746ade08423c7e) on port 8000
[debug] [Chromedriver] [STDOUT] Only local connections are allowed.
[debug] [Chromedriver] [STDOUT] Please protect ports used by ChromeDriver and related test frameworks to prevent access by malicious code.
[debug] [WD Proxy] Matched '/status' to command name 'getStatus'
[debug] [WD Proxy] Proxying [GET /status] to [GET http://127.0.0.1:8000/wd/hub/status] with no body
[debug] [WD Proxy] Got response with status 200: "{\"sessionId\":\"\",\"status\":0,\"value\":{\"build\":{\"version\":\"alpha\"},\"os\":{\"arch\":\"x86_64\",\"name\":\"Windows NT\",\"version\":\"10.0.17763\"}}}"
[debug] [WD Proxy] Determined that the downstream protocol for proxy is MJSONWP
[debug] [WD Proxy] Matched '/session' to command name 'createSession'
[debug] [WD Proxy] Proxying [POST /session] to [POST http://127.0.0.1:8000/wd/hub/session] with body: {"desiredCapabilities":{"chromeOptions":{"androidPackage":"com.android.chrome","androidUseRunningApp":true,"androidDeviceSerial":"e19032ef"},"loggingPrefs":{"browser":"ALL"}}}
[Chromedriver] [STDERR] [1555673347.669][INFO]: [23b494f605c053ec269e84fa2a29b103] COMMAND InitSession {
[Chromedriver] [STDERR] "desiredCapabilities": {
[Chromedriver] [STDERR] "chromeOptions": {
[Chromedriver] [STDERR] "androidDeviceSerial": "e19032ef",
[Chromedriver] [STDERR] "androidPackage": "com.android.chrome",
[Chromedriver] [STDERR] "androidUseRunningApp": true
[Chromedriver] [STDERR] },
[Chromedriver] [STDERR] "loggingPrefs": {
[Chromedriver] [STDERR] "browser": "ALL"
[Chromedriver] [STDERR] }
[Chromedriver] [STDERR] }
[Chromedriver] [STDERR] }
[Chromedriver] [STDERR] [1555673347.669][DEBUG]: Sending adb command: host:devices
[Chromedriver] [STDERR] [1555673347.670][DEBUG]: Received adb response: e19032ef device
[Chromedriver] [STDERR] [1555673347.670][DEBUG]: Sending adb command: host:transport:e19032ef|shell:pm path com.android.chrome
[Chromedriver] [STDERR] [1555673348.917][DEBUG]: Received adb response: package:/system/app/Chrome/Chrome.apk
[Chromedriver] [STDERR] [1555673348.917][DEBUG]: Sending adb command: host-serial:e19032ef:forward:tcp:0;localabstract:chrome_devtools_remote
[Chromedriver] [STDERR] [1555673348.917][DEBUG]: ADB server responded with "OKAYOKAY" instead of "OKAY".
[Chromedriver] [STDERR] [1555673348.917][DEBUG]: Received adb response: 58454
[Chromedriver] [STDERR] [1555673348.917][DEBUG]: DevTools HTTP Request: http://localhost:58454/json/version
[debug] [Chromedriver] Webview version: 'Chrome/71.0.3578.99'
[Chromedriver] [STDERR] [1555673349.249][DEBUG]: DevTools HTTP Response: {
[Chromedriver] [STDERR] "Android-Package": "com.microsoft.emmx",
[Chromedriver] [STDERR] "Browser": "Chrome/71.0.3578.99",
[Chromedriver] [STDERR] "Protocol-Version": "1.3",
[Chromedriver] [STDERR] "User-Agent": "Mozilla/5.0 (Linux; Android 6.0.1; SCL23) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/71.0.3578.99 Mobile Safari/537.36 EdgA/42.0.92.3363",
[Chromedriver] [STDERR] "V8-Version": "7.1.302.32",
[Chromedriver] [STDERR] "WebKit-Version": "537.36 (@dec090ce558f4dbef3830f7d236d3abecf770594)",
[Chromedriver] [STDERR] "webSocketDebuggerUrl": "ws://localhost:58454/devtools/browser"
[Chromedriver] [STDERR] }
[Chromedriver] [STDERR] [1555673349.255][INFO]: [23b494f605c053ec269e84fa2a29b103] RESPONSE InitSession ERROR session not created: please close 'com.microsoft.emmx' and try again
[Chromedriver] [STDERR] [1555673349.255][DEBUG]: Log type 'driver' lost 0 entries on destruction
[Chromedriver] [STDERR] [1555673349.255][DEBUG]: Log type 'browser' lost 0 entries on destruction
[debug] [WD Proxy] Got response with status 200: {"sessionId":"23b494f605c053ec269e84fa2a29b103","status":33,"value":{"message":"session not created: please close 'com.microsoft.emmx' and try again\n (Driver info: chromedriver=71.0.3578.137 (86ee722808adfe9e3c92e6e8ea746ade08423c7e),platform=Windows NT 10.0.17763 x86_64)"}}
[WD Proxy] Got an unexpected response: {"sessionId":"23b494f605c053ec269e84fa2a29b103","status":33,"value":{"message":"session not created: please close 'com.microsoft.emmx' and try again\n (Driver info: chromedriver=71.0.3578.137 (86ee722808adfe9e3c92e6e8ea746ade08423c7e),platform=Windows NT 10.0.17763 x86_64)"}}
[debug] [MJSONWP] Matched JSONWP error code 33 to SessionNotCreatedError
[Chromedriver] Error: Failed to start Chromedriver session: A new session could not be created. Details: session not created: please close 'com.microsoft.emmx' and try again
[Chromedriver] (Driver info: chromedriver=71.0.3578.137 (86ee722808adfe9e3c92e6e8ea746ade08423c7e),platform=Windows NT 10.0.17763 x86_64)
[Chromedriver] at Object.wrappedLogger.errorAndThrow (C:\Users\Japan\node_modules\appium-support\lib\logging.js:78:13)
[Chromedriver] at errorAndThrow (C:\Users\Japan\node_modules\appium-chromedriver\lib\chromedriver.js:493:13)
[debug] [WD Proxy] Matched '/session' to command name 'createSession'
[debug] [WD Proxy] Proxying [POST /session] to [POST http://127.0.0.1:8000/wd/hub/session] with body: {"desiredCapabilities":{"chromeOptions":{"androidPackage":"com.android.chrome","androidUseRunningApp":true,"androidDeviceSerial":"e19032ef"},"loggingPrefs":{"browser":"ALL"}}}
[Chromedriver] [STDERR] [1555673349.475][INFO]: [0b6054331b92b45b4b17079c981105fd] COMMAND InitSession {
[Chromedriver] [STDERR] "desiredCapabilities": {
[Chromedriver] [STDERR] "chromeOptions": {
[Chromedriver] [STDERR] "androidDeviceSerial": "e19032ef",
[Chromedriver] [STDERR] "androidPackage": "com.android.chrome",
[Chromedriver] [STDERR] "androidUseRunningApp": true
[Chromedriver] [STDERR] },
[Chromedriver] [STDERR] "loggingPrefs": {
[Chromedriver] [STDERR] "browser": "ALL"
[Chromedriver] [STDERR] }
[Chromedriver] [STDERR] }
[Chromedriver] [STDERR] }
[Chromedriver] [STDERR] [1555673349.475][DEBUG]: Sending adb command: host:devices
[Chromedriver] [STDERR] [1555673349.476][DEBUG]: Received adb response: e19032ef device
[Chromedriver] [STDERR] [1555673349.476][DEBUG]: Sending adb command: host:transport:e19032ef|shell:pm path com.android.chrome
[Chromedriver] [STDERR] [1555673350.641][DEBUG]: Received adb response: package:/system/app/Chrome/Chrome.apk
[Chromedriver] [STDERR] [1555673350.641][DEBUG]: Sending adb command: host-serial:e19032ef:forward:tcp:0;localabstract:chrome_devtools_remote
[Chromedriver] [STDERR] [1555673350.641][DEBUG]: ADB server responded with "OKAYOKAY" instead of "OKAY".
[Chromedriver] [STDERR] [1555673350.641][DEBUG]: Received adb response: 58463
[Chromedriver] [STDERR] [1555673350.641][DEBUG]: DevTools HTTP Request: http://localhost:58463/json/version
[debug] [Chromedriver] Webview version: 'Chrome/71.0.3578.99'
[Chromedriver] [STDERR] [1555673350.959][DEBUG]: DevTools HTTP Response: {
[Chromedriver] [STDERR] "Android-Package": "com.microsoft.emmx",
[Chromedriver] [STDERR] "Browser": "Chrome/71.0.3578.99",
[Chromedriver] [STDERR] "Protocol-Version": "1.3",
[Chromedriver] [STDERR] "User-Agent": "Mozilla/5.0 (Linux; Android 6.0.1; SCL23) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/71.0.3578.99 Mobile Safari/537.36 EdgA/42.0.92.3363",
[Chromedriver] [STDERR] "V8-Version": "7.1.302.32",
[Chromedriver] [STDERR] "WebKit-Version": "537.36 (@dec090ce558f4dbef3830f7d236d3abecf770594)",
[Chromedriver] [STDERR] "webSocketDebuggerUrl": "ws://localhost:58463/devtools/browser"
[Chromedriver] [STDERR] }
[Chromedriver] [STDERR] [1555673350.959][INFO]: [0b6054331b92b45b4b17079c981105fd] RESPONSE InitSession ERROR session not created: please close 'com.microsoft.emmx' and try again
[Chromedriver] [STDERR] [1555673350.959][DEBUG]: Log type 'driver' lost 0 entries on destruction
[Chromedriver] [STDERR] [1555673350.959][DEBUG]: Log type 'browser' lost 0 entries on destruction
[debug] [WD Proxy] Got response with status 200: {"sessionId":"0b6054331b92b45b4b17079c981105fd","status":33,"value":{"message":"session not created: please close 'com.microsoft.emmx' and try again\n (Driver info: chromedriver=71.0.3578.137 (86ee722808adfe9e3c92e6e8ea746ade08423c7e),platform=Windows NT 10.0.17763 x86_64)"}}
[WD Proxy] Got an unexpected response: {"sessionId":"0b6054331b92b45b4b17079c981105fd","status":33,"value":{"message":"session not created: please close 'com.microsoft.emmx' and try again\n (Driver info: chromedriver=71.0.3578.137 (86ee722808adfe9e3c92e6e8ea746ade08423c7e),platform=Windows NT 10.0.17763 x86_64)"}}
[debug] [MJSONWP] Matched JSONWP error code 33 to SessionNotCreatedError
[Chromedriver] Error: Failed to start Chromedriver session: A new session could not be created. Details: session not created: please close 'com.microsoft.emmx' and try again
[Chromedriver] (Driver info: chromedriver=71.0.3578.137 (86ee722808adfe9e3c92e6e8ea746ade08423c7e),platform=Windows NT 10.0.17763 x86_64)
[Chromedriver] at Object.wrappedLogger.errorAndThrow (C:\Users\Japan\node_modules\appium-support\lib\logging.js:78:13)
[Chromedriver] at errorAndThrow (C:\Users\Japan\node_modules\appium-chromedriver\lib\chromedriver.js:493:13)
[debug] [WD Proxy] Matched '/session' to command name 'createSession'
[debug] [WD Proxy] Proxying [POST /session] to [POST http://127.0.0.1:8000/wd/hub/session] with body: {"desiredCapabilities":{"chromeOptions":{"androidPackage":"com.android.chrome","androidUseRunningApp":true,"androidDeviceSerial":"e19032ef"},"loggingPrefs":{"browser":"ALL"}}}
[Chromedriver] [STDERR] [1555673351.177][INFO]: [2f8a063bb1a57e3b75f007fc0f426f83] COMMAND InitSession {
[Chromedriver] [STDERR] "desiredCapabilities": {
[Chromedriver] [STDERR] "chromeOptions": {
[Chromedriver] [STDERR] "androidDeviceSerial": "e19032ef",
[Chromedriver] [STDERR] "androidPackage": "com.android.chrome",
[Chromedriver] [STDERR] "androidUseRunningApp": true
[Chromedriver] [STDERR] },
[Chromedriver] [STDERR] "loggingPrefs": {
[Chromedriver] [STDERR] "browser": "ALL"
[Chromedriver] [STDERR] }
[Chromedriver] [STDERR] }
[Chromedriver] [STDERR] }
[Chromedriver] [STDERR] [1555673351.177][DEBUG]: Sending adb command: host:devices
[Chromedriver] [STDERR] [1555673351.177][DEBUG]: Received adb response: e19032ef device
[Chromedriver] [STDERR] [1555673351.177][DEBUG]: Sending adb command: host:transport:e19032ef|shell:pm path com.android.chrome
[Chromedriver] [STDERR] [1555673352.314][DEBUG]: Received adb response: package:/system/app/Chrome/Chrome.apk
[Chromedriver] [STDERR] [1555673352.314][DEBUG]: Sending adb command: host-serial:e19032ef:forward:tcp:0;localabstract:chrome_devtools_remote
[Chromedriver] [STDERR] [1555673352.314][DEBUG]: ADB server responded with "OKAYOKAY" instead of "OKAY".
[Chromedriver] [STDERR] [1555673352.314][DEBUG]: Received adb response: 58472
[Chromedriver] [STDERR] [1555673352.314][DEBUG]: DevTools HTTP Request: http://localhost:58472/json/version
[debug] [Chromedriver] Webview version: 'Chrome/71.0.3578.99'
[Chromedriver] [STDERR] [1555673352.634][DEBUG]: DevTools HTTP Response: {
[Chromedriver] [STDERR] "Android-Package": "com.microsoft.emmx",
[Chromedriver] [STDERR] "Browser": "Chrome/71.0.3578.99",
[Chromedriver] [STDERR] "Protocol-Version": "1.3",
[Chromedriver] [STDERR] "User-Agent": "Mozilla/5.0 (Linux; Android 6.0.1; SCL23) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/71.0.3578.99 Mobile Safari/537.36 EdgA/42.0.92.3363",
[Chromedriver] [STDERR] "V8-Version": "7.1.302.32",
[Chromedriver] [STDERR] "WebKit-Version": "537.36 (@dec090ce558f4dbef3830f7d236d3abecf770594)",
[Chromedriver] [STDERR] "webSocketDebuggerUrl": "ws://localhost:58472/devtools/browser"
[Chromedriver] [STDERR] }
[Chromedriver] [STDERR] [1555673352.634][INFO]: [2f8a063bb1a57e3b75f007fc0f426f83] RESPONSE InitSession ERROR session not created: please close 'com.microsoft.emmx' and try again
[Chromedriver] [STDERR] [1555673352.634][DEBUG]: Log type 'driver' lost 0 entries on destruction
[Chromedriver] [STDERR] [1555673352.634][DEBUG]: Log type 'browser' lost 0 entries on destruction
[debug] [WD Proxy] Got response with status 200: {"sessionId":"2f8a063bb1a57e3b75f007fc0f426f83","status":33,"value":{"message":"session not created: please close 'com.microsoft.emmx' and try again\n (Driver info: chromedriver=71.0.3578.137 (86ee722808adfe9e3c92e6e8ea746ade08423c7e),platform=Windows NT 10.0.17763 x86_64)"}}
[WD Proxy] Got an unexpected response: {"sessionId":"2f8a063bb1a57e3b75f007fc0f426f83","status":33,"value":{"message":"session not created: please close 'com.microsoft.emmx' and try again\n (Driver info: chromedriver=71.0.3578.137 (86ee722808adfe9e3c92e6e8ea746ade08423c7e),platform=Windows NT 10.0.17763 x86_64)"}}
[debug] [MJSONWP] Matched JSONWP error code 33 to SessionNotCreatedError
[Chromedriver] Error: Failed to start Chromedriver session: A new session could not be created. Details: session not created: please close 'com.microsoft.emmx' and try again
[Chromedriver] (Driver info: chromedriver=71.0.3578.137 (86ee722808adfe9e3c92e6e8ea746ade08423c7e),platform=Windows NT 10.0.17763 x86_64)
[Chromedriver] at Object.wrappedLogger.errorAndThrow (C:\Users\Japan\node_modules\appium-support\lib\logging.js:78:13)
[Chromedriver] at errorAndThrow (C:\Users\Japan\node_modules\appium-chromedriver\lib\chromedriver.js:493:13)
[debug] [WD Proxy] Matched '/session' to command name 'createSession'
[debug] [WD Proxy] Proxying [POST /session] to [POST http://127.0.0.1:8000/wd/hub/session] with body: {"desiredCapabilities":{"chromeOptions":{"androidPackage":"com.android.chrome","androidUseRunningApp":true,"androidDeviceSerial":"e19032ef"},"loggingPrefs":{"browser":"ALL"}}}
[Chromedriver] [STDERR] [1555673352.852][INFO]: [27c991b368fed9620ebe3f88908023fc] COMMAND InitSession {
[Chromedriver] [STDERR] "desiredCapabilities": {
[Chromedriver] [STDERR] "chromeOptions": {
[Chromedriver] [STDERR] "androidDeviceSerial": "e19032ef",
[Chromedriver] [STDERR] "androidPackage": "com.android.chrome",
[Chromedriver] [STDERR] "androidUseRunningApp": true
[Chromedriver] [STDERR] },
[Chromedriver] [STDERR] "loggingPrefs": {
[Chromedriver] [STDERR] "browser": "ALL"
[Chromedriver] [STDERR] }
[Chromedriver] [STDERR] }
[Chromedriver] [STDERR] }
[Chromedriver] [STDERR] [1555673352.852][DEBUG]: Sending adb command: host:devices
[Chromedriver] [STDERR] [1555673352.853][DEBUG]: Received adb response: e19032ef device
[Chromedriver] [STDERR] [1555673352.853][DEBUG]: Sending adb command: host:transport:e19032ef|shell:pm path com.android.chrome
[Chromedriver] [STDERR] [1555673354.002][DEBUG]: Received adb response: package:/system/app/Chrome/Chrome.apk
[Chromedriver] [STDERR] [1555673354.002][DEBUG]: Sending adb command: host-serial:e19032ef:forward:tcp:0;localabstract:chrome_devtools_remote
[Chromedriver] [STDERR] [1555673354.002][DEBUG]: ADB server responded with "OKAYOKAY" instead of "OKAY".
[Chromedriver] [STDERR] [1555673354.002][DEBUG]: Received adb response: 58481
[Chromedriver] [STDERR] [1555673354.002][DEBUG]: DevTools HTTP Request: http://localhost:58481/json/version
[debug] [Chromedriver] Webview version: 'Chrome/71.0.3578.99'
[Chromedriver] [STDERR] [1555673354.310][DEBUG]: DevTools HTTP Response: {
[Chromedriver] [STDERR] "Android-Package": "com.microsoft.emmx",
[Chromedriver] [STDERR] "Browser": "Chrome/71.0.3578.99",
[Chromedriver] [STDERR] "Protocol-Version": "1.3",
[Chromedriver] [STDERR] "User-Agent": "Mozilla/5.0 (Linux; Android 6.0.1; SCL23) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/71.0.3578.99 Mobile Safari/537.36 EdgA/42.0.92.3363",
[Chromedriver] [STDERR] "V8-Version": "7.1.302.32",
[Chromedriver] [STDERR] "WebKit-Version": "537.36 (@dec090ce558f4dbef3830f7d236d3abecf770594)",
[Chromedriver] [STDERR] "webSocketDebuggerUrl": "ws://localhost:58481/devtools/browser"
[Chromedriver] [STDERR] }
[Chromedriver] [STDERR] [1555673354.310][INFO]: [27c991b368fed9620ebe3f88908023fc] RESPONSE InitSession ERROR session not created: please close 'com.microsoft.emmx' and try again
[Chromedriver] [STDERR] [1555673354.310][DEBUG]: Log type 'driver' lost 0 entries on destruction
[Chromedriver] [STDERR] [1555673354.310][DEBUG]: Log type 'browser' lost 0 entries on destruction
[debug] [WD Proxy] Got response with status 200: {"sessionId":"27c991b368fed9620ebe3f88908023fc","status":33,"value":{"message":"session not created: please close 'com.microsoft.emmx' and try again\n (Driver info: chromedriver=71.0.3578.137 (86ee722808adfe9e3c92e6e8ea746ade08423c7e),platform=Windows NT 10.0.17763 x86_64)"}}
[WD Proxy] Got an unexpected response: {"sessionId":"27c991b368fed9620ebe3f88908023fc","status":33,"value":{"message":"session not created: please close 'com.microsoft.emmx' and try again\n (Driver info: chromedriver=71.0.3578.137 (86ee722808adfe9e3c92e6e8ea746ade08423c7e),platform=Windows NT 10.0.17763 x86_64)"}}
[debug] [MJSONWP] Matched JSONWP error code 33 to SessionNotCreatedError
[Chromedriver] Error: Failed to start Chromedriver session: A new session could not be created. Details: session not created: please close 'com.microsoft.emmx' and try again
[Chromedriver] (Driver info: chromedriver=71.0.3578.137 (86ee722808adfe9e3c92e6e8ea746ade08423c7e),platform=Windows NT 10.0.17763 x86_64)
[Chromedriver] at Object.wrappedLogger.errorAndThrow (C:\Users\Japan\node_modules\appium-support\lib\logging.js:78:13)
[Chromedriver] at errorAndThrow (C:\Users\Japan\node_modules\appium-chromedriver\lib\chromedriver.js:493:13)
[Chromedriver] Chromedriver exited unexpectedly with code null, signal SIGTERM
[debug] [Chromedriver] Changed state to 'stopped'
[Chromedriver] Error: Failed to start Chromedriver session: A new session could not be created. Details: session not created: please close 'com.microsoft.emmx' and try again
[Chromedriver] (Driver info: chromedriver=71.0.3578.137 (86ee722808adfe9e3c92e6e8ea746ade08423c7e),platform=Windows NT 10.0.17763 x86_64)
[Chromedriver] at Object.wrappedLogger.errorAndThrow (C:\Users\Japan\node_modules\appium-support\lib\logging.js:78:13)
[Chromedriver] at Chromedriver.errorAndThrow [as start] (C:\Users\Japan\node_modules\appium-chromedriver\lib\chromedriver.js:441:11)
[debug] [MJSONWP (2b9b043d)] Encountered internal error running command: Error: Failed to start Chromedriver session: A new session could not be created. Details: session not created: please close 'com.microsoft.emmx' and try again
[debug] [MJSONWP (2b9b043d)] (Driver info: chromedriver=71.0.3578.137 (86ee722808adfe9e3c92e6e8ea746ade08423c7e),platform=Windows NT 10.0.17763 x86_64)
[debug] [MJSONWP (2b9b043d)] at Object.wrappedLogger.errorAndThrow (C:\Users\Japan\node_modules\appium-support\lib\logging.js:78:13)
[debug] [MJSONWP (2b9b043d)] at Chromedriver.errorAndThrow [as start] (C:\Users\Japan\node_modules\appium-chromedriver\lib\chromedriver.js:441:11)
[HTTP] <-- POST /wd/hub/session/2b9b043d-890e-402a-8c5b-54c0da1de1a0/context 500 7221 ms - 448
[HTTP]
[HTTP] --> DELETE /wd/hub/session/2b9b043d-890e-402a-8c5b-54c0da1de1a0
[HTTP] {}
[debug] [MJSONWP (2b9b043d)] Calling AppiumDriver.deleteSession() with args: ["2b9b043d-890e-402a-8c5b-54c0da1de1a0"]
[debug] [BaseDriver] Event 'quitSessionRequested' logged at 1555673354397 (20:29:14 GMT+0900 (Japan Standard Time))
[Appium] Removing session 2b9b043d-890e-402a-8c5b-54c0da1de1a0 from our master session list
[debug] [AndroidDriver] Shutting down Android driver
[debug] [AndroidDriver] Resetting IME to io.appium.settings/.UnicodeIME
[debug] [ADB] Running 'C:\Users\Japan\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s e19032ef shell ime set io.appium.settings/.UnicodeIME'
[debug] [ADB] Running 'C:\Users\Japan\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s e19032ef shell am force-stop com.microsoft.emmx'
[debug] [ADB] Pressing the HOME button
[debug] [ADB] Running 'C:\Users\Japan\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s e19032ef 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] Received command result from bootstrap
[debug] [AndroidBootstrap] [UIAUTO STDOUT] INSTRUMENTATION_STATUS_CODE: 0
[debug] [AndroidBootstrap] [UIAUTO STDOUT] INSTRUMENTATION_STATUS: stream=
[debug] [AndroidBootstrap] [UIAUTO STDOUT] Test results for WatcherResultPrinter=.
[debug] [AndroidBootstrap] [UIAUTO STDOUT] Time: 40.285
[debug] [AndroidBootstrap] [UIAUTO STDOUT] OK (1 test)
[debug] [AndroidBootstrap] [UIAUTO STDOUT] INSTRUMENTATION_STATUS_CODE: -1
[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 IDs of all 'uiautomator' processes
[debug] [ADB] Running 'C:\Users\Japan\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s e19032ef shell pgrep -f uiautomator'
[ADB] No 'uiautomator' process has been found
[debug] [UiAutomator] Moving to state 'stopped'
[debug] [Logcat] Stopping logcat capture
[debug] [ADB] Running 'C:\Users\Japan\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s e19032ef shell am force-stop io.appium.unlock'
[debug] [AndroidDriver] Not cleaning generated files. Add `clearSystemFiles` capability if wanted.
[debug] [BaseDriver] Event 'quitSessionFinished' logged at 1555673360348 (20:29:20 GMT+0900 (Japan Standard Time))
[debug] [MJSONWP (2b9b043d)] Received response: null
[debug] [MJSONWP (2b9b043d)] But deleting session, so not returning
[debug] [MJSONWP (2b9b043d)] Responding to client with driver.deleteSession() result: null
[HTTP] <-- DELETE /wd/hub/session/2b9b043d-890e-402a-8c5b-54c0da1de1a0 200 5957 ms - 76
[HTTP]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment