C:\Users\huanh>appium --session-override [Appium] Welcome to Appium v1.15.1 [Appium] Non-default server args: [Appium] sessionOverride: true [Appium] Appium REST http interface listener started on 0.0.0.0:4723 [HTTP] --> POST /wd/hub/session [HTTP] {"capabilities":{"firstMatch":[{"platformName":"Android","appium:deviceName":"emulator-5554","appium:platformVersion":"5.1.1","appium:appPackage":"com.tencent.mm","appium:appActivity":"com.tencent.mm.ui.LauncherUI","appium:noReset":true,"appium:unicodeKeyboard":true,"appium:resetKeyboard":true,"appium:chromedriverExecutableDir":"C:\\Android\\webviewdriver","appium:chromedriverChromeMappingFile":"D:\\Users\\huanh\\PycharmProjects\\mypro\\app\\mapping.json","appium:chromeOptions":{"androidProcess":"com.tencent.mm:appbrand0"},"appium:adbPort":5038}]},"desiredCapabilities":{"platformName":"Android","deviceName":"emulator-5554","platformVersion":"5.1.1","appPackage":"com.tencent.mm","appActivity":"com.tencent.mm.ui.LauncherUI","noReset":true,"unicodeKeyboard":true,"resetKeyboard":true,"chromedriverExecutableDir":"C:\\Android\\webviewdriver","chromedriverChromeMappingFile":"D:\\Users\\huanh\\PycharmProjects\\mypro\\app\\mapping.json","chromeOptions":{"androidProcess":"com.tencent.mm:appbrand [debug] [W3C] Calling AppiumDriver.createSession() with args: [{"platformName":"Android","deviceName":"emulator-5554","platformVersion":"5.1.1","appPackage":"com.tencent.mm","appActivity":"com.tencent.mm.ui.LauncherUI","noReset":true,"unicodeKeyboard":true,"resetKeyboard":true,"chromedriverExecutableDir":"C:\\Android\\webviewdriver","chromedriverChromeMappingFile":"D:\\Users\\huanh\\PycharmProjects\\mypro\\app\\mapping.json","chromeOptions":{"androidProcess":"com.tencent.mm:appbrand0"},"adbPort":5038},null,{"firstMatch":[{"platformName":"Android","appium:deviceName":"emulator-5554","appium:platformVersion":"5.1.1","appium:appPackage":"com.tencent.mm","appium:appActivity":"com.tencent.mm.ui.LauncherUI","appium:noReset":true,"appium:unicodeKeyboard":true,"appium:resetKeyboard":true,"appium:chromedriverExecutableDir":"C:\\Android\\webviewdriver","appium:chromedriverChromeMappingFile":"D:\\Users\\huanh\\PycharmProjects\\mypro\\app\\mapping.json","appium:chromeOptions":{"androidProcess":"com.tencent.mm:appbrand0"},"appium:adbPort":5038}]}] [debug] [BaseDriver] Event 'newSessionRequested' logged at 1596341078739 (12:04:38 GMT+0800 (GMT+08:00)) [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=UiAutomator2' by default and using the [Appium] UiAutomator2 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] In previous versions (Appium <= 1.13.x), the default was [Appium] 'automationName=UiAutomator1' [Appium] [Appium] If you wish to use that automation instead of UiAutomator2, please [Appium] add 'automationName=UiAutomator1' to your 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] Appium v1.15.1 creating new AndroidUiautomator2Driver (v1.56.1) session [debug] [BaseDriver] W3C capabilities and MJSONWP desired capabilities were provided [debug] [BaseDriver] Creating session with W3C capabilities: { [debug] [BaseDriver] "alwaysMatch": { [debug] [BaseDriver] "platformName": "Android", [debug] [BaseDriver] "appium:deviceName": "emulator-5554", [debug] [BaseDriver] "appium:platformVersion": "5.1.1", [debug] [BaseDriver] "appium:appPackage": "com.tencent.mm", [debug] [BaseDriver] "appium:appActivity": "com.tencent.mm.ui.LauncherUI", [debug] [BaseDriver] "appium:noReset": true, [debug] [BaseDriver] "appium:unicodeKeyboard": true, [debug] [BaseDriver] "appium:resetKeyboard": true, [debug] [BaseDriver] "appium:chromedriverExecutableDir": "C:\\Android\\webviewdriver", [debug] [BaseDriver] "appium:chromedriverChromeMappingFile": "D:\\Users\\huanh\\PycharmProjects\\mypro\\app\\mapping.json", [debug] [BaseDriver] "appium:chromeOptions": { [debug] [BaseDriver] "androidProcess": "com.tencent.mm:appbrand0" [debug] [BaseDriver] }, [debug] [BaseDriver] "appium:adbPort": 5038 [debug] [BaseDriver] }, [debug] [BaseDriver] "firstMatch": [ [debug] [BaseDriver] {} [debug] [BaseDriver] ] [debug] [BaseDriver] } [BaseDriver] Session created with session id: b64bc2b2-7d1e-4f31-a115-5b7cf743ed06 [UiAutomator2] Starting 'com.tencent.mm' directly on the device [ADB] Found 2 'build-tools' folders under 'D:\Users\huanh\android-sdk-windows' (newest first): [ADB] D:/Users/huanh/android-sdk-windows/build-tools/29.0.3 [ADB] D:/Users/huanh/android-sdk-windows/build-tools/29.0.2 [ADB] Using 'adb.exe' from 'D:\Users\huanh\android-sdk-windows\platform-tools\adb.exe' [debug] [ADB] Running 'D:\Users\huanh\android-sdk-windows\platform-tools\adb.exe -P 5038 start-server' [AndroidDriver] Retrieving device list [debug] [ADB] Trying to find a connected android device [debug] [ADB] Getting connected devices [debug] [ADB] Connected devices: [{"udid":"127.0.0.1:62001","state":"device"}] [AndroidDriver] Looking for a device with Android '5.1.1' [debug] [ADB] Setting device id to 127.0.0.1:62001 [ADB] Getting device platform version [debug] [ADB] Running 'D:\Users\huanh\android-sdk-windows\platform-tools\adb.exe -P 5038 -s 127.0.0.1\:62001 shell getprop ro.build.version.release' [debug] [ADB] Current device property 'ro.build.version.release': 5.1.1 [AndroidDriver] Using device: 127.0.0.1:62001 [ADB] Using 'adb.exe' from 'D:\Users\huanh\android-sdk-windows\platform-tools\adb.exe' [debug] [ADB] Running 'D:\Users\huanh\android-sdk-windows\platform-tools\adb.exe -P 5038 start-server' [debug] [ADB] Setting device id to 127.0.0.1:62001 [debug] [ADB] Running 'D:\Users\huanh\android-sdk-windows\platform-tools\adb.exe -P 5038 -s 127.0.0.1\:62001 shell getprop ro.build.version.sdk' [debug] [ADB] Current device property 'ro.build.version.sdk': 22 [debug] [ADB] Device API level: 22 [AndroidDriver] No app sent in, not parsing package/activity [debug] [ADB] Running 'D:\Users\huanh\android-sdk-windows\platform-tools\adb.exe -P 5038 -s 127.0.0.1\:62001 wait-for-device' [debug] [ADB] Running 'D:\Users\huanh\android-sdk-windows\platform-tools\adb.exe -P 5038 -s 127.0.0.1\:62001 shell echo ping' [debug] [AndroidDriver] Pushing settings apk to device... [debug] [ADB] Getting install status for io.appium.settings [debug] [ADB] Running 'D:\Users\huanh\android-sdk-windows\platform-tools\adb.exe -P 5038 -s 127.0.0.1\:62001 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 'D:\Users\huanh\android-sdk-windows\platform-tools\adb.exe -P 5038 -s 127.0.0.1\:62001 shell dumpsys package io.appium.settings' [debug] [ADB] The version name of the installed 'io.appium.settings' is greater or equal to the application version name ('3.2.0' >= '3.2.0') [debug] [ADB] There is no need to install/upgrade 'C:\Users\huanh\AppData\Roaming\npm\node_modules\appium\node_modules\_io.appium.settings@3.2.0@io.appium.settings\apks\settings_apk-debug.apk' [debug] [ADB] Getting IDs of all 'io.appium.settings' processes [debug] [ADB] Using ps-based PID detection [debug] [ADB] Running 'D:\Users\huanh\android-sdk-windows\platform-tools\adb.exe -P 5038 -s 127.0.0.1\:62001 shell ps' [debug] [AndroidDriver] io.appium.settings is already running. There is no need to reset its permissions. [debug] [ADB] Running 'D:\Users\huanh\android-sdk-windows\platform-tools\adb.exe -P 5038 -s 127.0.0.1\:62001 shell settings put secure mock_location 1' [debug] [Logcat] Starting logs capture with command: D:\\Users\\huanh\\android-sdk-windows\\platform-tools\\adb.exe -P 5038 -s 127.0.0.1\:62001 logcat -v threadtime [debug] [AndroidDriver] Enabling Unicode keyboard support [debug] [ADB] Running 'D:\Users\huanh\android-sdk-windows\platform-tools\adb.exe -P 5038 -s 127.0.0.1\:62001 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 'D:\Users\huanh\android-sdk-windows\platform-tools\adb.exe -P 5038 -s 127.0.0.1\:62001 shell ime enable io.appium.settings/.UnicodeIME' [debug] [ADB] Running 'D:\Users\huanh\android-sdk-windows\platform-tools\adb.exe -P 5038 -s 127.0.0.1\:62001 shell ime set io.appium.settings/.UnicodeIME' [debug] [UiAutomator2] Forwarding UiAutomator2 Server port 6790 to 8202 [debug] [ADB] Forwarding system: 8202 to device: 6790 [debug] [ADB] Running 'D:\Users\huanh\android-sdk-windows\platform-tools\adb.exe -P 5038 -s 127.0.0.1\:62001 forward tcp\:8202 tcp\:6790' [debug] [ADB] Getting install status for io.appium.uiautomator2.server [debug] [ADB] Running 'D:\Users\huanh\android-sdk-windows\platform-tools\adb.exe -P 5038 -s 127.0.0.1\:62001 shell dumpsys package io.appium.uiautomator2.server' [debug] [ADB] 'io.appium.uiautomator2.server' is installed [debug] [ADB] Getting package info for 'io.appium.uiautomator2.server' [debug] [ADB] Running 'D:\Users\huanh\android-sdk-windows\platform-tools\adb.exe -P 5038 -s 127.0.0.1\:62001 shell dumpsys package io.appium.uiautomator2.server' [debug] [ADB] The version name of the installed 'io.appium.uiautomator2.server' is greater or equal to the application version name ('4.11.0' >= '4.11.0') [debug] [UiAutomator2] io.appium.uiautomator2.server installation state: sameVersionInstalled [debug] [ADB] Checking app cert for C:\Users\huanh\AppData\Roaming\npm\node_modules\appium\node_modules\_appium-uiautomator2-server@4.11.0@appium-uiautomator2-server\apks\appium-uiautomator2-server-v4.11.0.apk [ADB] Using 'apksigner.jar' from 'D:\Users\huanh\android-sdk-windows\build-tools\29.0.3\lib\apksigner.jar' [debug] [ADB] Starting apksigner: 'C:\\Program Files\\Java\\jdk1.8.0_151\\bin\\java.exe' -Xmx1024M -Xss1m -jar D:\\Users\\huanh\\android-sdk-windows\\build-tools\\29.0.3\\lib\\apksigner.jar verify --print-certs C:\\Users\\huanh\\AppData\\Roaming\\npm\\node_modules\\appium\\node_modules\\_appium-uiautomator2-server\@4.11.0\@appium-uiautomator2-server\\apks\\appium-uiautomator2-server-v4.11.0.apk [debug] [ADB] apksigner stdout: Signer #1 certificate DN: EMAILADDRESS=android@android.com, CN=Android, OU=Android, O=Android, L=Mountain View, ST=California, C=US [debug] [ADB] Signer #1 certificate SHA-256 digest: a40da80a59d170caa950cf15c18c454d47a39b26989d8b640ecd745ba71bf5dc [debug] [ADB] Signer #1 certificate SHA-1 digest: 61ed377e85d386a8dfee6b864bd85b0bfaa5af81 [debug] [ADB] Signer #1 certificate MD5 digest: e89b158e4bcf988ebd09eb83f5378e87 [debug] [ADB] [debug] [ADB] 'C:\Users\huanh\AppData\Roaming\npm\node_modules\appium\node_modules\_appium-uiautomator2-server@4.11.0@appium-uiautomator2-server\apks\appium-uiautomator2-server-v4.11.0.apk' is signed with the default certificate [debug] [ADB] Getting install status for io.appium.uiautomator2.server.test [debug] [ADB] Running 'D:\Users\huanh\android-sdk-windows\platform-tools\adb.exe -P 5038 -s 127.0.0.1\:62001 shell dumpsys package io.appium.uiautomator2.server.test' [debug] [ADB] 'io.appium.uiautomator2.server.test' is installed [debug] [ADB] Checking app cert for C:\Users\huanh\AppData\Roaming\npm\node_modules\appium\node_modules\_appium-uiautomator2-server@4.11.0@appium-uiautomator2-server\apks\appium-uiautomator2-server-debug-androidTest.apk [debug] [ADB] Starting apksigner: 'C:\\Program Files\\Java\\jdk1.8.0_151\\bin\\java.exe' -Xmx1024M -Xss1m -jar D:\\Users\\huanh\\android-sdk-windows\\build-tools\\29.0.3\\lib\\apksigner.jar verify --print-certs C:\\Users\\huanh\\AppData\\Roaming\\npm\\node_modules\\appium\\node_modules\\_appium-uiautomator2-server\@4.11.0\@appium-uiautomator2-server\\apks\\appium-uiautomator2-server-debug-androidTest.apk [debug] [ADB] apksigner stdout: Signer #1 certificate DN: EMAILADDRESS=android@android.com, CN=Android, OU=Android, O=Android, L=Mountain View, ST=California, C=US [debug] [ADB] Signer #1 certificate SHA-256 digest: a40da80a59d170caa950cf15c18c454d47a39b26989d8b640ecd745ba71bf5dc [debug] [ADB] Signer #1 certificate SHA-1 digest: 61ed377e85d386a8dfee6b864bd85b0bfaa5af81 [debug] [ADB] Signer #1 certificate MD5 digest: e89b158e4bcf988ebd09eb83f5378e87 [debug] [ADB] [debug] [ADB] 'C:\Users\huanh\AppData\Roaming\npm\node_modules\appium\node_modules\_appium-uiautomator2-server@4.11.0@appium-uiautomator2-server\apks\appium-uiautomator2-server-debug-androidTest.apk' is signed with the default certificate [UiAutomator2] Server packages are not going to be (re)installed [debug] [UiAutomator2] Waiting up to 30000ms for services to be available [debug] [ADB] Running 'D:\Users\huanh\android-sdk-windows\platform-tools\adb.exe -P 5038 -s 127.0.0.1\:62001 shell pm list instrumentation' [debug] [UiAutomator2] Instrumentation target 'io.appium.uiautomator2.server.test/androidx.test.runner.AndroidJUnitRunner' is available [debug] [UiAutomator2] No app capability. Assuming it is already on the device [debug] [UiAutomator2] Performing shallow cleanup of automation leftovers [debug] [UiAutomator2] No obsolete sessions have been detected (socket hang up) [debug] [ADB] Running 'D:\Users\huanh\android-sdk-windows\platform-tools\adb.exe -P 5038 -s 127.0.0.1\:62001 shell am force-stop io.appium.uiautomator2.server.test' [UiAutomator2] Starting UIAutomator2 server 4.11.0 [UiAutomator2] Using UIAutomator2 server from 'C:\Users\huanh\AppData\Roaming\npm\node_modules\appium\node_modules\_appium-uiautomator2-server@4.11.0@appium-uiautomator2-server\apks\appium-uiautomator2-server-v4.11.0.apk' and test from 'C:\Users\huanh\AppData\Roaming\npm\node_modules\appium\node_modules\_appium-uiautomator2-server@4.11.0@appium-uiautomator2-server\apks\appium-uiautomator2-server-debug-androidTest.apk' [UiAutomator2] Waiting up to 30000ms for UiAutomator2 to be online... [debug] [ADB] Creating ADB subprocess with args: ["-P",5038,"-s","127.0.0.1:62001","shell","am","instrument","-w","io.appium.uiautomator2.server.test/androidx.test.runner.AndroidJUnitRunner"] [debug] [Instrumentation] io.appium.uiautomator2.server.test.AppiumUiAutomator2Server: [debug] [WD Proxy] Matched '/status' to command name 'getStatus' [debug] [WD Proxy] Proxying [GET /status] to [GET http://127.0.0.1:8202/wd/hub/status] with no body [WD Proxy] socket hang up [debug] [WD Proxy] Matched '/status' to command name 'getStatus' [debug] [WD Proxy] Proxying [GET /status] to [GET http://127.0.0.1:8202/wd/hub/status] with no body [debug] [WD Proxy] Got response with status 200: {"sessionId":"None","value":{"message":"UiAutomator2 Server is ready to accept commands","ready":true}} [debug] [UiAutomator2] The initialization of the instrumentation process took 2093ms [debug] [WD Proxy] Matched '/session' to command name 'createSession' [debug] [WD Proxy] Proxying [POST /session] to [POST http://127.0.0.1:8202/wd/hub/session] with body: {"capabilities":{"firstMatch":[{"platform":"LINUX","webStorageEnabled":false,"takesScreenshot":true,"javascriptEnabled":true,"databaseEnabled":false,"networkConnectionEnabled":true,"locationContextEnabled":false,"warnings":{},"desired":{"platformName":"Android","deviceName":"emulator-5554","platformVersion":"5.1.1","appPackage":"com.tencent.mm","appActivity":"com.tencent.mm.ui.LauncherUI","noReset":true,"unicodeKeyboard":true,"resetKeyboard":true,"chromedriverExecutableDir":"C:\\Android\\webviewdriver","chromedriverChromeMappingFile":"D:\\Users\\huanh\\PycharmProjects\\mypro\\app\\mapping.json","chromeOptions":{"androidProcess":"com.tencent.mm:appbrand0"},"adbPort":5038},"platformName":"Android","deviceName":"127.0.0.1:62001","platformVersion":"5.1.1","appPackage":"com.tencent.mm","appActivity":"com.tencent.mm.ui.LauncherUI","noReset":true,"unicodeKeyboard":true,"resetKeyboard":true,"chromedriverExecutableDir":"C:\\Android\\webviewdriver","chromedriverChromeMappingFile":"D:\\Users\\huanh\\PycharmProjects\\... [debug] [WD Proxy] Got response with status 200: {"sessionId":"8e90cb80-9bce-4e8c-abdd-fddd671e9d95","value":{"capabilities":{"firstMatch":[{"platform":"LINUX","webStorageEnabled":false,"takesScreenshot":true,"javascriptEnabled":true,"databaseEnabled":false,"networkConnectionEnabled":true,"locationContextEnabled":false,"warnings":{},"desired":{"platformName":"Android","deviceName":"emulator-5554","platformVersion":"5.1.1","appPackage":"com.tencent.mm","appActivity":"com.tencent.mm.ui.LauncherUI","noReset":true,"unicodeKeyboard":true,"resetKeyboard":true,"chromedriverExecutableDir":"C:\\Android\\webviewdriver","chromedriverChromeMappingFile":"D:\\Users\\huanh\\PycharmProjects\\mypro\\app\\mapping.json","chromeOptions":{"androidProcess":"com.tencent.mm:appbrand0"},"adbPort":5038},"platformName":"Android","deviceName":"127.0.0.1:62001","platformVersion":"5.1.1","appPackage":"com.tencent.mm","appActivity":"com.tencent.mm.ui.LauncherUI","noReset":true,"unicodeKeyboard":true,"resetKeyboard":true,"chromedriverExecutableDir":"C:\\Android\\webviewdriver","chromed... [WD Proxy] Determined the downstream protocol as 'W3C' [debug] [WD Proxy] Proxying [GET /appium/device/info] to [GET http://127.0.0.1:8202/wd/hub/session/8e90cb80-9bce-4e8c-abdd-fddd671e9d95/appium/device/info] with no body [debug] [WD Proxy] Got response with status 200: {"sessionId":"8e90cb80-9bce-4e8c-abdd-fddd671e9d95","value":{"androidId":"d8575d0400636e2d","apiVersion":"22","bluetooth":{"state":"OFF"},"brand":"samsung","carrierName":"CHINA MOBILE","displayDensity":320,"locale":"zh_CN","manufacturer":"samsung","model":"SM-N960F","networks":[{"capabilities":{"SSID":null,"linkDownBandwidthKbps":1048576,"linkUpstreamBandwidthKbps":1048576,"networkCapabilities":"NET_CAPABILITY_NOT_RESTRICTED,NET_CAPABILITY_NOT_VPN,NET_CAPABILITY_INTERNET,NET_CAPABILITY_TRUSTED","signalStrength":null,"transportTypes":"TRANSPORT_WIFI"},"detailedState":"CONNECTED","extraInfo":"\"WiredSSID\"","isAvailable":true,"isConnected":true,"isFailover":false,"isRoaming":false,"state":"CONNECTED","subtype":0,"subtypeName":"","type":1,"typeName":"WIFI"}],"platformVersion":"5.1.1","realDisplaySize":"900x1600","timeZone":"Asia/Shanghai"}} [debug] [ADB] Running 'D:\Users\huanh\android-sdk-windows\platform-tools\adb.exe -P 5038 -s 127.0.0.1\:62001 shell dumpsys window' [AndroidDriver] Screen already unlocked, doing nothing [UiAutomator2] Starting 'com.tencent.mm/com.tencent.mm.ui.LauncherUI and waiting for 'com.tencent.mm/com.tencent.mm.ui.LauncherUI' [debug] [ADB] Running 'D:\Users\huanh\android-sdk-windows\platform-tools\adb.exe -P 5038 -s 127.0.0.1\:62001 shell am start -W -n com.tencent.mm/com.tencent.mm.ui.LauncherUI -S -a android.intent.action.MAIN -c android.intent.category.LAUNCHER -f 0x10200000' [debug] [WD Proxy] Proxying [GET /appium/device/pixel_ratio] to [GET http://127.0.0.1:8202/wd/hub/session/8e90cb80-9bce-4e8c-abdd-fddd671e9d95/appium/device/pixel_ratio] with no body [debug] [WD Proxy] Got response with status 200: {"sessionId":"8e90cb80-9bce-4e8c-abdd-fddd671e9d95","value":2} [debug] [WD Proxy] Matched '/appium/device/system_bars' to command name 'getSystemBars' [debug] [WD Proxy] Proxying [GET /appium/device/system_bars] to [GET http://127.0.0.1:8202/wd/hub/session/8e90cb80-9bce-4e8c-abdd-fddd671e9d95/appium/device/system_bars] with no body [debug] [WD Proxy] Got response with status 200: {"sessionId":"8e90cb80-9bce-4e8c-abdd-fddd671e9d95","value":{"statusBar":50}} [debug] [WD Proxy] Matched '/window/current/size' to command name 'getWindowSize' [debug] [WD Proxy] Proxying [GET /window/current/size] to [GET http://127.0.0.1:8202/wd/hub/session/8e90cb80-9bce-4e8c-abdd-fddd671e9d95/window/current/size] with no body [debug] [WD Proxy] Got response with status 200: {"sessionId":"8e90cb80-9bce-4e8c-abdd-fddd671e9d95","value":{"height":1600,"width":900}} [Appium] New AndroidUiautomator2Driver session created successfully, session b64bc2b2-7d1e-4f31-a115-5b7cf743ed06 added to master session list [debug] [BaseDriver] Event 'newSessionStarted' logged at 1596341091530 (12:04:51 GMT+0800 (GMT+08:00)) [debug] [W3C (b64bc2b2)] Cached the protocol value 'W3C' for the new session b64bc2b2-7d1e-4f31-a115-5b7cf743ed06 [debug] [W3C (b64bc2b2)] Responding to client with driver.createSession() result: {"capabilities":{"platform":"LINUX","webStorageEnabled":false,"takesScreenshot":true,"javascriptEnabled":true,"databaseEnabled":false,"networkConnectionEnabled":true,"locationContextEnabled":false,"warnings":{},"desired":{"platformName":"Android","deviceName":"emulator-5554","platformVersion":"5.1.1","appPackage":"com.tencent.mm","appActivity":"com.tencent.mm.ui.LauncherUI","noReset":true,"unicodeKeyboard":true,"resetKeyboard":true,"chromedriverExecutableDir":"C:\\Android\\webviewdriver","chromedriverChromeMappingFile":"D:\\Users\\huanh\\PycharmProjects\\mypro\\app\\mapping.json","chromeOptions":{"androidProcess":"com.tencent.mm:appbrand0"},"adbPort":5038},"platformName":"Android","deviceName":"127.0.0.1:62001","platformVersion":"5.1.1","appPackage":"com.tencent.mm","appActivity":"com.tencent.mm.ui.LauncherUI","noReset":true,"unicodeKeyboard":true,"resetKeyboard":true,"chromedriverExecutableDir":"C:\\Android\\webviewdriver","chromedriverChromeMappingFile":"D:\\Users\\huanh\\PycharmProjects\\mypro\\app\\map... [HTTP] <-- POST /wd/hub/session 200 12799 ms - 1429 [HTTP] [HTTP] --> POST /wd/hub/session/b64bc2b2-7d1e-4f31-a115-5b7cf743ed06/timeouts [HTTP] {"implicit":30000} [debug] [W3C (b64bc2b2)] Calling AppiumDriver.timeouts() with args: [null,null,null,null,30000,"b64bc2b2-7d1e-4f31-a115-5b7cf743ed06"] [debug] [BaseDriver] W3C timeout argument: {"implicit":30000}} [debug] [BaseDriver] Set implicit wait to 30000ms [debug] [W3C (b64bc2b2)] Responding to client with driver.timeouts() result: null [HTTP] <-- POST /wd/hub/session/b64bc2b2-7d1e-4f31-a115-5b7cf743ed06/timeouts 200 6 ms - 14 [HTTP] [HTTP] --> POST /wd/hub/session/b64bc2b2-7d1e-4f31-a115-5b7cf743ed06/element [HTTP] {"using":"xpath","value":"//*[@text='通讯录']"} [debug] [W3C (b64bc2b2)] Calling AppiumDriver.findElement() with args: ["xpath","//*[@text='通讯录']","b64bc2b2-7d1e-4f31-a115-5b7cf743ed06"] [debug] [BaseDriver] Valid locator strategies for this request: xpath, id, class name, accessibility id, -android uiautomator [debug] [BaseDriver] Waiting up to 30000 ms for condition [debug] [WD Proxy] Matched '/element' to command name 'findElement' [debug] [WD Proxy] Proxying [POST /element] to [POST http://127.0.0.1:8202/wd/hub/session/8e90cb80-9bce-4e8c-abdd-fddd671e9d95/element] with body: {"strategy":"xpath","selector":"//*[@text='通讯录']","context":"","multiple":false} [debug] [WD Proxy] Got response with status 200: {"sessionId":"8e90cb80-9bce-4e8c-abdd-fddd671e9d95","value":{"ELEMENT":"d8783205-de93-4103-aea4-789aeb392e24","element-6066-11e4-a52e-4f735466cecf":"d8783205-de93-4103-aea4-789aeb392e24"}} [debug] [W3C (b64bc2b2)] Responding to client with driver.findElement() result: {"element-6066-11e4-a52e-4f735466cecf":"d8783205-de93-4103-aea4-789aeb392e24","ELEMENT":"d8783205-de93-4103-aea4-789aeb392e24"} [HTTP] <-- POST /wd/hub/session/b64bc2b2-7d1e-4f31-a115-5b7cf743ed06/element 200 319 ms - 137 [HTTP] [HTTP] --> POST /wd/hub/session/b64bc2b2-7d1e-4f31-a115-5b7cf743ed06/timeouts [HTTP] {"implicit":10000} [debug] [W3C (b64bc2b2)] Calling AppiumDriver.timeouts() with args: [null,null,null,null,10000,"b64bc2b2-7d1e-4f31-a115-5b7cf743ed06"] [debug] [BaseDriver] W3C timeout argument: {"implicit":10000}} [debug] [BaseDriver] Set implicit wait to 10000ms [debug] [W3C (b64bc2b2)] Responding to client with driver.timeouts() result: null [HTTP] <-- POST /wd/hub/session/b64bc2b2-7d1e-4f31-a115-5b7cf743ed06/timeouts 200 5 ms - 14