The server is running [HTTP] Waiting until the server is closed [HTTP] Received server close event [Appium] Welcome to Appium v1.19.1 [Appium] Non-default server args: [Appium] relaxedSecurityEnabled: true [Appium] allowInsecure: { [Appium] } [Appium] denyInsecure: { [Appium] } [Appium] Appium REST http interface listener started on 0.0.0.0:4723 [HTTP] Request idempotency key: a8a6a7c5-da85-4027-b50a-f7f7bb5f6dd2 [HTTP] --> POST /wd/hub/session [HTTP] {"capabilities":{"firstMatch":[{"platformName":"android","appium:deviceName":"192.168.216.103:5555","appium:appPackage":"com.tencent.mm","appium:appActivity":"com.tencent.mm.ui.LauncherUI","appium:noReset":"true","appium:unicodeKeyBoard":"true","appium:resetKeyBoard":"true","appium:ChromedriverExecutable":"D:/Study/Automation_Tester_Guide/Lesson6_appium/chromedriver","appium:chromeOptions":{"androidProcess":"com.tencent.mm:appbrand0"},"appium:adbPort":5038}]},"desiredCapabilities":{"platformName":"android","deviceName":"192.168.216.103:5555","appPackage":"com.tencent.mm","appActivity":"com.tencent.mm.ui.LauncherUI","noReset":"true","unicodeKeyBoard":"true","resetKeyBoard":"true","ChromedriverExecutable":"D:/Study/Automation_Tester_Guide/Lesson6_appium/chromedriver","chromeOptions":{"androidProcess":"com.tencent.mm:appbrand0"},"adbPort":5038}} [W3C] Calling AppiumDriver.createSession() with args: [{"platformName":"android","deviceName":"192.168.216.103:5555","appPackage":"com.tencent.mm","appActivity":"com.tencent.mm.ui.LauncherUI","noReset":"true","unicodeKeyBoard":"true","resetKeyBoard":"true","ChromedriverExecutable":"D:/Study/Automation_Tester_Guide/Lesson6_appium/chromedriver","chromeOptions":{"androidProcess":"com.tencent.mm:appbrand0"},"adbPort":5038},null,{"firstMatch":[{"platformName":"android","appium:deviceName":"192.168.216.103:5555","appium:appPackage":"com.tencent.mm","appium:appActivity":"com.tencent.mm.ui.LauncherUI","appium:noReset":"true","appium:unicodeKeyBoard":"true","appium:resetKeyBoard":"true","appium:ChromedriverExecutable":"D:/Study/Automation_Tester_Guide/Lesson6_appium/chromedriver","appium:chromeOptions":{"androidProcess":"com.tencent.mm:appbrand0"},"appium:adbPort":5038}]}] [BaseDriver] Event 'newSessionRequested' logged at 1613992692005 (19:18:12 GMT+0800 (中国标准时间)) [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.19.1 creating new AndroidUiautomator2Driver (v1.59.0) session [Appium] Applying relaxed security to 'AndroidUiautomator2Driver' as per server command line argument. All insecure features will be enabled unless explicitly disabled by --deny-insecure [BaseDriver] W3C capabilities and MJSONWP desired capabilities were provided [BaseDriver] Creating session with W3C capabilities: { [BaseDriver] "alwaysMatch": { [BaseDriver] "platformName": "android", [BaseDriver] "appium:deviceName": "192.168.216.103:5555", [BaseDriver] "appium:appPackage": "com.tencent.mm", [BaseDriver] "appium:appActivity": "com.tencent.mm.ui.LauncherUI", [BaseDriver] "appium:noReset": "true", [BaseDriver] "appium:unicodeKeyBoard": "true", [BaseDriver] "appium:resetKeyBoard": "true", [BaseDriver] "appium:ChromedriverExecutable": "D:/Study/Automation_Tester_Guide/Lesson6_appium/chromedriver", [BaseDriver] "appium:chromeOptions": { [BaseDriver] "androidProcess": "com.tencent.mm:appbrand0" [BaseDriver] }, [BaseDriver] "appium:adbPort": 5038 [BaseDriver] }, [BaseDriver] "firstMatch": [ [BaseDriver] {} [BaseDriver] ] [BaseDriver] } [BaseDriver] Capability 'noReset' changed from string to boolean. This may cause unexpected behavior [BaseDriver] The following capabilities were provided, but are not recognized by Appium: [BaseDriver] unicodeKeyBoard [BaseDriver] resetKeyBoard [BaseDriver] ChromedriverExecutable [BaseDriver] Session created with session id: b2b9d890-2525-4ec4-9e0b-631fc8ea704a [UiAutomator2] Starting 'com.tencent.mm' directly on the device [ADB] Using 'adb.exe' from 'D:\android-sdk_r24.4.1-windows\android-sdk-windows\platform-tools\adb.exe' [ADB] Running 'D:\android-sdk_r24.4.1-windows\android-sdk-windows\platform-tools\adb.exe -P 5038 start-server' [AndroidDriver] Retrieving device list [ADB] Trying to find a connected android device [ADB] Getting connected devices [ADB] Connected devices: [{"udid":"192.168.216.103:5555","state":"device"}] [AndroidDriver] Using device: 192.168.216.103:5555 [ADB] Using 'adb.exe' from 'D:\android-sdk_r24.4.1-windows\android-sdk-windows\platform-tools\adb.exe' [ADB] Running 'D:\android-sdk_r24.4.1-windows\android-sdk-windows\platform-tools\adb.exe -P 5038 start-server' [ADB] Setting device id to 192.168.216.103:5555 [ADB] Running 'D:\android-sdk_r24.4.1-windows\android-sdk-windows\platform-tools\adb.exe -P 5038 -s 192.168.216.103:5555 shell getprop ro.build.version.sdk' [ADB] Current device property 'ro.build.version.sdk': 27 [ADB] Device API level: 27 [AndroidDriver] No app sent in, not parsing package/activity [ADB] Running 'D:\android-sdk_r24.4.1-windows\android-sdk-windows\platform-tools\adb.exe -P 5038 -s 192.168.216.103:5555 wait-for-device' [ADB] Running 'D:\android-sdk_r24.4.1-windows\android-sdk-windows\platform-tools\adb.exe -P 5038 -s 192.168.216.103:5555 shell echo ping' [AndroidDriver] Pushing settings apk to device... [ADB] Getting install status for io.appium.settings [ADB] Running 'D:\android-sdk_r24.4.1-windows\android-sdk-windows\platform-tools\adb.exe -P 5038 -s 192.168.216.103:5555 shell dumpsys package io.appium.settings' [ADB] 'io.appium.settings' is installed [ADB] Getting package info for 'io.appium.settings' [ADB] Running 'D:\android-sdk_r24.4.1-windows\android-sdk-windows\platform-tools\adb.exe -P 5038 -s 192.168.216.103:5555 shell dumpsys package io.appium.settings' [ADB] The version name of the installed 'io.appium.settings' is greater or equal to the application version name ('3.2.1' >= '3.2.1') [ADB] There is no need to install/upgrade 'D:\Study\Automation_Tester_Guide\Lesson6_appium\Appium-windows-1.19.1\resources\app\node_modules\appium\node_modules\io.appium.settings\apks\settings_apk-debug.apk' [ADB] Getting IDs of all 'io.appium.settings' processes [ADB] Running 'D:\android-sdk_r24.4.1-windows\android-sdk-windows\platform-tools\adb.exe -P 5038 -s 192.168.216.103\:5555 shell 'pgrep --help; echo $?'' [ADB] Running 'D:\android-sdk_r24.4.1-windows\android-sdk-windows\platform-tools\adb.exe -P 5038 -s 192.168.216.103:5555 shell pgrep -f \(\[\[:blank:\]\]\|\^\)io\.appium\.settings\(\[\[:blank:\]\]\|\$\)' [AndroidDriver] io.appium.settings is already running. There is no need to reset its permissions. [ADB] Running 'D:\android-sdk_r24.4.1-windows\android-sdk-windows\platform-tools\adb.exe -P 5038 -s 192.168.216.103:5555 shell appops set io.appium.settings android:mock_location allow' [Logcat] Starting logs capture with command: D:\\android-sdk_r24.4.1-windows\\android-sdk-windows\\platform-tools\\adb.exe -P 5038 -s 192.168.216.103\:5555 logcat -v threadtime [UiAutomator2] Forwarding UiAutomator2 Server port 6790 to local port 8203 [ADB] Forwarding system: 8203 to device: 6790 [ADB] Running 'D:\android-sdk_r24.4.1-windows\android-sdk-windows\platform-tools\adb.exe -P 5038 -s 192.168.216.103:5555 forward tcp:8203 tcp:6790' [ADB] Getting install status for io.appium.uiautomator2.server [ADB] Running 'D:\android-sdk_r24.4.1-windows\android-sdk-windows\platform-tools\adb.exe -P 5038 -s 192.168.216.103:5555 shell dumpsys package io.appium.uiautomator2.server' [ADB] 'io.appium.uiautomator2.server' is installed [ADB] Getting package info for 'io.appium.uiautomator2.server' [ADB] Running 'D:\android-sdk_r24.4.1-windows\android-sdk-windows\platform-tools\adb.exe -P 5038 -s 192.168.216.103:5555 shell dumpsys package io.appium.uiautomator2.server' [ADB] The version name of the installed 'io.appium.uiautomator2.server' is greater or equal to the application version name ('4.15.0' >= '4.15.0') [UiAutomator2] io.appium.uiautomator2.server installation state: sameVersionInstalled [ADB] Checking app cert for D:\Study\Automation_Tester_Guide\Lesson6_appium\Appium-windows-1.19.1\resources\app\node_modules\appium\node_modules\appium-uiautomator2-server\apks\appium-uiautomator2-server-v4.15.0.apk [ADB] Using 'apksigner.jar' from 'D:\android-sdk_r24.4.1-windows\android-sdk-windows\build-tools\28.0.3\lib\apksigner.jar' [ADB] Starting apksigner: 'C:\\Program Files\\Java\\jdk1.8.0_191\\bin\\java.exe' -Xmx1024M -Xss1m -jar D:\\android-sdk_r24.4.1-windows\\android-sdk-windows\\build-tools\\28.0.3\\lib\\apksigner.jar verify --print-certs D:\\Study\\Automation_Tester_Guide\\Lesson6_appium\\Appium-windows-1.19.1\\resources\\app\\node_modules\\appium\\node_modules\\appium-uiautomator2-server\\apks\\appium-uiautomator2-server-v4.15.0.apk [ADB] apksigner stdout: Signer #1 certificate DN: EMAILADDRESS=android@android.com, CN=Android, OU=Android, O=Android, L=Mountain View, ST=California, C=US [ADB] Signer #1 certificate SHA-256 digest: a40da80a59d170caa950cf15c18c454d47a39b26989d8b640ecd745ba71bf5dc [ADB] Signer #1 certificate SHA-1 digest: 61ed377e85d386a8dfee6b864bd85b0bfaa5af81 [ADB] Signer #1 certificate MD5 digest: e89b158e4bcf988ebd09eb83f5378e87 [ADB] [ADB] sha256 hash did match for 'appium-uiautomator2-server-v4.15.0.apk' [ADB] 'D:\Study\Automation_Tester_Guide\Lesson6_appium\Appium-windows-1.19.1\resources\app\node_modules\appium\node_modules\appium-uiautomator2-server\apks\appium-uiautomator2-server-v4.15.0.apk' is signed with the default certificate [ADB] Getting install status for io.appium.uiautomator2.server.test [ADB] Running 'D:\android-sdk_r24.4.1-windows\android-sdk-windows\platform-tools\adb.exe -P 5038 -s 192.168.216.103:5555 shell dumpsys package io.appium.uiautomator2.server.test' [ADB] 'io.appium.uiautomator2.server.test' is installed [ADB] Checking app cert for D:\Study\Automation_Tester_Guide\Lesson6_appium\Appium-windows-1.19.1\resources\app\node_modules\appium\node_modules\appium-uiautomator2-server\apks\appium-uiautomator2-server-debug-androidTest.apk [ADB] Starting apksigner: 'C:\\Program Files\\Java\\jdk1.8.0_191\\bin\\java.exe' -Xmx1024M -Xss1m -jar D:\\android-sdk_r24.4.1-windows\\android-sdk-windows\\build-tools\\28.0.3\\lib\\apksigner.jar verify --print-certs D:\\Study\\Automation_Tester_Guide\\Lesson6_appium\\Appium-windows-1.19.1\\resources\\app\\node_modules\\appium\\node_modules\\appium-uiautomator2-server\\apks\\appium-uiautomator2-server-debug-androidTest.apk [ADB] apksigner stdout: Signer #1 certificate DN: EMAILADDRESS=android@android.com, CN=Android, OU=Android, O=Android, L=Mountain View, ST=California, C=US [ADB] Signer #1 certificate SHA-256 digest: a40da80a59d170caa950cf15c18c454d47a39b26989d8b640ecd745ba71bf5dc [ADB] Signer #1 certificate SHA-1 digest: 61ed377e85d386a8dfee6b864bd85b0bfaa5af81 [ADB] Signer #1 certificate MD5 digest: e89b158e4bcf988ebd09eb83f5378e87 [ADB] [ADB] sha256 hash did match for 'appium-uiautomator2-server-debug-androidTest.apk' [ADB] 'D:\Study\Automation_Tester_Guide\Lesson6_appium\Appium-windows-1.19.1\resources\app\node_modules\appium\node_modules\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 [UiAutomator2] Waiting up to 30000ms for services to be available [ADB] Running 'D:\android-sdk_r24.4.1-windows\android-sdk-windows\platform-tools\adb.exe -P 5038 -s 192.168.216.103:5555 shell pm list instrumentation' [UiAutomator2] Instrumentation target 'io.appium.uiautomator2.server.test/androidx.test.runner.AndroidJUnitRunner' is available [UiAutomator2] No app capability. Assuming it is already on the device [UiAutomator2] Performing shallow cleanup of automation leftovers [UiAutomator2] The following obsolete sessions are still running: [null] [UiAutomator2] Cleaning up the obsolete sessions [Instrumentation] . [Instrumentation] Time: 238.466 [Instrumentation] [Instrumentation] OK (1 test) [Instrumentation] The process has exited with code 0 [ADB] Running 'D:\android-sdk_r24.4.1-windows\android-sdk-windows\platform-tools\adb.exe -P 5038 -s 192.168.216.103:5555 shell am force-stop io.appium.uiautomator2.server.test' [UiAutomator2] Starting UIAutomator2 server 4.15.0 [UiAutomator2] Using UIAutomator2 server from 'D:\Study\Automation_Tester_Guide\Lesson6_appium\Appium-windows-1.19.1\resources\app\node_modules\appium\node_modules\appium-uiautomator2-server\apks\appium-uiautomator2-server-v4.15.0.apk' and test from 'D:\Study\Automation_Tester_Guide\Lesson6_appium\Appium-windows-1.19.1\resources\app\node_modules\appium\node_modules\appium-uiautomator2-server\apks\appium-uiautomator2-server-debug-androidTest.apk' [UiAutomator2] Waiting up to 30000ms for UiAutomator2 to be online... [ADB] Creating ADB subprocess with args: ["-P",5038,"-s","192.168.216.103:5555","shell","am","instrument","-w","io.appium.uiautomator2.server.test/androidx.test.runner.AndroidJUnitRunner"] [WD Proxy] Matched '/status' to command name 'getStatus' [WD Proxy] Proxying [GET /status] to [GET http://127.0.0.1:8203/wd/hub/status] with no body [WD Proxy] socket hang up [WD Proxy] Matched '/status' to command name 'getStatus' [WD Proxy] Proxying [GET /status] to [GET http://127.0.0.1:8203/wd/hub/status] with no body [WD Proxy] socket hang up [WD Proxy] Matched '/status' to command name 'getStatus' [WD Proxy] Proxying [GET /status] to [GET http://127.0.0.1:8203/wd/hub/status] with no body [WD Proxy] socket hang up [WD Proxy] Matched '/status' to command name 'getStatus' [WD Proxy] Proxying [GET /status] to [GET http://127.0.0.1:8203/wd/hub/status] with no body [WD Proxy] socket hang up [WD Proxy] Matched '/status' to command name 'getStatus' [WD Proxy] Proxying [GET /status] to [GET http://127.0.0.1:8203/wd/hub/status] with no body [WD Proxy] socket hang up [WD Proxy] Matched '/status' to command name 'getStatus' [WD Proxy] Proxying [GET /status] to [GET http://127.0.0.1:8203/wd/hub/status] with no body [WD Proxy] socket hang up [Instrumentation] io.appium.uiautomator2.server.test.AppiumUiAutomator2Server: [WD Proxy] Matched '/status' to command name 'getStatus' [WD Proxy] Proxying [GET /status] to [GET http://127.0.0.1:8203/wd/hub/status] with no body [WD Proxy] socket hang up [WD Proxy] Matched '/status' to command name 'getStatus' [WD Proxy] Proxying [GET /status] to [GET http://127.0.0.1:8203/wd/hub/status] with no body [WD Proxy] Got response with status 200: {"sessionId":"None","value":{"message":"UiAutomator2 Server is ready to accept commands","ready":true}} [UiAutomator2] The initialization of the instrumentation process took 8145ms [WD Proxy] Matched '/session' to command name 'createSession' [WD Proxy] Proxying [POST /session] to [POST http://127.0.0.1:8203/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":"192.168.216.103:5555","appPackage":"com.tencent.mm","appActivity":"com.tencent.mm.ui.LauncherUI","noReset":true,"unicodeKeyBoard":"true","resetKeyBoard":"true","ChromedriverExecutable":"D:/Study/Automation_Tester_Guide/Lesson6_appium/chromedriver","chromeOptions":{"androidProcess":"com.tencent.mm:appbrand0"},"adbPort":5038},"platformName":"android","deviceName":"192.168.216.103:5555","appPackage":"com.tencent.mm","appActivity":"com.tencent.mm.ui.LauncherUI","noReset":true,"unicodeKeyBoard":"true","resetKeyBoard":"true","ChromedriverExecutable":"D:/Study/Automation_Tester_Guide/Lesson6_appium/chromedriver","chromeOptions":{"androidProcess":"com.tencent.mm:appbrand0"},"adbPort":5038,"deviceUDID":"192.168.216.103:5555"}],"alwaysMatch":{}}} [WD Proxy] Got response with status 200: {"sessionId":"ab49a786-15c3-4529-b0fe-fcca08823234","value":{"capabilities":{"firstMatch":[{"platform":"LINUX","webStorageEnabled":false,"takesScreenshot":true,"javascriptEnabled":true,"databaseEnabled":false,"networkConnectionEnabled":true,"locationContextEnabled":false,"warnings":{},"desired":{"platformName":"android","deviceName":"192.168.216.103:5555","appPackage":"com.tencent.mm","appActivity":"com.tencent.mm.ui.LauncherUI","noReset":true,"unicodeKeyBoard":"true","resetKeyBoard":"true","ChromedriverExecutable":"D:/Study/Automation_Tester_Guide/Lesson6_appium/chromedriver","chromeOptions":{"androidProcess":"com.tencent.mm:appbrand0"},"adbPort":5038},"platformName":"android","deviceName":"192.168.216.103:5555","appPackage":"com.tencent.mm","appActivity":"com.tencent.mm.ui.LauncherUI","noReset":true,"unicodeKeyBoard":"true","resetKeyBoard":"true","ChromedriverExecutable":"D:/Study/Automation_Tester_Guide/Lesson6_appium/chromedriver","chromeOptions":{"androidProcess":"com.tencent.mm:appbrand0"},"adbPort":... [WD Proxy] Determined the downstream protocol as 'W3C' [WD Proxy] Proxying [GET /appium/device/info] to [GET http://127.0.0.1:8203/wd/hub/session/ab49a786-15c3-4529-b0fe-fcca08823234/appium/device/info] with no body [WD Proxy] Got response with status 200: {"sessionId":"ab49a786-15c3-4529-b0fe-fcca08823234","value":{"androidId":"b6ede60c0bcfeb06","apiVersion":"27","bluetooth":null,"brand":"Android","carrierName":"Android","displayDensity":420,"locale":"en_US","manufacturer":"unknown","model":"Google Pixel","networks":[{"capabilities":{"SSID":null,"linkDownBandwidthKbps":1048576,"linkUpstreamBandwidthKbps":1048576,"networkCapabilities":"NET_CAPABILITY_NOT_METERED,NET_CAPABILITY_INTERNET,NET_CAPABILITY_NOT_RESTRICTED,NET_CAPABILITY_TRUSTED,NET_CAPABILITY_NOT_VPN,NET_CAPABILITY_NOT_ROAMING","signalStrength":-50,"transportTypes":"TRANSPORT_WIFI"},"detailedState":"CONNECTED","extraInfo":"\"AndroidWifi\"","isAvailable":true,"isConnected":true,"isFailover":false,"isRoaming":false,"state":"CONNECTED","subtype":0,"subtypeName":"","type":1,"typeName":"WIFI"}],"platformVersion":"8.1.0","realDisplaySize":"1080x1920","timeZone":"America/New_York"}} [ADB] Running 'D:\android-sdk_r24.4.1-windows\android-sdk-windows\platform-tools\adb.exe -P 5038 -s 192.168.216.103:5555 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' [ADB] Running 'D:\android-sdk_r24.4.1-windows\android-sdk-windows\platform-tools\adb.exe -P 5038 -s 192.168.216.103:5555 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' [WD Proxy] Proxying [GET /appium/device/pixel_ratio] to [GET http://127.0.0.1:8203/wd/hub/session/ab49a786-15c3-4529-b0fe-fcca08823234/appium/device/pixel_ratio] with no body [WD Proxy] Got response with status 200: {"sessionId":"ab49a786-15c3-4529-b0fe-fcca08823234","value":2.625} [WD Proxy] Matched '/appium/device/system_bars' to command name 'getSystemBars' [WD Proxy] Proxying [GET /appium/device/system_bars] to [GET http://127.0.0.1:8203/wd/hub/session/ab49a786-15c3-4529-b0fe-fcca08823234/appium/device/system_bars] with no body [WD Proxy] Got response with status 200: {"sessionId":"ab49a786-15c3-4529-b0fe-fcca08823234","value":{"statusBar":63}} [WD Proxy] Matched '/window/current/size' to command name 'getWindowSize' [WD Proxy] Proxying [GET /window/current/size] to [GET http://127.0.0.1:8203/wd/hub/session/ab49a786-15c3-4529-b0fe-fcca08823234/window/current/size] with no body [WD Proxy] Got response with status 200: {"sessionId":"ab49a786-15c3-4529-b0fe-fcca08823234","value":{"height":1794,"width":1080}} [Appium] New AndroidUiautomator2Driver session created successfully, session b2b9d890-2525-4ec4-9e0b-631fc8ea704a added to master session list [BaseDriver] Event 'newSessionStarted' logged at 1613992812003 (19:20:12 GMT+0800 (中国标准时间)) [W3C (b2b9d890)] Cached the protocol value 'W3C' for the new session b2b9d890-2525-4ec4-9e0b-631fc8ea704a [W3C (b2b9d890)] 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":"192.168.216.103:5555","appPackage":"com.tencent.mm","appActivity":"com.tencent.mm.ui.LauncherUI","noReset":true,"unicodeKeyBoard":"true","resetKeyBoard":"true","ChromedriverExecutable":"D:/Study/Automation_Tester_Guide/Lesson6_appium/chromedriver","chromeOptions":{"androidProcess":"com.tencent.mm:appbrand0"},"adbPort":5038},"platformName":"android","deviceName":"192.168.216.103:5555","appPackage":"com.tencent.mm","appActivity":"com.tencent.mm.ui.LauncherUI","noReset":true,"unicodeKeyBoard":"true","resetKeyBoard":"true","ChromedriverExecutable":"D:/Study/Automation_Tester_Guide/Lesson6_appium/chromedriver","chromeOptions":{"androidProcess":"com.tencent.mm:appbrand0"},"adbPort":5038,"deviceUDID":"192.168.216.103:5555","deviceApiLevel":27,"platformVersi... [HTTP] <-- POST /wd/hub/session 200 119999 ms - 1312 [HTTP] [HTTP] --> POST /wd/hub/session/b2b9d890-2525-4ec4-9e0b-631fc8ea704a/timeouts [HTTP] {"implicit":30000} [W3C (b2b9d890)] Calling AppiumDriver.timeouts() with args: [null,null,null,null,30000,"b2b9d890-2525-4ec4-9e0b-631fc8ea704a"] [BaseDriver] W3C timeout argument: {"implicit":30000}} [BaseDriver] Set implicit wait to 30000ms [W3C (b2b9d890)] Responding to client with driver.timeouts() result: null [HTTP] <-- POST /wd/hub/session/b2b9d890-2525-4ec4-9e0b-631fc8ea704a/timeouts 200 2 ms - 14 [HTTP] [HTTP] --> POST /wd/hub/session/b2b9d890-2525-4ec4-9e0b-631fc8ea704a/element [HTTP] {"using":"xpath","value":"//*[@text='Contacts']"} [W3C (b2b9d890)] Calling AppiumDriver.findElement() with args: ["xpath","//*[@text='Contacts']","b2b9d890-2525-4ec4-9e0b-631fc8ea704a"] [BaseDriver] Valid locator strategies for this request: xpath, id, class name, accessibility id, css selector, -android uiautomator [BaseDriver] Waiting up to 30000 ms for condition [WD Proxy] Matched '/element' to command name 'findElement' [WD Proxy] Proxying [POST /element] to [POST http://127.0.0.1:8203/wd/hub/session/ab49a786-15c3-4529-b0fe-fcca08823234/element] with body: {"strategy":"xpath","selector":"//*[@text='Contacts']","context":"","multiple":false} [WD Proxy] Got response with status 404: {"sessionId":"ab49a786-15c3-4529-b0fe-fcca08823234","value":{"error":"no such element","message":"An element could not be located on the page using the given search parameters","stacktrace":"io.appium.uiautomator2.common.exceptions.ElementNotFoundException: An element could not be located on the page using the given search parameters\n\tat io.appium.uiautomator2.handler.FindElement.findElement(FindElement.java:96)\n\tat io.appium.uiautomator2.handler.FindElement.safeHandle(FindElement.java:71)\n\tat io.appium.uiautomator2.handler.request.SafeRequestHandler.handle(SafeRequestHandler.java:41)\n\tat io.appium.uiautomator2.server.AppiumServlet.handleRequest(AppiumServlet.java:261)\n\tat io.appium.uiautomator2.server.AppiumServlet.handleHttpRequest(AppiumServlet.java:255)\n\tat io.appium.uiautomator2.http.ServerHandler.channelRead(ServerHandler.java:68)\n\tat io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:366)\n\tat io.netty.channel.AbstractChannelHandlerCont... [W3C] Matched W3C error code 'no such element' to NoSuchElementError [BaseDriver] Waited for 715 ms so far [WD Proxy] Matched '/element' to command name 'findElement' [WD Proxy] Proxying [POST /element] to [POST http://127.0.0.1:8203/wd/hub/session/ab49a786-15c3-4529-b0fe-fcca08823234/element] with body: {"strategy":"xpath","selector":"//*[@text='Contacts']","context":"","multiple":false} [WD Proxy] Got response with status 404: {"sessionId":"ab49a786-15c3-4529-b0fe-fcca08823234","value":{"error":"no such element","message":"An element could not be located on the page using the given search parameters","stacktrace":"io.appium.uiautomator2.common.exceptions.ElementNotFoundException: An element could not be located on the page using the given search parameters\n\tat io.appium.uiautomator2.handler.FindElement.findElement(FindElement.java:96)\n\tat io.appium.uiautomator2.handler.FindElement.safeHandle(FindElement.java:71)\n\tat io.appium.uiautomator2.handler.request.SafeRequestHandler.handle(SafeRequestHandler.java:41)\n\tat io.appium.uiautomator2.server.AppiumServlet.handleRequest(AppiumServlet.java:261)\n\tat io.appium.uiautomator2.server.AppiumServlet.handleHttpRequest(AppiumServlet.java:255)\n\tat io.appium.uiautomator2.http.ServerHandler.channelRead(ServerHandler.java:68)\n\tat io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:366)\n\tat io.netty.channel.AbstractChannelHandlerCont... [W3C] Matched W3C error code 'no such element' to NoSuchElementError [BaseDriver] Waited for 1236 ms so far [WD Proxy] Matched '/element' to command name 'findElement' [WD Proxy] Proxying [POST /element] to [POST http://127.0.0.1:8203/wd/hub/session/ab49a786-15c3-4529-b0fe-fcca08823234/element] with body: {"strategy":"xpath","selector":"//*[@text='Contacts']","context":"","multiple":false} [WD Proxy] Got response with status 404: {"sessionId":"ab49a786-15c3-4529-b0fe-fcca08823234","value":{"error":"no such element","message":"An element could not be located on the page using the given search parameters","stacktrace":"io.appium.uiautomator2.common.exceptions.ElementNotFoundException: An element could not be located on the page using the given search parameters\n\tat io.appium.uiautomator2.handler.FindElement.findElement(FindElement.java:96)\n\tat io.appium.uiautomator2.handler.FindElement.safeHandle(FindElement.java:71)\n\tat io.appium.uiautomator2.handler.request.SafeRequestHandler.handle(SafeRequestHandler.java:41)\n\tat io.appium.uiautomator2.server.AppiumServlet.handleRequest(AppiumServlet.java:261)\n\tat io.appium.uiautomator2.server.AppiumServlet.handleHttpRequest(AppiumServlet.java:255)\n\tat io.appium.uiautomator2.http.ServerHandler.channelRead(ServerHandler.java:68)\n\tat io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:366)\n\tat io.netty.channel.AbstractChannelHandlerCont... [W3C] Matched W3C error code 'no such element' to NoSuchElementError [BaseDriver] Waited for 1772 ms so far [WD Proxy] Matched '/element' to command name 'findElement' [WD Proxy] Proxying [POST /element] to [POST http://127.0.0.1:8203/wd/hub/session/ab49a786-15c3-4529-b0fe-fcca08823234/element] with body: {"strategy":"xpath","selector":"//*[@text='Contacts']","context":"","multiple":false} [WD Proxy] Got response with status 404: {"sessionId":"ab49a786-15c3-4529-b0fe-fcca08823234","value":{"error":"no such element","message":"An element could not be located on the page using the given search parameters","stacktrace":"io.appium.uiautomator2.common.exceptions.ElementNotFoundException: An element could not be located on the page using the given search parameters\n\tat io.appium.uiautomator2.handler.FindElement.findElement(FindElement.java:96)\n\tat io.appium.uiautomator2.handler.FindElement.safeHandle(FindElement.java:71)\n\tat io.appium.uiautomator2.handler.request.SafeRequestHandler.handle(SafeRequestHandler.java:41)\n\tat io.appium.uiautomator2.server.AppiumServlet.handleRequest(AppiumServlet.java:261)\n\tat io.appium.uiautomator2.server.AppiumServlet.handleHttpRequest(AppiumServlet.java:255)\n\tat io.appium.uiautomator2.http.ServerHandler.channelRead(ServerHandler.java:68)\n\tat io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:366)\n\tat io.netty.channel.AbstractChannelHandlerCont... [W3C] Matched W3C error code 'no such element' to NoSuchElementError [BaseDriver] Waited for 2341 ms so far [WD Proxy] Matched '/element' to command name 'findElement' [WD Proxy] Proxying [POST /element] to [POST http://127.0.0.1:8203/wd/hub/session/ab49a786-15c3-4529-b0fe-fcca08823234/element] with body: {"strategy":"xpath","selector":"//*[@text='Contacts']","context":"","multiple":false} [WD Proxy] Got response with status 404: {"sessionId":"ab49a786-15c3-4529-b0fe-fcca08823234","value":{"error":"no such element","message":"An element could not be located on the page using the given search parameters","stacktrace":"io.appium.uiautomator2.common.exceptions.ElementNotFoundException: An element could not be located on the page using the given search parameters\n\tat io.appium.uiautomator2.handler.FindElement.findElement(FindElement.java:96)\n\tat io.appium.uiautomator2.handler.FindElement.safeHandle(FindElement.java:71)\n\tat io.appium.uiautomator2.handler.request.SafeRequestHandler.handle(SafeRequestHandler.java:41)\n\tat io.appium.uiautomator2.server.AppiumServlet.handleRequest(AppiumServlet.java:261)\n\tat io.appium.uiautomator2.server.AppiumServlet.handleHttpRequest(AppiumServlet.java:255)\n\tat io.appium.uiautomator2.http.ServerHandler.channelRead(ServerHandler.java:68)\n\tat io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:366)\n\tat io.netty.channel.AbstractChannelHandlerCont... [W3C] Matched W3C error code 'no such element' to NoSuchElementError [BaseDriver] Waited for 3309 ms so far [WD Proxy] Matched '/element' to command name 'findElement' [WD Proxy] Proxying [POST /element] to [POST http://127.0.0.1:8203/wd/hub/session/ab49a786-15c3-4529-b0fe-fcca08823234/element] with body: {"strategy":"xpath","selector":"//*[@text='Contacts']","context":"","multiple":false} [WD Proxy] Got response with status 200: {"sessionId":"ab49a786-15c3-4529-b0fe-fcca08823234","value":{"ELEMENT":"d9e4be3b-95fa-4b27-b1b8-991a2e7ff0f0","element-6066-11e4-a52e-4f735466cecf":"d9e4be3b-95fa-4b27-b1b8-991a2e7ff0f0"}} [W3C (b2b9d890)] Responding to client with driver.findElement() result: {"element-6066-11e4-a52e-4f735466cecf":"d9e4be3b-95fa-4b27-b1b8-991a2e7ff0f0","ELEMENT":"d9e4be3b-95fa-4b27-b1b8-991a2e7ff0f0"} [HTTP] <-- POST /wd/hub/session/b2b9d890-2525-4ec4-9e0b-631fc8ea704a/element 200 4919 ms - 137 [HTTP] [HTTP] --> POST /wd/hub/session/b2b9d890-2525-4ec4-9e0b-631fc8ea704a/timeouts [HTTP] {"implicit":10000} [W3C (b2b9d890)] Calling AppiumDriver.timeouts() with args: [null,null,null,null,10000,"b2b9d890-2525-4ec4-9e0b-631fc8ea704a"] [BaseDriver] W3C timeout argument: {"implicit":10000}} [BaseDriver] Set implicit wait to 10000ms [W3C (b2b9d890)] Responding to client with driver.timeouts() result: null [HTTP] <-- POST /wd/hub/session/b2b9d890-2525-4ec4-9e0b-631fc8ea704a/timeouts 200 1 ms - 14 [HTTP] [HTTP] --> GET /wd/hub/session/b2b9d890-2525-4ec4-9e0b-631fc8ea704a/window/rect [HTTP] {} [W3C (b2b9d890)] Calling AppiumDriver.getWindowRect() with args: ["b2b9d890-2525-4ec4-9e0b-631fc8ea704a"] [WD Proxy] Matched '/window/current/size' to command name 'getWindowSize' [WD Proxy] Proxying [GET /window/current/size] to [GET http://127.0.0.1:8203/wd/hub/session/ab49a786-15c3-4529-b0fe-fcca08823234/window/current/size] with no body [WD Proxy] Got response with status 200: {"sessionId":"ab49a786-15c3-4529-b0fe-fcca08823234","value":{"height":1794,"width":1080}} [W3C (b2b9d890)] Responding to client with driver.getWindowRect() result: {"width":1080,"height":1794,"x":0,"y":0} [HTTP] <-- GET /wd/hub/session/b2b9d890-2525-4ec4-9e0b-631fc8ea704a/window/rect 200 17 ms - 50 [HTTP] [HTTP] --> POST /wd/hub/session/b2b9d890-2525-4ec4-9e0b-631fc8ea704a/touch/perform [HTTP] {"actions":[{"action":"press","options":{"x":540,"y":358}},{"action":"wait","options":{"ms":2000}},{"action":"moveTo","options":{"x":540,"y":1614}},{"action":"release","options":{}}]} [W3C (b2b9d890)] Calling AppiumDriver.performTouch() with args: [[{"action":"press","options":{"x":540,"y":358}},{"action":"wait","options":{"ms":2000}},{"action":"moveTo","options":{"x":540,"y":1614}},{"action":"release","options":{}}],"b2b9d890-2525-4ec4-9e0b-631fc8ea704a"] [WD Proxy] Matched '/touch/perform' to command name 'performTouch' [WD Proxy] Proxying [POST /touch/perform] to [POST http://127.0.0.1:8203/wd/hub/session/ab49a786-15c3-4529-b0fe-fcca08823234/touch/perform] with body: {"startX":540,"startY":358,"endX":540,"endY":1614,"steps":56} [WD Proxy] Got response with status 200: {"sessionId":"ab49a786-15c3-4529-b0fe-fcca08823234","value":null} [W3C (b2b9d890)] Responding to client with driver.performTouch() result: null [HTTP] <-- POST /wd/hub/session/b2b9d890-2525-4ec4-9e0b-631fc8ea704a/touch/perform 200 2128 ms - 14 [HTTP] [HTTP] --> POST /wd/hub/session/b2b9d890-2525-4ec4-9e0b-631fc8ea704a/element [HTTP] {"using":"id","value":"com.tencent.mm:id/dt5"} [W3C (b2b9d890)] Calling AppiumDriver.findElement() with args: ["id","com.tencent.mm:id/dt5","b2b9d890-2525-4ec4-9e0b-631fc8ea704a"] [BaseDriver] Valid locator strategies for this request: xpath, id, class name, accessibility id, css selector, -android uiautomator [BaseDriver] Waiting up to 10000 ms for condition [WD Proxy] Matched '/element' to command name 'findElement' [WD Proxy] Proxying [POST /element] to [POST http://127.0.0.1:8203/wd/hub/session/ab49a786-15c3-4529-b0fe-fcca08823234/element] with body: {"strategy":"id","selector":"com.tencent.mm:id/dt5","context":"","multiple":false} [WD Proxy] Got response with status 200: {"sessionId":"ab49a786-15c3-4529-b0fe-fcca08823234","value":{"ELEMENT":"cca73616-31a0-4016-b9f1-124c2d04e9c0","element-6066-11e4-a52e-4f735466cecf":"cca73616-31a0-4016-b9f1-124c2d04e9c0"}} [W3C (b2b9d890)] Responding to client with driver.findElement() result: {"element-6066-11e4-a52e-4f735466cecf":"cca73616-31a0-4016-b9f1-124c2d04e9c0","ELEMENT":"cca73616-31a0-4016-b9f1-124c2d04e9c0"} [HTTP] <-- POST /wd/hub/session/b2b9d890-2525-4ec4-9e0b-631fc8ea704a/element 200 380 ms - 137 [HTTP] [HTTP] --> POST /wd/hub/session/b2b9d890-2525-4ec4-9e0b-631fc8ea704a/element/cca73616-31a0-4016-b9f1-124c2d04e9c0/click [HTTP] {"id":"cca73616-31a0-4016-b9f1-124c2d04e9c0"} [W3C (b2b9d890)] Calling AppiumDriver.click() with args: ["cca73616-31a0-4016-b9f1-124c2d04e9c0","b2b9d890-2525-4ec4-9e0b-631fc8ea704a"] [WD Proxy] Matched '/element/cca73616-31a0-4016-b9f1-124c2d04e9c0/click' to command name 'click' [WD Proxy] Proxying [POST /element/cca73616-31a0-4016-b9f1-124c2d04e9c0/click] to [POST http://127.0.0.1:8203/wd/hub/session/ab49a786-15c3-4529-b0fe-fcca08823234/element/cca73616-31a0-4016-b9f1-124c2d04e9c0/click] with body: {"element":"cca73616-31a0-4016-b9f1-124c2d04e9c0"} [WD Proxy] Got response with status 200: {"sessionId":"ab49a786-15c3-4529-b0fe-fcca08823234","value":null} [W3C (b2b9d890)] Responding to client with driver.click() result: null [HTTP] <-- POST /wd/hub/session/b2b9d890-2525-4ec4-9e0b-631fc8ea704a/element/cca73616-31a0-4016-b9f1-124c2d04e9c0/click 200 19 ms - 14 [HTTP] [HTTP] --> GET /wd/hub/session/b2b9d890-2525-4ec4-9e0b-631fc8ea704a/contexts [HTTP] {} [W3C (b2b9d890)] Calling AppiumDriver.getContexts() with args: ["b2b9d890-2525-4ec4-9e0b-631fc8ea704a"] [AndroidDriver] Getting a list of available webviews [ADB] Running 'D:\android-sdk_r24.4.1-windows\android-sdk-windows\platform-tools\adb.exe -P 5038 -s 192.168.216.103:5555 shell cat /proc/net/unix' [AndroidDriver] Found no active devtools sockets [AndroidDriver] Other sockets are: [ [AndroidDriver] "0000000000000000: 00000002 00000000 00010000 0001 01 121656 @.*.*.*._devtools_remote_12728", [AndroidDriver] "0000000000000000: 00000002 00000000 00010000 0005 01 11631 @jdwp-control", [AndroidDriver] "0000000000000000: 00000003 00000000 00000000 0005 03 122429 @jdwp-control", [AndroidDriver] "0000000000000000: 00000003 00000000 00000000 0005 03 116528 @jdwp-control", [AndroidDriver] "0000000000000000: 00000003 00000000 00000000 0005 03 26794 @jdwp-control", [AndroidDriver] "0000000000000000: 00000003 00000000 00000000 0005 03 19859 @jdwp-control", [AndroidDriver] "0000000000000000: 00000003 00000000 00000000 0005 03 12183 @jdwp-control", [AndroidDriver] "0000000000000000: 00000003 00000000 00000000 0005 03 114494 @jdwp-control", [AndroidDriver] "0000000000000000: 00000003 00000000 00000000 0005 03 14838 @jdwp-control", [AndroidDriver] "0000000000000000: 00000003 00000000 00000000 0005 03 15009 @jdwp-control", [AndroidDriver] "0000000000000000: 00000003 00000000 00000000 0005 03 120762 @jdwp-control", [AndroidDriver] "0000000000000000: 00000003 00000000 00000000 0005 03 120608 @jdwp-control", [AndroidDriver] "0000000000000000: 00000003 00000000 00000000 0005 03 25859 @jdwp-control", [AndroidDriver] "0000000000000000: 00000003 00000000 00000000 0005 03 123196 @jdwp-control", [AndroidDriver] "0000000000000000: 00000003 00000000 00000000 0005 03 116862 @jdwp-control", [AndroidDriver] "0000000000000000: 00000003 00000000 00000000 0005 03 17337 @jdwp-control", [AndroidDriver] "0000000000000000: 00000003 00000000 00000000 0005 03 15026 @jdwp-control", [AndroidDriver] "0000000000000000: 00000003 00000000 00000000 0005 03 45111 @jdwp-control", [AndroidDriver] "0000000000000000: 00000003 00000000 00000000 0005 03 17354 @jdwp-control", [AndroidDriver] "0000000000000000: 00000003 00000000 00000000 0005 03 13920 @jdwp-control", [AndroidDriver] "0000000000000000: 00000003 00000000 00000000 0005 03 19970 @jdwp-control", [AndroidDriver] "0000000000000000: 00000003 00000000 00000000 0005 03 124228 @jdwp-control", [AndroidDriver] "0000000000000000: 00000003 00000000 00000000 0005 03 18346 @jdwp-control", [AndroidDriver] "0000000000000000: 00000003 00000000 00000000 0005 03 115998 @jdwp-control", [AndroidDriver] "0000000000000000: 00000003 00000000 00000000 0005 03 14494 @jdwp-control", [AndroidDriver] "0000000000000000: 00000003 00000000 00000000 0005 03 18474 @jdwp-control", [AndroidDriver] "0000000000000000: 00000003 00000000 00000000 0005 03 133249 @jdwp-control", [AndroidDriver] "0000000000000000: 00000003 00000000 00000000 0005 03 116500 @jdwp-control" [AndroidDriver] ] [AndroidDriver] Found 0 webviews: [] [AndroidDriver] Available contexts: ["NATIVE_APP"] [W3C (b2b9d890)] Responding to client with driver.getContexts() result: ["NATIVE_APP"] [HTTP] <-- GET /wd/hub/session/b2b9d890-2525-4ec4-9e0b-631fc8ea704a/contexts 200 6182 ms - 24 [HTTP] [HTTP] --> POST /wd/hub/session/b2b9d890-2525-4ec4-9e0b-631fc8ea704a/context [HTTP] {"name":"WEBVIEW_xweb"} [W3C (b2b9d890)] Calling AppiumDriver.setContext() with args: ["WEBVIEW_xweb","b2b9d890-2525-4ec4-9e0b-631fc8ea704a"] [AndroidDriver] Getting a list of available webviews [ADB] Running 'D:\android-sdk_r24.4.1-windows\android-sdk-windows\platform-tools\adb.exe -P 5038 -s 192.168.216.103:5555 shell cat /proc/net/unix' [AndroidDriver] Found no active devtools sockets [AndroidDriver] Other sockets are: [ [AndroidDriver] "0000000000000000: 00000002 00000000 00010000 0001 01 121656 @.*.*.*._devtools_remote_12728", [AndroidDriver] "0000000000000000: 00000002 00000000 00010000 0005 01 11631 @jdwp-control", [AndroidDriver] "0000000000000000: 00000003 00000000 00000000 0005 03 122429 @jdwp-control", [AndroidDriver] "0000000000000000: 00000003 00000000 00000000 0005 03 116528 @jdwp-control", [AndroidDriver] "0000000000000000: 00000003 00000000 00000000 0005 03 26794 @jdwp-control", [AndroidDriver] "0000000000000000: 00000003 00000000 00000000 0005 03 19859 @jdwp-control", [AndroidDriver] "0000000000000000: 00000003 00000000 00000000 0005 03 12183 @jdwp-control", [AndroidDriver] "0000000000000000: 00000003 00000000 00000000 0005 03 114494 @jdwp-control", [AndroidDriver] "0000000000000000: 00000003 00000000 00000000 0005 03 14838 @jdwp-control", [AndroidDriver] "0000000000000000: 00000003 00000000 00000000 0005 03 15009 @jdwp-control", [AndroidDriver] "0000000000000000: 00000003 00000000 00000000 0005 03 135274 @jdwp-control", [AndroidDriver] "0000000000000000: 00000003 00000000 00000000 0005 03 120762 @jdwp-control", [AndroidDriver] "0000000000000000: 00000003 00000000 00000000 0005 03 25859 @jdwp-control", [AndroidDriver] "0000000000000000: 00000003 00000000 00000000 0005 03 123196 @jdwp-control", [AndroidDriver] "0000000000000000: 00000003 00000000 00000000 0005 03 116862 @jdwp-control", [AndroidDriver] "0000000000000000: 00000003 00000000 00000000 0005 03 17337 @jdwp-control", [AndroidDriver] "0000000000000000: 00000003 00000000 00000000 0005 03 15026 @jdwp-control", [AndroidDriver] "0000000000000000: 00000003 00000000 00000000 0005 03 45111 @jdwp-control", [AndroidDriver] "0000000000000000: 00000003 00000000 00000000 0005 03 17354 @jdwp-control", [AndroidDriver] "0000000000000000: 00000003 00000000 00000000 0005 03 13920 @jdwp-control", [AndroidDriver] "0000000000000000: 00000003 00000000 00000000 0005 03 19970 @jdwp-control", [AndroidDriver] "0000000000000000: 00000003 00000000 00000000 0005 03 124228 @jdwp-control", [AndroidDriver] "0000000000000000: 00000003 00000000 00000000 0005 03 18346 @jdwp-control", [AndroidDriver] "0000000000000000: 00000003 00000000 00000000 0005 03 115998 @jdwp-control", [AndroidDriver] "0000000000000000: 00000003 00000000 00000000 0005 03 14494 @jdwp-control", [AndroidDriver] "0000000000000000: 00000003 00000000 00000000 0005 03 18474 @jdwp-control", [AndroidDriver] "0000000000000000: 00000003 00000000 00000000 0005 03 133249 @jdwp-control", [AndroidDriver] "0000000000000000: 00000003 00000000 00000000 0005 03 116500 @jdwp-control" [AndroidDriver] ] [AndroidDriver] Found 0 webviews: [] [AndroidDriver] Available contexts: ["NATIVE_APP"] [W3C (b2b9d890)] Encountered internal error running command: NoSuchContextError: No such context found. [W3C (b2b9d890)] at AndroidUiautomator2Driver.setContext (D:\Study\Automation_Tester_Guide\Lesson6_appium\Appium-windows-1.19.1\resources\app\node_modules\appium\node_modules\appium-android-driver\lib\commands\context.js:57:11) [HTTP] <-- POST /wd/hub/session/b2b9d890-2525-4ec4-9e0b-631fc8ea704a/context 400 6115 ms - 357 [HTTP]