Comments (8)
Please provide the full server log
from appium.
Microsoft Windows [Version 10.0.22621.3447]
(c) Microsoft Corporation. All rights reserved.
C:\Windows\System32>
C:\Windows\System32>appium server --port 4723 --base-path /wd/hub --log ~/Documents/appium2.log
[Appium] Welcome to Appium v2.5.1
[Appium] Non-default server args:
[Appium] {
[Appium] basePath: '/wd/hub'
[Appium] }
[Appium] The autodetected Appium home path: C:\Users\MunishKumar.appium
[Appium] Attempting to load driver xcuitest...
[Appium] Attempting to load driver uiautomator2...
[Appium] Requiring driver at C:\Users\MunishKumar.appium\node_modules\appium-xcuitest-driver\build\index.js
[Appium] Requiring driver at C:\Users\MunishKumar.appium\node_modules\appium-uiautomator2-driver\build\index.js
[Appium] XCUITestDriver has been successfully loaded in 2.518s
[Appium] AndroidUiautomator2Driver has been successfully loaded in 2.518s
[Appium] Appium REST http interface listener started on http://0.0.0.0:4723/wd/hub
[Appium] You can provide the following URLs in your client code to connect to this server:
[Appium] http://192.168.1.9:4723/wd/hub
[Appium] http://127.0.0.1:4723/wd/hub (only accessible from the same host)
[Appium] Available drivers:
[Appium] - [email protected] (automationName 'XCUITest')
[Appium] - [email protected] (automationName 'UiAutomator2')
[Appium] No plugins have been installed. Use the "appium plugin" command to install the one(s) you want to use.
[HTTP] Request idempotency key: 406b76ab-0303-4966-b3cc-e375a715b560
[HTTP] --> POST /wd/hub/session
[HTTP] {"capabilities":{"firstMatch":[{"platformName":"Android","appium:automationName":"UiAutomator2","appium:deviceName":"Galaxy S20 FE 5G","appium:appPackage":"com.google.android.youtube","appium:app_wait_activity":"com.google.android.apps.youtube.app.watchwhile.InternalWatchWhileActivity","appium:udid":"RZCTA0S8CWD","appium:autoAcceptAlerts":"true","appium:newCommandTimeout":3000,"appium:adbExecTimeout":80000,"appium:trackScrollEvents":false}]}}
[AppiumDriver@68ab] Calling AppiumDriver.createSession() with args: [null,null,{"firstMatch":[{"platformName":"Android","appium:automationName":"UiAutomator2","appium:deviceName":"Galaxy S20 FE 5G","appium:appPackage":"com.google.android.youtube","appium:app_wait_activity":"com.google.android.apps.youtube.app.watchwhile.InternalWatchWhileActivity","appium:udid":"RZCTA0S8CWD","appium:autoAcceptAlerts":"true","appium:newCommandTimeout":3000,"appium:adbExecTimeout":80000,"appium:trackScrollEvents":false}]}]
[AppiumDriver@68ab] Event 'newSessionRequested' logged at 1715091766728 (19:52:46 GMT+0530 (India Standard Time))
[Appium] Attempting to find matching driver for automationName 'UiAutomator2' and platformName 'Android'
[Appium] The 'uiautomator2' driver was installed and matched caps.
[Appium] Will require it at C:\Users\MunishKumar.appium\node_modules\appium-uiautomator2-driver
[Appium] Requiring driver at C:\Users\MunishKumar.appium\node_modules\appium-uiautomator2-driver\build\index.js
[AppiumDriver@68ab] Appium v2.5.1 creating new AndroidUiautomator2Driver (v2.12.6) session
[AppiumDriver@68ab] Checking BaseDriver versions for Appium and AndroidUiautomator2Driver
[AppiumDriver@68ab] Appium's BaseDriver version is 9.5.2
[AppiumDriver@68ab] AndroidUiautomator2Driver's BaseDriver version is 9.5.2
[AndroidUiautomator2Driver@1a58] Creating session with W3C capabilities: {
[AndroidUiautomator2Driver@1a58] "alwaysMatch": {
[AndroidUiautomator2Driver@1a58] "platformName": "Android",
[AndroidUiautomator2Driver@1a58] "appium:automationName": "UiAutomator2",
[AndroidUiautomator2Driver@1a58] "appium:deviceName": "Galaxy S20 FE 5G",
[AndroidUiautomator2Driver@1a58] "appium:appPackage": "com.google.android.youtube",
[AndroidUiautomator2Driver@1a58] "appium:app_wait_activity": "com.google.android.apps.youtube.app.watchwhile.InternalWatchWhileActivity",
[AndroidUiautomator2Driver@1a58] "appium:udid": "RZCTA0S8CWD",
[AndroidUiautomator2Driver@1a58] "appium:autoAcceptAlerts": "true",
[AndroidUiautomator2Driver@1a58] "appium:newCommandTimeout": 3000,
[AndroidUiautomator2Driver@1a58] "appium:adbExecTimeout": 80000,
[AndroidUiautomator2Driver@1a58] "appium:trackScrollEvents": false
[AndroidUiautomator2Driver@1a58] },
[AndroidUiautomator2Driver@1a58] "firstMatch": [
[AndroidUiautomator2Driver@1a58] {}
[AndroidUiautomator2Driver@1a58] ]
[AndroidUiautomator2Driver@1a58] }
[AndroidUiautomator2Driver@1a58] The following provided capabilities were not recognized by this driver:
[AndroidUiautomator2Driver@1a58] deviceName
[AndroidUiautomator2Driver@1a58] app_wait_activity
[AndroidUiautomator2Driver@1a58] autoAcceptAlerts
[AndroidUiautomator2Driver@1a58] trackScrollEvents
[AndroidUiautomator2Driver@1a58 (27aeeea2)] Session created with session id: 27aeeea2-c3a9-4c07-b5c7-c0cde1e685f4
[AndroidUiautomator2Driver@1a58 (27aeeea2)] Starting 'com.google.android.youtube' directly on the device
[ADB] Found 1 'build-tools' folders under 'C:\Users\MunishKumar\AppData\Local\Android\Sdk' (newest first):
[ADB] C:/Users/MunishKumar/AppData/Local/Android/Sdk/build-tools/34.0.0
[ADB] Using 'adb.exe' from 'C:\Users\MunishKumar\AppData\Local\Android\Sdk\platform-tools\adb.exe'
[ADB] Running 'C:\Users\MunishKumar\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 start-server'
[AndroidDriver] Retrieving device list
[ADB] Trying to find a connected android device
[ADB] Getting connected devices
[ADB] Connected devices: [{"udid":"RZCTA0S8CWD","state":"device"}]
[AndroidDriver] Using device: RZCTA0S8CWD
[ADB] Using 'adb.exe' from 'C:\Users\MunishKumar\AppData\Local\Android\Sdk\platform-tools\adb.exe'
[ADB] Running 'C:\Users\MunishKumar\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 start-server'
[ADB] Setting device id to RZCTA0S8CWD
[ADB] Running 'C:\Users\MunishKumar\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s RZCTA0S8CWD shell getprop ro.build.version.sdk'
[ADB] Current device property 'ro.build.version.sdk': 33
[ADB] Getting device platform version
[ADB] Running 'C:\Users\MunishKumar\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s RZCTA0S8CWD shell getprop ro.build.version.release'
[ADB] Current device property 'ro.build.version.release': 13
[ADB] Device API level: 33
[AndroidUiautomator2Driver@1a58 (27aeeea2)] Relaxing hidden api policy
[ADB] Running 'C:\Users\MunishKumar\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s RZCTA0S8CWD shell 'settings put global hidden_api_policy_pre_p_apps 1;settings put global hidden_api_policy_p_apps 1;settings put global hidden_api_policy 1''
[AndroidDriver] No app sent in, not parsing package/activity
[ADB] Running 'C:\Users\MunishKumar\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s RZCTA0S8CWD wait-for-device'
[ADB] Running 'C:\Users\MunishKumar\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s RZCTA0S8CWD shell echo ping'
[AndroidDriver] Pushing settings apk to device...
[ADB] Getting install status for io.appium.settings
[ADB] Running 'C:\Users\MunishKumar\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s RZCTA0S8CWD shell dumpsys package io.appium.settings'
[ADB] 'io.appium.settings' is installed
[ADB] Getting package info for 'io.appium.settings'
[ADB] Running 'C:\Users\MunishKumar\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s RZCTA0S8CWD shell dumpsys package io.appium.settings'
[ADB] The version code of the installed 'io.appium.settings' is greater than the application version code (79 > 55)
[ADB] There is no need to downgrade 'io.appium.settings'
[ADB] Getting IDs of all 'io.appium.settings' processes
[ADB] Running 'C:\Users\MunishKumar\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s RZCTA0S8CWD shell 'pgrep --help; echo $?''
[ADB] Running 'C:\Users\MunishKumar\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s RZCTA0S8CWD 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 'C:\Users\MunishKumar\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s RZCTA0S8CWD shell appops set io.appium.settings android:mock_location allow'
[ADB] Running 'C:\Users\MunishKumar\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s RZCTA0S8CWD shell "[ -e '/data/local/tmp/mock_apps.json' ] && echo PASS"'
[ADB] Running 'C:\Users\MunishKumar\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s RZCTA0S8CWD shell cat /data/local/tmp/mock_apps.json'
[Logcat] Starting logs capture with command: C:\Users\MunishKumar\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s RZCTA0S8CWD logcat -v threadtime
[AndroidUiautomator2Driver@1a58 (27aeeea2)] Forwarding UiAutomator2 Server port 6790 to local port 8202
[ADB] Forwarding system: 8202 to device: 6790
[ADB] Running 'C:\Users\MunishKumar\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s RZCTA0S8CWD forward tcp:8202 tcp:6790'
[ADB] Getting install status for io.appium.uiautomator2.server
[ADB] Running 'C:\Users\MunishKumar\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s RZCTA0S8CWD 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 'C:\Users\MunishKumar\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s RZCTA0S8CWD 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 ('5.7.8' >= '5.7.8')
[AndroidUiautomator2Driver@1a58 (27aeeea2)] io.appium.uiautomator2.server installation state: sameVersionInstalled
[ADB] Checking app cert for C:\Users\MunishKumar.appium\node_modules\appium-uiautomator2-driver\node_modules\appium-uiautomator2-server\apks\appium-uiautomator2-server-v5.7.8.apk
[ADB] Using 'apksigner.jar' from 'C:\Users\MunishKumar\AppData\Local\Android\Sdk\apksigner.jar'
[ADB] Starting apksigner: 'C:\Program Files\Java\jdk-11\bin\java.exe' -Xmx1024M -Xss1m -jar C:\Users\MunishKumar\AppData\Local\Android\Sdk\apksigner.jar verify --print-certs C:\Users\MunishKumar\.appium\node_modules\appium-uiautomator2-driver\node_modules\appium-uiautomator2-server\apks\appium-uiautomator2-server-v5.7.8.apk
[ADB] apksigner stdout: Signer #1 certificate DN: EMAILADDRESS=[email protected], 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-v5.7.8.apk'
[ADB] 'C:\Users\MunishKumar.appium\node_modules\appium-uiautomator2-driver\node_modules\appium-uiautomator2-server\apks\appium-uiautomator2-server-v5.7.8.apk' is signed with the default certificate
[ADB] Getting install status for io.appium.uiautomator2.server.test
[ADB] Running 'C:\Users\MunishKumar\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s RZCTA0S8CWD shell dumpsys package io.appium.uiautomator2.server.test'
[ADB] 'io.appium.uiautomator2.server.test' is installed
[ADB] Checking app cert for C:\Users\MunishKumar.appium\node_modules\appium-uiautomator2-driver\node_modules\appium-uiautomator2-server\apks\appium-uiautomator2-server-debug-androidTest.apk
[ADB] Starting apksigner: 'C:\Program Files\Java\jdk-11\bin\java.exe' -Xmx1024M -Xss1m -jar C:\Users\MunishKumar\AppData\Local\Android\Sdk\apksigner.jar verify --print-certs C:\Users\MunishKumar\.appium\node_modules\appium-uiautomator2-driver\node_modules\appium-uiautomator2-server\apks\appium-uiautomator2-server-debug-androidTest.apk
[ADB] apksigner stdout: Signer #1 certificate DN: EMAILADDRESS=[email protected], 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] 'C:\Users\MunishKumar.appium\node_modules\appium-uiautomator2-driver\node_modules\appium-uiautomator2-server\apks\appium-uiautomator2-server-debug-androidTest.apk' is signed with the default certificate
[AndroidUiautomator2Driver@1a58 (27aeeea2)] Server packages are not going to be (re)installed
[AndroidUiautomator2Driver@1a58 (27aeeea2)] Waiting up to 30000ms for services to be available
[ADB] Running 'C:\Users\MunishKumar\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s RZCTA0S8CWD shell pm list instrumentation'
[AndroidUiautomator2Driver@1a58 (27aeeea2)] Instrumentation target 'io.appium.uiautomator2.server.test/androidx.test.runner.AndroidJUnitRunner' is available
[ADB] Adding packages ["io.appium.settings","io.appium.uiautomator2.server","io.appium.uiautomator2.server.test"] to Doze whitelist
[ADB] Got the following command chunks to execute: [["dumpsys","deviceidle","whitelist","+io.appium.settings",";","dumpsys","deviceidle","whitelist","+io.appium.uiautomator2.server",";","dumpsys","deviceidle","whitelist","+io.appium.uiautomator2.server.test",";"]]
[ADB] Running 'C:\Users\MunishKumar\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s RZCTA0S8CWD shell dumpsys deviceidle whitelist +io.appium.settings ; dumpsys deviceidle whitelist +io.appium.uiautomator2.server ; dumpsys deviceidle whitelist +io.appium.uiautomator2.server.test ;'
[AndroidUiautomator2Driver@1a58 (27aeeea2)] No app capability. Assuming it is already on the device
[ADB] Getting install status for com.google.android.youtube
[ADB] Running 'C:\Users\MunishKumar\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s RZCTA0S8CWD shell dumpsys package com.google.android.youtube'
[ADB] 'com.google.android.youtube' is installed
[ADB] Running 'C:\Users\MunishKumar\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s RZCTA0S8CWD shell am force-stop com.google.android.youtube'
[ADB] Running 'C:\Users\MunishKumar\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s RZCTA0S8CWD shell pm clear com.google.android.youtube'
[AndroidDriver] Performed fast reset on the installed 'com.google.android.youtube' application (stop and clear)
[AndroidUiautomator2Driver@1a58 (27aeeea2)] Performing shallow cleanup of automation leftovers
[AndroidUiautomator2Driver@1a58 (27aeeea2)] No obsolete sessions have been detected (socket hang up)
[ADB] Running 'C:\Users\MunishKumar\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s RZCTA0S8CWD shell am force-stop io.appium.uiautomator2.server.test'
[AndroidUiautomator2Driver@1a58 (27aeeea2)] Starting UIAutomator2 server 5.7.8
[AndroidUiautomator2Driver@1a58 (27aeeea2)] Using UIAutomator2 server from 'C:\Users\MunishKumar.appium\node_modules\appium-uiautomator2-driver\node_modules\appium-uiautomator2-server\apks\appium-uiautomator2-server-v5.7.8.apk' and test from 'C:\Users\MunishKumar.appium\node_modules\appium-uiautomator2-driver\node_modules\appium-uiautomator2-server\apks\appium-uiautomator2-server-debug-androidTest.apk'
[AndroidUiautomator2Driver@1a58 (27aeeea2)] Waiting up to 30000ms for UiAutomator2 to be online...
[ADB] Creating ADB subprocess with args: ["-P",5037,"-s","RZCTA0S8CWD","shell","am","instrument","-w","-e","disableAnalytics",true,"io.appium.uiautomator2.server.test/androidx.test.runner.AndroidJUnitRunner"]
[AndroidUiautomator2Driver@1a58 (27aeeea2)] Matched '/status' to command name 'getStatus'
[AndroidUiautomator2Driver@1a58 (27aeeea2)] Proxying [GET /status] to [GET http://127.0.0.1:8202/status] with no body
[AndroidUiautomator2Driver@1a58 (27aeeea2)] socket hang up
[Instrumentation] io.appium.uiautomator2.server.test.AppiumUiAutomator2Server:
[AndroidUiautomator2Driver@1a58 (27aeeea2)] Matched '/status' to command name 'getStatus'
[AndroidUiautomator2Driver@1a58 (27aeeea2)] Proxying [GET /status] to [GET http://127.0.0.1:8202/status] with no body
[AndroidUiautomator2Driver@1a58 (27aeeea2)] socket hang up
[AndroidUiautomator2Driver@1a58 (27aeeea2)] Matched '/status' to command name 'getStatus'
[AndroidUiautomator2Driver@1a58 (27aeeea2)] Proxying [GET /status] to [GET http://127.0.0.1:8202/status] with no body
[AndroidUiautomator2Driver@1a58 (27aeeea2)] Got response with status 200: {"sessionId":"None","value":{"message":"UiAutomator2 Server is ready to accept commands","ready":true}}
[AndroidUiautomator2Driver@1a58 (27aeeea2)] The initialization of the instrumentation process took 2122ms
[AndroidUiautomator2Driver@1a58 (27aeeea2)] Matched '/session' to command name 'createSession'
[AndroidUiautomator2Driver@1a58 (27aeeea2)] Proxying [POST /session] to [POST http://127.0.0.1:8202/session] with body: {"capabilities":{"firstMatch":[{"platform":"LINUX","webStorageEnabled":false,"takesScreenshot":true,"javascriptEnabled":true,"databaseEnabled":false,"networkConnectionEnabled":true,"locationContextEnabled":false,"warnings":{},"desired":{"platformName":"Android","automationName":"UiAutomator2","deviceName":"Galaxy S20 FE 5G","appPackage":"com.google.android.youtube","app_wait_activity":"com.google.android.apps.youtube.app.watchwhile.InternalWatchWhileActivity","udid":"RZCTA0S8CWD","autoAcceptAlerts":"true","newCommandTimeout":3000,"adbExecTimeout":80000,"trackScrollEvents":false},"platformName":"Android","automationName":"UiAutomator2","deviceName":"RZCTA0S8CWD","appPackage":"com.google.android.youtube","app_wait_activity":"com.google.android.apps.youtube.app.watchwhile.InternalWatchWhileActivity","udid":"RZCTA0S8CWD","autoAcceptAlerts":"true","newCommandTimeout":3000,"adbExecTimeout":80000,"trackScrollEvents":false,"deviceUDID":"RZCTA0S8CWD"}],"alwaysMatch":{}}}
[AndroidUiautomator2Driver@1a58 (27aeeea2)] Got response with status 200: {"sessionId":"93dfc548-f4be-414b-b131-bdc7939427bc","value":{"capabilities":{"firstMatch":[{"platform":"LINUX","webStorageEnabled":false,"takesScreenshot":true,"javascriptEnabled":true,"databaseEnabled":false,"networkConnectionEnabled":true,"locationContextEnabled":false,"warnings":{},"desired":{"platformName":"Android","automationName":"UiAutomator2","deviceName":"Galaxy S20 FE 5G","appPackage":"com.google.android.youtube","app_wait_activity":"com.google.android.apps.youtube.app.watchwhile.InternalWatchWhileActivity","udid":"RZCTA0S8CWD","autoAcceptAlerts":"true","newCommandTimeout":3000,"adbExecTimeout":80000,"trackScrollEvents":false},"platformName":"Android","automationName":"UiAutomator2","deviceName":"RZCTA0S8CWD","appPackage":"com.google.android.youtube","app_wait_activity":"com.google.android.apps.youtube.app.watchwhile.InternalWatchWhileActivity","udid":"RZCTA0S8CWD","autoAcceptAlerts":"true","newCommandTimeout":3000,"adbExecTimeout":80000,"trackScrollEvents":false,"deviceUDID":"RZCTA0S8CWD"}],"al...
[AndroidUiautomator2Driver@1a58 (27aeeea2)] Determined the downstream protocol as 'W3C'
[AndroidUiautomator2Driver@1a58 (27aeeea2)] Proxying [GET /appium/device/info] to [GET http://127.0.0.1:8202/session/93dfc548-f4be-414b-b131-bdc7939427bc/appium/device/info] with no body
[AndroidUiautomator2Driver@1a58 (27aeeea2)] Got response with status 200: {"sessionId":"93dfc548-f4be-414b-b131-bdc7939427bc","value":{"androidId":"89f63c7f65b0319a","apiVersion":"33","bluetooth":{"state":"OFF"},"brand":"samsung","carrierName":"","displayDensity":480,"locale":"en_IN","manufacturer":"samsung","model":"SM-G781B","networks":[{"capabilities":{"SSID":null,"linkDownBandwidthKbps":33857,"linkUpstreamBandwidthKbps":1293,"networkCapabilities":"NET_CAPABILITY_NOT_METERED,NET_CAPABILITY_INTERNET,NET_CAPABILITY_NOT_RESTRICTED,NET_CAPABILITY_TRUSTED,NET_CAPABILITY_NOT_VPN,NET_CAPABILITY_VALIDATED,NET_CAPABILITY_NOT_ROAMING,NET_CAPABILITY_FOREGROUND,NET_CAPABILITY_NOT_CONGESTED,NET_CAPABILITY_NOT_SUSPENDED","signalStrength":-64,"transportTypes":"TRANSPORT_WIFI"},"detailedState":"CONNECTED","extraInfo":"","isAvailable":true,"isConnected":true,"isFailover":false,"isRoaming":false,"state":"CONNECTED","subtype":-1,"subtypeName":"","type":1,"typeName":"WIFI"}],"platformVersion":"13","realDisplaySize":"1080x2400","timeZone":"Asia/Kolkata"}}
[ADB] Running 'C:\Users\MunishKumar\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s RZCTA0S8CWD shell dumpsys window'
[AndroidDriver] Screen already unlocked, doing nothing
[AndroidUiautomator2Driver@1a58 (27aeeea2)] Starting 'com.google.android.youtube/undefined and waiting for 'com.google.android.youtube/undefined'
[ADB] Running 'C:\Users\MunishKumar\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s RZCTA0S8CWD shell am start -W -S -a android.intent.action.MAIN -c android.intent.category.LAUNCHER -f 0x10200000'
[AndroidUiautomator2Driver@1a58 (27aeeea2)] Deleting UiAutomator2 session
[AndroidUiautomator2Driver@1a58 (27aeeea2)] Deleting UiAutomator2 server session
[AndroidUiautomator2Driver@1a58 (27aeeea2)] Matched '/' to command name 'deleteSession'
[AndroidUiautomator2Driver@1a58 (27aeeea2)] Proxying [DELETE /] to [DELETE http://127.0.0.1:8202/session/93dfc548-f4be-414b-b131-bdc7939427bc] with no body
[AndroidUiautomator2Driver@1a58 (27aeeea2)] Got response with status 200: {"sessionId":"93dfc548-f4be-414b-b131-bdc7939427bc","value":null}
[ADB] Running 'C:\Users\MunishKumar\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s RZCTA0S8CWD shell dumpsys activity services io.appium.settings/.recorder.RecorderService'
[ADB] Running 'C:\Users\MunishKumar\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s RZCTA0S8CWD shell am force-stop com.google.android.youtube'
[Logcat] Stopping logcat capture
[ADB] Removing forwarded port socket connection: 8202
[ADB] Running 'C:\Users\MunishKumar\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s RZCTA0S8CWD forward --remove tcp:8202'
[AndroidUiautomator2Driver@1a58 (27aeeea2)] Restoring hidden api policy to the device default configuration
[ADB] Running 'C:\Users\MunishKumar\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s RZCTA0S8CWD shell 'settings delete global hidden_api_policy_pre_p_apps;settings delete global hidden_api_policy_p_apps;settings delete global hidden_api_policy''
[AppiumDriver@68ab] Event 'newSessionStarted' logged at 1715091772958 (19:52:52 GMT+0530 (India Standard Time))
[AppiumDriver@68ab] Encountered internal error running command: Error: Cannot start the 'com.google.android.youtube' application. Consider checking the driver's troubleshooting documentation. Original error: Error executing adbExec. Original error: 'Command 'C:\Users\MunishKumar\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s RZCTA0S8CWD shell am start -W -S -a android.intent.action.MAIN -c android.intent.category.LAUNCHER -f 0x10200000' exited with code 1'; Command output: Error: Intent matches multiple activities; can't stop: Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 }
[AppiumDriver@68ab]
[AppiumDriver@68ab] at ADB.startApp (C:\Users\MunishKumar.appium\node_modules\appium-uiautomator2-driver\node_modules\appium-adb\lib\tools\apk-utils.js:177:11)
[AppiumDriver@68ab] at AndroidUiautomator2Driver.ensureAppStarts (C:\Users\MunishKumar.appium\node_modules\appium-uiautomator2-driver\lib\driver.js:587:5)
[AppiumDriver@68ab] at AndroidUiautomator2Driver.startUiAutomator2Session (C:\Users\MunishKumar.appium\node_modules\appium-uiautomator2-driver\lib\driver.js:442:7)
[AppiumDriver@68ab] at AndroidUiautomator2Driver.createSession (C:\Users\MunishKumar.appium\node_modules\appium-uiautomator2-driver\lib\driver.js:240:7)
[AppiumDriver@68ab] at AppiumDriver.createSession (C:\Users\MunishKumar\AppData\Roaming\npm\node_modules\appium\lib\appium.js:717:35)
[HTTP] <-- POST /wd/hub/session 500 6250 ms - 1774
[HTTP]
[Instrumentation] .
[Instrumentation] Time: 2.012
[Instrumentation]
[Instrumentation] OK (1 test)
[Instrumentation] The process has exited with code 0
[HTTP] Request idempotency key: bb2ea7d3-a449-4220-87c0-33d292b3396a
[HTTP] --> POST /wd/hub/session
[HTTP] {"capabilities":{"firstMatch":[{"platformName":"Android","appium:automationName":"UiAutomator2","appium:deviceName":"Galaxy S20 FE 5G","appium:udid":"RZCTA0S8CWD","appium:autoAcceptAlerts":"true","appium:newCommandTimeout":3000,"appium:adbExecTimeout":80000,"appium:trackScrollEvents":false}]}}
[AppiumDriver@68ab] Calling AppiumDriver.createSession() with args: [null,null,{"firstMatch":[{"platformName":"Android","appium:automationName":"UiAutomator2","appium:deviceName":"Galaxy S20 FE 5G","appium:udid":"RZCTA0S8CWD","appium:autoAcceptAlerts":"true","appium:newCommandTimeout":3000,"appium:adbExecTimeout":80000,"appium:trackScrollEvents":false}]}]
[AppiumDriver@68ab] Event 'newSessionRequested' logged at 1715091870195 (19:54:30 GMT+0530 (India Standard Time))
[Appium] Attempting to find matching driver for automationName 'UiAutomator2' and platformName 'Android'
[Appium] The 'uiautomator2' driver was installed and matched caps.
[Appium] Will require it at C:\Users\MunishKumar.appium\node_modules\appium-uiautomator2-driver
[Appium] Requiring driver at C:\Users\MunishKumar.appium\node_modules\appium-uiautomator2-driver\build\index.js
[AppiumDriver@68ab] Appium v2.5.1 creating new AndroidUiautomator2Driver (v2.12.6) session
[AppiumDriver@68ab] Checking BaseDriver versions for Appium and AndroidUiautomator2Driver
[AppiumDriver@68ab] Appium's BaseDriver version is 9.5.2
[AppiumDriver@68ab] AndroidUiautomator2Driver's BaseDriver version is 9.5.2
[AndroidUiautomator2Driver@a7ee] Creating session with W3C capabilities: {
[AndroidUiautomator2Driver@a7ee] "alwaysMatch": {
[AndroidUiautomator2Driver@a7ee] "platformName": "Android",
[AndroidUiautomator2Driver@a7ee] "appium:automationName": "UiAutomator2",
[AndroidUiautomator2Driver@a7ee] "appium:deviceName": "Galaxy S20 FE 5G",
[AndroidUiautomator2Driver@a7ee] "appium:udid": "RZCTA0S8CWD",
[AndroidUiautomator2Driver@a7ee] "appium:autoAcceptAlerts": "true",
[AndroidUiautomator2Driver@a7ee] "appium:newCommandTimeout": 3000,
[AndroidUiautomator2Driver@a7ee] "appium:adbExecTimeout": 80000,
[AndroidUiautomator2Driver@a7ee] "appium:trackScrollEvents": false
[AndroidUiautomator2Driver@a7ee] },
[AndroidUiautomator2Driver@a7ee] "firstMatch": [
[AndroidUiautomator2Driver@a7ee] {}
[AndroidUiautomator2Driver@a7ee] ]
[AndroidUiautomator2Driver@a7ee] }
[AndroidUiautomator2Driver@a7ee] The following provided capabilities were not recognized by this driver:
[AndroidUiautomator2Driver@a7ee] deviceName
[AndroidUiautomator2Driver@a7ee] autoAcceptAlerts
[AndroidUiautomator2Driver@a7ee] trackScrollEvents
[AndroidUiautomator2Driver@a7ee (40997f16)] Session created with session id: 40997f16-cbdb-49a7-b123-dde2ad5ba5bc
[AndroidUiautomator2Driver@a7ee (40997f16)] Neither 'app' nor 'appPackage' was set. Starting UiAutomator2 without the target application
[ADB] Using 'adb.exe' from 'C:\Users\MunishKumar\AppData\Local\Android\Sdk\platform-tools\adb.exe'
[ADB] Running 'C:\Users\MunishKumar\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 start-server'
[AndroidDriver] Retrieving device list
[ADB] Trying to find a connected android device
[ADB] Getting connected devices
[ADB] Connected devices: [{"udid":"RZCTA0S8CWD","state":"device"}]
[AndroidDriver] Using device: RZCTA0S8CWD
[ADB] Using 'adb.exe' from 'C:\Users\MunishKumar\AppData\Local\Android\Sdk\platform-tools\adb.exe'
[ADB] Running 'C:\Users\MunishKumar\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 start-server'
[ADB] Setting device id to RZCTA0S8CWD
[ADB] Running 'C:\Users\MunishKumar\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s RZCTA0S8CWD shell getprop ro.build.version.sdk'
[ADB] Current device property 'ro.build.version.sdk': 33
[ADB] Getting device platform version
[ADB] Running 'C:\Users\MunishKumar\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s RZCTA0S8CWD shell getprop ro.build.version.release'
[ADB] Current device property 'ro.build.version.release': 13
[ADB] Device API level: 33
[AndroidUiautomator2Driver@a7ee (40997f16)] Relaxing hidden api policy
[ADB] Running 'C:\Users\MunishKumar\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s RZCTA0S8CWD shell 'settings put global hidden_api_policy_pre_p_apps 1;settings put global hidden_api_policy_p_apps 1;settings put global hidden_api_policy 1''
[AndroidDriver] No app sent in, not parsing package/activity
[ADB] Running 'C:\Users\MunishKumar\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s RZCTA0S8CWD wait-for-device'
[ADB] Running 'C:\Users\MunishKumar\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s RZCTA0S8CWD shell echo ping'
[AndroidDriver] Pushing settings apk to device...
[ADB] Getting install status for io.appium.settings
[ADB] Running 'C:\Users\MunishKumar\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s RZCTA0S8CWD shell dumpsys package io.appium.settings'
[ADB] 'io.appium.settings' is installed
[ADB] Getting package info for 'io.appium.settings'
[ADB] Running 'C:\Users\MunishKumar\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s RZCTA0S8CWD shell dumpsys package io.appium.settings'
[ADB] The version code of the installed 'io.appium.settings' is greater than the application version code (79 > 55)
[ADB] There is no need to downgrade 'io.appium.settings'
[ADB] Getting IDs of all 'io.appium.settings' processes
[ADB] Running 'C:\Users\MunishKumar\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s RZCTA0S8CWD shell 'pgrep --help; echo $?''
[ADB] Running 'C:\Users\MunishKumar\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s RZCTA0S8CWD 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 'C:\Users\MunishKumar\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s RZCTA0S8CWD shell appops set io.appium.settings android:mock_location allow'
[ADB] Running 'C:\Users\MunishKumar\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s RZCTA0S8CWD shell "[ -e '/data/local/tmp/mock_apps.json' ] && echo PASS"'
[ADB] Running 'C:\Users\MunishKumar\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s RZCTA0S8CWD shell cat /data/local/tmp/mock_apps.json'
[Logcat] Starting logs capture with command: C:\Users\MunishKumar\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s RZCTA0S8CWD logcat -v threadtime
[AndroidUiautomator2Driver@a7ee (40997f16)] Forwarding UiAutomator2 Server port 6790 to local port 8202
[ADB] Forwarding system: 8202 to device: 6790
[ADB] Running 'C:\Users\MunishKumar\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s RZCTA0S8CWD forward tcp:8202 tcp:6790'
[ADB] Getting install status for io.appium.uiautomator2.server
[ADB] Running 'C:\Users\MunishKumar\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s RZCTA0S8CWD 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 'C:\Users\MunishKumar\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s RZCTA0S8CWD 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 ('5.7.8' >= '5.7.8')
[AndroidUiautomator2Driver@a7ee (40997f16)] io.appium.uiautomator2.server installation state: sameVersionInstalled
[ADB] Checking app cert for C:\Users\MunishKumar.appium\node_modules\appium-uiautomator2-driver\node_modules\appium-uiautomator2-server\apks\appium-uiautomator2-server-v5.7.8.apk
[ADB] Using the previously cached signature entry for 'appium-uiautomator2-server-v5.7.8.apk'
[ADB] sha256 hash did match for 'appium-uiautomator2-server-v5.7.8.apk'
[ADB] Getting install status for io.appium.uiautomator2.server.test
[ADB] Running 'C:\Users\MunishKumar\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s RZCTA0S8CWD shell dumpsys package io.appium.uiautomator2.server.test'
[ADB] 'io.appium.uiautomator2.server.test' is installed
[ADB] Checking app cert for C:\Users\MunishKumar.appium\node_modules\appium-uiautomator2-driver\node_modules\appium-uiautomator2-server\apks\appium-uiautomator2-server-debug-androidTest.apk
[ADB] Using the previously cached signature entry for 'appium-uiautomator2-server-debug-androidTest.apk'
[ADB] sha256 hash did match for 'appium-uiautomator2-server-debug-androidTest.apk'
[AndroidUiautomator2Driver@a7ee (40997f16)] Server packages are not going to be (re)installed
[AndroidUiautomator2Driver@a7ee (40997f16)] Waiting up to 30000ms for services to be available
[ADB] Running 'C:\Users\MunishKumar\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s RZCTA0S8CWD shell pm list instrumentation'
[AndroidUiautomator2Driver@a7ee (40997f16)] Instrumentation target 'io.appium.uiautomator2.server.test/androidx.test.runner.AndroidJUnitRunner' is available
[ADB] Adding packages ["io.appium.settings","io.appium.uiautomator2.server","io.appium.uiautomator2.server.test"] to Doze whitelist
[ADB] Got the following command chunks to execute: [["dumpsys","deviceidle","whitelist","+io.appium.settings",";","dumpsys","deviceidle","whitelist","+io.appium.uiautomator2.server",";","dumpsys","deviceidle","whitelist","+io.appium.uiautomator2.server.test",";"]]
[ADB] Running 'C:\Users\MunishKumar\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s RZCTA0S8CWD shell dumpsys deviceidle whitelist +io.appium.settings ; dumpsys deviceidle whitelist +io.appium.uiautomator2.server ; dumpsys deviceidle whitelist +io.appium.uiautomator2.server.test ;'
[AndroidUiautomator2Driver@a7ee (40997f16)] No app capability. Assuming it is already on the device
[AndroidUiautomator2Driver@a7ee (40997f16)] Performing shallow cleanup of automation leftovers
[AndroidUiautomator2Driver@a7ee (40997f16)] No obsolete sessions have been detected (socket hang up)
[ADB] Running 'C:\Users\MunishKumar\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s RZCTA0S8CWD shell am force-stop io.appium.uiautomator2.server.test'
[AndroidUiautomator2Driver@a7ee (40997f16)] Starting UIAutomator2 server 5.7.8
[AndroidUiautomator2Driver@a7ee (40997f16)] Using UIAutomator2 server from 'C:\Users\MunishKumar.appium\node_modules\appium-uiautomator2-driver\node_modules\appium-uiautomator2-server\apks\appium-uiautomator2-server-v5.7.8.apk' and test from 'C:\Users\MunishKumar.appium\node_modules\appium-uiautomator2-driver\node_modules\appium-uiautomator2-server\apks\appium-uiautomator2-server-debug-androidTest.apk'
[AndroidUiautomator2Driver@a7ee (40997f16)] Waiting up to 30000ms for UiAutomator2 to be online...
[ADB] Creating ADB subprocess with args: ["-P",5037,"-s","RZCTA0S8CWD","shell","am","instrument","-w","-e","disableAnalytics",true,"io.appium.uiautomator2.server.test/androidx.test.runner.AndroidJUnitRunner"]
[AndroidUiautomator2Driver@a7ee (40997f16)] Matched '/status' to command name 'getStatus'
[AndroidUiautomator2Driver@a7ee (40997f16)] Proxying [GET /status] to [GET http://127.0.0.1:8202/status] with no body
[AndroidUiautomator2Driver@a7ee (40997f16)] socket hang up
[Instrumentation] io.appium.uiautomator2.server.test.AppiumUiAutomator2Server:
[AndroidUiautomator2Driver@a7ee (40997f16)] Matched '/status' to command name 'getStatus'
[AndroidUiautomator2Driver@a7ee (40997f16)] Proxying [GET /status] to [GET http://127.0.0.1:8202/status] with no body
[AndroidUiautomator2Driver@a7ee (40997f16)] socket hang up
[AndroidUiautomator2Driver@a7ee (40997f16)] Matched '/status' to command name 'getStatus'
[AndroidUiautomator2Driver@a7ee (40997f16)] Proxying [GET /status] to [GET http://127.0.0.1:8202/status] with no body
[AndroidUiautomator2Driver@a7ee (40997f16)] Got response with status 200: {"sessionId":"None","value":{"message":"UiAutomator2 Server is ready to accept commands","ready":true}}
[AndroidUiautomator2Driver@a7ee (40997f16)] The initialization of the instrumentation process took 2064ms
[AndroidUiautomator2Driver@a7ee (40997f16)] Matched '/session' to command name 'createSession'
[AndroidUiautomator2Driver@a7ee (40997f16)] Proxying [POST /session] to [POST http://127.0.0.1:8202/session] with body: {"capabilities":{"firstMatch":[{"platform":"LINUX","webStorageEnabled":false,"takesScreenshot":true,"javascriptEnabled":true,"databaseEnabled":false,"networkConnectionEnabled":true,"locationContextEnabled":false,"warnings":{},"desired":{"platformName":"Android","automationName":"UiAutomator2","deviceName":"Galaxy S20 FE 5G","udid":"RZCTA0S8CWD","autoAcceptAlerts":"true","newCommandTimeout":3000,"adbExecTimeout":80000,"trackScrollEvents":false},"platformName":"Android","automationName":"UiAutomator2","deviceName":"RZCTA0S8CWD","udid":"RZCTA0S8CWD","autoAcceptAlerts":"true","newCommandTimeout":3000,"adbExecTimeout":80000,"trackScrollEvents":false,"deviceUDID":"RZCTA0S8CWD"}],"alwaysMatch":{}}}
[AndroidUiautomator2Driver@a7ee (40997f16)] Got response with status 200: {"sessionId":"ae9300a1-3cee-49a0-9790-a352dc3e27c3","value":{"capabilities":{"firstMatch":[{"platform":"LINUX","webStorageEnabled":false,"takesScreenshot":true,"javascriptEnabled":true,"databaseEnabled":false,"networkConnectionEnabled":true,"locationContextEnabled":false,"warnings":{},"desired":{"platformName":"Android","automationName":"UiAutomator2","deviceName":"Galaxy S20 FE 5G","udid":"RZCTA0S8CWD","autoAcceptAlerts":"true","newCommandTimeout":3000,"adbExecTimeout":80000,"trackScrollEvents":false},"platformName":"Android","automationName":"UiAutomator2","deviceName":"RZCTA0S8CWD","udid":"RZCTA0S8CWD","autoAcceptAlerts":"true","newCommandTimeout":3000,"adbExecTimeout":80000,"trackScrollEvents":false,"deviceUDID":"RZCTA0S8CWD"}],"alwaysMatch":{}},"sessionId":"ae9300a1-3cee-49a0-9790-a352dc3e27c3"}}
[AndroidUiautomator2Driver@a7ee (40997f16)] Determined the downstream protocol as 'W3C'
[AndroidUiautomator2Driver@a7ee (40997f16)] Proxying [GET /appium/device/info] to [GET http://127.0.0.1:8202/session/ae9300a1-3cee-49a0-9790-a352dc3e27c3/appium/device/info] with no body
[AndroidUiautomator2Driver@a7ee (40997f16)] Got response with status 200: {"sessionId":"ae9300a1-3cee-49a0-9790-a352dc3e27c3","value":{"androidId":"89f63c7f65b0319a","apiVersion":"33","bluetooth":{"state":"OFF"},"brand":"samsung","carrierName":"","displayDensity":480,"locale":"en_IN","manufacturer":"samsung","model":"SM-G781B","networks":[{"capabilities":{"SSID":null,"linkDownBandwidthKbps":120524,"linkUpstreamBandwidthKbps":1264,"networkCapabilities":"NET_CAPABILITY_NOT_METERED,NET_CAPABILITY_INTERNET,NET_CAPABILITY_NOT_RESTRICTED,NET_CAPABILITY_TRUSTED,NET_CAPABILITY_NOT_VPN,NET_CAPABILITY_VALIDATED,NET_CAPABILITY_NOT_ROAMING,NET_CAPABILITY_FOREGROUND,NET_CAPABILITY_NOT_CONGESTED,NET_CAPABILITY_NOT_SUSPENDED","signalStrength":-63,"transportTypes":"TRANSPORT_WIFI"},"detailedState":"CONNECTED","extraInfo":"","isAvailable":true,"isConnected":true,"isFailover":false,"isRoaming":false,"state":"CONNECTED","subtype":-1,"subtypeName":"","type":1,"typeName":"WIFI"}],"platformVersion":"13","realDisplaySize":"1080x2400","timeZone":"Asia/Kolkata"}}
[ADB] Running 'C:\Users\MunishKumar\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s RZCTA0S8CWD shell dumpsys window'
[AndroidDriver] Screen already unlocked, doing nothing
[AndroidUiautomator2Driver@a7ee (40997f16)] Proxying [GET /appium/device/pixel_ratio] to [GET http://127.0.0.1:8202/session/ae9300a1-3cee-49a0-9790-a352dc3e27c3/appium/device/pixel_ratio] with no body
[AndroidUiautomator2Driver@a7ee (40997f16)] Got response with status 200: {"sessionId":"ae9300a1-3cee-49a0-9790-a352dc3e27c3","value":3}
[AndroidUiautomator2Driver@a7ee (40997f16)] Matched '/appium/device/system_bars' to command name 'getSystemBars'
[AndroidUiautomator2Driver@a7ee (40997f16)] Proxying [GET /appium/device/system_bars] to [GET http://127.0.0.1:8202/session/ae9300a1-3cee-49a0-9790-a352dc3e27c3/appium/device/system_bars] with no body
[AndroidUiautomator2Driver@a7ee (40997f16)] Got response with status 200: {"sessionId":"ae9300a1-3cee-49a0-9790-a352dc3e27c3","value":{"statusBar":88}}
[AndroidUiautomator2Driver@a7ee (40997f16)] Matched '/window/current/size' to command name 'getWindowSize'
[AndroidUiautomator2Driver@a7ee (40997f16)] Proxying [GET /window/current/size] to [GET http://127.0.0.1:8202/session/ae9300a1-3cee-49a0-9790-a352dc3e27c3/window/current/size] with no body
[AndroidUiautomator2Driver@a7ee (40997f16)] Got response with status 200: {"sessionId":"ae9300a1-3cee-49a0-9790-a352dc3e27c3","value":{"height":2168,"width":1080}}
[AppiumDriver@68ab] New AndroidUiautomator2Driver session created successfully, session 40997f16-cbdb-49a7-b123-dde2ad5ba5bc added to master session list
[AppiumDriver@68ab] Event 'newSessionStarted' logged at 1715091874609 (19:54:34 GMT+0530 (India Standard Time))
[AndroidUiautomator2Driver@a7ee (40997f16)] Cached the protocol value 'W3C' for the new session 40997f16-cbdb-49a7-b123-dde2ad5ba5bc
[AndroidUiautomator2Driver@a7ee (40997f16)] 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","automationName":"UiAutomator2","deviceName":"Galaxy S20 FE 5G","udid":"RZCTA0S8CWD","autoAcceptAlerts":"true","newCommandTimeout":3000,"adbExecTimeout":80000,"trackScrollEvents":false},"platformName":"Android","automationName":"UiAutomator2","deviceName":"RZCTA0S8CWD","udid":"RZCTA0S8CWD","autoAcceptAlerts":"true","newCommandTimeout":3000,"adbExecTimeout":80000,"trackScrollEvents":false,"deviceUDID":"RZCTA0S8CWD","deviceApiLevel":33,"platformVersion":"13","deviceScreenSize":"1080x2400","deviceScreenDensity":480,"deviceModel":"SM-G781B","deviceManufacturer":"samsung","pixelRatio":3,"statBarHeight":88,"viewportRect":{"left":0,"top":88,"width":1080,"height":2080}}}
[HTTP] <-- POST /wd/hub/session 200 4418 ms - 979
[HTTP]
[HTTP] Request idempotency key: 33433f07-688c-4c8c-9ba6-af59ac9c90bc
[HTTP] --> POST /wd/hub/session/40997f16-cbdb-49a7-b123-dde2ad5ba5bc/timeouts
[HTTP] {"implicit":120000}
[AndroidUiautomator2Driver@a7ee (40997f16)] Calling AppiumDriver.timeouts() with args: [null,null,null,null,120000,"40997f16-cbdb-49a7-b123-dde2ad5ba5bc"]
[AndroidUiautomator2Driver@a7ee (40997f16)] W3C timeout argument: {"implicit":120000}}
[AndroidUiautomator2Driver@a7ee (40997f16)] Set implicit wait to 120000ms
[AndroidUiautomator2Driver@a7ee (40997f16)] Responding to client with driver.timeouts() result: null
[HTTP] <-- POST /wd/hub/session/40997f16-cbdb-49a7-b123-dde2ad5ba5bc/timeouts 200 7 ms - 14
[HTTP]
[HTTP] --> GET /wd/hub/session/40997f16-cbdb-49a7-b123-dde2ad5ba5bc/screenshot
[HTTP] {}
[AndroidUiautomator2Driver@a7ee (40997f16)] Calling AppiumDriver.getScreenshot() with args: ["40997f16-cbdb-49a7-b123-dde2ad5ba5bc"]
[AndroidUiautomator2Driver@a7ee (40997f16)] Matched '/screenshot' to command name 'getScreenshot'
[AndroidUiautomator2Driver@a7ee (40997f16)] Proxying [GET /screenshot] to [GET http://127.0.0.1:8202/session/ae9300a1-3cee-49a0-9790-a352dc3e27c3/screenshot] with no body
[HTTP] Request idempotency key: a1249708-13de-4668-9678-5e01368c5c4a
[HTTP] --> POST /wd/hub/session/40997f16-cbdb-49a7-b123-dde2ad5ba5bc/appium/device/app_state
[HTTP] {"appId":"com.google.android.youtube"}
[AndroidUiautomator2Driver@a7ee (40997f16)] Calling AppiumDriver.queryAppState() with args: ["com.google.android.youtube","40997f16-cbdb-49a7-b123-dde2ad5ba5bc"]
[AndroidUiautomator2Driver@a7ee (40997f16)] Got response with status 200: {"sessionId":"ae9300a1-3cee-49a0-9790-a352dc3e27c3","value":"iVBORw0KGgoAAAANSUhEUgAABDgAAAlgCAYAAABtGofVAAAAAXNSR0IArs4c6QAAAARzQklUCAgICHwIZIgAACAASURBVHicXL3ZkiRJjrX3AVAzd4+IzNq6e7Z/SOENKRThDYXvw+flNWWElJ/kzHDW3rKqMjMWdzNVBXgBmEc2Q6SqojIi3UzVoMDBwQFM/te/+l/iT/vG19ExERYVGnBRuIgwgUXAEAB6gIuBnWnSuLSF79czH2wFCSAQEVZbEIPn68bnt68892ckBicxFlEAmhiq+T3ABzMWMSKCWwQRE0U4qXFpjVUaqykawtmMJrCqsVjD28rP+8Y/PX9G5+S/fXrgb88fOFnDRDBVUEGa0VpjjsHL2yv/++ef+d++/MqfR+eswkUbBqgaMwCBRYRHWzipsbYVQ+gRPO+vfB6DBzN+e37gx9MDvz0/cpLgy/Urn16fuc4NRzFABAgICZAgHMBRMc7aEILhne4TCFaBRZUWsGi7r1cABUSUBnQCJ2hqfBDhw7KyqrKKsKoiooiBD8c9EAFdat8jEDNUDBFBAFFFBMKDfX/l35+f+XnfGOReNDVOaqgIJsaqK80WVASNSavnOwNmDBBhFUUIjqc9cUBZRFEVcAgCDyci7UhVWVvL+xIB0fynvhQQlVxf2VH4fP+p1DrqWhKCNiOvFIgo2hqqSr/tvHx95h9ef+UftxcklJMKrZ7NSRQIZnB/DicxTJQezi0CIrhYYxHBIxg+QZRW+ykBISC57YQEKsJJV05mRDhNlKaCidIs91oFIhREWJrWmREwRWjM7cZ/fP0T//b8Z17nG4sIgjGALXZawN+uj/x3jz/wdPlAO18QWwn32qsgpsNxFj2AmddAEBVwz/NgKzw8Yd//HbQHCCfmgAARIQgIhwBUERfc97zd0yP2+AADxvUrMbZ8UqcTdr7AnMyt47MTcyJmtNMZvTwC...
[AndroidUiautomator2Driver@a7ee (40997f16)] Querying the state of 'com.google.android.youtube'
[ADB] Getting install status for com.google.android.youtube
[ADB] Running 'C:\Users\MunishKumar\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s RZCTA0S8CWD shell dumpsys package com.google.android.youtube'
[AndroidUiautomator2Driver@a7ee (40997f16)] Responding to client with driver.getScreenshot() result: "iVBORw0KGgoAAAANSUhEUgAABDgAAAlgCAYAAABtGofVAAAAAXNSR0IArs4c6QAAAARzQklUCAgICHwIZIgAACAASURBVHicXL3ZkiRJjrX3AVAzd4+IzNq6e7Z/SOENKRThDYXvw+flNWWElJ/kzHDW3rKqMjMWdzNVBXgBmEc2Q6SqojIi3UzVoMDBwQFM/te/+l/iT/vG19ExERYVGnBRuIgwgUXAEAB6gIuBnWnSuLSF79czH2wFCSAQEVZbEIPn68bnt68892ckBicxFlEAmhiq+T3ABzMWMSKCWwQRE0U4qXFpjVUaqykawtmMJrCqsVjD28rP+8Y/PX9G5+S/fXrgb88fOFnDRDBVUEGa0VpjjsHL2yv/++ef+d++/MqfR+eswkUbBqgaMwCBRYRHWzipsbYVQ+gRPO+vfB6DBzN+e37gx9MDvz0/cpLgy/Urn16fuc4NRzFABAgICZAgHMBRMc7aEILhne4TCFaBRZUWsGi7r1cABUSUBnQCJ2hqfBDhw7KyqrKKsKoiooiBD8c9EAFdat8jEDNUDBFBAFFFBMKDfX/l35+f+XnfGOReNDVOaqgIJsaqK80WVASNSavnOwNmDBBhFUUIjqc9cUBZRFEVcAgCDyci7UhVWVvL+xIB0fynvhQQlVxf2VH4fP+p1DrqWhKCNiOvFIgo2hqqSr/tvHx95h9ef+UftxcklJMKrZ7NSRQIZnB/DicxTJQezi0CIrhYYxHBIxg+QZRW+ykBISC57YQEKsJJV05mRDhNlKaCidIs91oFIhREWJrWmREwRWjM7cZ/fP0T//b8Z17nG4sIgjGALXZawN+uj/x3jz/wdPlAO18QWwn32qsgpsNxFj2AmddAEBVwz/NgKzw8Yd//HbQHCCfmgAARIQgIhwBUERfc97zd0yP2+AADxvUrMbZ8UqcTdr7AnMyt47MTcyJmtNMZvTwCk/H6yrzemP2K6hm75DrwSfhIu4lAxJF2wmxhzoHvndmveQ/LitiKuHB7+8Q/...
[HTTP] <-- GET /wd/hub/session/40997f16-cbdb-49a7-b123-dde2ad5ba5bc/screenshot 200 1926 ms - 3054384
[HTTP]
[ADB] 'com.google.android.youtube' is installed
[ADB] Getting IDs of all 'com.google.android.youtube' processes
[ADB] Running 'C:\Users\MunishKumar\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s RZCTA0S8CWD shell pgrep -f ([[:blank:]]|^)com.google.android.youtube([[:blank:]]|$)'
[AndroidUiautomator2Driver@a7ee (40997f16)] Responding to client with driver.queryAppState() result: 1
[HTTP] <-- POST /wd/hub/session/40997f16-cbdb-49a7-b123-dde2ad5ba5bc/appium/device/app_state 200 2070 ms - 11
[HTTP]
[HTTP] Request idempotency key: ed92ad15-53c5-4968-942d-74ec376fcc65
[HTTP] --> POST /wd/hub/session/40997f16-cbdb-49a7-b123-dde2ad5ba5bc/appium/device/activate_app
[HTTP] {"appId":"com.google.android.youtube"}
[AndroidUiautomator2Driver@a7ee (40997f16)] Calling AppiumDriver.activateApp() with args: ["com.google.android.youtube",null,null,null,"40997f16-cbdb-49a7-b123-dde2ad5ba5bc"]
[AndroidUiautomator2Driver@a7ee (40997f16)] Activating 'com.google.android.youtube'
[ADB] Running 'C:\Users\MunishKumar\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s RZCTA0S8CWD shell cmd package resolve-activity --brief com.google.android.youtube'
[AndroidUiautomator2Driver@a7ee (40997f16)] Encountered internal error running command: Error: Unable to resolve the launchable activity of 'com.google.android.youtube'. Original error: priority=0 preferredOrder=0 match=0x108000 specificIndex=-1 isDefault=true
[AndroidUiautomator2Driver@a7ee (40997f16)] com.google.android.youtube/.app.honeycomb.Shell$HomeActivity
[AndroidUiautomator2Driver@a7ee (40997f16)] at ADB.resolveLaunchableActivity (C:\Users\MunishKumar.appium\node_modules\appium-uiautomator2-driver\node_modules\appium-adb\lib\tools\adb-commands.js:271:9)
[AndroidUiautomator2Driver@a7ee (40997f16)] at AndroidUiautomator2Driver.activateApp (C:\Users\MunishKumar.appium\node_modules\appium-uiautomator2-driver\node_modules\appium-android-driver\lib\commands\app-management.js:115:22)
[HTTP] <-- POST /wd/hub/session/40997f16-cbdb-49a7-b123-dde2ad5ba5bc/appium/device/activate_app 500 106 ms - 1036
[HTTP]
[HTTP] --> GET /wd/hub/session/40997f16-cbdb-49a7-b123-dde2ad5ba5bc/screenshot
[HTTP] {}
[AndroidUiautomator2Driver@a7ee (40997f16)] Calling AppiumDriver.getScreenshot() with args: ["40997f16-cbdb-49a7-b123-dde2ad5ba5bc"]
[AndroidUiautomator2Driver@a7ee (40997f16)] Matched '/screenshot' to command name 'getScreenshot'
[AndroidUiautomator2Driver@a7ee (40997f16)] Proxying [GET /screenshot] to [GET http://127.0.0.1:8202/session/ae9300a1-3cee-49a0-9790-a352dc3e27c3/screenshot] with no body
[HTTP] --> DELETE /wd/hub/session/40997f16-cbdb-49a7-b123-dde2ad5ba5bc
[HTTP] {}
[AndroidUiautomator2Driver@a7ee (40997f16)] Calling AppiumDriver.deleteSession() with args: ["40997f16-cbdb-49a7-b123-dde2ad5ba5bc"]
[AppiumDriver@68ab] Event 'quitSessionRequested' logged at 1715091877931 (19:54:37 GMT+0530 (India Standard Time))
[AppiumDriver@68ab] Removing session 40997f16-cbdb-49a7-b123-dde2ad5ba5bc from our master session list
[AndroidUiautomator2Driver@a7ee (40997f16)] Deleting UiAutomator2 session
[AndroidUiautomator2Driver@a7ee (40997f16)] Deleting UiAutomator2 server session
[AndroidUiautomator2Driver@a7ee (40997f16)] Matched '/' to command name 'deleteSession'
[AndroidUiautomator2Driver@a7ee (40997f16)] Proxying [DELETE /] to [DELETE http://127.0.0.1:8202/session/ae9300a1-3cee-49a0-9790-a352dc3e27c3] with no body
[AndroidUiautomator2Driver@a7ee (40997f16)] Got response with status 200: {"sessionId":"ae9300a1-3cee-49a0-9790-a352dc3e27c3","value":null}
[ADB] Running 'C:\Users\MunishKumar\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s RZCTA0S8CWD shell dumpsys activity services io.appium.settings/.recorder.RecorderService'
[Logcat] Stopping logcat capture
[ADB] Removing forwarded port socket connection: 8202
[ADB] Running 'C:\Users\MunishKumar\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s RZCTA0S8CWD forward --remove tcp:8202'
[AndroidUiautomator2Driver@a7ee (40997f16)] Restoring hidden api policy to the device default configuration
[ADB] Running 'C:\Users\MunishKumar\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s RZCTA0S8CWD shell 'settings delete global hidden_api_policy_pre_p_apps;settings delete global hidden_api_policy_p_apps;settings delete global hidden_api_policy''
[AppiumDriver@68ab] Event 'quitSessionFinished' logged at 1715091878309 (19:54:38 GMT+0530 (India Standard Time))
[AppiumDriver@68ab] Received response: null
[AppiumDriver@68ab] But deleting session, so not returning
[AppiumDriver@68ab] Responding to client with driver.deleteSession() result: null
[HTTP] <-- DELETE /wd/hub/session/40997f16-cbdb-49a7-b123-dde2ad5ba5bc 200 383 ms - 14
[HTTP]
[HTTP] --> DELETE /wd/hub/session/
[HTTP] {}
[HTTP] No route found for /wd/hub/session/
[HTTP] <-- DELETE /wd/hub/session/ 404 5 ms - 211
[HTTP]
[Instrumentation] .
[Instrumentation] Time: 6.019
[Instrumentation]
[Instrumentation] OK (1 test)
[AndroidUiautomator2Driver@a7ee] socket hang up
[AppiumDriver@68ab] Encountered internal error running command: UnknownError: An unknown server-side error occurred while processing the command. Original error: Could not proxy command to the remote server. Original error: socket hang up
[AppiumDriver@68ab] at UIA2Proxy.command (C:\Users\MunishKumar\AppData\Roaming\npm\node_modules\appium\node_modules@appium\base-driver\lib\jsonwp-proxy\proxy.js:355:13)
[AppiumDriver@68ab] at processTicksAndRejections (node:internal/process/task_queues:95:5)
[AppiumDriver@68ab] at AndroidUiautomator2Driver.commands.getScreenshot (C:\Users\MunishKumar.appium\node_modules\appium-uiautomator2-driver\lib\commands\screenshot.js:12:10)
[HTTP] <-- GET /wd/hub/session/40997f16-cbdb-49a7-b123-dde2ad5ba5bc/screenshot 500 1716 ms - 810
[HTTP]
[Instrumentation] The process has exited with code 0
[HTTP] Request idempotency key: f4d93681-b2db-4f18-a6ba-da1f2b0f4af6
[HTTP] --> POST /wd/hub/session
[HTTP] {"capabilities":{"firstMatch":[{"platformName":"Android","appium:automationName":"UiAutomator2","appium:deviceName":"Galaxy S20 FE 5G","appium:appPackage":"com.google.android.youtube","appium:appActivity":"com.google.android.apps.youtube.app.watchwhile.WatchWhileActivity","appium:udid":"RZCTA0S8CWD","appium:autoAcceptAlerts":"true","appium:newCommandTimeout":3000,"appium:adbExecTimeout":80000,"appium:trackScrollEvents":false}]}}
[AppiumDriver@68ab] Calling AppiumDriver.createSession() with args: [null,null,{"firstMatch":[{"platformName":"Android","appium:automationName":"UiAutomator2","appium:deviceName":"Galaxy S20 FE 5G","appium:appPackage":"com.google.android.youtube","appium:appActivity":"com.google.android.apps.youtube.app.watchwhile.WatchWhileActivity","appium:udid":"RZCTA0S8CWD","appium:autoAcceptAlerts":"true","appium:newCommandTimeout":3000,"appium:adbExecTimeout":80000,"appium:trackScrollEvents":false}]}]
[AppiumDriver@68ab] Event 'newSessionRequested' logged at 1715092221197 (20:00:21 GMT+0530 (India Standard Time))
[Appium] Attempting to find matching driver for automationName 'UiAutomator2' and platformName 'Android'
[Appium] The 'uiautomator2' driver was installed and matched caps.
[Appium] Will require it at C:\Users\MunishKumar.appium\node_modules\appium-uiautomator2-driver
[Appium] Requiring driver at C:\Users\MunishKumar.appium\node_modules\appium-uiautomator2-driver\build\index.js
[AppiumDriver@68ab] Appium v2.5.1 creating new AndroidUiautomator2Driver (v2.12.6) session
[AppiumDriver@68ab] Checking BaseDriver versions for Appium and AndroidUiautomator2Driver
[AppiumDriver@68ab] Appium's BaseDriver version is 9.5.2
[AppiumDriver@68ab] AndroidUiautomator2Driver's BaseDriver version is 9.5.2
[AndroidUiautomator2Driver@8fc2] Creating session with W3C capabilities: {
[AndroidUiautomator2Driver@8fc2] "alwaysMatch": {
[AndroidUiautomator2Driver@8fc2] "platformName": "Android",
[AndroidUiautomator2Driver@8fc2] "appium:automationName": "UiAutomator2",
[AndroidUiautomator2Driver@8fc2] "appium:deviceName": "Galaxy S20 FE 5G",
[AndroidUiautomator2Driver@8fc2] "appium:appPackage": "com.google.android.youtube",
[AndroidUiautomator2Driver@8fc2] "appium:appActivity": "com.google.android.apps.youtube.app.watchwhile.WatchWhileActivity",
[AndroidUiautomator2Driver@8fc2] "appium:udid": "RZCTA0S8CWD",
[AndroidUiautomator2Driver@8fc2] "appium:autoAcceptAlerts": "true",
[AndroidUiautomator2Driver@8fc2] "appium:newCommandTimeout": 3000,
[AndroidUiautomator2Driver@8fc2] "appium:adbExecTimeout": 80000,
[AndroidUiautomator2Driver@8fc2] "appium:trackScrollEvents": false
[AndroidUiautomator2Driver@8fc2] },
[AndroidUiautomator2Driver@8fc2] "firstMatch": [
[AndroidUiautomator2Driver@8fc2] {}
[AndroidUiautomator2Driver@8fc2] ]
[AndroidUiautomator2Driver@8fc2] }
[AndroidUiautomator2Driver@8fc2] The following provided capabilities were not recognized by this driver:
[AndroidUiautomator2Driver@8fc2] deviceName
[AndroidUiautomator2Driver@8fc2] autoAcceptAlerts
[AndroidUiautomator2Driver@8fc2] trackScrollEvents
[AndroidUiautomator2Driver@8fc2 (5afccec9)] Session created with session id: 5afccec9-e660-4288-8a67-cf7c9320e93f
[AndroidUiautomator2Driver@8fc2 (5afccec9)] Starting 'com.google.android.youtube' directly on the device
[ADB] Using 'adb.exe' from 'C:\Users\MunishKumar\AppData\Local\Android\Sdk\platform-tools\adb.exe'
[ADB] Running 'C:\Users\MunishKumar\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 start-server'
[AndroidDriver] Retrieving device list
[ADB] Trying to find a connected android device
[ADB] Getting connected devices
[ADB] Connected devices: [{"udid":"RZCTA0S8CWD","state":"device"}]
[AndroidDriver] Using device: RZCTA0S8CWD
[ADB] Using 'adb.exe' from 'C:\Users\MunishKumar\AppData\Local\Android\Sdk\platform-tools\adb.exe'
[ADB] Running 'C:\Users\MunishKumar\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 start-server'
[ADB] Setting device id to RZCTA0S8CWD
[ADB] Running 'C:\Users\MunishKumar\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s RZCTA0S8CWD shell getprop ro.build.version.sdk'
[ADB] Current device property 'ro.build.version.sdk': 33
[ADB] Getting device platform version
[ADB] Running 'C:\Users\MunishKumar\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s RZCTA0S8CWD shell getprop ro.build.version.release'
[ADB] Current device property 'ro.build.version.release': 13
[ADB] Device API level: 33
[AndroidUiautomator2Driver@8fc2 (5afccec9)] Relaxing hidden api policy
[ADB] Running 'C:\Users\MunishKumar\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s RZCTA0S8CWD shell 'settings put global hidden_api_policy_pre_p_apps 1;settings put global hidden_api_policy_p_apps 1;settings put global hidden_api_policy 1''
[AndroidDriver] No app sent in, not parsing package/activity
[ADB] Running 'C:\Users\MunishKumar\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s RZCTA0S8CWD wait-for-device'
[ADB] Running 'C:\Users\MunishKumar\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s RZCTA0S8CWD shell echo ping'
[AndroidDriver] Pushing settings apk to device...
[ADB] Getting install status for io.appium.settings
[ADB] Running 'C:\Users\MunishKumar\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s RZCTA0S8CWD shell dumpsys package io.appium.settings'
[ADB] 'io.appium.settings' is installed
[ADB] Getting package info for 'io.appium.settings'
[ADB] Running 'C:\Users\MunishKumar\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s RZCTA0S8CWD shell dumpsys package io.appium.settings'
[ADB] The version code of the installed 'io.appium.settings' is greater than the application version code (79 > 55)
[ADB] There is no need to downgrade 'io.appium.settings'
[ADB] Getting IDs of all 'io.appium.settings' processes
[ADB] Running 'C:\Users\MunishKumar\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s RZCTA0S8CWD shell 'pgrep --help; echo $?''
[ADB] Running 'C:\Users\MunishKumar\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s RZCTA0S8CWD 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 'C:\Users\MunishKumar\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s RZCTA0S8CWD shell appops set io.appium.settings android:mock_location allow'
[ADB] Running 'C:\Users\MunishKumar\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s RZCTA0S8CWD shell "[ -e '/data/local/tmp/mock_apps.json' ] && echo PASS"'
[ADB] Running 'C:\Users\MunishKumar\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s RZCTA0S8CWD shell cat /data/local/tmp/mock_apps.json'
[Logcat] Starting logs capture with command: C:\Users\MunishKumar\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s RZCTA0S8CWD logcat -v threadtime
[AndroidUiautomator2Driver@8fc2 (5afccec9)] Forwarding UiAutomator2 Server port 6790 to local port 8202
[ADB] Forwarding system: 8202 to device: 6790
[ADB] Running 'C:\Users\MunishKumar\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s RZCTA0S8CWD forward tcp:8202 tcp:6790'
[ADB] Getting install status for io.appium.uiautomator2.server
[ADB] Running 'C:\Users\MunishKumar\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s RZCTA0S8CWD 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 'C:\Users\MunishKumar\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s RZCTA0S8CWD 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 ('5.7.8' >= '5.7.8')
[AndroidUiautomator2Driver@8fc2 (5afccec9)] io.appium.uiautomator2.server installation state: sameVersionInstalled
[ADB] Checking app cert for C:\Users\MunishKumar.appium\node_modules\appium-uiautomator2-driver\node_modules\appium-uiautomator2-server\apks\appium-uiautomator2-server-v5.7.8.apk
[ADB] Using the previously cached signature entry for 'appium-uiautomator2-server-v5.7.8.apk'
[ADB] sha256 hash did match for 'appium-uiautomator2-server-v5.7.8.apk'
[ADB] Getting install status for io.appium.uiautomator2.server.test
[ADB] Running 'C:\Users\MunishKumar\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s RZCTA0S8CWD shell dumpsys package io.appium.uiautomator2.server.test'
[ADB] 'io.appium.uiautomator2.server.test' is installed
[ADB] Checking app cert for C:\Users\MunishKumar.appium\node_modules\appium-uiautomator2-driver\node_modules\appium-uiautomator2-server\apks\appium-uiautomator2-server-debug-androidTest.apk
[ADB] Using the previously cached signature entry for 'appium-uiautomator2-server-debug-androidTest.apk'
[ADB] sha256 hash did match for 'appium-uiautomator2-server-debug-androidTest.apk'
[AndroidUiautomator2Driver@8fc2 (5afccec9)] Server packages are not going to be (re)installed
[AndroidUiautomator2Driver@8fc2 (5afccec9)] Waiting up to 30000ms for services to be available
[ADB] Running 'C:\Users\MunishKumar\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s RZCTA0S8CWD shell pm list instrumentation'
[AndroidUiautomator2Driver@8fc2 (5afccec9)] Instrumentation target 'io.appium.uiautomator2.server.test/androidx.test.runner.AndroidJUnitRunner' is available
[ADB] Adding packages ["io.appium.settings","io.appium.uiautomator2.server","io.appium.uiautomator2.server.test"] to Doze whitelist
[ADB] Got the following command chunks to execute: [["dumpsys","deviceidle","whitelist","+io.appium.settings",";","dumpsys","deviceidle","whitelist","+io.appium.uiautomator2.server",";","dumpsys","deviceidle","whitelist","+io.appium.uiautomator2.server.test",";"]]
[ADB] Running 'C:\Users\MunishKumar\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s RZCTA0S8CWD shell dumpsys deviceidle whitelist +io.appium.settings ; dumpsys deviceidle whitelist +io.appium.uiautomator2.server ; dumpsys deviceidle whitelist +io.appium.uiautomator2.server.test ;'
[AndroidUiautomator2Driver@8fc2 (5afccec9)] No app capability. Assuming it is already on the device
[ADB] Getting install status for com.google.android.youtube
[ADB] Running 'C:\Users\MunishKumar\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s RZCTA0S8CWD shell dumpsys package com.google.android.youtube'
[ADB] 'com.google.android.youtube' is installed
[ADB] Running 'C:\Users\MunishKumar\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s RZCTA0S8CWD shell am force-stop com.google.android.youtube'
[ADB] Running 'C:\Users\MunishKumar\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s RZCTA0S8CWD shell pm clear com.google.android.youtube'
[AndroidDriver] Performed fast reset on the installed 'com.google.android.youtube' application (stop and clear)
[AndroidUiautomator2Driver@8fc2 (5afccec9)] Performing shallow cleanup of automation leftovers
[AndroidUiautomator2Driver@8fc2 (5afccec9)] No obsolete sessions have been detected (socket hang up)
[ADB] Running 'C:\Users\MunishKumar\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s RZCTA0S8CWD shell am force-stop io.appium.uiautomator2.server.test'
[AndroidUiautomator2Driver@8fc2 (5afccec9)] Starting UIAutomator2 server 5.7.8
[AndroidUiautomator2Driver@8fc2 (5afccec9)] Using UIAutomator2 server from 'C:\Users\MunishKumar.appium\node_modules\appium-uiautomator2-driver\node_modules\appium-uiautomator2-server\apks\appium-uiautomator2-server-v5.7.8.apk' and test from 'C:\Users\MunishKumar.appium\node_modules\appium-uiautomator2-driver\node_modules\appium-uiautomator2-server\apks\appium-uiautomator2-server-debug-androidTest.apk'
[AndroidUiautomator2Driver@8fc2 (5afccec9)] Waiting up to 30000ms for UiAutomator2 to be online...
[ADB] Creating ADB subprocess with args: ["-P",5037,"-s","RZCTA0S8CWD","shell","am","instrument","-w","-e","disableAnalytics",true,"io.appium.uiautomator2.server.test/androidx.test.runner.AndroidJUnitRunner"]
[AndroidUiautomator2Driver@8fc2 (5afccec9)] Matched '/status' to command name 'getStatus'
[AndroidUiautomator2Driver@8fc2 (5afccec9)] Proxying [GET /status] to [GET http://127.0.0.1:8202/status] with no body
[AndroidUiautomator2Driver@8fc2 (5afccec9)] socket hang up
[Instrumentation] io.appium.uiautomator2.server.test.AppiumUiAutomator2Server:
[AndroidUiautomator2Driver@8fc2 (5afccec9)] Matched '/status' to command name 'getStatus'
[AndroidUiautomator2Driver@8fc2 (5afccec9)] Proxying [GET /status] to [GET http://127.0.0.1:8202/status] with no body
[AndroidUiautomator2Driver@8fc2 (5afccec9)] socket hang up
[AndroidUiautomator2Driver@8fc2 (5afccec9)] Matched '/status' to command name 'getStatus'
[AndroidUiautomator2Driver@8fc2 (5afccec9)] Proxying [GET /status] to [GET http://127.0.0.1:8202/status] with no body
[AndroidUiautomator2Driver@8fc2 (5afccec9)] socket hang up
[AndroidUiautomator2Driver@8fc2 (5afccec9)] Matched '/status' to command name 'getStatus'
[AndroidUiautomator2Driver@8fc2 (5afccec9)] Proxying [GET /status] to [GET http://127.0.0.1:8202/status] with no body
[AndroidUiautomator2Driver@8fc2 (5afccec9)] Got response with status 200: {"sessionId":"None","value":{"message":"UiAutomator2 Server is ready to accept commands","ready":true}}
[AndroidUiautomator2Driver@8fc2 (5afccec9)] The initialization of the instrumentation process took 3082ms
[AndroidUiautomator2Driver@8fc2 (5afccec9)] Matched '/session' to command name 'createSession'
[AndroidUiautomator2Driver@8fc2 (5afccec9)] Proxying [POST /session] to [POST http://127.0.0.1:8202/session] with body: {"capabilities":{"firstMatch":[{"platform":"LINUX","webStorageEnabled":false,"takesScreenshot":true,"javascriptEnabled":true,"databaseEnabled":false,"networkConnectionEnabled":true,"locationContextEnabled":false,"warnings":{},"desired":{"platformName":"Android","automationName":"UiAutomator2","deviceName":"Galaxy S20 FE 5G","appPackage":"com.google.android.youtube","appActivity":"com.google.android.apps.youtube.app.watchwhile.WatchWhileActivity","udid":"RZCTA0S8CWD","autoAcceptAlerts":"true","newCommandTimeout":3000,"adbExecTimeout":80000,"trackScrollEvents":false},"platformName":"Android","automationName":"UiAutomator2","deviceName":"RZCTA0S8CWD","appPackage":"com.google.android.youtube","appActivity":"com.google.android.apps.youtube.app.watchwhile.WatchWhileActivity","udid":"RZCTA0S8CWD","autoAcceptAlerts":"true","newCommandTimeout":3000,"adbExecTimeout":80000,"trackScrollEvents":false,"deviceUDID":"RZCTA0S8CWD"}],"alwaysMatch":{}}}
[AndroidUiautomator2Driver@8fc2 (5afccec9)] Got response with status 200: {"sessionId":"53f67457-eb50-4a90-ac36-2c1aeedb6145","value":{"capabilities":{"firstMatch":[{"platform":"LINUX","webStorageEnabled":false,"takesScreenshot":true,"javascriptEnabled":true,"databaseEnabled":false,"networkConnectionEnabled":true,"locationContextEnabled":false,"warnings":{},"desired":{"platformName":"Android","automationName":"UiAutomator2","deviceName":"Galaxy S20 FE 5G","appPackage":"com.google.android.youtube","appActivity":"com.google.android.apps.youtube.app.watchwhile.WatchWhileActivity","udid":"RZCTA0S8CWD","autoAcceptAlerts":"true","newCommandTimeout":3000,"adbExecTimeout":80000,"trackScrollEvents":false},"platformName":"Android","automationName":"UiAutomator2","deviceName":"RZCTA0S8CWD","appPackage":"com.google.android.youtube","appActivity":"com.google.android.apps.youtube.app.watchwhile.WatchWhileActivity","udid":"RZCTA0S8CWD","autoAcceptAlerts":"true","newCommandTimeout":3000,"adbExecTimeout":80000,"trackScrollEvents":false,"deviceUDID":"RZCTA0S8CWD"}],"alwaysMatch":{}},"sessionId":"...
[AndroidUiautomator2Driver@8fc2 (5afccec9)] Determined the downstream protocol as 'W3C'
[AndroidUiautomator2Driver@8fc2 (5afccec9)] Proxying [GET /appium/device/info] to [GET http://127.0.0.1:8202/session/53f67457-eb50-4a90-ac36-2c1aeedb6145/appium/device/info] with no body
[AndroidUiautomator2Driver@8fc2 (5afccec9)] Got response with status 200: {"sessionId":"53f67457-eb50-4a90-ac36-2c1aeedb6145","value":{"androidId":"89f63c7f65b0319a","apiVersion":"33","bluetooth":{"state":"OFF"},"brand":"samsung","carrierName":"","displayDensity":480,"locale":"en_IN","manufacturer":"samsung","model":"SM-G781B","networks":[{"capabilities":{"SSID":null,"linkDownBandwidthKbps":120524,"linkUpstreamBandwidthKbps":1264,"networkCapabilities":"NET_CAPABILITY_NOT_METERED,NET_CAPABILITY_INTERNET,NET_CAPABILITY_NOT_RESTRICTED,NET_CAPABILITY_TRUSTED,NET_CAPABILITY_NOT_VPN,NET_CAPABILITY_VALIDATED,NET_CAPABILITY_NOT_ROAMING,NET_CAPABILITY_FOREGROUND,NET_CAPABILITY_NOT_CONGESTED,NET_CAPABILITY_NOT_SUSPENDED","signalStrength":-62,"transportTypes":"TRANSPORT_WIFI"},"detailedState":"CONNECTED","extraInfo":"","isAvailable":true,"isConnected":true,"isFailover":false,"isRoaming":false,"state":"CONNECTED","subtype":-1,"subtypeName":"","type":1,"typeName":"WIFI"}],"platformVersion":"13","realDisplaySize":"1080x2400","timeZone":"Asia/Kolkata"}}
[ADB] Running 'C:\Users\MunishKumar\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s RZCTA0S8CWD shell dumpsys window'
[AndroidDriver] Screen is locked, trying to unlock
[AndroidDriver] Neither 'unlockType' nor 'unlockKey' capability is provided. Assuming the device is locked with a simple lock screen.
[ADB] Waking up the device to dismiss the keyguard
[ADB] Running 'C:\Users\MunishKumar\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s RZCTA0S8CWD shell input keyevent 26'
[ADB] Running 'C:\Users\MunishKumar\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s RZCTA0S8CWD shell input keyevent 224'
[ADB] Running 'C:\Users\MunishKumar\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s RZCTA0S8CWD shell wm dismiss-keyguard'
[AndroidUiautomator2Driver@8fc2 (5afccec9)] Starting 'com.google.android.youtube/com.google.android.apps.youtube.app.watchwhile.WatchWhileActivity and waiting for 'com.google.android.youtube/com.google.android.apps.youtube.app.watchwhile.WatchWhileActivity'
[ADB] Running 'C:\Users\MunishKumar\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s RZCTA0S8CWD shell am start -W -n com.google.android.youtube/com.google.android.apps.youtube.app.watchwhile.WatchWhileActivity -S -a android.intent.action.MAIN -c android.intent.category.LAUNCHER -f 0x10200000'
[AndroidUiautomator2Driver@8fc2 (5afccec9)] Proxying [GET /appium/device/pixel_ratio] to [GET http://127.0.0.1:8202/session/53f67457-eb50-4a90-ac36-2c1aeedb6145/appium/device/pixel_ratio] with no body
[AndroidUiautomator2Driver@8fc2 (5afccec9)] Got response with status 200: {"sessionId":"53f67457-eb50-4a90-ac36-2c1aeedb6145","value":3}
[AndroidUiautomator2Driver@8fc2 (5afccec9)] Matched '/appium/device/system_bars' to command name 'getSystemBars'
[AndroidUiautomator2Driver@8fc2 (5afccec9)] Proxying [GET /appium/device/system_bars] to [GET http://127.0.0.1:8202/session/53f67457-eb50-4a90-ac36-2c1aeedb6145/appium/device/system_bars] with no body
[AndroidUiautomator2Driver@8fc2 (5afccec9)] Got response with status 200: {"sessionId":"53f67457-eb50-4a90-ac36-2c1aeedb6145","value":{"statusBar":88}}
[AndroidUiautomator2Driver@8fc2 (5afccec9)] Matched '/window/current/size' to command name 'getWindowSize'
[AndroidUiautomator2Driver@8fc2 (5afccec9)] Proxying [GET /window/current/size] to [GET http://127.0.0.1:8202/session/53f67457-eb50-4a90-ac36-2c1aeedb6145/window/current/size] with no body
[AndroidUiautomator2Driver@8fc2 (5afccec9)] Got response with status 200: {"sessionId":"53f67457-eb50-4a90-ac36-2c1aeedb6145","value":{"height":2168,"width":1080}}
[AppiumDriver@68ab] New AndroidUiautomator2Driver session created successfully, session 5afccec9-e660-4288-8a67-cf7c9320e93f added to master session list
[AppiumDriver@68ab] Event 'newSessionStarted' logged at 1715092229232 (20:00:29 GMT+0530 (India Standard Time))
[AndroidUiautomator2Driver@8fc2 (5afccec9)] Cached the protocol value 'W3C' for the new session 5afccec9-e660-4288-8a67-cf7c9320e93f
[AndroidUiautomator2Driver@8fc2 (5afccec9)] 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","automationName":"UiAutomator2","deviceName":"Galaxy S20 FE 5G","appPackage":"com.google.android.youtube","appActivity":"com.google.android.apps.youtube.app.watchwhile.WatchWhileActivity","udid":"RZCTA0S8CWD","autoAcceptAlerts":"true","newCommandTimeout":3000,"adbExecTimeout":80000,"trackScrollEvents":false},"platformName":"Android","automationName":"UiAutomator2","deviceName":"RZCTA0S8CWD","appPackage":"com.google.android.youtube","appActivity":"com.google.android.apps.youtube.app.watchwhile.WatchWhileActivity","udid":"RZCTA0S8CWD","autoAcceptAlerts":"true","newCommandTimeout":3000,"adbExecTimeout":80000,"trackScrollEvents":false,"deviceUDID":"RZCTA0S8CWD","deviceApiLevel":33,"platformVersion":"13","deviceScreenSize":"1080x2400","deviceScreenDensity":480,"deviceM...
[HTTP] <-- POST /wd/hub/session 200 8040 ms - 1227
[HTTP]
[HTTP] Request idempotency key: d295ffaf-3926-470f-8f49-472711c98292
[HTTP] --> POST /wd/hub/session/5afccec9-e660-4288-8a67-cf7c9320e93f/timeouts
[HTTP] {"implicit":120000}
[AndroidUiautomator2Driver@8fc2 (5afccec9)] Calling AppiumDriver.timeouts() with args: [null,null,null,null,120000,"5afccec9-e660-4288-8a67-cf7c9320e93f"]
[AndroidUiautomator2Driver@8fc2 (5afccec9)] W3C timeout argument: {"implicit":120000}}
[AndroidUiautomator2Driver@8fc2 (5afccec9)] Set implicit wait to 120000ms
[AndroidUiautomator2Driver@8fc2 (5afccec9)] Responding to client with driver.timeouts() result: null
[HTTP] <-- POST /wd/hub/session/5afccec9-e660-4288-8a67-cf7c9320e93f/timeouts 200 19 ms - 14
[HTTP]
[HTTP] --> GET /wd/hub/session/5afccec9-e660-4288-8a67-cf7c9320e93f/screenshot
[HTTP] {}
[AndroidUiautomator2Driver@8fc2 (5afccec9)] Calling AppiumDriver.getScreenshot() with args: ["5afccec9-e660-4288-8a67-cf7c9320e93f"]
[AndroidUiautomator2Driver@8fc2 (5afccec9)] Matched '/screenshot' to command name 'getScreenshot'
[AndroidUiautomator2Driver@8fc2 (5afccec9)] Proxying [GET /screenshot] to [GET http://127.0.0.1:8202/session/53f67457-eb50-4a90-ac36-2c1aeedb6145/screenshot] with no body
[HTTP] Request idempotency key: 1981a3ce-18f6-4306-961f-310e573089d3
[HTTP] --> POST /wd/hub/session/5afccec9-e660-4288-8a67-cf7c9320e93f/appium/device/app_state
[HTTP] {"appId":"com.google.android.youtube"}
[AndroidUiautomator2Driver@8fc2 (5afccec9)] Calling AppiumDriver.queryAppState() with args: ["com.google.android.youtube","5afccec9-e660-4288-8a67-cf7c9320e93f"]
[AndroidUiautomator2Driver@8fc2 (5afccec9)] Got response with status 200: {"sessionId":"53f67457-eb50-4a90-ac36-2c1aeedb6145","value":"iVBORw0KGgoAAAANSUhEUgAABDgAAAlgCAYAAABtGofVAAAAAXNSR0IArs4c6QAAAARzQklUCAgICHwIZIgAACAASURBVHic7N17bFzlnf/xz1w8Y3s8vib22I7tJHYccr9QytIEWi2rbboN220JZVvaErrbloUiQVBbuu2PQrrS0iLSSIWqldhSqECE0F2xIGqQsttSKIWK3LgksR1ysRM7duLL+O65/f7wzumMPTdfxjPHeb8kK56ZM+c84xk75/mc5/k+lpdffjkkAAAAAAAAE7NmugEAAAAAAACzRcABAAAAAABMj4ADAAAAAACYHgEHAAAAAAAwPQIOAAAAAABgegQcAAAAAADA9Ag4AAAAAACA6RFwAAAAAAAA0yPgAAAAAAAApkfAAQAAAAAATI+AAwAAAAAAmB4BBwAAAAAAMD0CDgAAAAAAYHoEHAAAAAAAwPQIOAAAAAAAgOkRcAAAAAAAANMj4AAAAAAAAKZHwAEAAAAAAEyPgAMAAAAAAJgeAQcAAAAAADA9Ag4AAAAAAGB6BBwAAAAAAMD0CDgAAAAAAIDpEXAAAAAAAADTI+AAAAAAAACmR8ABAAAAAABMj4ADAAAAAACYHgEHAAAAAAAwPQIOAAAAAABgegQcAAAAAADA9Ag4AAAAAACA6RFwAAAAAAAA0yPgAAAAAAAApkfAAQAAAAAATI+AAwAAAAAAmB4BBwAAAAAAMD0CDgAAAAAAYHoEHAAAAAAAwPQIOAAAAAAAgOkRcAAAAAAAANMj4AAAAAAAAKZHwAEAAAAAAEyPgANATBaLJdNNAAAAAICU2TPdAMBMrFarcnJy0tL5DwaD8vl8CoVCc77vZOx2u2w2m6xWq6zWidzT4XBofHzcaFsgEDC+AAAAEJ/dbldhYaFcLpdcLpfsdrvxb1h/f78kaWhoSKOjo/J6vRoaGspUk4EFgYAD82rDhg0q...
[AndroidUiautomator2Driver@8fc2 (5afccec9)] Querying the state of 'com.google.android.youtube'
[ADB] Getting install status for com.google.android.youtube
[ADB] Running 'C:\Users\MunishKumar\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s RZCTA0S8CWD shell dumpsys package com.google.android.youtube'
[AndroidUiautomator2Driver@8fc2 (5afccec9)] Responding to client with driver.getScreenshot() result: "iVBORw0KGgoAAAANSUhEUgAABDgAAAlgCAYAAABtGofVAAAAAXNSR0IArs4c6QAAAARzQklUCAgICHwIZIgAACAASURBVHic7N17bFzlnf/xz1w8Y3s8vib22I7tJHYccr9QytIEWi2rbboN220JZVvaErrbloUiQVBbuu2PQrrS0iLSSIWqldhSqECE0F2xIGqQsttSKIWK3LgksR1ysRM7duLL+O65/f7wzumMPTdfxjPHeb8kK56ZM+c84xk75/mc5/k+lpdffjkkAAAAAAAAE7NmugEAAAAAAACzRcABAAAAAABMj4ADAAAAAACYHgEHAAAAAAAwPQIOAAAAAABgegQcAAAAAADA9Ag4AAAAAACA6RFwAAAAAAAA0yPgAAAAAAAApkfAAQAAAAAATI+AAwAAAAAAmB4BBwAAAAAAMD0CDgAAAAAAYHoEHAAAAAAAwPQIOAAAAAAAgOkRcAAAAAAAANMj4AAAAAAAAKZHwAEAAAAAAEyPgAMAAAAAAJgeAQcAAAAAADA9Ag4AAAAAAGB6BBwAAAAAAMD0CDgAAAAAAIDpEXAAAAAAAADTI+AAAAAAAACmR8ABAAAAAABMj4ADAAAAAACYHgEHAAAAAAAwPQIOAAAAAABgegQcAAAAAADA9Ag4AAAAAACA6RFwAAAAAAAA0yPgAAAAAAAApkfAAQAAAAAATI+AAwAAAAAAmB4BBwAAAAAAMD0CDgAAAAAAYHoEHAAAAAAAwPQIOAAAAAAAgOkRcAAAAAAAANMj4AAAAAAAAKZHwAEAAAAAAEyPgANATBaLJdNNAAAAAICU2TPdAMBMrFarcnJy0tL5DwaD8vl8CoVCc77vZOx2u2w2m6xWq6zWidzT4XBofHzcaFsgEDC+AAAAEJ/dbldhYaFcLpdcLpfsdrvxb1h/f78kaWhoSKOjo/J6vRoaGspUk4EFgYAD82rDhg0qKCjQn/70J9N1lG02m0pLS1VVVSWHwzHn+x8dHVVbW5v6+/vnJeSwWCzKycmR...
[HTTP] <-- GET /wd/hub/session/5afccec9-e660-4288-8a67-cf7c9320e93f/screenshot 200 277 ms - 93372
[HTTP]
[ADB] 'com.google.android.youtube' is installed
[ADB] Getting IDs of all 'com.google.android.youtube' processes
[ADB] Running 'C:\Users\MunishKumar\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s RZCTA0S8CWD shell pgrep -f ([[:blank:]]|^)com.google.android.youtube([[:blank:]]|$)'
[ADB] Running 'C:\Users\MunishKumar\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s RZCTA0S8CWD shell dumpsys window displays'
[AndroidUiautomator2Driver@8fc2 (5afccec9)] Responding to client with driver.queryAppState() result: 3
[HTTP] <-- POST /wd/hub/session/5afccec9-e660-4288-8a67-cf7c9320e93f/appium/device/app_state 200 406 ms - 11
[HTTP]
[HTTP] Request idempotency key: a6ab56ff-7cfa-40f3-bcd3-c85eacf46a2d
[HTTP] --> POST /wd/hub/session/5afccec9-e660-4288-8a67-cf7c9320e93f/appium/device/activate_app
[HTTP] {"appId":"com.google.android.youtube"}
[AndroidUiautomator2Driver@8fc2 (5afccec9)] Calling AppiumDriver.activateApp() with args: ["com.google.android.youtube",null,null,null,"5afccec9-e660-4288-8a67-cf7c9320e93f"]
[AndroidUiautomator2Driver@8fc2 (5afccec9)] Activating 'com.google.android.youtube'
[ADB] Running 'C:\Users\MunishKumar\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s RZCTA0S8CWD shell cmd package resolve-activity --brief com.google.android.youtube'
[AndroidUiautomator2Driver@8fc2 (5afccec9)] Encountered internal error running command: Error: Unable to resolve the launchable activity of 'com.google.android.youtube'. Original error: priority=0 preferredOrder=0 match=0x108000 specificIndex=-1 isDefault=true
[AndroidUiautomator2Driver@8fc2 (5afccec9)] com.google.android.youtube/.app.honeycomb.Shell$HomeActivity
[AndroidUiautomator2Driver@8fc2 (5afccec9)] at ADB.resolveLaunchableActivity (C:\Users\MunishKumar.appium\node_modules\appium-uiautomator2-driver\node_modules\appium-adb\lib\tools\adb-commands.js:271:9)
[AndroidUiautomator2Driver@8fc2 (5afccec9)] at AndroidUiautomator2Driver.activateApp (C:\Users\MunishKumar.appium\node_modules\appium-uiautomator2-driver\node_modules\appium-android-driver\lib\commands\app-management.js:115:22)
[HTTP] <-- POST /wd/hub/session/5afccec9-e660-4288-8a67-cf7c9320e93f/appium/device/activate_app 500 75 ms - 1036
[HTTP]
[HTTP] --> GET /wd/hub/session/5afccec9-e660-4288-8a67-cf7c9320e93f/screenshot
[HTTP] {}
[AndroidUiautomator2Driver@8fc2 (5afccec9)] Calling AppiumDriver.getScreenshot() with args: ["5afccec9-e660-4288-8a67-cf7c9320e93f"]
[AndroidUiautomator2Driver@8fc2 (5afccec9)] Matched '/screenshot' to command name 'getScreenshot'
[AndroidUiautomator2Driver@8fc2 (5afccec9)] Proxying [GET /screenshot] to [GET http://127.0.0.1:8202/session/53f67457-eb50-4a90-ac36-2c1aeedb6145/screenshot] with no body
[AndroidUiautomator2Driver@8fc2 (5afccec9)] Got response with status 200: {"sessionId":"53f67457-eb50-4a90-ac36-2c1aeedb6145","value":"iVBORw0KGgoAAAANSUhEUgAABDgAAAlgCAYAAABtGofVAAAAAXNSR0IArs4c6QAAAARzQklUCAgICHwIZIgAACAASURBVHic7N15bJznfS/677vOTnK4r+JQpCRqoyxZouzY1U3VoHGT1i0KI0ZPU7R1elMrTXwLFG6Rog5OGqDF6UFSnCywEZzjIhcp3KZtTm2fm9apj5TNliVZ1kba4iKu4r7Ovrzb/YNn3nDEITlchsOhvx9AkGZ7l+Fo+D7f53l+j/DKK69YICIiIiIiIiIqYmKhD4CIiIiIiIiIaKsYcBARERERERFR0WPAQURERERERERFjwEHERERERERERU9BhxEREREREREVPQYcBARERERERFR0WPAQURERERERERFjwEHERERERERERU9BhxEREREREREVPQYcBARERERERFR0WPAQURERERERERFjwEHERERERERERU9BhxEREREREREVPQYcBARERERERFR0WPAQURERERERERFjwEHERERERERERU9BhxEREREREREVPQYcBARERERERFR0WPAQURERERERERFjwEHERERERERERU9BhxEREREREREVPQYcBARERERERFR0WPAQURERERERERFjwEHERERERERERU9BhxEREREREREVPQYcBARERERERFR0WPAQURERERERERFjwEHERERERERERU9BhxEREREREREVPQYcBARERERERFR0WPAQURERERERERFjwEHERERERERERU9BhxEREREREREVPQYcBARERERERFR0WPAQURERERERERFjwEHERERERERERU9BhxEREREREREVPQYcBARERERERFR0WPAQURERERERERFjwEHERERERERERU9BhxEREREREREVPQYcBARERERERFR0WPAQURZCYJQ6EMgIiIiIiLKmVzoAyAqJqIoQlVViOL2Z4Om...
[AndroidUiautomator2Driver@8fc2 (5afccec9)] Responding to client with driver.getScreenshot() result: "iVBORw0KGgoAAAANSUhEUgAABDgAAAlgCAYAAABtGofVAAAAAXNSR0IArs4c6QAAAARzQklUCAgICHwIZIgAACAASURBVHic7N15bJznfS/677vOTnK4r+JQpCRqoyxZouzY1U3VoHGT1i0KI0ZPU7R1elMrTXwLFG6Rog5OGqDF6UFSnCywEZzjIhcp3KZtTm2fm9apj5TNliVZ1kba4iKu4r7Ovrzb/YNn3nDEITlchsOhvx9AkGZ7l+Fo+D7f53l+j/DKK69YICIiIiIiIiIqYmKhD4CIiIiIiIiIaKsYcBARERERERFR0WPAQURERERERERFjwEHERERERERERU9BhxEREREREREVPQYcBARERERERFR0WPAQURERERERERFjwEHERERERERERU9BhxEREREREREVPQYcBARERERERFR0WPAQURERERERERFjwEHERERERERERU9BhxEREREREREVPQYcBARERERERFR0WPAQURERERERERFjwEHERERERERERU9BhxEREREREREVPQYcBARERERERFR0WPAQURERERERERFjwEHERERERERERU9BhxEREREREREVPQYcBARERERERFR0WPAQURERERERERFjwEHERERERERERU9BhxEREREREREVPQYcBARERERERFR0WPAQURERERERERFjwEHERERERERERU9BhxEREREREREVPQYcBARERERERFR0WPAQURERERERERFjwEHERERERERERU9BhxEREREREREVPQYcBARERERERFR0WPAQURERERERERFjwEHERERERERERU9BhxEREREREREVPQYcBARERERERFR0WPAQURERERERERFjwEHERERERERERU9BhxEREREREREVPQYcBARERERERFR0WPAQURZCYJQ6EMgIiIiIiLKmVzoAyAqJqIoQlVViOL2Z4OmaSKVSsE0zW3f9npkWYYsy5AkyT43p9OJRCIBADAMA6ZpQtd16Lq+48dHRERE...
[HTTP] <-- GET /wd/hub/session/5afccec9-e660-4288-8a67-cf7c9320e93f/screenshot 200 305 ms - 136076
[HTTP]
[HTTP] --> DELETE /wd/hub/session/5afccec9-e660-4288-8a67-cf7c9320e93f
[HTTP] {}
[AndroidUiautomator2Driver@8fc2 (5afccec9)] Calling AppiumDriver.deleteSession() with args: ["5afccec9-e660-4288-8a67-cf7c9320e93f"]
[AppiumDriver@68ab] Event 'quitSessionRequested' logged at 1715092230982 (20:00:30 GMT+0530 (India Standard Time))
[AppiumDriver@68ab] Removing session 5afccec9-e660-4288-8a67-cf7c9320e93f from our master session list
[AndroidUiautomator2Driver@8fc2 (5afccec9)] Deleting UiAutomator2 session
[AndroidUiautomator2Driver@8fc2 (5afccec9)] Deleting UiAutomator2 server session
[AndroidUiautomator2Driver@8fc2 (5afccec9)] Matched '/' to command name 'deleteSession'
[AndroidUiautomator2Driver@8fc2 (5afccec9)] Proxying [DELETE /] to [DELETE http://127.0.0.1:8202/session/53f67457-eb50-4a90-ac36-2c1aeedb6145] with no body
[AndroidUiautomator2Driver@8fc2 (5afccec9)] Got response with status 200: {"sessionId":"53f67457-eb50-4a90-ac36-2c1aeedb6145","value":null}
[ADB] Running 'C:\Users\MunishKumar\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s RZCTA0S8CWD shell dumpsys activity services io.appium.settings/.recorder.RecorderService'
[ADB] Running 'C:\Users\MunishKumar\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s RZCTA0S8CWD shell am force-stop com.google.android.youtube'
[Logcat] Stopping logcat capture
[ADB] Removing forwarded port socket connection: 8202
[ADB] Running 'C:\Users\MunishKumar\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s RZCTA0S8CWD forward --remove tcp:8202'
[AndroidUiautomator2Driver@8fc2 (5afccec9)] Restoring hidden api policy to the device default configuration
[ADB] Running 'C:\Users\MunishKumar\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s RZCTA0S8CWD shell 'settings delete global hidden_api_policy_pre_p_apps;settings delete global hidden_api_policy_p_apps;settings delete global hidden_api_policy''
[Instrumentation] .
[Instrumentation] Time: 6.017
[Instrumentation]
[Instrumentation] OK (1 test)
[Instrumentation] The process has exited with code 0
[AppiumDriver@68ab] Event 'quitSessionFinished' logged at 1715092231458 (20:00:31 GMT+0530 (India Standard Time))
[AppiumDriver@68ab] Received response: null
[AppiumDriver@68ab] But deleting session, so not returning
[AppiumDriver@68ab] Responding to client with driver.deleteSession() result: null
[HTTP] <-- DELETE /wd/hub/session/5afccec9-e660-4288-8a67-cf7c9320e93f 200 481 ms - 14
[HTTP]
[HTTP] --> DELETE /wd/hub/session/
[HTTP] {}
[HTTP] No route found for /wd/hub/session/
[HTTP] <-- DELETE /wd/hub/session/ 404 5 ms - 211
[HTTP]
[HTTP] Request idempotency key: 2ecdcb3e-748e-49d0-bb90-161221eed3e1
[HTTP] --> POST /wd/hub/session
[HTTP] {"capabilities":{"firstMatch":[{"platformName":"Android","appium:automationName":"UiAutomator2","appium:deviceName":"Galaxy S20 FE 5G","appium:appPackage":"com.google.android.youtube","appium:appActivity":"com.google.android.apps.youtube.app.watchwhile.WatchWhileActivity","appium:udid":"RZCTA0S8CWD","appium:autoAcceptAlerts":"true","appium:newCommandTimeout":3000,"appium:adbExecTimeout":80000,"appium:trackScrollEvents":false}]}}
[AppiumDriver@68ab] Calling AppiumDriver.createSession() with args: [null,null,{"firstMatch":[{"platformName":"Android","appium:automationName":"UiAutomator2","appium:deviceName":"Galaxy S20 FE 5G","appium:appPackage":"com.google.android.youtube","appium:appActivity":"com.google.android.apps.youtube.app.watchwhile.WatchWhileActivity","appium:udid":"RZCTA0S8CWD","appium:autoAcceptAlerts":"true","appium:newCommandTimeout":3000,"appium:adbExecTimeout":80000,"appium:trackScrollEvents":false}]}]
[AppiumDriver@68ab] Event 'newSessionRequested' logged at 1715092258772 (20:00:58 GMT+0530 (India Standard Time))
[Appium] Attempting to find matching driver for automationName 'UiAutomator2' and platformName 'Android'
[Appium] The 'uiautomator2' driver was installed and matched caps.
[Appium] Will require it at C:\Users\MunishKumar.appium\node_modules\appium-uiautomator2-driver
[Appium] Requiring driver at C:\Users\MunishKumar.appium\node_modules\appium-uiautomator2-driver\build\index.js
[AppiumDriver@68ab] Appium v2.5.1 creating new AndroidUiautomator2Driver (v2.12.6) session
[AppiumDriver@68ab] Checking BaseDriver versions for Appium and AndroidUiautomator2Driver
[AppiumDriver@68ab] Appium's BaseDriver version is 9.5.2
[AppiumDriver@68ab] AndroidUiautomator2Driver's BaseDriver version is 9.5.2
[AndroidUiautomator2Driver@ff09] Creating session with W3C capabilities: {
[AndroidUiautomator2Driver@ff09] "alwaysMatch": {
[AndroidUiautomator2Driver@ff09] "platformName": "Android",
[AndroidUiautomator2Driver@ff09] "appium:automationName": "UiAutomator2",
[AndroidUiautomator2Driver@ff09] "appium:deviceName": "Galaxy S20 FE 5G",
[AndroidUiautomator2Driver@ff09] "appium:appPackage": "com.google.android.youtube",
[AndroidUiautomator2Driver@ff09] "appium:appActivity": "com.google.android.apps.youtube.app.watchwhile.WatchWhileActivity",
[AndroidUiautomator2Driver@ff09] "appium:udid": "RZCTA0S8CWD",
[AndroidUiautomator2Driver@ff09] "appium:autoAcceptAlerts": "true",
[AndroidUiautomator2Driver@ff09] "appium:newCommandTimeout": 3000,
[AndroidUiautomator2Driver@ff09] "appium:adbExecTimeout": 80000,
[AndroidUiautomator2Driver@ff09] "appium:trackScrollEvents": false
[AndroidUiautomator2Driver@ff09] },
[AndroidUiautomator2Driver@ff09] "firstMatch": [
[AndroidUiautomator2Driver@ff09] {}
[AndroidUiautomator2Driver@ff09] ]
[AndroidUiautomator2Driver@ff09] }
[AndroidUiautomator2Driver@ff09] The following provided capabilities were not recognized by this driver:
[AndroidUiautomator2Driver@ff09] deviceName
[AndroidUiautomator2Driver@ff09] autoAcceptAlerts
[AndroidUiautomator2Driver@ff09] trackScrollEvents
[AndroidUiautomator2Driver@ff09 (5f69194a)] Session created with session id: 5f69194a-cef0-49b4-94d2-bd7a2f4e8253
[AndroidUiautomator2Driver@ff09 (5f69194a)] Starting 'com.google.android.youtube' directly on the device
[ADB] Using 'adb.exe' from 'C:\Users\MunishKumar\AppData\Local\Android\Sdk\platform-tools\adb.exe'
[ADB] Running 'C:\Users\MunishKumar\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 start-server'
[AndroidDriver] Retrieving device list
[ADB] Trying to find a connected android device
[ADB] Getting connected devices
[ADB] Connected devices: [{"udid":"RZCTA0S8CWD","state":"device"}]
[AndroidDriver] Using device: RZCTA0S8CWD
[ADB] Using 'adb.exe' from 'C:\Users\MunishKumar\AppData\Local\Android\Sdk\platform-tools\adb.exe'
[ADB] Running 'C:\Users\MunishKumar\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 start-server'
[ADB] Setting device id to RZCTA0S8CWD
[ADB] Running 'C:\Users\MunishKumar\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s RZCTA0S8CWD shell getprop ro.build.version.sdk'
[ADB] Current device property 'ro.build.version.sdk': 33
[ADB] Getting device platform version
[ADB] Running 'C:\Users\MunishKumar\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s RZCTA0S8CWD shell getprop ro.build.version.release'
[ADB] Current device property 'ro.build.version.release': 13
[ADB] Device API level: 33
[AndroidUiautomator2Driver@ff09 (5f69194a)] Relaxing hidden api policy
[ADB] Running 'C:\Users\MunishKumar\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s RZCTA0S8CWD shell 'settings put global hidden_api_policy_pre_p_apps 1;settings put global hidden_api_policy_p_apps 1;settings put global hidden_api_policy 1''
[AndroidDriver] No app sent in, not parsing package/activity
[ADB] Running 'C:\Users\MunishKumar\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s RZCTA0S8CWD wait-for-device'
[ADB] Running 'C:\Users\MunishKumar\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s RZCTA0S8CWD shell echo ping'
[AndroidDriver] Pushing settings apk to device...
[ADB] Getting install status for io.appium.settings
[ADB] Running 'C:\Users\MunishKumar\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s RZCTA0S8CWD shell dumpsys package io.appium.settings'
[ADB] 'io.appium.settings' is installed
[ADB] Getting package info for 'io.appium.settings'
[ADB] Running 'C:\Users\MunishKumar\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s RZCTA0S8CWD shell dumpsys package io.appium.settings'
[ADB] The version code of the installed 'io.appium.settings' is greater than the application version code (79 > 55)
[ADB] There is no need to downgrade 'io.appium.settings'
[ADB] Getting IDs of all 'io.appium.settings' processes
[ADB] Running 'C:\Users\MunishKumar\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s RZCTA0S8CWD shell 'pgrep --help; echo $?''
[ADB] Running 'C:\Users\MunishKumar\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s RZCTA0S8CWD 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 'C:\Users\MunishKumar\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s RZCTA0S8CWD shell appops set io.appium.settings android:mock_location allow'
[ADB] Running 'C:\Users\MunishKumar\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s RZCTA0S8CWD shell "[ -e '/data/local/tmp/mock_apps.json' ] && echo PASS"'
[ADB] Running 'C:\Users\MunishKumar\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s RZCTA0S8CWD shell cat /data/local/tmp/mock_apps.json'
[Logcat] Starting logs capture with command: C:\Users\MunishKumar\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s RZCTA0S8CWD logcat -v threadtime
[AndroidUiautomator2Driver@ff09 (5f69194a)] Forwarding UiAutomator2 Server port 6790 to local port 8202
[ADB] Forwarding system: 8202 to device: 6790
[ADB] Running 'C:\Users\MunishKumar\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s RZCTA0S8CWD forward tcp:8202 tcp:6790'
[ADB] Getting install status for io.appium.uiautomator2.server
[ADB] Running 'C:\Users\MunishKumar\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s RZCTA0S8CWD 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 'C:\Users\MunishKumar\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s RZCTA0S8CWD 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 ('5.7.8' >= '5.7.8')
[AndroidUiautomator2Driver@ff09 (5f69194a)] io.appium.uiautomator2.server installation state: sameVersionInstalled
[ADB] Checking app cert for C:\Users\MunishKumar.appium\node_modules\appium-uiautomator2-driver\node_modules\appium-uiautomator2-server\apks\appium-uiautomator2-server-v5.7.8.apk
[ADB] Using the previously cached signature entry for 'appium-uiautomator2-server-v5.7.8.apk'
[ADB] sha256 hash did match for 'appium-uiautomator2-server-v5.7.8.apk'
[ADB] Getting install status for io.appium.uiautomator2.server.test
[ADB] Running 'C:\Users\MunishKumar\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s RZCTA0S8CWD shell dumpsys package io.appium.uiautomator2.server.test'
[ADB] 'io.appium.uiautomator2.server.test' is installed
[ADB] Checking app cert for C:\Users\MunishKumar.appium\node_modules\appium-uiautomator2-driver\node_modules\appium-uiautomator2-server\apks\appium-uiautomator2-server-debug-androidTest.apk
[ADB] Using the previously cached signature entry for 'appium-uiautomator2-server-debug-androidTest.apk'
[ADB] sha256 hash did match for 'appium-uiautomator2-server-debug-androidTest.apk'
[AndroidUiautomator2Driver@ff09 (5f69194a)] Server packages are not going to be (re)installed
[AndroidUiautomator2Driver@ff09 (5f69194a)] Waiting up to 30000ms for services to be available
[ADB] Running 'C:\Users\MunishKumar\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s RZCTA0S8CWD shell pm list instrumentation'
[AndroidUiautomator2Driver@ff09 (5f69194a)] Instrumentation target 'io.appium.uiautomator2.server.test/androidx.test.runner.AndroidJUnitRunner' is available
[ADB] Adding packages ["io.appium.settings","io.appium.uiautomator2.server","io.appium.uiautomator2.server.test"] to Doze whitelist
[ADB] Got the following command chunks to execute: [["dumpsys","deviceidle","whitelist","+io.appium.settings",";","dumpsys","deviceidle","whitelist","+io.appium.uiautomator2.server",";","dumpsys","deviceidle","whitelist","+io.appium.uiautomator2.server.test",";"]]
[ADB] Running 'C:\Users\MunishKumar\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s RZCTA0S8CWD shell dumpsys deviceidle whitelist +io.appium.settings ; dumpsys deviceidle whitelist +io.appium.uiautomator2.server ; dumpsys deviceidle whitelist +io.appium.uiautomator2.server.test ;'
[AndroidUiautomator2Driver@ff09 (5f69194a)] No app capability. Assuming it is already on the device
[ADB] Getting install status for com.google.android.youtube
[ADB] Running 'C:\Users\MunishKumar\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s RZCTA0S8CWD shell dumpsys package com.google.android.youtube'
[ADB] 'com.google.android.youtube' is installed
[ADB] Running 'C:\Users\MunishKumar\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s RZCTA0S8CWD shell am force-stop com.google.android.youtube'
[ADB] Running 'C:\Users\MunishKumar\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s RZCTA0S8CWD shell pm clear com.google.android.youtube'
[AndroidDriver] Performed fast reset on the installed 'com.google.android.youtube' application (stop and clear)
[AndroidUiautomator2Driver@ff09 (5f69194a)] Performing shallow cleanup of automation leftovers
[AndroidUiautomator2Driver@ff09 (5f69194a)] No obsolete sessions have been detected (socket hang up)
[ADB] Running 'C:\Users\MunishKumar\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s RZCTA0S8CWD shell am force-stop io.appium.uiautomator2.server.test'
[AndroidUiautomator2Driver@ff09 (5f69194a)] Starting UIAutomator2 server 5.7.8
[AndroidUiautomator2Driver@ff09 (5f69194a)] Using UIAutomator2 server from 'C:\Users\MunishKumar.appium\node_modules\appium-uiautomator2-driver\node_modules\appium-uiautomator2-server\apks\appium-uiautomator2-server-v5.7.8.apk' and test from 'C:\Users\MunishKumar.appium\node_modules\appium-uiautomator2-driver\node_modules\appium-uiautomator2-server\apks\appium-uiautomator2-server-debug-androidTest.apk'
[AndroidUiautomator2Driver@ff09 (5f69194a)] Waiting up to 30000ms for UiAutomator2 to be online...
[ADB] Creating ADB subprocess with args: ["-P",5037,"-s","RZCTA0S8CWD","shell","am","instrument","-w","-e","disableAnalytics",true,"io.appium.uiautomator2.server.test/androidx.test.runner.AndroidJUnitRunner"]
[AndroidUiautomator2Driver@ff09 (5f69194a)] Matched '/status' to command name 'getStatus'
[AndroidUiautomator2Driver@ff09 (5f69194a)] Proxying [GET /status] to [GET http://127.0.0.1:8202/status] with no body
[AndroidUiautomator2Driver@ff09 (5f69194a)] socket hang up
[Instrumentation] io.appium.uiautomator2.server.test.AppiumUiAutomator2Server:
[AndroidUiautomator2Driver@ff09 (5f69194a)] Matched '/status' to command name 'getStatus'
[AndroidUiautomator2Driver@ff09 (5f69194a)] Proxying [GET /status] to [GET http://127.0.0.1:8202/status] with no body
[AndroidUiautomator2Driver@ff09 (5f69194a)] socket hang up
[AndroidUiautomator2Driver@ff09 (5f69194a)] Matched '/status' to command name 'getStatus'
[AndroidUiautomator2Driver@ff09 (5f69194a)] Proxying [GET /status] to [GET http://127.0.0.1:8202/status] with no body
[AndroidUiautomator2Driver@ff09 (5f69194a)] Got response with status 200: {"sessionId":"None","value":{"message":"UiAutomator2 Server is ready to accept commands","ready":true}}
[AndroidUiautomator2Driver@ff09 (5f69194a)] The initialization of the instrumentation process took 2091ms
[AndroidUiautomator2Driver@ff09 (5f69194a)] Matched '/session' to command name 'createSession'
[AndroidUiautomator2Driver@ff09 (5f69194a)] Proxying [POST /session] to [POST http://127.0.0.1:8202/session] with body: {"capabilities":{"firstMatch":[{"platform":"LINUX","webStorageEnabled":false,"takesScreenshot":true,"javascriptEnabled":true,"databaseEnabled":false,"networkConnectionEnabled":true,"locationContextEnabled":false,"warnings":{},"desired":{"platformName":"Android","automationName":"UiAutomator2","deviceName":"Galaxy S20 FE 5G","appPackage":"com.google.android.youtube","appActivity":"com.google.android.apps.youtube.app.watchwhile.WatchWhileActivity","udid":"RZCTA0S8CWD","autoAcceptAlerts":"true","newCommandTimeout":3000,"adbExecTimeout":80000,"trackScrollEvents":false},"platformName":"Android","automationName":"UiAutomator2","deviceName":"RZCTA0S8CWD","appPackage":"com.google.android.youtube","appActivity":"com.google.android.apps.youtube.app.watchwhile.WatchWhileActivity","udid":"RZCTA0S8CWD","autoAcceptAlerts":"true","newCommandTimeout":3000,"adbExecTimeout":80000,"trackScrollEvents":false,"deviceUDID":"RZCTA0S8CWD"}],"alwaysMatch":{}}}
[AndroidUiautomator2Driver@ff09 (5f69194a)] Got response with status 200: {"sessionId":"9106ec58-3c8a-4456-bbeb-44b7969b15d2","value":{"capabilities":{"firstMatch":[{"platform":"LINUX","webStorageEnabled":false,"takesScreenshot":true,"javascriptEnabled":true,"databaseEnabled":false,"networkConnectionEnabled":true,"locationContextEnabled":false,"warnings":{},"desired":{"platformName":"Android","automationName":"UiAutomator2","deviceName":"Galaxy S20 FE 5G","appPackage":"com.google.android.youtube","appActivity":"com.google.android.apps.youtube.app.watchwhile.WatchWhileActivity","udid":"RZCTA0S8CWD","autoAcceptAlerts":"true","newCommandTimeout":3000,"adbExecTimeout":80000,"trackScrollEvents":false},"platformName":"Android","automationName":"UiAutomator2","deviceName":"RZCTA0S8CWD","appPackage":"com.google.android.youtube","appActivity":"com.google.android.apps.youtube.app.watchwhile.WatchWhileActivity","udid":"RZCTA0S8CWD","autoAcceptAlerts":"true","newCommandTimeout":3000,"adbExecTimeout":80000,"trackScrollEvents":false,"deviceUDID":"RZCTA0S8CWD"}],"alwaysMatch":{}},"sessionId":"...
[AndroidUiautomator2Driver@ff09 (5f69194a)] Determined the downstream protocol as 'W3C'
[AndroidUiautomator2Driver@ff09 (5f69194a)] Proxying [GET /appium/device/info] to [GET http://127.0.0.1:8202/session/9106ec58-3c8a-4456-bbeb-44b7969b15d2/appium/device/info] with no body
[AndroidUiautomator2Driver@ff09 (5f69194a)] Got response with status 200: {"sessionId":"9106ec58-3c8a-4456-bbeb-44b7969b15d2","value":{"androidId":"89f63c7f65b0319a","apiVersion":"33","bluetooth":{"state":"OFF"},"brand":"samsung","carrierName":"","displayDensity":480,"locale":"en_IN","manufacturer":"samsung","model":"SM-G781B","networks":[{"capabilities":{"SSID":null,"linkDownBandwidthKbps":33857,"linkUpstreamBandwidthKbps":1293,"networkCapabilities":"NET_CAPABILITY_NOT_METERED,NET_CAPABILITY_INTERNET,NET_CAPABILITY_NOT_RESTRICTED,NET_CAPABILITY_TRUSTED,NET_CAPABILITY_NOT_VPN,NET_CAPABILITY_VALIDATED,NET_CAPABILITY_NOT_ROAMING,NET_CAPABILITY_FOREGROUND,NET_CAPABILITY_NOT_CONGESTED,NET_CAPABILITY_NOT_SUSPENDED","signalStrength":-64,"transportTypes":"TRANSPORT_WIFI"},"detailedState":"CONNECTED","extraInfo":"","isAvailable":true,"isConnected":true,"isFailover":false,"isRoaming":false,"state":"CONNECTED","subtype":-1,"subtypeName":"","type":1,"typeName":"WIFI"}],"platformVersion":"13","realDisplaySize":"1080x2400","timeZone":"Asia/Kolkata"}}
[ADB] Running 'C:\Users\MunishKumar\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s RZCTA0S8CWD shell dumpsys window'
[AndroidDriver] Screen already unlocked, doing nothing
[AndroidUiautomator2Driver@ff09 (5f69194a)] Starting 'com.google.android.youtube/com.google.android.apps.youtube.app.watchwhile.WatchWhileActivity and waiting for 'com.google.android.youtube/com.google.android.apps.youtube.app.watchwhile.WatchWhileActivity'
[ADB] Running 'C:\Users\MunishKumar\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s RZCTA0S8CWD shell am start -W -n com.google.android.youtube/com.google.android.apps.youtube.app.watchwhile.WatchWhileActivity -S -a android.intent.action.MAIN -c android.intent.category.LAUNCHER -f 0x10200000'
[AndroidUiautomator2Driver@ff09 (5f69194a)] Proxying [GET /appium/device/pixel_ratio] to [GET http://127.0.0.1:8202/session/9106ec58-3c8a-4456-bbeb-44b7969b15d2/appium/device/pixel_ratio] with no body
[AndroidUiautomator2Driver@ff09 (5f69194a)] Got response with status 200: {"sessionId":"9106ec58-3c8a-4456-bbeb-44b7969b15d2","value":3}
[AndroidUiautomator2Driver@ff09 (5f69194a)] Matched '/appium/device/system_bars' to command name 'getSystemBars'
[AndroidUiautomator2Driver@ff09 (5f69194a)] Proxying [GET /appium/device/system_bars] to [GET http://127.0.0.1:8202/session/9106ec58-3c8a-4456-bbeb-44b7969b15d2/appium/device/system_bars] with no body
[AndroidUiautomator2Driver@ff09 (5f69194a)] Got response with status 200: {"sessionId":"9106ec58-3c8a-4456-bbeb-44b7969b15d2","value":{"statusBar":88}}
[AndroidUiautomator2Driver@ff09 (5f69194a)] Matched '/window/current/size' to command name 'getWindowSize'
[AndroidUiautomator2Driver@ff09 (5f69194a)] Proxying [GET /window/current/size] to [GET http://127.0.0.1:8202/session/9106ec58-3c8a-4456-bbeb-44b7969b15d2/window/current/size] with no body
[AndroidUiautomator2Driver@ff09 (5f69194a)] Got response with status 200: {"sessionId":"9106ec58-3c8a-4456-bbeb-44b7969b15d2","value":{"height":2168,"width":1080}}
[AppiumDriver@68ab] New AndroidUiautomator2Driver session created successfully, session 5f69194a-cef0-49b4-94d2-bd7a2f4e8253 added to master session list
[AppiumDriver@68ab] Event 'newSessionStarted' logged at 1715092265148 (20:01:05 GMT+0530 (India Standard Time))
[AndroidUiautomator2Driver@ff09 (5f69194a)] Cached the protocol value 'W3C' for the new session 5f69194a-cef0-49b4-94d2-bd7a2f4e8253
[AndroidUiautomator2Driver@ff09 (5f69194a)] 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","automationName":"UiAutomator2","deviceName":"Galaxy S20 FE 5G","appPackage":"com.google.android.youtube","appActivity":"com.google.android.apps.youtube.app.watchwhile.WatchWhileActivity","udid":"RZCTA0S8CWD","autoAcceptAlerts":"true","newCommandTimeout":3000,"adbExecTimeout":80000,"trackScrollEvents":false},"platformName":"Android","automationName":"UiAutomator2","deviceName":"RZCTA0S8CWD","appPackage":"com.google.android.youtube","appActivity":"com.google.android.apps.youtube.app.watchwhile.WatchWhileActivity","udid":"RZCTA0S8CWD","autoAcceptAlerts":"true","newCommandTimeout":3000,"adbExecTimeout":80000,"trackScrollEvents":false,"deviceUDID":"RZCTA0S8CWD","deviceApiLevel":33,"platformVersion":"13","deviceScreenSize":"1080x2400","deviceScreenDensity":480,"deviceM...
[HTTP] <-- POST /wd/hub/session 200 6381 ms - 1227
[HTTP]
[HTTP] Request idempotency key: c7d0a043-c386-435c-8cdd-4b64e807792e
[HTTP] --> POST /wd/hub/session/5f69194a-cef0-49b4-94d2-bd7a2f4e8253/timeouts
[HTTP] {"implicit":120000}
[AndroidUiautomator2Driver@ff09 (5f69194a)] Calling AppiumDriver.timeouts() with args: [null,null,null,null,120000,"5f69194a-cef0-49b4-94d2-bd7a2f4e8253"]
[AndroidUiautomator2Driver@ff09 (5f69194a)] W3C timeout argument: {"implicit":120000}}
[AndroidUiautomator2Driver@ff09 (5f69194a)] Set implicit wait to 120000ms
[AndroidUiautomator2Driver@ff09 (5f69194a)] Responding to client with driver.timeouts() result: null
[HTTP] <-- POST /wd/hub/session/5f69194a-cef0-49b4-94d2-bd7a2f4e8253/timeouts 200 5 ms - 14
[HTTP]
[HTTP] --> GET /wd/hub/session/5f69194a-cef0-49b4-94d2-bd7a2f4e8253/screenshot
[HTTP] {}
[AndroidUiautomator2Driver@ff09 (5f69194a)] Calling AppiumDriver.getScreenshot() with args: ["5f69194a-cef0-49b4-94d2-bd7a2f4e8253"]
[AndroidUiautomator2Driver@ff09 (5f69194a)] Matched '/screenshot' to command name 'getScreenshot'
[AndroidUiautomator2Driver@ff09 (5f69194a)] Proxying [GET /screenshot] to [GET http://127.0.0.1:8202/session/9106ec58-3c8a-4456-bbeb-44b7969b15d2/screenshot] with no body
[HTTP] Request idempotency key: a15b0c2b-225d-4701-b031-4d4e6e7e97e4
[HTTP] --> POST /wd/hub/session/5f69194a-cef0-49b4-94d2-bd7a2f4e8253/appium/device/app_state
[HTTP] {"appId":"com.google.android.youtube"}
[AndroidUiautomator2Driver@ff09 (5f69194a)] Calling AppiumDriver.queryAppState() with args: ["com.google.android.youtube","5f69194a-cef0-49b4-94d2-bd7a2f4e8253"]
[AndroidUiautomator2Driver@ff09 (5f69194a)] Got response with status 200: {"sessionId":"9106ec58-3c8a-4456-bbeb-44b7969b15d2","value":"iVBORw0KGgoAAAANSUhEUgAABDgAAAlgCAYAAABtGofVAAAAAXNSR0IArs4c6QAAAARzQklUCAgICHwIZIgAACAASURBVHic7N15bNx3nf/x19wez/iK43hsx3YSO0lzH6VbStKCVO2S1aZalgZY6ELTPaDikNpUQFnY0oafRAE1RLstAokFWqBqmrK7VavFIHUFpaWkbHP1SOI4zeEkduL4Gt+e6/eH9/tlxp7Lx3jm6zwfUhTPzHe+34894/H38/p+Pu+P7b//+79jAgAAAAAAsDB7vhsAAAAAAAAwWwQcAAAAAADA8gg4AAAAAACA5RFwAAAAAAAAyyPgAAAAAAAAlkfAAQAAAAAALI+AAwAAAAAAWB4BBwAAAAAAsDwCDgAAAAAAYHkEHAAAAAAAwPIIOAAAAAAAgOURcAAAAAAAAMsj4AAAAAAAAJZHwAEAAAAAACyPgAMAAAAAAFgeAQcAAAAAALA8Ag4AAAAAAGB5BBwAAAAAAMDyCDgAAAAAAIDlEXAAAAAAAADLI+AAAAAAAACWR8ABAAAAAAAsj4ADAAAAAABYHgEHAAAAAACwPAIOAAAAAABgeQQcAAAAAADA8gg4AAAAAACA5RFwAAAAAAAAyyPgAAAAAAAAlkfAAQAAAAAALI+AAwAAAAAAWB4BBwAAAAAAsDwCDgAAAAAAYHkEHAAAAAAAwPIIOAAAAAAAgOURcAAAAAAAAMsj4AAAAAAAAJZHwAEAAAAAACyPgAMAAAAAAFgeAQcAAAAAALA8Ag4AAAAAAGB5BBwAAAAAAMDyCDgAJGWz2fLdBAAAAADImjPfDQCsxG63y+Vy5aTzH41GFQqFFIvF5nzfmTidTjkcDtntdtntE7mn2+3W+Pi42bZIJGL+AwAAQGo2m01ut1sul0tOp1M2m23KOaRxnhUOhxWJRDQ+Pq5wOJyvJgMLAgEH5tWmTZvk9/v1...
[AndroidUiautomator2Driver@ff09 (5f69194a)] Querying the state of 'com.google.android.youtube'
[ADB] Getting install status for com.google.android.youtube
[ADB] Running 'C:\Users\MunishKumar\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s RZCTA0S8CWD shell dumpsys package com.google.android.youtube'
[AndroidUiautomator2Driver@ff09 (5f69194a)] Responding to client with driver.getScreenshot() result: "iVBORw0KGgoAAAANSUhEUgAABDgAAAlgCAYAAABtGofVAAAAAXNSR0IArs4c6QAAAARzQklUCAgICHwIZIgAACAASURBVHic7N15bNx3nf/x19wez/iK43hsx3YSO0lzH6VbStKCVO2S1aZalgZY6ELTPaDikNpUQFnY0oafRAE1RLstAokFWqBqmrK7VavFIHUFpaWkbHP1SOI4zeEkduL4Gt+e6/eH9/tlxp7Lx3jm6zwfUhTPzHe+34894/H38/p+Pu+P7b//+79jAgAAAAAAsDB7vhsAAAAAAAAwWwQcAAAAAADA8gg4AAAAAACA5RFwAAAAAAAAyyPgAAAAAAAAlkfAAQAAAAAALI+AAwAAAAAAWB4BBwAAAAAAsDwCDgAAAAAAYHkEHAAAAAAAwPIIOAAAAAAAgOURcAAAAAAAAMsj4AAAAAAAAJZHwAEAAAAAACyPgAMAAAAAAFgeAQcAAAAAALA8Ag4AAAAAAGB5BBwAAAAAAMDyCDgAAAAAAIDlEXAAAAAAAADLI+AAAAAAAACWR8ABAAAAAAAsj4ADAAAAAABYHgEHAAAAAACwPAIOAAAAAABgeQQcAAAAAADA8gg4AAAAAACA5RFwAAAAAAAAyyPgAAAAAAAAlkfAAQAAAAAALI+AAwAAAAAAWB4BBwAAAAAAsDwCDgAAAAAAYHkEHAAAAAAAwPIIOAAAAAAAgOURcAAAAAAAAMsj4AAAAAAAAJZHwAEAAAAAACyPgAMAAAAAAFgeAQcAAAAAALA8Ag4AAAAAAGB5BBwAAAAAAMDyCDgAJGWz2fLdBAAAAADImjPfDQCsxG63y+Vy5aTzH41GFQqFFIvF5nzfmTidTjkcDtntdtntE7mn2+3W+Pi42bZIJGL+AwAAQGo2m01ut1sul0tOp1M2m23KOaRxnhUOhxWJRDQ+Pq5wOJyvJgMLAgEH5tWmTZvk9/v1hz/8wXIdZYfDoUWLFqm2tlZut3vO9z86Oqr29nb19/fPS8hh/KF1u91atGiR...
[HTTP] <-- GET /wd/hub/session/5f69194a-cef0-49b4-94d2-bd7a2f4e8253/screenshot 200 278 ms - 93432
[HTTP]
[ADB] 'com.google.android.youtube' is installed
[ADB] Getting IDs of all 'com.google.android.youtube' processes
[ADB] Running 'C:\Users\MunishKumar\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s RZCTA0S8CWD shell pgrep -f ([[:blank:]]|^)com.google.android.youtube([[:blank:]]|$)'
[ADB] Running 'C:\Users\MunishKumar\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s RZCTA0S8CWD shell dumpsys window displays'
[AndroidUiautomator2Driver@ff09 (5f69194a)] Responding to client with driver.queryAppState() result: 3
[HTTP] <-- POST /wd/hub/session/5f69194a-cef0-49b4-94d2-bd7a2f4e8253/appium/device/app_state 200 452 ms - 11
[HTTP]
[HTTP] Request idempotency key: 56e4822e-c235-4604-8f5e-962a1e768d9c
[HTTP] --> POST /wd/hub/session/5f69194a-cef0-49b4-94d2-bd7a2f4e8253/appium/device/activate_app
[HTTP] {"appId":"com.google.android.youtube"}
[AndroidUiautomator2Driver@ff09 (5f69194a)] Calling AppiumDriver.activateApp() with args: ["com.google.android.youtube",null,null,null,"5f69194a-cef0-49b4-94d2-bd7a2f4e8253"]
[AndroidUiautomator2Driver@ff09 (5f69194a)] Activating 'com.google.android.youtube'
[ADB] Running 'C:\Users\MunishKumar\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s RZCTA0S8CWD shell cmd package resolve-activity --brief com.google.android.youtube'
[AndroidUiautomator2Driver@ff09 (5f69194a)] Encountered internal error running command: Error: Unable to resolve the launchable activity of 'com.google.android.youtube'. Original error: priority=0 preferredOrder=0 match=0x108000 specificIndex=-1 isDefault=true
[AndroidUiautomator2Driver@ff09 (5f69194a)] com.google.android.youtube/.app.honeycomb.Shell$HomeActivity
[AndroidUiautomator2Driver@ff09 (5f69194a)] at ADB.resolveLaunchableActivity (C:\Users\MunishKumar.appium\node_modules\appium-uiautomator2-driver\node_modules\appium-adb\lib\tools\adb-commands.js:271:9)
[AndroidUiautomator2Driver@ff09 (5f69194a)] at AndroidUiautomator2Driver.activateApp (C:\Users\MunishKumar.appium\node_modules\appium-uiautomator2-driver\node_modules\appium-android-driver\lib\commands\app-management.js:115:22)
[HTTP] <-- POST /wd/hub/session/5f69194a-cef0-49b4-94d2-bd7a2f4e8253/appium/device/activate_app 500 78 ms - 1036
[HTTP]
[HTTP] --> GET /wd/hub/session/5f69194a-cef0-49b4-94d2-bd7a2f4e8253/screenshot
[HTTP] {}
[AndroidUiautomator2Driver@ff09 (5f69194a)] Calling AppiumDriver.getScreenshot() with args: ["5f69194a-cef0-49b4-94d2-bd7a2f4e8253"]
[AndroidUiautomator2Driver@ff09 (5f69194a)] Matched '/screenshot' to command name 'getScreenshot'
[AndroidUiautomator2Driver@ff09 (5f69194a)] Proxying [GET /screenshot] to [GET http://127.0.0.1:8202/session/9106ec58-3c8a-4456-bbeb-44b7969b15d2/screenshot] with no body
[AndroidUiautomator2Driver@ff09 (5f69194a)] Got response with status 200: {"sessionId":"9106ec58-3c8a-4456-bbeb-44b7969b15d2","value":"iVBORw0KGgoAAAANSUhEUgAABDgAAAlgCAYAAABtGofVAAAAAXNSR0IArs4c6QAAAARzQklUCAgICHwIZIgAACAASURBVHic7N1pcFzXfSb85669A2g09rVBgCS4gSJFgpKlMI5ix3rjxHEljl2ZVCpjOZNIjqP3Q0qucspyjeOqqOIpJzW2HKlcM57yG6WUuGKPZM04XjSUY0uiKEoiCQIksRDEQuxr78vd3g+YvkYTDaCxNICGnl8Vi+zu2/febjQb9zznnP8RXnzxRQtEREREREREREVM3O0TICIiIiIiIiLaKgYcRERERERERFT0GHAQERERERERUdFjwEFERERERERERY8BBxEREREREREVPQYcRERERERERFT0GHAQERERERERUdFjwEFERERERERERY8BBxEREREREREVPQYcRERERERERFT0GHAQERERERERUdFjwEFERERERERERY8BBxEREREREREVPQYcRERERERERFT0GHAQERERERERUdFjwEFERERERERERY8BBxEREREREREVPQYcRERERERERFT0GHAQERERERERUdFjwEFERERERERERY8BBxEREREREREVPQYcRERERERERFT0GHAQERERERERUdFjwEFERERERERERY8BBxEREREREREVPQYcRERERERERFT0GHAQERERERERUdFjwEFERERERERERY8BBxEREREREREVPQYcRERERERERFT0GHAQERERERERUdFjwEFERERERERERY8BBxEREREREREVPQYcRERERERERFT0GHAQERERERERUdFjwEFERERERERERY8BBxEREREREREVPQYcRERERERERFT0GHAQERERERERUdFjwEFERERERERERY8BBxEREREREREVPQYcRERERERERFT0GHAQUU6CIOz2KRAREREREeVN3u0TIComoihCVVWI...
[AndroidUiautomator2Driver@ff09 (5f69194a)] Responding to client with driver.getScreenshot() result: "iVBORw0KGgoAAAANSUhEUgAABDgAAAlgCAYAAABtGofVAAAAAXNSR0IArs4c6QAAAARzQklUCAgICHwIZIgAACAASURBVHic7N1pcFzXfSb85669A2g09rVBgCS4gSJFgpKlMI5ix3rjxHEljl2ZVCpjOZNIjqP3Q0qucspyjeOqqOIpJzW2HKlcM57yG6WUuGKPZM04XjSUY0uiKEoiCQIksRDEQuxr78vd3g+YvkYTDaCxNICGnl8Vi+zu2/febjQb9zznnP8RXnzxRQtEREREREREREVM3O0TICIiIiIiIiLaKgYcRERERERERFT0GHAQERERERERUdFjwEFERERERERERY8BBxEREREREREVPQYcRERERERERFT0GHAQERERERERUdFjwEFERERERERERY8BBxEREREREREVPQYcRERERERERFT0GHAQERERERERUdFjwEFERERERERERY8BBxEREREREREVPQYcRERERERERFT0GHAQERERERERUdFjwEFERERERERERY8BBxEREREREREVPQYcRERERERERFT0GHAQERERERERUdFjwEFERERERERERY8BBxEREREREREVPQYcRERERERERFT0GHAQERERERERUdFjwEFERERERERERY8BBxEREREREREVPQYcRERERERERFT0GHAQERERERERUdFjwEFERERERERERY8BBxEREREREREVPQYcRERERERERFT0GHAQERERERERUdFjwEFERERERERERY8BBxEREREREREVPQYcRERERERERFT0GHAQERERERERUdFjwEFERERERERERY8BBxEREREREREVPQYcRERERERERFT0GHAQERERERERUdFjwEFERERERERERY8BBxEREREREREVPQYcRERERERERFT0GHAQUU6CIOz2KRAREREREeVN3u0TIComoihCVVWI4vZng6ZpIp1OwzTNbd/3emRZhizLkCTJfm1OpxPJZBIAYBgGTNOEruvQdX3H...
[HTTP] <-- GET /wd/hub/session/5f69194a-cef0-49b4-94d2-bd7a2f4e8253/screenshot 200 302 ms - 136788
[HTTP]
[HTTP] --> DELETE /wd/hub/session/5f69194a-cef0-49b4-94d2-bd7a2f4e8253
[HTTP] {}
[AndroidUiautomator2Driver@ff09 (5f69194a)] Calling AppiumDriver.deleteSession() with args: ["5f69194a-cef0-49b4-94d2-bd7a2f4e8253"]
[AppiumDriver@68ab] Event 'quitSessionRequested' logged at 1715092266873 (20:01:06 GMT+0530 (India Standard Time))
[AppiumDriver@68ab] Removing session 5f69194a-cef0-49b4-94d2-bd7a2f4e8253 from our master session list
[AndroidUiautomator2Driver@ff09 (5f69194a)] Deleting UiAutomator2 session
[AndroidUiautomator2Driver@ff09 (5f69194a)] Deleting UiAutomator2 server session
[AndroidUiautomator2Driver@ff09 (5f69194a)] Matched '/' to command name 'deleteSession'
[AndroidUiautomator2Driver@ff09 (5f69194a)] Proxying [DELETE /] to [DELETE http://127.0.0.1:8202/session/9106ec58-3c8a-4456-bbeb-44b7969b15d2] with no body
[AndroidUiautomator2Driver@ff09 (5f69194a)] Got response with status 200: {"sessionId":"9106ec58-3c8a-4456-bbeb-44b7969b15d2","value":null}
[ADB] Running 'C:\Users\MunishKumar\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s RZCTA0S8CWD shell dumpsys activity services io.appium.settings/.recorder.RecorderService'
[ADB] Running 'C:\Users\MunishKumar\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s RZCTA0S8CWD shell am force-stop com.google.android.youtube'
[Logcat] Stopping logcat capture
[ADB] Removing forwarded port socket connection: 8202
[ADB] Running 'C:\Users\MunishKumar\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s RZCTA0S8CWD forward --remove tcp:8202'
[AndroidUiautomator2Driver@ff09 (5f69194a)] Restoring hidden api policy to the device default configuration
[ADB] Running 'C:\Users\MunishKumar\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s RZCTA0S8CWD shell 'settings delete global hidden_api_policy_pre_p_apps;settings delete global hidden_api_policy_p_apps;settings delete global hidden_api_policy''
[Instrumentation] .
[AppiumDriver@68ab] Event 'quitSessionFinished' logged at 1715092267331 (20:01:07 GMT+0530 (India Standard Time))
[AppiumDriver@68ab] Received response: null
[AppiumDriver@68ab] But deleting session, so not returning
[AppiumDriver@68ab] Responding to client with driver.deleteSession() result: null
[HTTP] <-- DELETE /wd/hub/session/5f69194a-cef0-49b4-94d2-bd7a2f4e8253 200 464 ms - 14
[HTTP]
[HTTP] --> DELETE /wd/hub/session/
[HTTP] {}
[HTTP] No route found for /wd/hub/session/
[HTTP] <-- DELETE /wd/hub/session/ 404 2 ms - 211
[HTTP]
[Instrumentation] Time: 5.014
[Instrumentation]
[Instrumentation] OK (1 test)
[Instrumentation] The process has exited with code 0
[HTTP] Request idempotency key: d0fff772-53ee-4944-a978-71f0b07f18d4
[HTTP] --> POST /wd/hub/session
[HTTP] {"capabilities":{"firstMatch":[{"platformName":"Android","appium:automationName":"UiAutomator2","appium:deviceName":"Galaxy S20 FE 5G","appium:appPackage":"com.google.android.youtube","appium:appActivity":"com.google.android.apps.youtube.app.watchwhile.WatchWhileActivity","appium:udid":"RZCTA0S8CWD","appium:autoAcceptAlerts":"true","appium:newCommandTimeout":3000,"appium:adbExecTimeout":80000,"appium:trackScrollEvents":false}]}}
[AppiumDriver@68ab] Calling AppiumDriver.createSession() with args: [null,null,{"firstMatch":[{"platformName":"Android","appium:automationName":"UiAutomator2","appium:deviceName":"Galaxy S20 FE 5G","appium:appPackage":"com.google.android.youtube","appium:appActivity":"com.google.android.apps.youtube.app.watchwhile.WatchWhileActivity","appium:udid":"RZCTA0S8CWD","appium:autoAcceptAlerts":"true","appium:newCommandTimeout":3000,"appium:adbExecTimeout":80000,"appium:trackScrollEvents":false}]}]
[AppiumDriver@68ab] Event 'newSessionRequested' logged at 1715092628619 (20:07:08 GMT+0530 (India Standard Time))
[Appium] Attempting to find matching driver for automationName 'UiAutomator2' and platformName 'Android'
[Appium] The 'uiautomator2' driver was installed and matched caps.
[Appium] Will require it at C:\Users\MunishKumar.appium\node_modules\appium-uiautomator2-driver
[Appium] Requiring driver at C:\Users\MunishKumar.appium\node_modules\appium-uiautomator2-driver\build\index.js
[AppiumDriver@68ab] Appium v2.5.1 creating new AndroidUiautomator2Driver (v2.12.6) session
[AppiumDriver@68ab] Checking BaseDriver versions for Appium and AndroidUiautomator2Driver
[AppiumDriver@68ab] Appium's BaseDriver version is 9.5.2
[AppiumDriver@68ab] AndroidUiautomator2Driver's BaseDriver version is 9.5.2
[AndroidUiautomator2Driver@fff8] Creating session with W3C capabilities: {
[AndroidUiautomator2Driver@fff8] "alwaysMatch": {
[AndroidUiautomator2Driver@fff8] "platformName": "Android",
[AndroidUiautomator2Driver@fff8] "appium:automationName": "UiAutomator2",
[AndroidUiautomator2Driver@fff8] "appium:deviceName": "Galaxy S20 FE 5G",
[AndroidUiautomator2Driver@fff8] "appium:appPackage": "com.google.android.youtube",
[AndroidUiautomator2Driver@fff8] "appium:appActivity": "com.google.android.apps.youtube.app.watchwhile.WatchWhileActivity",
[AndroidUiautomator2Driver@fff8] "appium:udid": "RZCTA0S8CWD",
[AndroidUiautomator2Driver@fff8] "appium:autoAcceptAlerts": "true",
[AndroidUiautomator2Driver@fff8] "appium:newCommandTimeout": 3000,
[AndroidUiautomator2Driver@fff8] "appium:adbExecTimeout": 80000,
[AndroidUiautomator2Driver@fff8] "appium:trackScrollEvents": false
[AndroidUiautomator2Driver@fff8] },
[AndroidUiautomator2Driver@fff8] "firstMatch": [
[AndroidUiautomator2Driver@fff8] {}
[AndroidUiautomator2Driver@fff8] ]
[AndroidUiautomator2Driver@fff8] }
[AndroidUiautomator2Driver@fff8] The following provided capabilities were not recognized by this driver:
[AndroidUiautomator2Driver@fff8] deviceName
[AndroidUiautomator2Driver@fff8] autoAcceptAlerts
[AndroidUiautomator2Driver@fff8] trackScrollEvents
[AndroidUiautomator2Driver@fff8 (ba3ac00e)] Session created with session id: ba3ac00e-7292-4b53-aa12-8fb1cf35339a
[AndroidUiautomator2Driver@fff8 (ba3ac00e)] Starting 'com.google.android.youtube' directly on the device
[ADB] Using 'adb.exe' from 'C:\Users\MunishKumar\AppData\Local\Android\Sdk\platform-tools\adb.exe'
[ADB] Running 'C:\Users\MunishKumar\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 start-server'
[AndroidDriver] Retrieving device list
[ADB] Trying to find a connected android device
[ADB] Getting connected devices
[ADB] Connected devices: [{"udid":"RZCTA0S8CWD","state":"device"}]
[AndroidDriver] Using device: RZCTA0S8CWD
[ADB] Using 'adb.exe' from 'C:\Users\MunishKumar\AppData\Local\Android\Sdk\platform-tools\adb.exe'
[ADB] Running 'C:\Users\MunishKumar\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 start-server'
[ADB] Setting device id to RZCTA0S8CWD
[ADB] Running 'C:\Users\MunishKumar\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s RZCTA0S8CWD shell getprop ro.build.version.sdk'
[ADB] Current device property 'ro.build.version.sdk': 33
[ADB] Getting device platform version
[ADB] Running 'C:\Users\MunishKumar\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s RZCTA0S8CWD shell getprop ro.build.version.release'
[ADB] Current device property 'ro.build.version.release': 13
[ADB] Device API level: 33
[AndroidUiautomator2Driver@fff8 (ba3ac00e)] Relaxing hidden api policy
[ADB] Running 'C:\Users\MunishKumar\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s RZCTA0S8CWD shell 'settings put global hidden_api_policy_pre_p_apps 1;settings put global hidden_api_policy_p_apps 1;settings put global hidden_api_policy 1''
[AndroidDriver] No app sent in, not parsing package/activity
[ADB] Running 'C:\Users\MunishKumar\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s RZCTA0S8CWD wait-for-device'
[ADB] Running 'C:\Users\MunishKumar\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s RZCTA0S8CWD shell echo ping'
[AndroidDriver] Pushing settings apk to device...
[ADB] Getting install status for io.appium.settings
[ADB] Running 'C:\Users\MunishKumar\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s RZCTA0S8CWD shell dumpsys package io.appium.settings'
[ADB] 'io.appium.settings' is installed
[ADB] Getting package info for 'io.appium.settings'
[ADB] Running 'C:\Users\MunishKumar\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s RZCTA0S8CWD shell dumpsys package io.appium.settings'
[ADB] The version code of the installed 'io.appium.settings' is greater than the application version code (79 > 55)
[ADB] There is no need to downgrade 'io.appium.settings'
[ADB] Getting IDs of all 'io.appium.settings' processes
[ADB] Running 'C:\Users\MunishKumar\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s RZCTA0S8CWD shell 'pgrep --help; echo $?''
[ADB] Running 'C:\Users\MunishKumar\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s RZCTA0S8CWD 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 'C:\Users\MunishKumar\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s RZCTA0S8CWD shell appops set io.appium.settings android:mock_location allow'
[ADB] Running 'C:\Users\MunishKumar\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s RZCTA0S8CWD shell "[ -e '/data/local/tmp/mock_apps.json' ] && echo PASS"'
[ADB] Running 'C:\Users\MunishKumar\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s RZCTA0S8CWD shell cat /data/local/tmp/mock_apps.json'
[Logcat] Starting logs capture with command: C:\Users\MunishKumar\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s RZCTA0S8CWD logcat -v threadtime
[AndroidUiautomator2Driver@fff8 (ba3ac00e)] Forwarding UiAutomator2 Server port 6790 to local port 8202
[ADB] Forwarding system: 8202 to device: 6790
[ADB] Running 'C:\Users\MunishKumar\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s RZCTA0S8CWD forward tcp:8202 tcp:6790'
[ADB] Getting install status for io.appium.uiautomator2.server
[ADB] Running 'C:\Users\MunishKumar\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s RZCTA0S8CWD 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 'C:\Users\MunishKumar\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s RZCTA0S8CWD 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 ('5.7.8' >= '5.7.8')
[AndroidUiautomator2Driver@fff8 (ba3ac00e)] io.appium.uiautomator2.server installation state: sameVersionInstalled
[ADB] Checking app cert for C:\Users\MunishKumar.appium\node_modules\appium-uiautomator2-driver\node_modules\appium-uiautomator2-server\apks\appium-uiautomator2-server-v5.7.8.apk
[ADB] Using the previously cached signature entry for 'appium-uiautomator2-server-v5.7.8.apk'
[ADB] sha256 hash did match for 'appium-uiautomator2-server-v5.7.8.apk'
[ADB] Getting install status for io.appium.uiautomator2.server.test
[ADB] Running 'C:\Users\MunishKumar\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s RZCTA0S8CWD shell dumpsys package io.appium.uiautomator2.server.test'
[ADB] 'io.appium.uiautomator2.server.test' is installed
[ADB] Checking app cert for C:\Users\MunishKumar.appium\node_modules\appium-uiautomator2-driver\node_modules\appium-uiautomator2-server\apks\appium-uiautomator2-server-debug-androidTest.apk
[ADB] Using the previously cached signature entry for 'appium-uiautomator2-server-debug-androidTest.apk'
[ADB] sha256 hash did match for 'appium-uiautomator2-server-debug-androidTest.apk'
[AndroidUiautomator2Driver@fff8 (ba3ac00e)] Server packages are not going to be (re)installed
[AndroidUiautomator2Driver@fff8 (ba3ac00e)] Waiting up to 30000ms for services to be available
[ADB] Running 'C:\Users\MunishKumar\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s RZCTA0S8CWD shell pm list instrumentation'
[AndroidUiautomator2Driver@fff8 (ba3ac00e)] Instrumentation target 'io.appium.uiautomator2.server.test/androidx.test.runner.AndroidJUnitRunner' is available
[ADB] Adding packages ["io.appium.settings","io.appium.uiautomator2.server","io.appium.uiautomator2.server.test"] to Doze whitelist
[ADB] Got the following command chunks to execute: [["dumpsys","deviceidle","whitelist","+io.appium.settings",";","dumpsys","deviceidle","whitelist","+io.appium.uiautomator2.server",";","dumpsys","deviceidle","whitelist","+io.appium.uiautomator2.server.test",";"]]
[ADB] Running 'C:\Users\MunishKumar\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s RZCTA0S8CWD shell dumpsys deviceidle whitelist +io.appium.settings ; dumpsys deviceidle whitelist +io.appium.uiautomator2.server ; dumpsys deviceidle whitelist +io.appium.uiautomator2.server.test ;'
[AndroidUiautomator2Driver@fff8 (ba3ac00e)] No app capability. Assuming it is already on the device
[ADB] Getting install status for com.google.android.youtube
[ADB] Running 'C:\Users\MunishKumar\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s RZCTA0S8CWD shell dumpsys package com.google.android.youtube'
[ADB] 'com.google.android.youtube' is installed
[ADB] Running 'C:\Users\MunishKumar\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s RZCTA0S8CWD shell am force-stop com.google.android.youtube'
[ADB] Running 'C:\Users\MunishKumar\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s RZCTA0S8CWD shell pm clear com.google.android.youtube'
[AndroidDriver] Performed fast reset on the installed 'com.google.android.youtube' application (stop and clear)
[AndroidUiautomator2Driver@fff8 (ba3ac00e)] Performing shallow cleanup of automation leftovers
[AndroidUiautomator2Driver@fff8 (ba3ac00e)] No obsolete sessions have been detected (socket hang up)
[ADB] Running 'C:\Users\MunishKumar\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s RZCTA0S8CWD shell am force-stop io.appium.uiautomator2.server.test'
[AndroidUiautomator2Driver@fff8 (ba3ac00e)] Starting UIAutomator2 server 5.7.8
[AndroidUiautomator2Driver@fff8 (ba3ac00e)] Using UIAutomator2 server from 'C:\Users\MunishKumar.appium\node_modules\appium-uiautomator2-driver\node_modules\appium-uiautomator2-server\apks\appium-uiautomator2-server-v5.7.8.apk' and test from 'C:\Users\MunishKumar.appium\node_modules\appium-uiautomator2-driver\node_modules\appium-uiautomator2-server\apks\appium-uiautomator2-server-debug-androidTest.apk'
[AndroidUiautomator2Driver@fff8 (ba3ac00e)] Waiting up to 30000ms for UiAutomator2 to be online...
[ADB] Creating ADB subprocess with args: ["-P",5037,"-s","RZCTA0S8CWD","shell","am","instrument","-w","-e","disableAnalytics",true,"io.appium.uiautomator2.server.test/androidx.test.runner.AndroidJUnitRunner"]
[AndroidUiautomator2Driver@fff8 (ba3ac00e)] Matched '/status' to command name 'getStatus'
[AndroidUiautomator2Driver@fff8 (ba3ac00e)] Proxying [GET /status] to [GET http://127.0.0.1:8202/status] with no body
[AndroidUiautomator2Driver@fff8 (ba3ac00e)] socket hang up
[Instrumentation] io.appium.uiautomator2.server.test.AppiumUiAutomator2Server:
[AndroidUiautomator2Driver@fff8 (ba3ac00e)] Matched '/status' to command name 'getStatus'
[AndroidUiautomator2Driver@fff8 (ba3ac00e)] Proxying [GET /status] to [GET http://127.0.0.1:8202/status] with no body
[AndroidUiautomator2Driver@fff8 (ba3ac00e)] socket hang up
[AndroidUiautomator2Driver@fff8 (ba3ac00e)] Matched '/status' to command name 'getStatus'
[AndroidUiautomator2Driver@fff8 (ba3ac00e)] Proxying [GET /status] to [GET http://127.0.0.1:8202/status] with no body
[AndroidUiautomator2Driver@fff8 (ba3ac00e)] Got response with status 200: {"sessionId":"None","value":{"message":"UiAutomator2 Server is ready to accept commands","ready":true}}
[AndroidUiautomator2Driver@fff8 (ba3ac00e)] The initialization of the instrumentation process took 2100ms
[AndroidUiautomator2Driver@fff8 (ba3ac00e)] Matched '/session' to command name 'createSession'
[AndroidUiautomator2Driver@fff8 (ba3ac00e)] Proxying [POST /session] to [POST http://127.0.0.1:8202/session] with body: {"capabilities":{"firstMatch":[{"platform":"LINUX","webStorageEnabled":false,"takesScreenshot":true,"javascriptEnabled":true,"databaseEnabled":false,"networkConnectionEnabled":true,"locationContextEnabled":false,"warnings":{},"desired":{"platformName":"Android","automationName":"UiAutomator2","deviceName":"Galaxy S20 FE 5G","appPackage":"com.google.android.youtube","appActivity":"com.google.android.apps.youtube.app.watchwhile.WatchWhileActivity","udid":"RZCTA0S8CWD","autoAcceptAlerts":"true","newCommandTimeout":3000,"adbExecTimeout":80000,"trackScrollEvents":false},"platformName":"Android","automationName":"UiAutomator2","deviceName":"RZCTA0S8CWD","appPackage":"com.google.android.youtube","appActivity":"com.google.android.apps.youtube.app.watchwhile.WatchWhileActivity","udid":"RZCTA0S8CWD","autoAcceptAlerts":"true","newCommandTimeout":3000,"adbExecTimeout":80000,"trackScrollEvents":false,"deviceUDID":"RZCTA0S8CWD"}],"alwaysMatch":{}}}
[AndroidUiautomator2Driver@fff8 (ba3ac00e)] Got response with status 200: {"sessionId":"97bbfb03-3c0c-4061-9461-b066fd5d6621","value":{"capabilities":{"firstMatch":[{"platform":"LINUX","webStorageEnabled":false,"takesScreenshot":true,"javascriptEnabled":true,"databaseEnabled":false,"networkConnectionEnabled":true,"locationContextEnabled":false,"warnings":{},"desired":{"platformName":"Android","automationName":"UiAutomator2","deviceName":"Galaxy S20 FE 5G","appPackage":"com.google.android.youtube","appActivity":"com.google.android.apps.youtube.app.watchwhile.WatchWhileActivity","udid":"RZCTA0S8CWD","autoAcceptAlerts":"true","newCommandTimeout":3000,"adbExecTimeout":80000,"trackScrollEvents":false},"platformName":"Android","automationName":"UiAutomator2","deviceName":"RZCTA0S8CWD","appPackage":"com.google.android.youtube","appActivity":"com.google.android.apps.youtube.app.watchwhile.WatchWhileActivity","udid":"RZCTA0S8CWD","autoAcceptAlerts":"true","newCommandTimeout":3000,"adbExecTimeout":80000,"trackScrollEvents":false,"deviceUDID":"RZCTA0S8CWD"}],"alwaysMatch":{}},"sessionId":"...
[AndroidUiautomator2Driver@fff8 (ba3ac00e)] Determined the downstream protocol as 'W3C'
[AndroidUiautomator2Driver@fff8 (ba3ac00e)] Proxying [GET /appium/device/info] to [GET http://127.0.0.1:8202/session/97bbfb03-3c0c-4061-9461-b066fd5d6621/appium/device/info] with no body
[AndroidUiautomator2Driver@fff8 (ba3ac00e)] Got response with status 200: {"sessionId":"97bbfb03-3c0c-4061-9461-b066fd5d6621","value":{"androidId":"89f63c7f65b0319a","apiVersion":"33","bluetooth":{"state":"OFF"},"brand":"samsung","carrierName":"","displayDensity":480,"locale":"en_IN","manufacturer":"samsung","model":"SM-G781B","networks":[{"capabilities":{"SSID":null,"linkDownBandwidthKbps":120524,"linkUpstreamBandwidthKbps":1264,"networkCapabilities":"NET_CAPABILITY_NOT_METERED,NET_CAPABILITY_INTERNET,NET_CAPABILITY_NOT_RESTRICTED,NET_CAPABILITY_TRUSTED,NET_CAPABILITY_NOT_VPN,NET_CAPABILITY_VALIDATED,NET_CAPABILITY_NOT_ROAMING,NET_CAPABILITY_FOREGROUND,NET_CAPABILITY_NOT_CONGESTED,NET_CAPABILITY_NOT_SUSPENDED","signalStrength":-63,"transportTypes":"TRANSPORT_WIFI"},"detailedState":"CONNECTED","extraInfo":"","isAvailable":true,"isConnected":true,"isFailover":false,"isRoaming":false,"state":"CONNECTED","subtype":-1,"subtypeName":"","type":1,"typeName":"WIFI"}],"platformVersion":"13","realDisplaySize":"1080x2400","timeZone":"Asia/Kolkata"}}
[ADB] Running 'C:\Users\MunishKumar\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s RZCTA0S8CWD shell dumpsys window'
[AndroidDriver] Screen already unlocked, doing nothing
[AndroidUiautomator2Driver@fff8 (ba3ac00e)] Starting 'com.google.android.youtube/com.google.android.apps.youtube.app.watchwhile.WatchWhileActivity and waiting for 'com.google.android.youtube/com.google.android.apps.youtube.app.watchwhile.WatchWhileActivity'
[ADB] Running 'C:\Users\MunishKumar\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s RZCTA0S8CWD shell am start -W -n com.google.android.youtube/com.google.android.apps.youtube.app.watchwhile.WatchWhileActivity -S -a android.intent.action.MAIN -c android.intent.category.LAUNCHER -f 0x10200000'
[AndroidUiautomator2Driver@fff8 (ba3ac00e)] Proxying [GET /appium/device/pixel_ratio] to [GET http://127.0.0.1:8202/session/97bbfb03-3c0c-4061-9461-b066fd5d6621/appium/device/pixel_ratio] with no body
[AndroidUiautomator2Driver@fff8 (ba3ac00e)] Got response with status 200: {"sessionId":"97bbfb03-3c0c-4061-9461-b066fd5d6621","value":3}
[AndroidUiautomator2Driver@fff8 (ba3ac00e)] Matched '/appium/device/system_bars' to command name 'getSystemBars'
[AndroidUiautomator2Driver@fff8 (ba3ac00e)] Proxying [GET /appium/device/system_bars] to [GET http://127.0.0.1:8202/session/97bbfb03-3c0c-4061-9461-b066fd5d6621/appium/device/system_bars] with no body
[AndroidUiautomator2Driver@fff8 (ba3ac00e)] Got response with status 200: {"sessionId":"97bbfb03-3c0c-4061-9461-b066fd5d6621","value":{"statusBar":88}}
[AndroidUiautomator2Driver@fff8 (ba3ac00e)] Matched '/window/current/size' to command name 'getWindowSize'
[AndroidUiautomator2Driver@fff8 (ba3ac00e)] Proxying [GET /window/current/size] to [GET http://127.0.0.1:8202/session/97bbfb03-3c0c-4061-9461-b066fd5d6621/window/current/size] with no body
[AndroidUiautomator2Driver@fff8 (ba3ac00e)] Got response with status 200: {"sessionId":"97bbfb03-3c0c-4061-9461-b066fd5d6621","value":{"height":2168,"width":1080}}
[AppiumDriver@68ab] New AndroidUiautomator2Driver session created successfully, session ba3ac00e-7292-4b53-aa12-8fb1cf35339a added to master session list
[AppiumDriver@68ab] Event 'newSessionStarted' logged at 1715092634461 (20:07:14 GMT+0530 (India Standard Time))
[AndroidUiautomator2Driver@fff8 (ba3ac00e)] Cached the protocol value 'W3C' for the new session ba3ac00e-7292-4b53-aa12-8fb1cf35339a
[AndroidUiautomator2Driver@fff8 (ba3ac00e)] 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","automationName":"UiAutomator2","deviceName":"Galaxy S20 FE 5G","appPackage":"com.google.android.youtube","appActivity":"com.google.android.apps.youtube.app.watchwhile.WatchWhileActivity","udid":"RZCTA0S8CWD","autoAcceptAlerts":"true","newCommandTimeout":3000,"adbExecTimeout":80000,"trackScrollEvents":false},"platformName":"Android","automationName":"UiAutomator2","deviceName":"RZCTA0S8CWD","appPackage":"com.google.android.youtube","appActivity":"com.google.android.apps.youtube.app.watchwhile.WatchWhileActivity","udid":"RZCTA0S8CWD","autoAcceptAlerts":"true","newCommandTimeout":3000,"adbExecTimeout":80000,"trackScrollEvents":false,"deviceUDID":"RZCTA0S8CWD","deviceApiLevel":33,"platformVersion":"13","deviceScreenSize":"1080x2400","deviceScreenDensity":480,"deviceM...
[HTTP] <-- POST /wd/hub/session 200 5846 ms - 1227
[HTTP]
[HTTP] Request idempotency key: 9bc38f6b-ae39-4129-81e3-92e0a8ae753e
[HTTP] --> POST /wd/hub/session/ba3ac00e-7292-4b53-aa12-8fb1cf35339a/timeouts
[HTTP] {"implicit":120000}
[AndroidUiautomator2Driver@fff8 (ba3ac00e)] Calling AppiumDriver.timeouts() with args: [null,null,null,null,120000,"ba3ac00e-7292-4b53-aa12-8fb1cf35339a"]
[AndroidUiautomator2Driver@fff8 (ba3ac00e)] W3C timeout argument: {"implicit":120000}}
[AndroidUiautomator2Driver@fff8 (ba3ac00e)] Set implicit wait to 120000ms
[AndroidUiautomator2Driver@fff8 (ba3ac00e)] Responding to client with driver.timeouts() result: null
[HTTP] <-- POST /wd/hub/session/ba3ac00e-7292-4b53-aa12-8fb1cf35339a/timeouts 200 4 ms - 14
[HTTP]
[HTTP] --> GET /wd/hub/session/ba3ac00e-7292-4b53-aa12-8fb1cf35339a/screenshot
[HTTP] {}
[AndroidUiautomator2Driver@fff8 (ba3ac00e)] Calling AppiumDriver.getScreenshot() with args: ["ba3ac00e-7292-4b53-aa12-8fb1cf35339a"]
[AndroidUiautomator2Driver@fff8 (ba3ac00e)] Matched '/screenshot' to command name 'getScreenshot'
[AndroidUiautomator2Driver@fff8 (ba3ac00e)] Proxying [GET /screenshot] to [GET http://127.0.0.1:8202/session/97bbfb03-3c0c-4061-9461-b066fd5d6621/screenshot] with no body
[HTTP] Request idempotency key: 3c992ddf-7e72-44ff-b4ce-c08dd4278c6e
[HTTP] --> POST /wd/hub/session/ba3ac00e-7292-4b53-aa12-8fb1cf35339a/appium/device/app_state
[HTTP] {"appId":"com.google.android.youtube"}
[AndroidUiautomator2Driver@fff8 (ba3ac00e)] Calling AppiumDriver.queryAppState() with args: ["com.google.android.youtube","ba3ac00e-7292-4b53-aa12-8fb1cf35339a"]
[AndroidUiautomator2Driver@fff8 (ba3ac00e)] Got response with status 200: {"sessionId":"97bbfb03-3c0c-4061-9461-b066fd5d6621","value":"iVBORw0KGgoAAAANSUhEUgAABDgAAAlgCAYAAABtGofVAAAAAXNSR0IArs4c6QAAAARzQklUCAgICHwIZIgAACAASURBVHic7N17bJzVnf/xz9zsiT322Int+BI7iUlsh0IXkixs+6MEtSpINFvSBRZKtVUXQven0ApaaUv3l6T9A1hIpV2gl7CihSJaQqrekiqwAqkIUNpuWXLRkhLnHhJ7bAffxh7fx57fH955mLHnas945jjvlxTFnueZ5zmeGY/nfJ5zvsf2xhtvhAQAAAAAAGAwe64bAAAAAAAAMF8EHAAAAAAAwHgEHAAAAAAAwHgEHAAAAAAAwHgEHAAAAAAAwHgEHAAAAAAAwHgEHAAAAAAAwHgEHAAAAAAAwHgEHAAAAAAAwHgEHAAAAAAAwHgEHAAAAAAAwHgEHAAAAAAAwHgEHAAAAAAAwHgEHAAAAAAAwHgEHAAAAAAAwHgEHAAAAAAAwHgEHAAAAAAAwHgEHAAAAAAAwHgEHAAAAAAAwHgEHAAAAAAAwHgEHAAAAAAAwHgEHAAAAAAAwHgEHAAAAAAAwHgEHAAAAAAAwHgEHAAAAAAAwHgEHAAAAAAAwHgEHAAAAAAAwHgEHAAAAAAAwHgEHAAAAAAAwHgEHAAAAAAAwHgEHAAAAAAAwHgEHAAAAAAAwHgEHAAAAAAAwHgEHAAAAAAAwHgEHAAAAAAAwHgEHAAAAAAAwHgEHAAAAAAAwHgEHAAAAAAAwHgEHAAAAAAAwHgEHAAAAAAAwHgEHAAAAAAAwHgEHAAAAAAAwHgEHABistlsuW4CAAAAAKTMmesGACax2+1yOp1Z6fyHQiFNTEwoFApl/NjJOBwOORwO2e122Ww22Ww2uVwujY+PW22bmprS5OSkJicnF7x9AAAAJnE4HCopKVFRUZGKiorkcDis/8MGBwclScPDwxofH9fg4KCGh4dz1WRgUSDg...
[AndroidUiautomator2Driver@fff8 (ba3ac00e)] Querying the state of 'com.google.android.youtube'
[ADB] Getting install status for com.google.android.youtube
[ADB] Running 'C:\Users\MunishKumar\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s RZCTA0S8CWD shell dumpsys package com.google.android.youtube'
[AndroidUiautomator2Driver@fff8 (ba3ac00e)] Responding to client with driver.getScreenshot() result: "iVBORw0KGgoAAAANSUhEUgAABDgAAAlgCAYAAABtGofVAAAAAXNSR0IArs4c6QAAAARzQklUCAgICHwIZIgAACAASURBVHic7N17bJzVnf/xz9zsiT322Int+BI7iUlsh0IXkixs+6MEtSpINFvSBRZKtVUXQven0ApaaUv3l6T9A1hIpV2gl7CihSJaQqrekiqwAqkIUNpuWXLRkhLnHhJ7bAffxh7fx57fH955mLHnas945jjvlxTFnueZ5zmeGY/nfJ5zvsf2xhtvhAQAAAAAAGAwe64bAAAAAAAAMF8EHAAAAAAAwHgEHAAAAAAAwHgEHAAAAAAAwHgEHAAAAAAAwHgEHAAAAAAAwHgEHAAAAAAAwHgEHAAAAAAAwHgEHAAAAAAAwHgEHAAAAAAAwHgEHAAAAAAAwHgEHAAAAAAAwHgEHAAAAAAAwHgEHAAAAAAAwHgEHAAAAAAAwHgEHAAAAAAAwHgEHAAAAAAAwHgEHAAAAAAAwHgEHAAAAAAAwHgEHAAAAAAAwHgEHAAAAAAAwHgEHAAAAAAAwHgEHAAAAAAAwHgEHAAAAAAAwHgEHAAAAAAAwHgEHAAAAAAAwHgEHAAAAAAAwHgEHAAAAAAAwHgEHAAAAAAAwHgEHAAAAAAAwHgEHAAAAAAAwHgEHAAAAAAAwHgEHAAAAAAAwHgEHAAAAAAAwHgEHAAAAAAAwHgEHAAAAAAAwHgEHAAAAAAAwHgEHAAAAAAAwHgEHAAAAAAAwHgEHAAAAAAAwHgEHAAAAAAAwHgEHAAAAAAAwHgEHABistlsuW4CAAAAAKTMmesGACax2+1yOp1Z6fyHQiFNTEwoFApl/NjJOBwOORwO2e122Ww22Ww2uVwujY+PW22bmprS5OSkJicnF7x9AAAAJnE4HCopKVFRUZGKiorkcDis/8MGBwclScPDwxofH9fg4KCGh4dz1WRgUSDgwIK68sorVVxcrMOHDxvXUXY4HPJ6vaqurpbL5cr48cfGxtTR0aGBgYEFCTls...
[HTTP] <-- GET /wd/hub/session/ba3ac00e-7292-4b53-aa12-8fb1cf35339a/screenshot 200 264 ms - 80648
[HTTP]
[ADB] 'com.google.android.youtube' is installed
[ADB] Getting IDs of all 'com.google.android.youtube' processes
[ADB] Running 'C:\Users\MunishKumar\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s RZCTA0S8CWD shell pgrep -f ([[:blank:]]|^)com.google.android.youtube([[:blank:]]|$)'
[ADB] Running 'C:\Users\MunishKumar\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s RZCTA0S8CWD shell dumpsys window displays'
[AndroidUiautomator2Driver@fff8 (ba3ac00e)] Responding to client with driver.queryAppState() result: 3
[HTTP] <-- POST /wd/hub/session/ba3ac00e-7292-4b53-aa12-8fb1cf35339a/appium/device/app_state 200 407 ms - 11
[HTTP]
[HTTP] Request idempotency key: 6e6eb54f-383e-45ee-a9fc-305a27a7119f
[HTTP] --> POST /wd/hub/session/ba3ac00e-7292-4b53-aa12-8fb1cf35339a/appium/device/activate_app
[HTTP] {"appId":"com.google.android.youtube"}
[AndroidUiautomator2Driver@fff8 (ba3ac00e)] Calling AppiumDriver.activateApp() with args: ["com.google.android.youtube",null,null,null,"ba3ac00e-7292-4b53-aa12-8fb1cf35339a"]
[AndroidUiautomator2Driver@fff8 (ba3ac00e)] Activating 'com.google.android.youtube'
[ADB] Running 'C:\Users\MunishKumar\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s RZCTA0S8CWD shell cmd package resolve-activity --brief com.google.android.youtube'
[AndroidUiautomator2Driver@fff8 (ba3ac00e)] Encountered internal error running command: Error: Unable to resolve the launchable activity of 'com.google.android.youtube'. Original error: priority=0 preferredOrder=0 match=0x108000 specificIndex=-1 isDefault=true
[AndroidUiautomator2Driver@fff8 (ba3ac00e)] com.google.android.youtube/.app.honeycomb.Shell$HomeActivity
[AndroidUiautomator2Driver@fff8 (ba3ac00e)] at ADB.resolveLaunchableActivity (C:\Users\MunishKumar.appium\node_modules\appium-uiautomator2-driver\node_modules\appium-adb\lib\tools\adb-commands.js:271:9)
[AndroidUiautomator2Driver@fff8 (ba3ac00e)] at AndroidUiautomator2Driver.activateApp (C:\Users\MunishKumar.appium\node_modules\appium-uiautomator2-driver\node_modules\appium-android-driver\lib\commands\app-management.js:115:22)
[HTTP] <-- POST /wd/hub/session/ba3ac00e-7292-4b53-aa12-8fb1cf35339a/appium/device/activate_app 500 66 ms - 1036
[HTTP]
[HTTP] --> GET /wd/hub/session/ba3ac00e-7292-4b53-aa12-8fb1cf35339a/screenshot
[HTTP] {}
[AndroidUiautomator2Driver@fff8 (ba3ac00e)] Calling AppiumDriver.getScreenshot() with args: ["ba3ac00e-7292-4b53-aa12-8fb1cf35339a"]
[AndroidUiautomator2Driver@fff8 (ba3ac00e)] Matched '/screenshot' to command name 'getScreenshot'
[AndroidUiautomator2Driver@fff8 (ba3ac00e)] Proxying [GET /screenshot] to [GET http://127.0.0.1:8202/session/97bbfb03-3c0c-4061-9461-b066fd5d6621/screenshot] with no body
[AndroidUiautomator2Driver@fff8 (ba3ac00e)] Got response with status 200: {"sessionId":"97bbfb03-3c0c-4061-9461-b066fd5d6621","value":"iVBORw0KGgoAAAANSUhEUgAABDgAAAlgCAYAAABtGofVAAAAAXNSR0IArs4c6QAAAARzQklUCAgICHwIZIgAACAASURBVHic7N1pbFznfe/x3yzcZjikaIpDidRCitRiiaIlWaYkO3EbNZHbxhvSILbR6wCpjcYqEiUXXpACVgzXan2R2MiFk0aGUTsvkkKVkbqWnPbabkIbahxZiy2JImUtFKmNFFdxH+4z9wUzxzPkrOSQM4f6fgBBnJkz5zzkzJDn+Z3n+T+Wffv2+QQAAAAAAGBi1mQ3AAAAAAAAYKYIOAAAAAAAgOkRcAAAAAAAANMj4AAAAAAAAKZHwAEAAAAAAEyPgAMAAAAAAJgeAQcAAAAAADA9Ag4AAAAAAGB6BBwAAAAAAMD0CDgAAAAAAIDpEXAAAAAAAADTI+AAAAAAAACmR8ABAAAAAABMj4ADAAAAAACYHgEHAAAAAAAwPQIOAAAAAABgegQcAAAAAADA9Ag4AAAAAACA6RFwAAAAAAAA0yPgAAAAAAAApkfAAQAAAAAATI+AAwAAAAAAmB4BBwAAAAAAMD0CDgAAAAAAYHoEHAAAAAAAwPQIOAAAAAAAgOkRcAAAAAAAANMj4AAAAAAAAKZHwAEAAAAAAEyPgAMAAAAAAJgeAQcAAAAAADA9Ag4AAAAAAGB6BBwAAAAAAMD0CDgAAAAAAIDpEXAAAAAAAADTI+AAAAAAAACmR8ABAAAAAABMj4ADAAAAAACYHgEHAAAAAAAwPQIOAAAAAABgegQcAAAAAADA9Ag4AAAAAACA6RFwAAjJYrEkuwkAAAAAEDN7shsAmInValV6erqs1sRng16vVyMjI/J6vQnfdzR2u112u102m8343jIzMzU0NCRJGh8fl9fr1djYmMbGxua8fQAAAGZit9t1yy23yOVyyeVyKS0tzfjf78aNG5Kkvr4+DQ4O6saNG+rr...
[AndroidUiautomator2Driver@fff8 (ba3ac00e)] Responding to client with driver.getScreenshot() result: "iVBORw0KGgoAAAANSUhEUgAABDgAAAlgCAYAAABtGofVAAAAAXNSR0IArs4c6QAAAARzQklUCAgICHwIZIgAACAASURBVHic7N1pbFznfe/x3yzcZjikaIpDidRCitRiiaIlWaYkO3EbNZHbxhvSILbR6wCpjcYqEiUXXpACVgzXan2R2MiFk0aGUTsvkkKVkbqWnPbabkIbahxZiy2JImUtFKmNFFdxH+4z9wUzxzPkrOSQM4f6fgBBnJkz5zzkzJDn+Z3n+T+Wffv2+QQAAAAAAGBi1mQ3AAAAAAAAYKYIOAAAAAAAgOkRcAAAAAAAANMj4AAAAAAAAKZHwAEAAAAAAEyPgAMAAAAAAJgeAQcAAAAAADA9Ag4AAAAAAGB6BBwAAAAAAMD0CDgAAAAAAIDpEXAAAAAAAADTI+AAAAAAAACmR8ABAAAAAABMj4ADAAAAAACYHgEHAAAAAAAwPQIOAAAAAABgegQcAAAAAADA9Ag4AAAAAACA6RFwAAAAAAAA0yPgAAAAAAAApkfAAQAAAAAATI+AAwAAAAAAmB4BBwAAAAAAMD0CDgAAAAAAYHoEHAAAAAAAwPQIOAAAAAAAgOkRcAAAAAAAANMj4AAAAAAAAKZHwAEAAAAAAEyPgAMAAAAAAJgeAQcAAAAAADA9Ag4AAAAAAGB6BBwAAAAAAMD0CDgAAAAAAIDpEXAAAAAAAADTI+AAAAAAAACmR8ABAAAAAABMj4ADAAAAAACYHgEHAAAAAAAwPQIOAAAAAABgegQcAAAAAADA9Ag4AAAAAACA6RFwAAjJYrEkuwkAAAAAEDN7shsAmInValV6erqs1sRng16vVyMjI/J6vQnfdzR2u112u102m8343jIzMzU0NCRJGh8fl9fr1djYmMbGxua8fQAAAGZit9t1yy23yOVyyeVyKS0tzfjf78aNG5Kkvr4+DQ4O6saNG+rr60tWk4F5gYADc2rbtm3KycnRb3/7W42Pjye7OXGx2Wxyu90qKSlRRkZGwvfv...
[HTTP] <-- GET /wd/hub/session/ba3ac00e-7292-4b53-aa12-8fb1cf35339a/screenshot 200 278 ms - 112832
[HTTP]
[HTTP] --> DELETE /wd/hub/session/ba3ac00e-7292-4b53-aa12-8fb1cf35339a
[HTTP] {}
[AndroidUiautomator2Driver@fff8 (ba3ac00e)] Calling AppiumDriver.deleteSession() with args: ["ba3ac00e-7292-4b53-aa12-8fb1cf35339a"]
[AppiumDriver@68ab] Event 'quitSessionRequested' logged at 1715092636106 (20:07:16 GMT+0530 (India Standard Time))
[AppiumDriver@68ab] Removing session ba3ac00e-7292-4b53-aa12-8fb1cf35339a from our master session list
[AndroidUiautomator2Driver@fff8 (ba3ac00e)] Deleting UiAutomator2 session
[AndroidUiautomator2Driver@fff8 (ba3ac00e)] Deleting UiAutomator2 server session
[AndroidUiautomator2Driver@fff8 (ba3ac00e)] Matched '/' to command name 'deleteSession'
[AndroidUiautomator2Driver@fff8 (ba3ac00e)] Proxying [DELETE /] to [DELETE http://127.0.0.1:8202/session/97bbfb03-3c0c-4061-9461-b066fd5d6621] with no body
[AndroidUiautomator2Driver@fff8 (ba3ac00e)] Got response with status 200: {"sessionId":"97bbfb03-3c0c-4061-9461-b066fd5d6621","value":null}
[ADB] Running 'C:\Users\MunishKumar\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s RZCTA0S8CWD shell dumpsys activity services io.appium.settings/.recorder.RecorderService'
[ADB] Running 'C:\Users\MunishKumar\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s RZCTA0S8CWD shell am force-stop com.google.android.youtube'
[Logcat] Stopping logcat capture
[ADB] Removing forwarded port socket connection: 8202
[ADB] Running 'C:\Users\MunishKumar\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s RZCTA0S8CWD forward --remove tcp:8202'
[AndroidUiautomator2Driver@fff8 (ba3ac00e)] Restoring hidden api policy to the device default configuration
[ADB] Running 'C:\Users\MunishKumar\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s RZCTA0S8CWD shell 'settings delete global hidden_api_policy_pre_p_apps;settings delete global hidden_api_policy_p_apps;settings delete global hidden_api_policy''
[AppiumDriver@68ab] Event 'quitSessionFinished' logged at 1715092636436 (20:07:16 GMT+0530 (India Standard Time))
[AppiumDriver@68ab] Received response: null
[AppiumDriver@68ab] But deleting session, so not returning
[AppiumDriver@68ab] Responding to client with driver.deleteSession() result: null
[HTTP] <-- DELETE /wd/hub/session/ba3ac00e-7292-4b53-aa12-8fb1cf35339a 200 335 ms - 14
[HTTP]
[HTTP] --> DELETE /wd/hub/session/
[HTTP] {}
[HTTP] No route found for /wd/hub/session/
[HTTP] <-- DELETE /wd/hub/session/ 404 2 ms - 211
[HTTP]
[Instrumentation] .
[Instrumentation] Time: 5.02
[Instrumentation]
[Instrumentation] OK (1 test)
[Instrumentation] The process has exited with code 0
[HTTP] Request idempotency key: 2a90add5-7db6-4d2f-9487-f1ad523d6ec5
[HTTP] --> POST /wd/hub/session
[HTTP] {"capabilities":{"firstMatch":[{"platformName":"Android","appium:automationName":"UiAutomator2","appium:deviceName":"Galaxy S20 FE 5G","appium:appPackage":"com.google.android.youtube","appium:appActivity":"com.google.android.apps.youtube.app.watchwhile.WatchWhileActivity","appium:udid":"RZCTA0S8CWD","appium:autoAcceptAlerts":"true","appium:newCommandTimeout":3000,"appium:adbExecTimeout":80000,"appium:trackScrollEvents":false}]}}
[AppiumDriver@68ab] Calling AppiumDriver.createSession() with args: [null,null,{"firstMatch":[{"platformName":"Android","appium:automationName":"UiAutomator2","appium:deviceName":"Galaxy S20 FE 5G","appium:appPackage":"com.google.android.youtube","appium:appActivity":"com.google.android.apps.youtube.app.watchwhile.WatchWhileActivity","appium:udid":"RZCTA0S8CWD","appium:autoAcceptAlerts":"true","appium:newCommandTimeout":3000,"appium:adbExecTimeout":80000,"appium:trackScrollEvents":false}]}]
[AppiumDriver@68ab] Event 'newSessionRequested' logged at 1715092745200 (20:09:05 GMT+0530 (India Standard Time))
[Appium] Attempting to find matching driver for automationName 'UiAutomator2' and platformName 'Android'
[Appium] The 'uiautomator2' driver was installed and matched caps.
[Appium] Will require it at C:\Users\MunishKumar.appium\node_modules\appium-uiautomator2-driver
[Appium] Requiring driver at C:\Users\MunishKumar.appium\node_modules\appium-uiautomator2-driver\build\index.js
[AppiumDriver@68ab] Appium v2.5.1 creating new AndroidUiautomator2Driver (v2.12.6) session
[AppiumDriver@68ab] Checking BaseDriver versions for Appium and AndroidUiautomator2Driver
[AppiumDriver@68ab] Appium's BaseDriver version is 9.5.2
[AppiumDriver@68ab] AndroidUiautomator2Driver's BaseDriver version is 9.5.2
[AndroidUiautomator2Driver@f9dd] Creating session with W3C capabilities: {
[AndroidUiautomator2Driver@f9dd] "alwaysMatch": {
[AndroidUiautomator2Driver@f9dd] "platformName": "Android",
[AndroidUiautomator2Driver@f9dd] "appium:automationName": "UiAutomator2",
[AndroidUiautomator2Driver@f9dd] "appium:deviceName": "Galaxy S20 FE 5G",
[AndroidUiautomator2Driver@f9dd] "appium:appPackage": "com.google.android.youtube",
[AndroidUiautomator2Driver@f9dd] "appium:appActivity": "com.google.android.apps.youtube.app.watchwhile.WatchWhileActivity",
[AndroidUiautomator2Driver@f9dd] "appium:udid": "RZCTA0S8CWD",
[AndroidUiautomator2Driver@f9dd] "appium:autoAcceptAlerts": "true",
[AndroidUiautomator2Driver@f9dd] "appium:newCommandTimeout": 3000,
[AndroidUiautomator2Driver@f9dd] "appium:adbExecTimeout": 80000,
[AndroidUiautomator2Driver@f9dd] "appium:trackScrollEvents": false
[AndroidUiautomator2Driver@f9dd] },
[AndroidUiautomator2Driver@f9dd] "firstMatch": [
[AndroidUiautomator2Driver@f9dd] {}
[AndroidUiautomator2Driver@f9dd] ]
[AndroidUiautomator2Driver@f9dd] }
[AndroidUiautomator2Driver@f9dd] The following provided capabilities were not recognized by this driver:
[AndroidUiautomator2Driver@f9dd] deviceName
[AndroidUiautomator2Driver@f9dd] autoAcceptAlerts
[AndroidUiautomator2Driver@f9dd] trackScrollEvents
[AndroidUiautomator2Driver@f9dd (a62d871d)] Session created with session id: a62d871d-4998-45ef-9ad5-318557f09402
[AndroidUiautomator2Driver@f9dd (a62d871d)] Starting 'com.google.android.youtube' directly on the device
[ADB] Using 'adb.exe' from 'C:\Users\MunishKumar\AppData\Local\Android\Sdk\platform-tools\adb.exe'
[ADB] Running 'C:\Users\MunishKumar\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 start-server'
[AndroidDriver] Retrieving device list
[ADB] Trying to find a connected android device
[ADB] Getting connected devices
[ADB] Connected devices: [{"udid":"RZCTA0S8CWD","state":"device"}]
[AndroidDriver] Using device: RZCTA0S8CWD
[ADB] Using 'adb.exe' from 'C:\Users\MunishKumar\AppData\Local\Android\Sdk\platform-tools\adb.exe'
[ADB] Running 'C:\Users\MunishKumar\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 start-server'
[ADB] Setting device id to RZCTA0S8CWD
[ADB] Running 'C:\Users\MunishKumar\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s RZCTA0S8CWD shell getprop ro.build.version.sdk'
[ADB] Current device property 'ro.build.version.sdk': 33
[ADB] Getting device platform version
[ADB] Running 'C:\Users\MunishKumar\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s RZCTA0S8CWD shell getprop ro.build.version.release'
[ADB] Current device property 'ro.build.version.release': 13
[ADB] Device API level: 33
[AndroidUiautomator2Driver@f9dd (a62d871d)] Relaxing hidden api policy
[ADB] Running 'C:\Users\MunishKumar\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s RZCTA0S8CWD shell 'settings put global hidden_api_policy_pre_p_apps 1;settings put global hidden_api_policy_p_apps 1;settings put global hidden_api_policy 1''
[AndroidDriver] No app sent in, not parsing package/activity
[ADB] Running 'C:\Users\MunishKumar\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s RZCTA0S8CWD wait-for-device'
[ADB] Running 'C:\Users\MunishKumar\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s RZCTA0S8CWD shell echo ping'
[AndroidDriver] Pushing settings apk to device...
[ADB] Getting install status for io.appium.settings
[ADB] Running 'C:\Users\MunishKumar\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s RZCTA0S8CWD shell dumpsys package io.appium.settings'
[ADB] 'io.appium.settings' is installed
[ADB] Getting package info for 'io.appium.settings'
[ADB] Running 'C:\Users\MunishKumar\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s RZCTA0S8CWD shell dumpsys package io.appium.settings'
[ADB] The version code of the installed 'io.appium.settings' is greater than the application version code (79 > 55)
[ADB] There is no need to downgrade 'io.appium.settings'
[ADB] Getting IDs of all 'io.appium.settings' processes
[ADB] Running 'C:\Users\MunishKumar\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s RZCTA0S8CWD shell 'pgrep --help; echo $?''
[ADB] Running 'C:\Users\MunishKumar\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s RZCTA0S8CWD 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 'C:\Users\MunishKumar\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s RZCTA0S8CWD shell appops set io.appium.settings android:mock_location allow'
[ADB] Running 'C:\Users\MunishKumar\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s RZCTA0S8CWD shell "[ -e '/data/local/tmp/mock_apps.json' ] && echo PASS"'
[ADB] Running 'C:\Users\MunishKumar\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s RZCTA0S8CWD shell cat /data/local/tmp/mock_apps.json'
[Logcat] Starting logs capture with command: C:\Users\MunishKumar\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s RZCTA0S8CWD logcat -v threadtime
[AndroidUiautomator2Driver@f9dd (a62d871d)] Forwarding UiAutomator2 Server port 6790 to local port 8202
[ADB] Forwarding system: 8202 to device: 6790
[ADB] Running 'C:\Users\MunishKumar\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s RZCTA0S8CWD forward tcp:8202 tcp:6790'
[ADB] Getting install status for io.appium.uiautomator2.server
[ADB] Running 'C:\Users\MunishKumar\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s RZCTA0S8CWD 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 'C:\Users\MunishKumar\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s RZCTA0S8CWD 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 ('5.7.8' >= '5.7.8')
[AndroidUiautomator2Driver@f9dd (a62d871d)] io.appium.uiautomator2.server installation state: sameVersionInstalled
[ADB] Checking app cert for C:\Users\MunishKumar.appium\node_modules\appium-uiautomator2-driver\node_modules\appium-uiautomator2-server\apks\appium-uiautomator2-server-v5.7.8.apk
[ADB] Using the previously cached signature entry for 'appium-uiautomator2-server-v5.7.8.apk'
[ADB] sha256 hash did match for 'appium-uiautomator2-server-v5.7.8.apk'
[ADB] Getting install status for io.appium.uiautomator2.server.test
[ADB] Running 'C:\Users\MunishKumar\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s RZCTA0S8CWD shell dumpsys package io.appium.uiautomator2.server.test'
[ADB] 'io.appium.uiautomator2.server.test' is installed
[ADB] Checking app cert for C:\Users\MunishKumar.appium\node_modules\appium-uiautomator2-driver\node_modules\appium-uiautomator2-server\apks\appium-uiautomator2-server-debug-androidTest.apk
[ADB] Using the previously cached signature entry for 'appium-uiautomator2-server-debug-androidTest.apk'
[ADB] sha256 hash did match for 'appium-uiautomator2-server-debug-androidTest.apk'
[AndroidUiautomator2Driver@f9dd (a62d871d)] Server packages are not going to be (re)installed
[AndroidUiautomator2Driver@f9dd (a62d871d)] Waiting up to 30000ms for services to be available
[ADB] Running 'C:\Users\MunishKumar\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s RZCTA0S8CWD shell pm list instrumentation'
[AndroidUiautomator2Driver@f9dd (a62d871d)] Instrumentation target 'io.appium.uiautomator2.server.test/androidx.test.runner.AndroidJUnitRunner' is available
[ADB] Adding packages ["io.appium.settings","io.appium.uiautomator2.server","io.appium.uiautomator2.server.test"] to Doze whitelist
[ADB] Got the following command chunks to execute: [["dumpsys","deviceidle","whitelist","+io.appium.settings",";","dumpsys","deviceidle","whitelist","+io.appium.uiautomator2.server",";","dumpsys","deviceidle","whitelist","+io.appium.uiautomator2.server.test",";"]]
[ADB] Running 'C:\Users\MunishKumar\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s RZCTA0S8CWD shell dumpsys deviceidle whitelist +io.appium.settings ; dumpsys deviceidle whitelist +io.appium.uiautomator2.server ; dumpsys deviceidle whitelist +io.appium.uiautomator2.server.test ;'
[AndroidUiautomator2Driver@f9dd (a62d871d)] No app capability. Assuming it is already on the device
[ADB] Getting install status for com.google.android.youtube
[ADB] Running 'C:\Users\MunishKumar\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s RZCTA0S8CWD shell dumpsys package com.google.android.youtube'
[ADB] 'com.google.android.youtube' is installed
[ADB] Running 'C:\Users\MunishKumar\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s RZCTA0S8CWD shell am force-stop com.google.android.youtube'
[ADB] Running 'C:\Users\MunishKumar\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s RZCTA0S8CWD shell pm clear com.google.android.youtube'
[AndroidDriver] Performed fast reset on the installed 'com.google.android.youtube' application (stop and clear)
[AndroidUiautomator2Driver@f9dd (a62d871d)] Performing shallow cleanup of automation leftovers
[AndroidUiautomator2Driver@f9dd (a62d871d)] No obsolete sessions have been detected (socket hang up)
[ADB] Running 'C:\Users\MunishKumar\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s RZCTA0S8CWD shell am force-stop io.appium.uiautomator2.server.test'
[AndroidUiautomator2Driver@f9dd (a62d871d)] Starting UIAutomator2 server 5.7.8
[AndroidUiautomator2Driver@f9dd (a62d871d)] Using UIAutomator2 server from 'C:\Users\MunishKumar.appium\node_modules\appium-uiautomator2-driver\node_modules\appium-uiautomator2-server\apks\appium-uiautomator2-server-v5.7.8.apk' and test from 'C:\Users\MunishKumar.appium\node_modules\appium-uiautomator2-driver\node_modules\appium-uiautomator2-server\apks\appium-uiautomator2-server-debug-androidTest.apk'
[AndroidUiautomator2Driver@f9dd (a62d871d)] Waiting up to 30000ms for UiAutomator2 to be online...
[ADB] Creating ADB subprocess with args: ["-P",5037,"-s","RZCTA0S8CWD","shell","am","instrument","-w","-e","disableAnalytics",true,"io.appium.uiautomator2.server.test/androidx.test.runner.AndroidJUnitRunner"]
[AndroidUiautomator2Driver@f9dd (a62d871d)] Matched '/status' to command name 'getStatus'
[AndroidUiautomator2Driver@f9dd (a62d871d)] Proxying [GET /status] to [GET http://127.0.0.1:8202/status] with no body
[AndroidUiautomator2Driver@f9dd (a62d871d)] socket hang up
[Instrumentation] io.appium.uiautomator2.server.test.AppiumUiAutomator2Server:
[AndroidUiautomator2Driver@f9dd (a62d871d)] Matched '/status' to command name 'getStatus'
[AndroidUiautomator2Driver@f9dd (a62d871d)] Proxying [GET /status] to [GET http://127.0.0.1:8202/status] with no body
[AndroidUiautomator2Driver@f9dd (a62d871d)] socket hang up
[AndroidUiautomator2Driver@f9dd (a62d871d)] Matched '/status' to command name 'getStatus'
[AndroidUiautomator2Driver@f9dd (a62d871d)] Proxying [GET /status] to [GET http://127.0.0.1:8202/status] with no body
[AndroidUiautomator2Driver@f9dd (a62d871d)] Got response with status 200: {"sessionId":"None","value":{"message":"UiAutomator2 Server is ready to accept commands","ready":true}}
[AndroidUiautomator2Driver@f9dd (a62d871d)] The initialization of the instrumentation process took 2077ms
[AndroidUiautomator2Driver@f9dd (a62d871d)] Matched '/session' to command name 'createSession'
[AndroidUiautomator2Driver@f9dd (a62d871d)] Proxying [POST /session] to [POST http://127.0.0.1:8202/session] with body: {"capabilities":{"firstMatch":[{"platform":"LINUX","webStorageEnabled":false,"takesScreenshot":true,"javascriptEnabled":true,"databaseEnabled":false,"networkConnectionEnabled":true,"locationContextEnabled":false,"warnings":{},"desired":{"platformName":"Android","automationName":"UiAutomator2","deviceName":"Galaxy S20 FE 5G","appPackage":"com.google.android.youtube","appActivity":"com.google.android.apps.youtube.app.watchwhile.WatchWhileActivity","udid":"RZCTA0S8CWD","autoAcceptAlerts":"true","newCommandTimeout":3000,"adbExecTimeout":80000,"trackScrollEvents":false},"platformName":"Android","automationName":"UiAutomator2","deviceName":"RZCTA0S8CWD","appPackage":"com.google.android.youtube","appActivity":"com.google.android.apps.youtube.app.watchwhile.WatchWhileActivity","udid":"RZCTA0S8CWD","autoAcceptAlerts":"true","newCommandTimeout":3000,"adbExecTimeout":80000,"trackScrollEvents":false,"deviceUDID":"RZCTA0S8CWD"}],"alwaysMatch":{}}}
[AndroidUiautomator2Driver@f9dd (a62d871d)] Got response with status 200: {"sessionId":"69f33e3d-0ff2-47ba-aa98-cb02ad0497aa","value":{"capabilities":{"firstMatch":[{"platform":"LINUX","webStorageEnabled":false,"takesScreenshot":true,"javascriptEnabled":true,"databaseEnabled":false,"networkConnectionEnabled":true,"locationContextEnabled":false,"warnings":{},"desired":{"platformName":"Android","automationName":"UiAutomator2","deviceName":"Galaxy S20 FE 5G","appPackage":"com.google.android.youtube","appActivity":"com.google.android.apps.youtube.app.watchwhile.WatchWhileActivity","udid":"RZCTA0S8CWD","autoAcceptAlerts":"true","newCommandTimeout":3000,"adbExecTimeout":80000,"trackScrollEvents":false},"platformName":"Android","automationName":"UiAutomator2","deviceName":"RZCTA0S8CWD","appPackage":"com.google.android.youtube","appActivity":"com.google.android.apps.youtube.app.watchwhile.WatchWhileActivity","udid":"RZCTA0S8CWD","autoAcceptAlerts":"true","newCommandTimeout":3000,"adbExecTimeout":80000,"trackScrollEvents":false,"deviceUDID":"RZCTA0S8CWD"}],"alwaysMatch":{}},"sessionId":"...
[AndroidUiautomator2Driver@f9dd (a62d871d)] Determined the downstream protocol as 'W3C'
[AndroidUiautomator2Driver@f9dd (a62d871d)] Proxying [GET /appium/device/info] to [GET http://127.0.0.1:8202/session/69f33e3d-0ff2-47ba-aa98-cb02ad0497aa/appium/device/info] with no body
[AndroidUiautomator2Driver@f9dd (a62d871d)] Got response with status 200: {"sessionId":"69f33e3d-0ff2-47ba-aa98-cb02ad0497aa","value":{"androidId":"89f63c7f65b0319a","apiVersion":"33","bluetooth":{"state":"OFF"},"brand":"samsung","carrierName":"","displayDensity":480,"locale":"en_IN","manufacturer":"samsung","model":"SM-G781B","networks":[{"capabilities":{"SSID":null,"linkDownBandwidthKbps":33857,"linkUpstreamBandwidthKbps":1293,"networkCapabilities":"NET_CAPABILITY_NOT_METERED,NET_CAPABILITY_INTERNET,NET_CAPABILITY_NOT_RESTRICTED,NET_CAPABILITY_TRUSTED,NET_CAPABILITY_NOT_VPN,NET_CAPABILITY_VALIDATED,NET_CAPABILITY_NOT_ROAMING,NET_CAPABILITY_FOREGROUND,NET_CAPABILITY_NOT_CONGESTED,NET_CAPABILITY_NOT_SUSPENDED","signalStrength":-64,"transportTypes":"TRANSPORT_WIFI"},"detailedState":"CONNECTED","extraInfo":"","isAvailable":true,"isConnected":true,"isFailover":false,"isRoaming":false,"state":"CONNECTED","subtype":-1,"subtypeName":"","type":1,"typeName":"WIFI"}],"platformVersion":"13","realDisplaySize":"1080x2400","timeZone":"Asia/Kolkata"}}
[ADB] Running 'C:\Users\MunishKumar\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s RZCTA0S8CWD shell dumpsys window'
[AndroidDriver] Screen already unlocked, doing nothing
[AndroidUiautomator2Driver@f9dd (a62d871d)] Starting 'com.google.android.youtube/com.google.android.apps.youtube.app.watchwhile.WatchWhileActivity and waiting for 'com.google.android.youtube/com.google.android.apps.youtube.app.watchwhile.WatchWhileActivity'
[ADB] Running 'C:\Users\MunishKumar\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s RZCTA0S8CWD shell am start -W -n com.google.android.youtube/com.google.android.apps.youtube.app.watchwhile.WatchWhileActivity -S -a android.intent.action.MAIN -c android.intent.category.LAUNCHER -f 0x10200000'
[AndroidUiautomator2Driver@f9dd (a62d871d)] Proxying [GET /appium/device/pixel_ratio] to [GET http://127.0.0.1:8202/session/69f33e3d-0ff2-47ba-aa98-cb02ad0497aa/appium/device/pixel_ratio] with no body
[AndroidUiautomator2Driver@f9dd (a62d871d)] Got response with status 200: {"sessionId":"69f33e3d-0ff2-47ba-aa98-cb02ad0497aa","value":3}
[AndroidUiautomator2Driver@f9dd (a62d871d)] Matched '/appium/device/system_bars' to command name 'getSystemBars'
[AndroidUiautomator2Driver@f9dd (a62d871d)] Proxying [GET /appium/device/system_bars] to [GET http://127.0.0.1:8202/session/69f33e3d-0ff2-47ba-aa98-cb02ad0497aa/appium/device/system_bars] with no body
[AndroidUiautomator2Driver@f9dd (a62d871d)] Got response with status 200: {"sessionId":"69f33e3d-0ff2-47ba-aa98-cb02ad0497aa","value":{"statusBar":88}}
[AndroidUiautomator2Driver@f9dd (a62d871d)] Matched '/window/current/size' to command name 'getWindowSize'
[AndroidUiautomator2Driver@f9dd (a62d871d)] Proxying [GET /window/current/size] to [GET http://127.0.0.1:8202/session/69f33e3d-0ff2-47ba-aa98-cb02ad0497aa/window/current/size] with no body
[AndroidUiautomator2Driver@f9dd (a62d871d)] Got response with status 200: {"sessionId":"69f33e3d-0ff2-47ba-aa98-cb02ad0497aa","value":{"height":2168,"width":1080}}
[AppiumDriver@68ab] New AndroidUiautomator2Driver session created successfully, session a62d871d-4998-45ef-9ad5-318557f09402 added to master session list
[AppiumDriver@68ab] Event 'newSessionStarted' logged at 1715092751063 (20:09:11 GMT+0530 (India Standard Time))
[AndroidUiautomator2Driver@f9dd (a62d871d)] Cached the protocol value 'W3C' for the new session a62d871d-4998-45ef-9ad5-318557f09402
[AndroidUiautomator2Driver@f9dd (a62d871d)] 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","automationName":"UiAutomator2","deviceName":"Galaxy S20 FE 5G","appPackage":"com.google.android.youtube","appActivity":"com.google.android.apps.youtube.app.watchwhile.WatchWhileActivity","udid":"RZCTA0S8CWD","autoAcceptAlerts":"true","newCommandTimeout":3000,"adbExecTimeout":80000,"trackScrollEvents":false},"platformName":"Android","automationName":"UiAutomator2","deviceName":"RZCTA0S8CWD","appPackage":"com.google.android.youtube","appActivity":"com.google.android.apps.youtube.app.watchwhile.WatchWhileActivity","udid":"RZCTA0S8CWD","autoAcceptAlerts":"true","newCommandTimeout":3000,"adbExecTimeout":80000,"trackScrollEvents":false,"deviceUDID":"RZCTA0S8CWD","deviceApiLevel":33,"platformVersion":"13","deviceScreenSize":"1080x2400","deviceScreenDensity":480,"deviceM...
[HTTP] <-- POST /wd/hub/session 200 5866 ms - 1227
[HTTP]
[HTTP] Request idempotency key: 5644f238-b2bc-4f4a-b5a2-b4fe15da5a38
[HTTP] --> POST /wd/hub/session/a62d871d-4998-45ef-9ad5-318557f09402/timeouts
[HTTP] {"implicit":120000}
[AndroidUiautomator2Driver@f9dd (a62d871d)] Calling AppiumDriver.timeouts() with args: [null,null,null,null,120000,"a62d871d-4998-45ef-9ad5-318557f09402"]
[AndroidUiautomator2Driver@f9dd (a62d871d)] W3C timeout argument: {"implicit":120000}}
[AndroidUiautomator2Driver@f9dd (a62d871d)] Set implicit wait to 120000ms
[AndroidUiautomator2Driver@f9dd (a62d871d)] Responding to client with driver.timeouts() result: null
[HTTP] <-- POST /wd/hub/session/a62d871d-4998-45ef-9ad5-318557f09402/timeouts 200 4 ms - 14
[HTTP]
[HTTP] --> GET /wd/hub/session/a62d871d-4998-45ef-9ad5-318557f09402/screenshot
[HTTP] {}
[AndroidUiautomator2Driver@f9dd (a62d871d)] Calling AppiumDriver.getScreenshot() with args: ["a62d871d-4998-45ef-9ad5-318557f09402"]
[AndroidUiautomator2Driver@f9dd (a62d871d)] Matched '/screenshot' to command name 'getScreenshot'
[AndroidUiautomator2Driver@f9dd (a62d871d)] Proxying [GET /screenshot] to [GET http://127.0.0.1:8202/session/69f33e3d-0ff2-47ba-aa98-cb02ad0497aa/screenshot] with no body
[HTTP] Request idempotency key: f7b5d280-5dbb-408a-b7ca-88693971b4c7
[HTTP] --> POST /wd/hub/session/a62d871d-4998-45ef-9ad5-318557f09402/appium/device/app_state
[HTTP] {"appId":"com.google.android.youtube"}
[AndroidUiautomator2Driver@f9dd (a62d871d)] Calling AppiumDriver.queryAppState() with args: ["com.google.android.youtube","a62d871d-4998-45ef-9ad5-318557f09402"]
[AndroidUiautomator2Driver@f9dd (a62d871d)] Got response with status 200: {"sessionId":"69f33e3d-0ff2-47ba-aa98-cb02ad0497aa","value":"iVBORw0KGgoAAAANSUhEUgAABDgAAAlgCAYAAABtGofVAAAAAXNSR0IArs4c6QAAAARzQklUCAgICHwIZIgAACAASURBVHic7N17bFz1nffxz9w8tmfGdny/xE6ci51Q2C1JCts+iMC2TaWFVUNRt6E8qhZKqoWyQiB1YWlKK0qBdCUoq3ZTlQIVbQhSS0nbRCtF7XIpT6sCSUBckjj3xPENx/aMx5exx57nD+85nbHn7rFnjvN+SQj7zMw5P3vGkzmf8/19f7ZXXnklIgAAAAAAAAuz53sAAAAAAAAA80XAAQAAAAAALI+AAwAAAAAAWB4BBwAAAAAAsDwCDgAAAAAAYHkEHAAAAAAAwPIIOAAAAAAAgOURcAAAAAAAAMsj4AAAAAAAAJZHwAEAAAAAACyPgAMAAAAAAFgeAQcAAAAAALA8Ag4AAAAAAGB5BBwAAAAAAMDyCDgAAAAAAIDlEXAAAAAAAADLI+AAAAAAAACWR8ABAAAAAAAsj4ADAAAAAABYHgEHAAAAAACwPAIOAAAAAABgeQQcAAAAAADA8gg4AAAAAACA5RFwAAAAAAAAyyPgAAAAAAAAlkfAAQAAAAAALI+AAwAAAAAAWB4BBwAAAAAAsDwCDgAAAAAAYHkEHAAAAAAAwPIIOAAAAAAAgOURcAAAAAAAAMsj4AAAAAAAAJZHwAEAAAAAACyPgAMAAAAAAFgeAQcAAAAAALA8Ag4AAAAAAGB5BBwAAAAAAMDyCDgAAAAAAIDlEXAAAAAAAADLI+AAAAAAAACWR8ABAAAAAAAsj4ADQFw2my3fQwAAAACAtDnzPQDASux2u5xO54Kc/EciEU1OTioSieR836k4HA45HA7Z7XbZbDbZbDa5XC5NTEyYY5uentbU1JSmpqYWfXwAAABWYnyWcjqd5mdHp9Mpu/2v15eNz1nG56vJyUmFw+F8DRlYEgg4sKjW...
[AndroidUiautomator2Driver@f9dd (a62d871d)] Querying the state of 'com.google.android.youtube'
[ADB] Getting install status for com.google.android.youtube
[ADB] Running 'C:\Users\MunishKumar\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s RZCTA0S8CWD shell dumpsys package com.google.android.youtube'
[AndroidUiautomator2Driver@f9dd (a62d871d)] Responding to client with driver.getScreenshot() result: "iVBORw0KGgoAAAANSUhEUgAABDgAAAlgCAYAAABtGofVAAAAAXNSR0IArs4c6QAAAARzQklUCAgICHwIZIgAACAASURBVHic7N17bFz1nffxz9w8tmfGdny/xE6ci51Q2C1JCts+iMC2TaWFVUNRt6E8qhZKqoWyQiB1YWlKK0qBdCUoq3ZTlQIVbQhSS0nbRCtF7XIpT6sCSUBckjj3xPENx/aMx5exx57nD+85nbHn7rFnjvN+SQj7zMw5P3vGkzmf8/19f7ZXXnklIgAAAAAAAAuz53sAAAAAAAAA80XAAQAAAAAALI+AAwAAAAAAWB4BBwAAAAAAsDwCDgAAAAAAYHkEHAAAAAAAwPIIOAAAAAAAgOURcAAAAAAAAMsj4AAAAAAAAJZHwAEAAAAAACyPgAMAAAAAAFgeAQcAAAAAALA8Ag4AAAAAAGB5BBwAAAAAAMDyCDgAAAAAAIDlEXAAAAAAAADLI+AAAAAAAACWR8ABAAAAAAAsj4ADAAAAAABYHgEHAAAAAACwPAIOAAAAAABgeQQcAAAAAADA8gg4AAAAAACA5RFwAAAAAAAAyyPgAAAAAAAAlkfAAQAAAAAALI+AAwAAAAAAWB4BBwAAAAAAsDwCDgAAAAAAYHkEHAAAAAAAwPIIOAAAAAAAgOURcAAAAAAAAMsj4AAAAAAAAJZHwAEAAAAAACyPgAMAAAAAAFgeAQcAAAAAALA8Ag4AAAAAAGB5BBwAAAAAAMDyCDgAAAAAAIDlEXAAAAAAAADLI+AAAAAAAACWR8ABAAAAAAAsj4ADQFw2my3fQwAAAACAtDnzPQDASux2u5xO54Kc/EciEU1OTioSieR836k4HA45HA7Z7XbZbDbZbDa5XC5NTEyYY5uentbU1JSmpqYWfXwAAABWYnyWcjqd5mdHp9Mpu/2v15eNz1nG56vJyUmFw+F8DRlYEgg4sKjWr18vj8ejw4cPW+5E2eFwqLy8XHV1dSoqKsrpviORiEKhkLq7uzU8PLwoIYfx...
[HTTP] <-- GET /wd/hub/session/a62d871d-4998-45ef-9ad5-318557f09402/screenshot 200 253 ms - 80920
[HTTP]
[ADB] 'com.google.android.youtube' is installed
[ADB] Getting IDs of all 'com.google.android.youtube' processes
[ADB] Running 'C:\Users\MunishKumar\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s RZCTA0S8CWD shell pgrep -f ([[:blank:]]|^)com.google.android.youtube([[:blank:]]|$)'
[ADB] Running 'C:\Users\MunishKumar\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s RZCTA0S8CWD shell dumpsys window displays'
[AndroidUiautomator2Driver@f9dd (a62d871d)] Responding to client with driver.queryAppState() result: 3
[HTTP] <-- POST /wd/hub/session/a62d871d-4998-45ef-9ad5-318557f09402/appium/device/app_state 200 381 ms - 11
[HTTP]
[HTTP] Request idempotency key: 1b2bac46-e567-40db-bd99-8dbdd5182936
[HTTP] --> POST /wd/hub/session/a62d871d-4998-45ef-9ad5-318557f09402/appium/device/activate_app
[HTTP] {"appId":"com.google.android.youtube"}
[AndroidUiautomator2Driver@f9dd (a62d871d)] Calling AppiumDriver.activateApp() with args: ["com.google.android.youtube",null,null,null,"a62d871d-4998-45ef-9ad5-318557f09402"]
[AndroidUiautomator2Driver@f9dd (a62d871d)] Activating 'com.google.android.youtube'
[ADB] Running 'C:\Users\MunishKumar\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s RZCTA0S8CWD shell cmd package resolve-activity --brief com.google.android.youtube'
[AndroidUiautomator2Driver@f9dd (a62d871d)] Encountered internal error running command: Error: Unable to resolve the launchable activity of 'com.google.android.youtube'. Original error: priority=0 preferredOrder=0 match=0x108000 specificIndex=-1 isDefault=true
[AndroidUiautomator2Driver@f9dd (a62d871d)] com.google.android.youtube/.app.honeycomb.Shell$HomeActivity
[AndroidUiautomator2Driver@f9dd (a62d871d)] at ADB.resolveLaunchableActivity (C:\Users\MunishKumar.appium\node_modules\appium-uiautomator2-driver\node_modules\appium-adb\lib\tools\adb-commands.js:271:9)
[AndroidUiautomator2Driver@f9dd (a62d871d)] at AndroidUiautomator2Driver.activateApp (C:\Users\MunishKumar.appium\node_modules\appium-uiautomator2-driver\node_modules\appium-android-driver\lib\commands\app-management.js:115:22)
[HTTP] <-- POST /wd/hub/session/a62d871d-4998-45ef-9ad5-318557f09402/appium/device/activate_app 500 53 ms - 1036
[HTTP]
[HTTP] --> GET /wd/hub/session/a62d871d-4998-45ef-9ad5-318557f09402/screenshot
[HTTP] {}
[AndroidUiautomator2Driver@f9dd (a62d871d)] Calling AppiumDriver.getScreenshot() with args: ["a62d871d-4998-45ef-9ad5-318557f09402"]
[AndroidUiautomator2Driver@f9dd (a62d871d)] Matched '/screenshot' to command name 'getScreenshot'
[AndroidUiautomator2Driver@f9dd (a62d871d)] Proxying [GET /screenshot] to [GET http://127.0.0.1:8202/session/69f33e3d-0ff2-47ba-aa98-cb02ad0497aa/screenshot] with no body
[AndroidUiautomator2Driver@f9dd (a62d871d)] Got response with status 200: {"sessionId":"69f33e3d-0ff2-47ba-aa98-cb02ad0497aa","value":"iVBORw0KGgoAAAANSUhEUgAABDgAAAlgCAYAAABtGofVAAAAAXNSR0IArs4c6QAAAARzQklUCAgICHwIZIgAACAASURBVHic7N17cFT3ff//116klXZ1QSCt0AUhgUBchAwYBDiJ29AEt43tZNJMbE+/zkzqTGM6Ccl3HGfSGRP/UtP6O4k9+Y6TBo+ndv5IOq49qWtw2m/sJnKGxrG52GAQhIuQuAp0Q5eVVvfd3x+bPd6V9ipptXvE8zHDoL2d85F2V9rzOu/P+2N5+eWX/QIAAAAAADAxa7oHAAAAAAAAMFsEHAAAAAAAwPQIOAAAAAAAgOkRcAAAAAAAANMj4AAAAAAAAKZHwAEAAAAAAEyPgAMAAAAAAJgeAQcAAAAAADA9Ag4AAAAAAGB6BBwAAAAAAMD0CDgAAAAAAIDpEXAAAAAAAADTI+AAAAAAAACmR8ABAAAAAABMj4ADAAAAAACYHgEHAAAAAAAwPQIOAAAAAABgegQcAAAAAADA9Ag4AAAAAACA6RFwAAAAAAAA0yPgAAAAAAAApkfAAQAAAAAATI+AAwAAAAAAmB4BBwAAAAAAMD0CDgAAAAAAYHoEHAAAAAAAwPQIOAAAAAAAgOkRcAAAAAAAANMj4AAAAAAAAKZHwAEAAAAAAEyPgAMAAAAAAJgeAQcAAAAAADA9Ag4AAAAAAGB6BBwAAAAAAMD0CDgAAAAAAIDpEXAAAAAAAADTI+AAAAAAAACmR8ABAAAAAABMj4ADAAAAAACYHgEHAAAAAAAwPQIOAAAAAABgegQcAAAAAADA9Ag4AERksVjSPQQAAAAASJg93QMAzMRqtSo7O1tW69xngz6fT2NjY/L5fHO+7XjsdrvsdrtsNpvxveXk5GhkZESSNDk5KZ/Pp4mJCU1MTMz7+AAAAMzEarXK4XAoKytLWVlZslqtxv9Bo6OjkqTx8XFNTExodHRU...
[AndroidUiautomator2Driver@f9dd (a62d871d)] Responding to client with driver.getScreenshot() result: "iVBORw0KGgoAAAANSUhEUgAABDgAAAlgCAYAAABtGofVAAAAAXNSR0IArs4c6QAAAARzQklUCAgICHwIZIgAACAASURBVHic7N17cFT3ff//116klXZ1QSCt0AUhgUBchAwYBDiJ29AEt43tZNJMbE+/zkzqTGM6Ccl3HGfSGRP/UtP6O4k9+Y6TBo+ndv5IOq49qWtw2m/sJnKGxrG52GAQhIuQuAp0Q5eVVvfd3x+bPd6V9ipptXvE8zHDoL2d85F2V9rzOu/P+2N5+eWX/QIAAAAAADAxa7oHAAAAAAAAMFsEHAAAAAAAwPQIOAAAAAAAgOkRcAAAAAAAANMj4AAAAAAAAKZHwAEAAAAAAEyPgAMAAAAAAJgeAQcAAAAAADA9Ag4AAAAAAGB6BBwAAAAAAMD0CDgAAAAAAIDpEXAAAAAAAADTI+AAAAAAAACmR8ABAAAAAABMj4ADAAAAAACYHgEHAAAAAAAwPQIOAAAAAABgegQcAAAAAADA9Ag4AAAAAACA6RFwAAAAAAAA0yPgAAAAAAAApkfAAQAAAAAATI+AAwAAAAAAmB4BBwAAAAAAMD0CDgAAAAAAYHoEHAAAAAAAwPQIOAAAAAAAgOkRcAAAAAAAANMj4AAAAAAAAKZHwAEAAAAAAEyPgAMAAAAAAJgeAQcAAAAAADA9Ag4AAAAAAGB6BBwAAAAAAMD0CDgAAAAAAIDpEXAAAAAAAADTI+AAAAAAAACmR8ABAAAAAABMj4ADAAAAAACYHgEHAAAAAAAwPQIOAAAAAABgegQcAAAAAADA9Ag4AERksVjSPQQAAAAASJg93QMAzMRqtSo7O1tW69xngz6fT2NjY/L5fHO+7XjsdrvsdrtsNpvxveXk5GhkZESSNDk5KZ/Pp4mJCU1MTMz7+AAAAMzEarXK4XAoKytLWVlZslqtxv9Bo6OjkqTx8XFNTExodHRU4+Pj6RoysCAQcGBe7dixQwUFBfr1r3+tycnJdA8nKTabTW63W9XV1XI4HHO+...
[HTTP] <-- GET /wd/hub/session/a62d871d-4998-45ef-9ad5-318557f09402/screenshot 200 287 ms - 113376
[HTTP]
[HTTP] --> DELETE /wd/hub/session/a62d871d-4998-45ef-9ad5-318557f09402
[HTTP] {}
[AndroidUiautomator2Driver@f9dd (a62d871d)] Calling AppiumDriver.deleteSession() with args: ["a62d871d-4998-45ef-9ad5-318557f09402"]
[AppiumDriver@68ab] Event 'quitSessionRequested' logged at 1715092752655 (20:09:12 GMT+0530 (India Standard Time))
[AppiumDriver@68ab] Removing session a62d871d-4998-45ef-9ad5-318557f09402 from our master session list
[AndroidUiautomator2Driver@f9dd (a62d871d)] Deleting UiAutomator2 session
[AndroidUiautomator2Driver@f9dd (a62d871d)] Deleting UiAutomator2 server session
[AndroidUiautomator2Driver@f9dd (a62d871d)] Matched '/' to command name 'deleteSession'
[AndroidUiautomator2Driver@f9dd (a62d871d)] Proxying [DELETE /] to [DELETE http://127.0.0.1:8202/session/69f33e3d-0ff2-47ba-aa98-cb02ad0497aa] with no body
[AndroidUiautomator2Driver@f9dd (a62d871d)] Got response with status 200: {"sessionId":"69f33e3d-0ff2-47ba-aa98-cb02ad0497aa","value":null}
[ADB] Running 'C:\Users\MunishKumar\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s RZCTA0S8CWD shell dumpsys activity services io.appium.settings/.recorder.RecorderService'
[ADB] Running 'C:\Users\MunishKumar\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s RZCTA0S8CWD shell am force-stop com.google.android.youtube'
[Logcat] Stopping logcat capture
[ADB] Removing forwarded port socket connection: 8202
[ADB] Running 'C:\Users\MunishKumar\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s RZCTA0S8CWD forward --remove tcp:8202'
[AndroidUiautomator2Driver@f9dd (a62d871d)] Restoring hidden api policy to the device default configuration
[ADB] Running 'C:\Users\MunishKumar\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s RZCTA0S8CWD shell 'settings delete global hidden_api_policy_pre_p_apps;settings delete global hidden_api_policy_p_apps;settings delete global hidden_api_policy''
[AppiumDriver@68ab] Event 'quitSessionFinished' logged at 1715092753102 (20:09:13 GMT+0530 (India Standard Time))
[AppiumDriver@68ab] Received response: null
[AppiumDriver@68ab] But deleting session, so not returning
[AppiumDriver@68ab] Responding to client with driver.deleteSession() result: null
[HTTP] <-- DELETE /wd/hub/session/a62d871d-4998-45ef-9ad5-318557f09402 200 452 ms - 14
[HTTP]
[HTTP] --> DELETE /wd/hub/session/
[HTTP] {}
[HTTP] No route found for /wd/hub/session/
[HTTP] <-- DELETE /wd/hub/session/ 404 2 ms - 211
[HTTP]
[Instrumentation] .
[Instrumentation] Time: 5.014
[Instrumentation]
[Instrumentation] OK (1 test)
[Instrumentation] The process has exited with code 0
[HTTP] Request idempotency key: 9ede5282-4e52-4988-9263-4ad11998bf3c
[HTTP] --> POST /wd/hub/session
[HTTP] {"capabilities":{"firstMatch":[{"platformName":"Android","appium:automationName":"UiAutomator2","appium:deviceName":"Galaxy S20 FE 5G","appium:appPackage":"com.google.android.youtube","appium:appActivity":"com.google.android.apps.youtube.app.watchwhile.WatchWhileActivity","appium:udid":"RZCTA0S8CWD","appium:autoAcceptAlerts":"true","appium:newCommandTimeout":3000,"appium:adbExecTimeout":80000,"appium:trackScrollEvents":false}]}}
[AppiumDriver@68ab] Calling AppiumDriver.createSession() with args: [null,null,{"firstMatch":[{"platformName":"Android","appium:automationName":"UiAutomator2","appium:deviceName":"Galaxy S20 FE 5G","appium:appPackage":"com.google.android.youtube","appium:appActivity":"com.google.android.apps.youtube.app.watchwhile.WatchWhileActivity","appium:udid":"RZCTA0S8CWD","appium:autoAcceptAlerts":"true","appium:newCommandTimeout":3000,"appium:adbExecTimeout":80000,"appium:trackScrollEvents":false}]}]
[AppiumDriver@68ab] Event 'newSessionRequested' logged at 1715092779331 (20:09:39 GMT+0530 (India Standard Time))
[Appium] Attempting to find matching driver for automationName 'UiAutomator2' and platformName 'Android'
[Appium] The 'uiautomator2' driver was installed and matched caps.
[Appium] Will require it at C:\Users\MunishKumar.appium\node_modules\appium-uiautomator2-driver
[Appium] Requiring driver at C:\Users\MunishKumar.appium\node_modules\appium-uiautomator2-driver\build\index.js
[AppiumDriver@68ab] Appium v2.5.1 creating new AndroidUiautomator2Driver (v2.12.6) session
[AppiumDriver@68ab] Checking BaseDriver versions for Appium and AndroidUiautomator2Driver
[AppiumDriver@68ab] Appium's BaseDriver version is 9.5.2
[AppiumDriver@68ab] AndroidUiautomator2Driver's BaseDriver version is 9.5.2
[AndroidUiautomator2Driver@e466] Creating session with W3C capabilities: {
[AndroidUiautomator2Driver@e466] "alwaysMatch": {
[AndroidUiautomator2Driver@e466] "platformName": "Android",
[AndroidUiautomator2Driver@e466] "appium:automationName": "UiAutomator2",
[AndroidUiautomator2Driver@e466] "appium:deviceName": "Galaxy S20 FE 5G",
[AndroidUiautomator2Driver@e466] "appium:appPackage": "com.google.android.youtube",
[AndroidUiautomator2Driver@e466] "appium:appActivity": "com.google.android.apps.youtube.app.watchwhile.WatchWhileActivity",
[AndroidUiautomator2Driver@e466] "appium:udid": "RZCTA0S8CWD",
[AndroidUiautomator2Driver@e466] "appium:autoAcceptAlerts": "true",
[AndroidUiautomator2Driver@e466] "appium:newCommandTimeout": 3000,
[AndroidUiautomator2Driver@e466] "appium:adbExecTimeout": 80000,
[AndroidUiautomator2Driver@e466] "appium:trackScrollEvents": false
[AndroidUiautomator2Driver@e466] },
[AndroidUiautomator2Driver@e466] "firstMatch": [
[AndroidUiautomator2Driver@e466] {}
[AndroidUiautomator2Driver@e466] ]
[AndroidUiautomator2Driver@e466] }
[AndroidUiautomator2Driver@e466] The following provided capabilities were not recognized by this driver:
[AndroidUiautomator2Driver@e466] deviceName
[AndroidUiautomator2Driver@e466] autoAcceptAlerts
[AndroidUiautomator2Driver@e466] trackScrollEvents
[AndroidUiautomator2Driver@e466 (f32eb113)] Session created with session id: f32eb113-8d78-4a19-b38d-c5bb9a3edb60
[AndroidUiautomator2Driver@e466 (f32eb113)] Starting 'com.google.android.youtube' directly on the device
[ADB] Using 'adb.exe' from 'C:\Users\MunishKumar\AppData\Local\Android\Sdk\platform-tools\adb.exe'
[ADB] Running 'C:\Users\MunishKumar\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 start-server'
[AndroidDriver] Retrieving device list
[ADB] Trying to find a connected android device
[ADB] Getting connected devices
[ADB] Connected devices: [{"udid":"RZCTA0S8CWD","state":"device"}]
[AndroidDriver] Using device: RZCTA0S8CWD
[ADB] Using 'adb.exe' from 'C:\Users\MunishKumar\AppData\Local\Android\Sdk\platform-tools\adb.exe'
[ADB] Running 'C:\Users\MunishKumar\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 start-server'
[ADB] Setting device id to RZCTA0S8CWD
[ADB] Running 'C:\Users\MunishKumar\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s RZCTA0S8CWD shell getprop ro.build.version.sdk'
[ADB] Current device property 'ro.build.version.sdk': 33
[ADB] Getting device platform version
[ADB] Running 'C:\Users\MunishKumar\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s RZCTA0S8CWD shell getprop ro.build.version.release'
[ADB] Current device property 'ro.build.version.release': 13
[ADB] Device API level: 33
[AndroidUiautomator2Driver@e466 (f32eb113)] Relaxing hidden api policy
[ADB] Running 'C:\Users\MunishKumar\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s RZCTA0S8CWD shell 'settings put global hidden_api_policy_pre_p_apps 1;settings put global hidden_api_policy_p_apps 1;settings put global hidden_api_policy 1''
[AndroidDriver] No app sent in, not parsing package/activity
[ADB] Running 'C:\Users\MunishKumar\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s RZCTA0S8CWD wait-for-device'
[ADB] Running 'C:\Users\MunishKumar\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s RZCTA0S8CWD shell echo ping'
[AndroidDriver] Pushing settings apk to device...
[ADB] Getting install status for io.appium.settings
[ADB] Running 'C:\Users\MunishKumar\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s RZCTA0S8CWD shell dumpsys package io.appium.settings'
[ADB] 'io.appium.settings' is installed
[ADB] Getting package info for 'io.appium.settings'
[ADB] Running 'C:\Users\MunishKumar\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s RZCTA0S8CWD shell dumpsys package io.appium.settings'
[ADB] The version code of the installed 'io.appium.settings' is greater than the application version code (79 > 55)
[ADB] There is no need to downgrade 'io.appium.settings'
[ADB] Getting IDs of all 'io.appium.settings' processes
[ADB] Running 'C:\Users\MunishKumar\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s RZCTA0S8CWD shell 'pgrep --help; echo $?''
[ADB] Running 'C:\Users\MunishKumar\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s RZCTA0S8CWD 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 'C:\Users\MunishKumar\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s RZCTA0S8CWD shell appops set io.appium.settings android:mock_location allow'
[ADB] Running 'C:\Users\MunishKumar\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s RZCTA0S8CWD shell "[ -e '/data/local/tmp/mock_apps.json' ] && echo PASS"'
[ADB] Running 'C:\Users\MunishKumar\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s RZCTA0S8CWD shell cat /data/local/tmp/mock_apps.json'
[Logcat] Starting logs capture with command: C:\Users\MunishKumar\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s RZCTA0S8CWD logcat -v threadtime
[AndroidUiautomator2Driver@e466 (f32eb113)] Forwarding UiAutomator2 Server port 6790 to local port 8202
[ADB] Forwarding system: 8202 to device: 6790
[ADB] Running 'C:\Users\MunishKumar\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s RZCTA0S8CWD forward tcp:8202 tcp:6790'
[ADB] Getting install status for io.appium.uiautomator2.server
[ADB] Running 'C:\Users\MunishKumar\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s RZCTA0S8CWD 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 'C:\Users\MunishKumar\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s RZCTA0S8CWD 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 ('5.7.8' >= '5.7.8')
[AndroidUiautomator2Driver@e466 (f32eb113)] io.appium.uiautomator2.server installation state: sameVersionInstalled
[ADB] Checking app cert for C:\Users\MunishKumar.appium\node_modules\appium-uiautomator2-driver\node_modules\appium-uiautomator2-server\apks\appium-uiautomator2-server-v5.7.8.apk
[ADB] Using the previously cached signature entry for 'appium-uiautomator2-server-v5.7.8.apk'
[ADB] sha256 hash did match for 'appium-uiautomator2-server-v5.7.8.apk'
[ADB] Getting install status for io.appium.uiautomator2.server.test
[ADB] Running 'C:\Users\MunishKumar\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s RZCTA0S8CWD shell dumpsys package io.appium.uiautomator2.server.test'
[ADB] 'io.appium.uiautomator2.server.test' is installed
[ADB] Checking app cert for C:\Users\MunishKumar.appium\node_modules\appium-uiautomator2-driver\node_modules\appium-uiautomator2-server\apks\appium-uiautomator2-server-debug-androidTest.apk
[ADB] Using the previously cached signature entry for 'appium-uiautomator2-server-debug-androidTest.apk'
[ADB] sha256 hash did match for 'appium-uiautomator2-server-debug-androidTest.apk'
[AndroidUiautomator2Driver@e466 (f32eb113)] Server packages are not going to be (re)installed
[AndroidUiautomator2Driver@e466 (f32eb113)] Waiting up to 30000ms for services to be available
[ADB] Running 'C:\Users\MunishKumar\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s RZCTA0S8CWD shell pm list instrumentation'
[AndroidUiautomator2Driver@e466 (f32eb113)] Instrumentation target 'io.appium.uiautomator2.server.test/androidx.test.runner.AndroidJUnitRunner' is available
[ADB] Adding packages ["io.appium.settings","io.appium.uiautomator2.server","io.appium.uiautomator2.server.test"] to Doze whitelist
[ADB] Got the following command chunks to execute: [["dumpsys","deviceidle","whitelist","+io.appium.settings",";","dumpsys","deviceidle","whitelist","+io.appium.uiautomator2.server",";","dumpsys","deviceidle","whitelist","+io.appium.uiautomator2.server.test",";"]]
[ADB] Running 'C:\Users\MunishKumar\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s RZCTA0S8CWD shell dumpsys deviceidle whitelist +io.appium.settings ; dumpsys deviceidle whitelist +io.appium.uiautomator2.server ; dumpsys deviceidle whitelist +io.appium.uiautomator2.server.test ;'
[AndroidUiautomator2Driver@e466 (f32eb113)] No app capability. Assuming it is already on the device
[ADB] Getting install status for com.google.android.youtube
[ADB] Running 'C:\Users\MunishKumar\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s RZCTA0S8CWD shell dumpsys package com.google.android.youtube'
[ADB] 'com.google.android.youtube' is installed
[ADB] Running 'C:\Users\MunishKumar\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s RZCTA0S8CWD shell am force-stop com.google.android.youtube'
[ADB] Running 'C:\Users\MunishKumar\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s RZCTA0S8CWD shell pm clear com.google.android.youtube'
[AndroidDriver] Performed fast reset on the installed 'com.google.android.youtube' application (stop and clear)
[AndroidUiautomator2Driver@e466 (f32eb113)] Performing shallow cleanup of automation leftovers
[AndroidUiautomator2Driver@e466 (f32eb113)] No obsolete sessions have been detected (socket hang up)
[ADB] Running 'C:\Users\MunishKumar\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s RZCTA0S8CWD shell am force-stop io.appium.uiautomator2.server.test'
[AndroidUiautomator2Driver@e466 (f32eb113)] Starting UIAutomator2 server 5.7.8
[AndroidUiautomator2Driver@e466 (f32eb113)] Using UIAutomator2 server from 'C:\Users\MunishKumar.appium\node_modules\appium-uiautomator2-driver\node_modules\appium-uiautomator2-server\apks\appium-uiautomator2-server-v5.7.8.apk' and test from 'C:\Users\MunishKumar.appium\node_modules\appium-uiautomator2-driver\node_modules\appium-uiautomator2-server\apks\appium-uiautomator2-server-debug-androidTest.apk'
[AndroidUiautomator2Driver@e466 (f32eb113)] Waiting up to 30000ms for UiAutomator2 to be online...
[ADB] Creating ADB subprocess with args: ["-P",5037,"-s","RZCTA0S8CWD","shell","am","instrument","-w","-e","disableAnalytics",true,"io.appium.uiautomator2.server.test/androidx.test.runner.AndroidJUnitRunner"]
[AndroidUiautomator2Driver@e466 (f32eb113)] Matched '/status' to command name 'getStatus'
[AndroidUiautomator2Driver@e466 (f32eb113)] Proxying [GET /status] to [GET http://127.0.0.1:8202/status] with no body
[AndroidUiautomator2Driver@e466 (f32eb113)] socket hang up
[Instrumentation] io.appium.uiautomator2.server.test.AppiumUiAutomator2Server:
[AndroidUiautomator2Driver@e466 (f32eb113)] Matched '/status' to command name 'getStatus'
[AndroidUiautomator2Driver@e466 (f32eb113)] Proxying [GET /status] to [GET http://127.0.0.1:8202/status] with no body
[AndroidUiautomator2Driver@e466 (f32eb113)] socket hang up
[AndroidUiautomator2Driver@e466 (f32eb113)] Matched '/status' to command name 'getStatus'
[AndroidUiautomator2Driver@e466 (f32eb113)] Proxying [GET /status] to [GET http://127.0.0.1:8202/status] with no body
[AndroidUiautomator2Driver@e466 (f32eb113)] Got response with status 200: {"sessionId":"None","value":{"message":"UiAutomator2 Server is ready to accept commands","ready":true}}
[AndroidUiautomator2Driver@e466 (f32eb113)] The initialization of the instrumentation process took 2095ms
[AndroidUiautomator2Driver@e466 (f32eb113)] Matched '/session' to command name 'createSession'
[AndroidUiautomator2Driver@e466 (f32eb113)] Proxying [POST /session] to [POST http://127.0.0.1:8202/session] with body: {"capabilities":{"firstMatch":[{"platform":"LINUX","webStorageEnabled":false,"takesScreenshot":true,"javascriptEnabled":true,"databaseEnabled":false,"networkConnectionEnabled":true,"locationContextEnabled":false,"warnings":{},"desired":{"platformName":"Android","automationName":"UiAutomator2","deviceName":"Galaxy S20 FE 5G","appPackage":"com.google.android.youtube","appActivity":"com.google.android.apps.youtube.app.watchwhile.WatchWhileActivity","udid":"RZCTA0S8CWD","autoAcceptAlerts":"true","newCommandTimeout":3000,"adbExecTimeout":80000,"trackScrollEvents":false},"platformName":"Android","automationName":"UiAutomator2","deviceName":"RZCTA0S8CWD","appPackage":"com.google.android.youtube","appActivity":"com.google.android.apps.youtube.app.watchwhile.WatchWhileActivity","udid":"RZCTA0S8CWD","autoAcceptAlerts":"true","newCommandTimeout":3000,"adbExecTimeout":80000,"trackScrollEvents":false,"deviceUDID":"RZCTA0S8CWD"}],"alwaysMatch":{}}}
[AndroidUiautomator2Driver@e466 (f32eb113)] Got response with status 200: {"sessionId":"a81a2e61-25a6-44db-b73f-b169c1f8cf4a","value":{"capabilities":{"firstMatch":[{"platform":"LINUX","webStorageEnabled":false,"takesScreenshot":true,"javascriptEnabled":true,"databaseEnabled":false,"networkConnectionEnabled":true,"locationContextEnabled":false,"warnings":{},"desired":{"platformName":"Android","automationName":"UiAutomator2","deviceName":"Galaxy S20 FE 5G","appPackage":"com.google.android.youtube","appActivity":"com.google.android.apps.youtube.app.watchwhile.WatchWhileActivity","udid":"RZCTA0S8CWD","autoAcceptAlerts":"true","newCommandTimeout":3000,"adbExecTimeout":80000,"trackScrollEvents":false},"platformName":"Android","automationName":"UiAutomator2","deviceName":"RZCTA0S8CWD","appPackage":"com.google.android.youtube","appActivity":"com.google.android.apps.youtube.app.watchwhile.WatchWhileActivity","udid":"RZCTA0S8CWD","autoAcceptAlerts":"true","newCommandTimeout":3000,"adbExecTimeout":80000,"trackScrollEvents":false,"deviceUDID":"RZCTA0S8CWD"}],"alwaysMatch":{}},"sessionId":"...
[AndroidUiautomator2Driver@e466 (f32eb113)] Determined the downstream protocol as 'W3C'
[AndroidUiautomator2Driver@e466 (f32eb113)] Proxying [GET /appium/device/info] to [GET http://127.0.0.1:8202/session/a81a2e61-25a6-44db-b73f-b169c1f8cf4a/appium/device/info] with no body
[AndroidUiautomator2Driver@e466 (f32eb113)] Got response with status 200: {"sessionId":"a81a2e61-25a6-44db-b73f-b169c1f8cf4a","value":{"androidId":"89f63c7f65b0319a","apiVersion":"33","bluetooth":{"state":"OFF"},"brand":"samsung","carrierName":"","displayDensity":480,"locale":"en_IN","manufacturer":"samsung","model":"SM-G781B","networks":[{"capabilities":{"SSID":null,"linkDownBandwidthKbps":33857,"linkUpstreamBandwidthKbps":1293,"networkCapabilities":"NET_CAPABILITY_NOT_METERED,NET_CAPABILITY_INTERNET,NET_CAPABILITY_NOT_RESTRICTED,NET_CAPABILITY_TRUSTED,NET_CAPABILITY_NOT_VPN,NET_CAPABILITY_VALIDATED,NET_CAPABILITY_NOT_ROAMING,NET_CAPABILITY_FOREGROUND,NET_CAPABILITY_NOT_CONGESTED,NET_CAPABILITY_NOT_SUSPENDED","signalStrength":-64,"transportTypes":"TRANSPORT_WIFI"},"detailedState":"CONNECTED","extraInfo":"","isAvailable":true,"isConnected":true,"isFailover":false,"isRoaming":false,"state":"CONNECTED","subtype":-1,"subtypeName":"","type":1,"typeName":"WIFI"}],"platformVersion":"13","realDisplaySize":"1080x2400","timeZone":"Asia/Kolkata"}}
[ADB] Running 'C:\Users\MunishKumar\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s RZCTA0S8CWD shell dumpsys window'
[AndroidDriver] Screen already unlocked, doing nothing
[AndroidUiautomator2Driver@e466 (f32eb113)] Starting 'com.google.android.youtube/com.google.android.apps.youtube.app.watchwhile.WatchWhileActivity and waiting for 'com.google.android.youtube/com.google.android.apps.youtube.app.watchwhile.WatchWhileActivity'
[ADB] Running 'C:\Users\MunishKumar\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s RZCTA0S8CWD shell am start -W -n com.google.android.youtube/com.google.android.apps.youtube.app.watchwhile.WatchWhileActivity -S -a android.intent.action.MAIN -c android.intent.category.LAUNCHER -f 0x10200000'
[AndroidUiautomator2Driver@e466 (f32eb113)] Proxying [GET /appium/device/pixel_ratio] to [GET http://127.0.0.1:8202/session/a81a2e61-25a6-44db-b73f-b169c1f8cf4a/appium/device/pixel_ratio] with no body
[AndroidUiautomator2Driver@e466 (f32eb113)] Got response with status 200: {"sessionId":"a81a2e61-25a6-44db-b73f-b169c1f8cf4a","value":3}
[AndroidUiautomator2Driver@e466 (f32eb113)] Matched '/appium/device/system_bars' to command name 'getSystemBars'
[AndroidUiautomator2Driver@e466 (f32eb113)] Proxying [GET /appium/device/system_bars] to [GET http://127.0.0.1:8202/session/a81a2e61-25a6-44db-b73f-b169c1f8cf4a/appium/device/system_bars] with no body
[AndroidUiautomator2Driver@e466 (f32eb113)] Got response with status 200: {"sessionId":"a81a2e61-25a6-44db-b73f-b169c1f8cf4a","value":{"statusBar":88}}
[AndroidUiautomator2Driver@e466 (f32eb113)] Matched '/window/current/size' to command name 'getWindowSize'
[AndroidUiautomator2Driver@e466 (f32eb113)] Proxying [GET /window/current/size] to [GET http://127.0.0.1:8202/session/a81a2e61-25a6-44db-b73f-b169c1f8cf4a/window/current/size] with no body
[AndroidUiautomator2Driver@e466 (f32eb113)] Got response with status 200: {"sessionId":"a81a2e61-25a6-44db-b73f-b169c1f8cf4a","value":{"height":2168,"width":1080}}
[AppiumDriver@68ab] New AndroidUiautomator2Driver session created successfully, session f32eb113-8d78-4a19-b38d-c5bb9a3edb60 added to master session list
[AppiumDriver@68ab] Event 'newSessionStarted' logged at 1715092784825 (20:09:44 GMT+0530 (India Standard Time))
[AndroidUiautomator2Driver@e466 (f32eb113)] Cached the protocol value 'W3C' for the new session f32eb113-8d78-4a19-b38d-c5bb9a3edb60
[AndroidUiautomator2Driver@e466 (f32eb113)] 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","automationName":"UiAutomator2","deviceName":"Galaxy S20 FE 5G","appPackage":"com.google.android.youtube","appActivity":"com.google.android.apps.youtube.app.watchwhile.WatchWhileActivity","udid":"RZCTA0S8CWD","autoAcceptAlerts":"true","newCommandTimeout":3000,"adbExecTimeout":80000,"trackScrollEvents":false},"platformName":"Android","automationName":"UiAutomator2","deviceName":"RZCTA0S8CWD","appPackage":"com.google.android.youtube","appActivity":"com.google.android.apps.youtube.app.watchwhile.WatchWhileActivity","udid":"RZCTA0S8CWD","autoAcceptAlerts":"true","newCommandTimeout":3000,"adbExecTimeout":80000,"trackScrollEvents":false,"deviceUDID":"RZCTA0S8CWD","deviceApiLevel":33,"platformVersion":"13","deviceScreenSize":"1080x2400","deviceScreenDensity":480,"deviceM...
[HTTP] <-- POST /wd/hub/session 200 5499 ms - 1227
[HTTP]
[HTTP] Request idempotency key: 8e834aa2-1088-4a6e-b589-e2093c419089
[HTTP] --> POST /wd/hub/session/f32eb113-8d78-4a19-b38d-c5bb9a3edb60/timeouts
[HTTP] {"implicit":120000}
[AndroidUiautomator2Driver@e466 (f32eb113)] Calling AppiumDriver.timeouts() with args: [null,null,null,null,120000,"f32eb113-8d78-4a19-b38d-c5bb9a3edb60"]
[AndroidUiautomator2Driver@e466 (f32eb113)] W3C timeout argument: {"implicit":120000}}
[AndroidUiautomator2Driver@e466 (f32eb113)] Set implicit wait to 120000ms
[AndroidUiautomator2Driver@e466 (f32eb113)] Responding to client with driver.timeouts() result: null
[HTTP] <-- POST /wd/hub/session/f32eb113-8d78-4a19-b38d-c5bb9a3edb60/timeouts 200 4 ms - 14
[HTTP]
[HTTP] --> GET /wd/hub/session/f32eb113-8d78-4a19-b38d-c5bb9a3edb60/screenshot
[HTTP] {}
[AndroidUiautomator2Driver@e466 (f32eb113)] Calling AppiumDriver.getScreenshot() with args: ["f32eb113-8d78-4a19-b38d-c5bb9a3edb60"]
[AndroidUiautomator2Driver@e466 (f32eb113)] Matched '/screenshot' to command name 'getScreenshot'
[AndroidUiautomator2Driver@e466 (f32eb113)] Proxying [GET /screenshot] to [GET http://127.0.0.1:8202/session/a81a2e61-25a6-44db-b73f-b169c1f8cf4a/screenshot] with no body
[HTTP] Request idempotency key: 84d89f1c-173a-4149-9efc-3ac6af77f2de
[HTTP] --> POST /wd/hub/session/f32eb113-8d78-4a19-b38d-c5bb9a3edb60/appium/device/app_state
[HTTP] {"appId":"com.google.android.youtube"}
[AndroidUiautomator2Driver@e466 (f32eb113)] Calling AppiumDriver.queryAppState() with args: ["com.google.android.youtube","f32eb113-8d78-4a19-b38d-c5bb9a3edb60"]
[AndroidUiautomator2Driver@e466 (f32eb113)] Got response with status 200: {"sessionId":"a81a2e61-25a6-44db-b73f-b169c1f8cf4a","value":"iVBORw0KGgoAAAANSUhEUgAABDgAAAlgCAYAAABtGofVAAAAAXNSR0IArs4c6QAAAARzQklUCAgICHwIZIgAACAASURBVHic7N17bFx3nffxz9w8vsx4fLfHTpyr7QTKLk1aVFCfXgS0EmRFWla9ABJUtIVQtqKUXVoKZelDNylatVAtpEAqttr0AlJpqnVZtYLtVSDapoGSEse5Na7tcZw48YzH97k8f/g5hxl7rrbH4+O8X1IUz+2cnz2+nPM539/3Z3vppZfiAgAAAAAAsDB7sQcAAAAAAACwUAQcAAAAAADA8gg4AAAAAACA5RFwAAAAAAAAyyPgAAAAAAAAlkfAAQAAAAAALI+AAwAAAAAAWB4BBwAAAAAAsDwCDgAAAAAAYHkEHAAAAAAAwPIIOAAAAAAAgOURcAAAAAAAAMsj4AAAAAAAAJZHwAEAAAAAACyPgAMAAAAAAFgeAQcAAAAAALA8Ag4AAAAAAGB5BBwAAAAAAMDyCDgAAAAAAIDlEXAAAAAAAADLI+AAAAAAAACWR8ABAAAAAAAsj4ADAAAAAABYHgEHAAAAAACwPAIOAAAAAABgeQQcAAAAAADA8gg4AAAAAACA5RFwAAAAAAAAyyPgAAAAAAAAlkfAAQAAAAAALI+AAwAAAAAAWB4BBwAAAAAAsDwCDgAAAAAAYHkEHAAAAAAAwPIIOAAAAAAAgOURcAAAAAAAAMsj4AAAAAAAAJZHwAEAAAAAACyPgAMAAAAAAFgeAQcAAAAAALA8Ag4AAAAAAGB5BBwAAAAAAMDyCDgApGSz2Yo9BAAAAADImbPYAwCsxG63y+l0FuTkPxaLKRKJKB6PL/q2s3E4HHI4HLLb7bLZbLLZbHK5XJqamjLHZvyLRqNLPj4AAAArMY6lnE6neew4+xhyenpakhSJRBSLxTQ9Pa1IJFKsIQMrAgEHltTmzZtVXl6uAwcO...
[AndroidUiautomator2Driver@e466 (f32eb113)] Querying the state of 'com.google.android.youtube'
[ADB] Getting install status for com.google.android.youtube
[ADB] Running 'C:\Users\MunishKumar\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s RZCTA0S8CWD shell dumpsys package com.google.android.youtube'
[AndroidUiautomator2Driver@e466 (f32eb113)] Responding to client with driver.getScreenshot() result: "iVBORw0KGgoAAAANSUhEUgAABDgAAAlgCAYAAABtGofVAAAAAXNSR0IArs4c6QAAAARzQklUCAgICHwIZIgAACAASURBVHic7N17bFx3nffxz9w8vsx4fLfHTpyr7QTKLk1aVFCfXgS0EmRFWla9ABJUtIVQtqKUXVoKZelDNylatVAtpEAqttr0AlJpqnVZtYLtVSDapoGSEse5Na7tcZw48YzH97k8f/g5hxl7rrbH4+O8X1IUz+2cnz2+nPM539/3Z3vppZfiAgAAAAAAsDB7sQcAAAAAAACwUAQcAAAAAADA8gg4AAAAAACA5RFwAAAAAAAAyyPgAAAAAAAAlkfAAQAAAAAALI+AAwAAAAAAWB4BBwAAAAAAsDwCDgAAAAAAYHkEHAAAAAAAwPIIOAAAAAAAgOURcAAAAAAAAMsj4AAAAAAAAJZHwAEAAAAAACyPgAMAAAAAAFgeAQcAAAAAALA8Ag4AAAAAAGB5BBwAAAAAAMDyCDgAAAAAAIDlEXAAAAAAAADLI+AAAAAAAACWR8ABAAAAAAAsj4ADAAAAAABYHgEHAAAAAACwPAIOAAAAAABgeQQcAAAAAADA8gg4AAAAAACA5RFwAAAAAAAAyyPgAAAAAAAAlkfAAQAAAAAALI+AAwAAAAAAWB4BBwAAAAAAsDwCDgAAAAAAYHkEHAAAAAAAwPIIOAAAAAAAgOURcAAAAAAAAMsj4AAAAAAAAJZHwAEAAAAAACyPgAMAAAAAAFgeAQcAAAAAALA8Ag4AAAAAAGB5BBwAAAAAAMDyCDgApGSz2Yo9BAAAAADImbPYAwCsxG63y+l0FuTkPxaLKRKJKB6PL/q2s3E4HHI4HLLb7bLZbLLZbHK5XJqamjLHZvyLRqNLPj4AAAArMY6lnE6neew4+xhyenpakhSJRBSLxTQ9Pa1IJFKsIQMrAgEHltTmzZtVXl6uAwcOKBaLFXs4ebHb7aqqqlJjY6NcLteib39yclKBQEChUGjRt52K8YfW5XKpqqpK...
[HTTP] <-- GET /wd/hub/session/f32eb113-8d78-4a19-b38d-c5bb9a3edb60/screenshot 200 267 ms - 80668
[HTTP]
[ADB] 'com.google.android.youtube' is installed
[ADB] Getting IDs of all 'com.google.android.youtube' processes
[ADB] Running 'C:\Users\MunishKumar\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s RZCTA0S8CWD shell pgrep -f ([[:blank:]]|^)com.google.android.youtube([[:blank:]]|$)'
[ADB] Running 'C:\Users\MunishKumar\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s RZCTA0S8CWD shell dumpsys window displays'
[AndroidUiautomator2Driver@e466 (f32eb113)] Responding to client with driver.queryAppState() result: 3
[HTTP] <-- POST /wd/hub/session/f32eb113-8d78-4a19-b38d-c5bb9a3edb60/appium/device/app_state 200 416 ms - 11
[HTTP]
[HTTP] Request idempotency key: 03d44a1a-0f44-404a-b41a-c34612e77a3b
[HTTP] --> POST /wd/hub/session/f32eb113-8d78-4a19-b38d-c5bb9a3edb60/appium/device/activate_app
[HTTP] {"appId":"com.google.android.youtube"}
[AndroidUiautomator2Driver@e466 (f32eb113)] Calling AppiumDriver.activateApp() with args: ["com.google.android.youtube",null,null,null,"f32eb113-8d78-4a19-b38d-c5bb9a3edb60"]
[AndroidUiautomator2Driver@e466 (f32eb113)] Activating 'com.google.android.youtube'
[ADB] Running 'C:\Users\MunishKumar\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s RZCTA0S8CWD shell cmd package resolve-activity --brief com.google.android.youtube'
[AndroidUiautomator2Driver@e466 (f32eb113)] Encountered internal error running command: Error: Unable to resolve the launchable activity of 'com.google.android.youtube'. Original error: priority=0 preferredOrder=0 match=0x108000 specificIndex=-1 isDefault=true
[AndroidUiautomator2Driver@e466 (f32eb113)] com.google.android.youtube/.app.honeycomb.Shell$HomeActivity
[AndroidUiautomator2Driver@e466 (f32eb113)] at ADB.resolveLaunchableActivity (C:\Users\MunishKumar.appium\node_modules\appium-uiautomator2-driver\node_modules\appium-adb\lib\tools\adb-commands.js:271:9)
[AndroidUiautomator2Driver@e466 (f32eb113)] at AndroidUiautomator2Driver.activateApp (C:\Users\MunishKumar.appium\node_modules\appium-uiautomator2-driver\node_modules\appium-android-driver\lib\commands\app-management.js:115:22)
[HTTP] <-- POST /wd/hub/session/f32eb113-8d78-4a19-b38d-c5bb9a3edb60/appium/device/activate_app 500 64 ms - 1036
[HTTP]
[HTTP] --> GET /wd/hub/session/f32eb113-8d78-4a19-b38d-c5bb9a3edb60/screenshot
[HTTP] {}
[AndroidUiautomator2Driver@e466 (f32eb113)] Calling AppiumDriver.getScreenshot() with args: ["f32eb113-8d78-4a19-b38d-c5bb9a3edb60"]
[AndroidUiautomator2Driver@e466 (f32eb113)] Matched '/screenshot' to command name 'getScreenshot'
[AndroidUiautomator2Driver@e466 (f32eb113)] Proxying [GET /screenshot] to [GET http://127.0.0.1:8202/session/a81a2e61-25a6-44db-b73f-b169c1f8cf4a/screenshot] with no body
[AndroidUiautomator2Driver@e466 (f32eb113)] Got response with status 200: {"sessionId":"a81a2e61-25a6-44db-b73f-b169c1f8cf4a","value":"iVBORw0KGgoAAAANSUhEUgAABDgAAAlgCAYAAABtGofVAAAAAXNSR0IArs4c6QAAAARzQklUCAgICHwIZIgAACAASURBVHic7N17cFT3ff//116klXZ1QSCt0AUhgUBchAwYBDiJ29AEt43tZNJMbE+/zkzqTGM6Ccl3HGfSGRP/UtP6O4k9+Y6TBo+ndv5IOq49qWtw2m/sJnKGxrG52GAQhIuQuAp0Q5eVVvfd3x+bPd6V9ipptXvE8zHDoL2d85F2V9rzOu/P+2N5+eWX/QIAAAAAADAxa7oHAAAAAAAAMFsEHAAAAAAAwPQIOAAAAAAAgOkRcAAAAAAAANMj4AAAAAAAAKZHwAEAAAAAAEyPgAMAAAAAAJgeAQcAAAAAADA9Ag4AAAAAAGB6BBwAAAAAAMD0CDgAAAAAAIDpEXAAAAAAAADTI+AAAAAAAACmR8ABAAAAAABMj4ADAAAAAACYHgEHAAAAAAAwPQIOAAAAAABgegQcAAAAAADA9Ag4AAAAAACA6RFwAAAAAAAA0yPgAAAAAAAApkfAAQAAAAAATI+AAwAAAAAAmB4BBwAAAAAAMD0CDgAAAAAAYHoEHAAAAAAAwPQIOAAAAAAAgOkRcAAAAAAAANMj4AAAAAAAAKZHwAEAAAAAAEyPgAMAAAAAAJgeAQcAAAAAADA9Ag4AAAAAAGB6BBwAAAAAAMD0CDgAAAAAAIDpEXAAAAAAAADTI+AAAAAAAACmR8ABAAAAAABMj4ADAAAAAACYHgEHAAAAAAAwPQIOAAAAAABgegQcAAAAAADA9Ag4AERksVjSPQQAAAAASJg93QMAzMRqtSo7O1tW69xngz6fT2NjY/L5fHO+7XjsdrvsdrtsNpvxveXk5GhkZESSNDk5KZ/Pp4mJCU1MTMz7+AAAAMzEarXK4XAoKytLWVlZslqtxv9Bo6OjkqTx8XFNTExodHRU...
[AndroidUiautomator2Driver@e466 (f32eb113)] Responding to client with driver.getScreenshot() result: "iVBORw0KGgoAAAANSUhEUgAABDgAAAlgCAYAAABtGofVAAAAAXNSR0IArs4c6QAAAARzQklUCAgICHwIZIgAACAASURBVHic7N17cFT3ff//116klXZ1QSCt0AUhgUBchAwYBDiJ29AEt43tZNJMbE+/zkzqTGM6Ccl3HGfSGRP/UtP6O4k9+Y6TBo+ndv5IOq49qWtw2m/sJnKGxrG52GAQhIuQuAp0Q5eVVvfd3x+bPd6V9ipptXvE8zHDoL2d85F2V9rzOu/P+2N5+eWX/QIAAAAAADAxa7oHAAAAAAAAMFsEHAAAAAAAwPQIOAAAAAAAgOkRcAAAAAAAANMj4AAAAAAAAKZHwAEAAAAAAEyPgAMAAAAAAJgeAQcAAAAAADA9Ag4AAAAAAGB6BBwAAAAAAMD0CDgAAAAAAIDpEXAAAAAAAADTI+AAAAAAAACmR8ABAAAAAABMj4ADAAAAAACYHgEHAAAAAAAwPQIOAAAAAABgegQcAAAAAADA9Ag4AAAAAACA6RFwAAAAAAAA0yPgAAAAAAAApkfAAQAAAAAATI+AAwAAAAAAmB4BBwAAAAAAMD0CDgAAAAAAYHoEHAAAAAAAwPQIOAAAAAAAgOkRcAAAAAAAANMj4AAAAAAAAKZHwAEAAAAAAEyPgAMAAAAAAJgeAQcAAAAAADA9Ag4AAAAAAGB6BBwAAAAAAMD0CDgAAAAAAIDpEXAAAAAAAADTI+AAAAAAAACmR8ABAAAAAABMj4ADAAAAAACYHgEHAAAAAAAwPQIOAAAAAABgegQcAAAAAADA9Ag4AERksVjSPQQAAAAASJg93QMAzMRqtSo7O1tW69xngz6fT2NjY/L5fHO+7XjsdrvsdrtsNpvxveXk5GhkZESSNDk5KZ/Pp4mJCU1MTMz7+AAAAMzEarXK4XAoKytLWVlZslqtxv9Bo6OjkqTx8XFNTExodHRU4+Pj6RoysCAQcGBe7dixQwUFBfr1r3+tycnJdA8nKTabTW63W9XV1XI4HHO+...
[HTTP] <-- GET /wd/hub/session/f32eb113-8d78-4a19-b38d-c5bb9a3edb60/screenshot 200 297 ms - 113084
[HTTP]
[HTTP] --> DELETE /wd/hub/session/f32eb113-8d78-4a19-b38d-c5bb9a3edb60
[HTTP] {}
[AndroidUiautomator2Driver@e466 (f32eb113)] Calling AppiumDriver.deleteSession() with args: ["f32eb113-8d78-4a19-b38d-c5bb9a3edb60"]
[AppiumDriver@68ab] Event 'quitSessionRequested' logged at 1715092786434 (20:09:46 GMT+0530 (India Standard Time))
[AppiumDriver@68ab] Removing session f32eb113-8d78-4a19-b38d-c5bb9a3edb60 from our master session list
[AndroidUiautomator2Driver@e466 (f32eb113)] Deleting UiAutomator2 session
[AndroidUiautomator2Driver@e466 (f32eb113)] Deleting UiAutomator2 server session
[AndroidUiautomator2Driver@e466 (f32eb113)] Matched '/' to command name 'deleteSession'
[AndroidUiautomator2Driver@e466 (f32eb113)] Proxying [DELETE /] to [DELETE http://127.0.0.1:8202/session/a81a2e61-25a6-44db-b73f-b169c1f8cf4a] with no body
[AndroidUiautomator2Driver@e466 (f32eb113)] Got response with status 200: {"sessionId":"a81a2e61-25a6-44db-b73f-b169c1f8cf4a","value":null}
[ADB] Running 'C:\Users\MunishKumar\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s RZCTA0S8CWD shell dumpsys activity services io.appium.settings/.recorder.RecorderService'
[ADB] Running 'C:\Users\MunishKumar\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s RZCTA0S8CWD shell am force-stop com.google.android.youtube'
[Logcat] Stopping logcat capture
[ADB] Removing forwarded port socket connection: 8202
[ADB] Running 'C:\Users\MunishKumar\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s RZCTA0S8CWD forward --remove tcp:8202'
[AndroidUiautomator2Driver@e466 (f32eb113)] Restoring hidden api policy to the device default configuration
[ADB] Running 'C:\Users\MunishKumar\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s RZCTA0S8CWD shell 'settings delete global hidden_api_policy_pre_p_apps;settings delete global hidden_api_policy_p_apps;settings delete global hidden_api_policy''
[AppiumDriver@68ab] Event 'quitSessionFinished' logged at 1715092786745 (20:09:46 GMT+0530 (India Standard Time))
[AppiumDriver@68ab] Received response: null
[AppiumDriver@68ab] But deleting session, so not returning
[AppiumDriver@68ab] Responding to client with driver.deleteSession() result: null
[HTTP] <-- DELETE /wd/hub/session/f32eb113-8d78-4a19-b38d-c5bb9a3edb60 200 315 ms - 14
[HTTP]
[HTTP] --> DELETE /wd/hub/session/
[HTTP] {}
[HTTP] No route found for /wd/hub/session/
[HTTP] <-- DELETE /wd/hub/session/ 404 2 ms - 211
[HTTP]
[Instrumentation] .
[Instrumentation] Time: 5.013
[Instrumentation]
[Instrumentation] OK (1 test)
[Instrumentation] The process has exited with code 0
from appium.
@mykola-mokhnach attached full server logs, kindly change the label to bugs again , i am not able to change it
from appium.
[AndroidUiautomator2Driver@1a58] The following provided capabilities were not recognized by this driver:
[AndroidUiautomator2Driver@1a58] deviceName
[AndroidUiautomator2Driver@1a58] app_wait_activity
[AndroidUiautomator2Driver@1a58] autoAcceptAlerts
[AndroidUiautomator2Driver@1a58] trackScrollEvents
The exception looks legit most likely because of the above capability name mismatch. You must provide a valid activity name to wait to or disable waiting to make that work. Read https://github.com/appium/appium-uiautomator2-driver/blob/master/docs/activity-startup.md for more details
from appium.
@mykola-mokhnach let me try and get back to you.
from appium.
@mykola-mokhnach i tried to change these , now i am able to open the youtube with error popup and due to that i am not able to proceed with the automation .
PFB the updated appium error log
Microsoft Windows [Version 10.0.22621.3447]
(c) Microsoft Corporation. All rights reserved.
C:\Windows\System32>appium server --port 4723 --base-path /wd/hub --log ~/Documents/appium2.log
[Appium] Welcome to Appium v2.5.1
[Appium] Non-default server args:
[Appium] {
[Appium] basePath: '/wd/hub'
[Appium] }
[Appium] The autodetected Appium home path: C:\Users\MunishKumar.appium
[Appium] Attempting to load driver xcuitest...
[Appium] Attempting to load driver uiautomator2...
[Appium] Requiring driver at C:\Users\MunishKumar.appium\node_modules\appium-uiautomator2-driver\build\index.js
[Appium] Requiring driver at C:\Users\MunishKumar.appium\node_modules\appium-xcuitest-driver\build\index.js
[Appium] AndroidUiautomator2Driver has been successfully loaded in 2.301s
[Appium] XCUITestDriver has been successfully loaded in 2.302s
[Appium] Appium REST http interface listener started on http://0.0.0.0:4723/wd/hub
[Appium] You can provide the following URLs in your client code to connect to this server:
[Appium] http://192.168.1.9:4723/wd/hub
[Appium] http://127.0.0.1:4723/wd/hub (only accessible from the same host)
[Appium] Available drivers:
[Appium] - [email protected] (automationName 'XCUITest')
[Appium] - [email protected] (automationName 'UiAutomator2')
[Appium] No plugins have been installed. Use the "appium plugin" command to install the one(s) you want to use.
[HTTP] Request idempotency key: 4e85d11a-714b-41d2-878f-3476f79ec883
[HTTP] --> POST /wd/hub/session
[HTTP] {"capabilities":{"firstMatch":[{"platformName":"Android","appium:automationName":"UiAutomator2","appium:deviceName":"Galaxy S20 FE 5G","appium:udid":"RZCTA0S8CWD","appium:autoAcceptAlerts":"true","appium:newCommandTimeout":3000,"appium:adbExecTimeout":80000,"appium:trackScrollEvents":false,"appium:appPackage":"com.google.android.youtube","appium:appActivity":"com.google.android.apps.youtube.app.watchwhile.WatchWhileActivity"}]}}
[AppiumDriver@7666] Calling AppiumDriver.createSession() with args: [null,null,{"firstMatch":[{"platformName":"Android","appium:automationName":"UiAutomator2","appium:deviceName":"Galaxy S20 FE 5G","appium:udid":"RZCTA0S8CWD","appium:autoAcceptAlerts":"true","appium:newCommandTimeout":3000,"appium:adbExecTimeout":80000,"appium:trackScrollEvents":false,"appium:appPackage":"com.google.android.youtube","appium:appActivity":"com.google.android.apps.youtube.app.watchwhile.WatchWhileActivity"}]}]
[AppiumDriver@7666] Event 'newSessionRequested' logged at 1715157936146 (14:15:36 GMT+0530 (India Standard Time))
[Appium] Attempting to find matching driver for automationName 'UiAutomator2' and platformName 'Android'
[Appium] The 'uiautomator2' driver was installed and matched caps.
[Appium] Will require it at C:\Users\MunishKumar.appium\node_modules\appium-uiautomator2-driver
[Appium] Requiring driver at C:\Users\MunishKumar.appium\node_modules\appium-uiautomator2-driver\build\index.js
[AppiumDriver@7666] Appium v2.5.1 creating new AndroidUiautomator2Driver (v2.12.6) session
[AppiumDriver@7666] Checking BaseDriver versions for Appium and AndroidUiautomator2Driver
[AppiumDriver@7666] Appium's BaseDriver version is 9.5.2
[AppiumDriver@7666] AndroidUiautomator2Driver's BaseDriver version is 9.5.2
[AndroidUiautomator2Driver@ca2f] Creating session with W3C capabilities: {
[AndroidUiautomator2Driver@ca2f] "alwaysMatch": {
[AndroidUiautomator2Driver@ca2f] "platformName": "Android",
[AndroidUiautomator2Driver@ca2f] "appium:automationName": "UiAutomator2",
[AndroidUiautomator2Driver@ca2f] "appium:deviceName": "Galaxy S20 FE 5G",
[AndroidUiautomator2Driver@ca2f] "appium:udid": "RZCTA0S8CWD",
[AndroidUiautomator2Driver@ca2f] "appium:autoAcceptAlerts": "true",
[AndroidUiautomator2Driver@ca2f] "appium:newCommandTimeout": 3000,
[AndroidUiautomator2Driver@ca2f] "appium:adbExecTimeout": 80000,
[AndroidUiautomator2Driver@ca2f] "appium:trackScrollEvents": false,
[AndroidUiautomator2Driver@ca2f] "appium:appPackage": "com.google.android.youtube",
[AndroidUiautomator2Driver@ca2f] "appium:appActivity": "com.google.android.apps.youtube.app.watchwhile.WatchWhileActivity"
[AndroidUiautomator2Driver@ca2f] },
[AndroidUiautomator2Driver@ca2f] "firstMatch": [
[AndroidUiautomator2Driver@ca2f] {}
[AndroidUiautomator2Driver@ca2f] ]
[AndroidUiautomator2Driver@ca2f] }
[AndroidUiautomator2Driver@ca2f] The following provided capabilities were not recognized by this driver:
[AndroidUiautomator2Driver@ca2f] deviceName
[AndroidUiautomator2Driver@ca2f] autoAcceptAlerts
[AndroidUiautomator2Driver@ca2f] trackScrollEvents
[AndroidUiautomator2Driver@ca2f (9b448935)] Session created with session id: 9b448935-35e8-4c71-8f17-e5fecd398968
[AndroidUiautomator2Driver@ca2f (9b448935)] Starting 'com.google.android.youtube' directly on the device
[ADB] Found 1 'build-tools' folders under 'C:\Users\MunishKumar\AppData\Local\Android\Sdk' (newest first):
[ADB] C:/Users/MunishKumar/AppData/Local/Android/Sdk/build-tools/34.0.0
[ADB] Using 'adb.exe' from 'C:\Users\MunishKumar\AppData\Local\Android\Sdk\platform-tools\adb.exe'
[ADB] Running 'C:\Users\MunishKumar\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 start-server'
[AndroidDriver] Retrieving device list
[ADB] Trying to find a connected android device
[ADB] Getting connected devices
[ADB] Connected devices: [{"udid":"RZCTA0S8CWD","state":"device"}]
[AndroidDriver] Using device: RZCTA0S8CWD
[ADB] Using 'adb.exe' from 'C:\Users\MunishKumar\AppData\Local\Android\Sdk\platform-tools\adb.exe'
[ADB] Running 'C:\Users\MunishKumar\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 start-server'
[ADB] Setting device id to RZCTA0S8CWD
[ADB] Running 'C:\Users\MunishKumar\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s RZCTA0S8CWD shell getprop ro.build.version.sdk'
[ADB] Current device property 'ro.build.version.sdk': 33
[ADB] Getting device platform version
[ADB] Running 'C:\Users\MunishKumar\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s RZCTA0S8CWD shell getprop ro.build.version.release'
[ADB] Current device property 'ro.build.version.release': 13
[ADB] Device API level: 33
[AndroidUiautomator2Driver@ca2f (9b448935)] Relaxing hidden api policy
[ADB] Running 'C:\Users\MunishKumar\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s RZCTA0S8CWD shell 'settings put global hidden_api_policy_pre_p_apps 1;settings put global hidden_api_policy_p_apps 1;settings put global hidden_api_policy 1''
[AndroidDriver] No app sent in, not parsing package/activity
[ADB] Running 'C:\Users\MunishKumar\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s RZCTA0S8CWD wait-for-device'
[ADB] Running 'C:\Users\MunishKumar\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s RZCTA0S8CWD shell echo ping'
[AndroidDriver] Pushing settings apk to device...
[ADB] Getting install status for io.appium.settings
[ADB] Running 'C:\Users\MunishKumar\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s RZCTA0S8CWD shell dumpsys package io.appium.settings'
[ADB] 'io.appium.settings' is installed
[ADB] Getting package info for 'io.appium.settings'
[ADB] Running 'C:\Users\MunishKumar\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s RZCTA0S8CWD shell dumpsys package io.appium.settings'
[ADB] The version code of the installed 'io.appium.settings' is greater than the application version code (79 > 55)
[ADB] There is no need to downgrade 'io.appium.settings'
[ADB] Getting IDs of all 'io.appium.settings' processes
[ADB] Running 'C:\Users\MunishKumar\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s RZCTA0S8CWD shell 'pgrep --help; echo $?''
[ADB] Running 'C:\Users\MunishKumar\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s RZCTA0S8CWD 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 'C:\Users\MunishKumar\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s RZCTA0S8CWD shell appops set io.appium.settings android:mock_location allow'
[ADB] Running 'C:\Users\MunishKumar\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s RZCTA0S8CWD shell "[ -e '/data/local/tmp/mock_apps.json' ] && echo PASS"'
[ADB] Running 'C:\Users\MunishKumar\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s RZCTA0S8CWD shell cat /data/local/tmp/mock_apps.json'
[Logcat] Starting logs capture with command: C:\Users\MunishKumar\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s RZCTA0S8CWD logcat -v threadtime
[AndroidUiautomator2Driver@ca2f (9b448935)] Forwarding UiAutomator2 Server port 6790 to local port 8200
[ADB] Forwarding system: 8200 to device: 6790
[ADB] Running 'C:\Users\MunishKumar\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s RZCTA0S8CWD forward tcp:8200 tcp:6790'
[ADB] Getting install status for io.appium.uiautomator2.server
[ADB] Running 'C:\Users\MunishKumar\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s RZCTA0S8CWD 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 'C:\Users\MunishKumar\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s RZCTA0S8CWD 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 ('5.7.8' >= '5.7.8')
[AndroidUiautomator2Driver@ca2f (9b448935)] io.appium.uiautomator2.server installation state: sameVersionInstalled
[ADB] Checking app cert for C:\Users\MunishKumar.appium\node_modules\appium-uiautomator2-driver\node_modules\appium-uiautomator2-server\apks\appium-uiautomator2-server-v5.7.8.apk
[ADB] Using 'apksigner.jar' from 'C:\Users\MunishKumar\AppData\Local\Android\Sdk\apksigner.jar'
[ADB] Starting apksigner: 'C:\Program Files\Java\jdk-11\bin\java.exe' -Xmx1024M -Xss1m -jar C:\Users\MunishKumar\AppData\Local\Android\Sdk\apksigner.jar verify --print-certs C:\Users\MunishKumar\.appium\node_modules\appium-uiautomator2-driver\node_modules\appium-uiautomator2-server\apks\appium-uiautomator2-server-v5.7.8.apk
[ADB] apksigner stdout: Signer #1 certificate DN: EMAILADDRESS=[email protected], 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-v5.7.8.apk'
[ADB] 'C:\Users\MunishKumar.appium\node_modules\appium-uiautomator2-driver\node_modules\appium-uiautomator2-server\apks\appium-uiautomator2-server-v5.7.8.apk' is signed with the default certificate
[ADB] Getting install status for io.appium.uiautomator2.server.test
[ADB] Running 'C:\Users\MunishKumar\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s RZCTA0S8CWD shell dumpsys package io.appium.uiautomator2.server.test'
[ADB] 'io.appium.uiautomator2.server.test' is installed
[ADB] Checking app cert for C:\Users\MunishKumar.appium\node_modules\appium-uiautomator2-driver\node_modules\appium-uiautomator2-server\apks\appium-uiautomator2-server-debug-androidTest.apk
[ADB] Starting apksigner: 'C:\Program Files\Java\jdk-11\bin\java.exe' -Xmx1024M -Xss1m -jar C:\Users\MunishKumar\AppData\Local\Android\Sdk\apksigner.jar verify --print-certs C:\Users\MunishKumar\.appium\node_modules\appium-uiautomator2-driver\node_modules\appium-uiautomator2-server\apks\appium-uiautomator2-server-debug-androidTest.apk
[ADB] apksigner stdout: Signer #1 certificate DN: EMAILADDRESS=[email protected], 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] 'C:\Users\MunishKumar.appium\node_modules\appium-uiautomator2-driver\node_modules\appium-uiautomator2-server\apks\appium-uiautomator2-server-debug-androidTest.apk' is signed with the default certificate
[AndroidUiautomator2Driver@ca2f (9b448935)] Server packages are not going to be (re)installed
[AndroidUiautomator2Driver@ca2f (9b448935)] Waiting up to 30000ms for services to be available
[ADB] Running 'C:\Users\MunishKumar\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s RZCTA0S8CWD shell pm list instrumentation'
[AndroidUiautomator2Driver@ca2f (9b448935)] Instrumentation target 'io.appium.uiautomator2.server.test/androidx.test.runner.AndroidJUnitRunner' is available
[ADB] Adding packages ["io.appium.settings","io.appium.uiautomator2.server","io.appium.uiautomator2.server.test"] to Doze whitelist
[ADB] Got the following command chunks to execute: [["dumpsys","deviceidle","whitelist","+io.appium.settings",";","dumpsys","deviceidle","whitelist","+io.appium.uiautomator2.server",";","dumpsys","deviceidle","whitelist","+io.appium.uiautomator2.server.test",";"]]
[ADB] Running 'C:\Users\MunishKumar\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s RZCTA0S8CWD shell dumpsys deviceidle whitelist +io.appium.settings ; dumpsys deviceidle whitelist +io.appium.uiautomator2.server ; dumpsys deviceidle whitelist +io.appium.uiautomator2.server.test ;'
[AndroidUiautomator2Driver@ca2f (9b448935)] No app capability. Assuming it is already on the device
[ADB] Getting install status for com.google.android.youtube
[ADB] Running 'C:\Users\MunishKumar\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s RZCTA0S8CWD shell dumpsys package com.google.android.youtube'
[ADB] 'com.google.android.youtube' is installed
[ADB] Running 'C:\Users\MunishKumar\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s RZCTA0S8CWD shell am force-stop com.google.android.youtube'
[ADB] Running 'C:\Users\MunishKumar\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s RZCTA0S8CWD shell pm clear com.google.android.youtube'
[AndroidDriver] Performed fast reset on the installed 'com.google.android.youtube' application (stop and clear)
[AndroidUiautomator2Driver@ca2f (9b448935)] Performing shallow cleanup of automation leftovers
[AndroidUiautomator2Driver@ca2f (9b448935)] No obsolete sessions have been detected (socket hang up)
[ADB] Running 'C:\Users\MunishKumar\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s RZCTA0S8CWD shell am force-stop io.appium.uiautomator2.server.test'
[AndroidUiautomator2Driver@ca2f (9b448935)] Starting UIAutomator2 server 5.7.8
[AndroidUiautomator2Driver@ca2f (9b448935)] Using UIAutomator2 server from 'C:\Users\MunishKumar.appium\node_modules\appium-uiautomator2-driver\node_modules\appium-uiautomator2-server\apks\appium-uiautomator2-server-v5.7.8.apk' and test from 'C:\Users\MunishKumar.appium\node_modules\appium-uiautomator2-driver\node_modules\appium-uiautomator2-server\apks\appium-uiautomator2-server-debug-androidTest.apk'
[AndroidUiautomator2Driver@ca2f (9b448935)] Waiting up to 30000ms for UiAutomator2 to be online...
[ADB] Creating ADB subprocess with args: ["-P",5037,"-s","RZCTA0S8CWD","shell","am","instrument","-w","-e","disableAnalytics",true,"io.appium.uiautomator2.server.test/androidx.test.runner.AndroidJUnitRunner"]
[AndroidUiautomator2Driver@ca2f (9b448935)] Matched '/status' to command name 'getStatus'
[AndroidUiautomator2Driver@ca2f (9b448935)] Proxying [GET /status] to [GET http://127.0.0.1:8200/status] with no body
[AndroidUiautomator2Driver@ca2f (9b448935)] socket hang up
[Instrumentation] io.appium.uiautomator2.server.test.AppiumUiAutomator2Server:
[AndroidUiautomator2Driver@ca2f (9b448935)] Matched '/status' to command name 'getStatus'
[AndroidUiautomator2Driver@ca2f (9b448935)] Proxying [GET /status] to [GET http://127.0.0.1:8200/status] with no body
[AndroidUiautomator2Driver@ca2f (9b448935)] socket hang up
[AndroidUiautomator2Driver@ca2f (9b448935)] Matched '/status' to command name 'getStatus'
[AndroidUiautomator2Driver@ca2f (9b448935)] Proxying [GET /status] to [GET http://127.0.0.1:8200/status] with no body
[AndroidUiautomator2Driver@ca2f (9b448935)] Got response with status 200: {"sessionId":"None","value":{"message":"UiAutomator2 Server is ready to accept commands","ready":true}}
[AndroidUiautomator2Driver@ca2f (9b448935)] The initialization of the instrumentation process took 2160ms
[AndroidUiautomator2Driver@ca2f (9b448935)] Matched '/session' to command name 'createSession'
[AndroidUiautomator2Driver@ca2f (9b448935)] Proxying [POST /session] to [POST http://127.0.0.1:8200/session] with body: {"capabilities":{"firstMatch":[{"platform":"LINUX","webStorageEnabled":false,"takesScreenshot":true,"javascriptEnabled":true,"databaseEnabled":false,"networkConnectionEnabled":true,"locationContextEnabled":false,"warnings":{},"desired":{"platformName":"Android","automationName":"UiAutomator2","deviceName":"Galaxy S20 FE 5G","udid":"RZCTA0S8CWD","autoAcceptAlerts":"true","newCommandTimeout":3000,"adbExecTimeout":80000,"trackScrollEvents":false,"appPackage":"com.google.android.youtube","appActivity":"com.google.android.apps.youtube.app.watchwhile.WatchWhileActivity"},"platformName":"Android","automationName":"UiAutomator2","deviceName":"RZCTA0S8CWD","udid":"RZCTA0S8CWD","autoAcceptAlerts":"true","newCommandTimeout":3000,"adbExecTimeout":80000,"trackScrollEvents":false,"appPackage":"com.google.android.youtube","appActivity":"com.google.android.apps.youtube.app.watchwhile.WatchWhileActivity","deviceUDID":"RZCTA0S8CWD"}],"alwaysMatch":{}}}
[AndroidUiautomator2Driver@ca2f (9b448935)] Got response with status 200: {"sessionId":"1972bf9c-cf4e-4e79-89ec-edd6dbfb684b","value":{"capabilities":{"firstMatch":[{"platform":"LINUX","webStorageEnabled":false,"takesScreenshot":true,"javascriptEnabled":true,"databaseEnabled":false,"networkConnectionEnabled":true,"locationContextEnabled":false,"warnings":{},"desired":{"platformName":"Android","automationName":"UiAutomator2","deviceName":"Galaxy S20 FE 5G","udid":"RZCTA0S8CWD","autoAcceptAlerts":"true","newCommandTimeout":3000,"adbExecTimeout":80000,"trackScrollEvents":false,"appPackage":"com.google.android.youtube","appActivity":"com.google.android.apps.youtube.app.watchwhile.WatchWhileActivity"},"platformName":"Android","automationName":"UiAutomator2","deviceName":"RZCTA0S8CWD","udid":"RZCTA0S8CWD","autoAcceptAlerts":"true","newCommandTimeout":3000,"adbExecTimeout":80000,"trackScrollEvents":false,"appPackage":"com.google.android.youtube","appActivity":"com.google.android.apps.youtube.app.watchwhile.WatchWhileActivity","deviceUDID":"RZCTA0S8CWD"}],"alwaysMatch":{}},"sessionId":"...
[AndroidUiautomator2Driver@ca2f (9b448935)] Determined the downstream protocol as 'W3C'
[AndroidUiautomator2Driver@ca2f (9b448935)] Proxying [GET /appium/device/info] to [GET http://127.0.0.1:8200/session/1972bf9c-cf4e-4e79-89ec-edd6dbfb684b/appium/device/info] with no body
[AndroidUiautomator2Driver@ca2f (9b448935)] Got response with status 200: {"sessionId":"1972bf9c-cf4e-4e79-89ec-edd6dbfb684b","value":{"androidId":"89f63c7f65b0319a","apiVersion":"33","bluetooth":{"state":"OFF"},"brand":"samsung","carrierName":"","displayDensity":480,"locale":"en_IN","manufacturer":"samsung","model":"SM-G781B","networks":[{"capabilities":{"SSID":null,"linkDownBandwidthKbps":33857,"linkUpstreamBandwidthKbps":1293,"networkCapabilities":"NET_CAPABILITY_NOT_METERED,NET_CAPABILITY_INTERNET,NET_CAPABILITY_NOT_RESTRICTED,NET_CAPABILITY_TRUSTED,NET_CAPABILITY_NOT_VPN,NET_CAPABILITY_VALIDATED,NET_CAPABILITY_NOT_ROAMING,NET_CAPABILITY_FOREGROUND,NET_CAPABILITY_NOT_CONGESTED,NET_CAPABILITY_NOT_SUSPENDED","signalStrength":-71,"transportTypes":"TRANSPORT_WIFI"},"detailedState":"CONNECTED","extraInfo":"","isAvailable":true,"isConnected":true,"isFailover":false,"isRoaming":false,"state":"CONNECTED","subtype":-1,"subtypeName":"","type":1,"typeName":"WIFI"}],"platformVersion":"13","realDisplaySize":"1080x2400","timeZone":"Asia/Kolkata"}}
[ADB] Running 'C:\Users\MunishKumar\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s RZCTA0S8CWD shell dumpsys window'
[AndroidDriver] Screen already unlocked, doing nothing
[AndroidUiautomator2Driver@ca2f (9b448935)] Starting 'com.google.android.youtube/com.google.android.apps.youtube.app.watchwhile.WatchWhileActivity and waiting for 'com.google.android.youtube/com.google.android.apps.youtube.app.watchwhile.WatchWhileActivity'
[ADB] Running 'C:\Users\MunishKumar\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s RZCTA0S8CWD shell am start -W -n com.google.android.youtube/com.google.android.apps.youtube.app.watchwhile.WatchWhileActivity -S -a android.intent.action.MAIN -c android.intent.category.LAUNCHER -f 0x10200000'
[AndroidUiautomator2Driver@ca2f (9b448935)] Proxying [GET /appium/device/pixel_ratio] to [GET http://127.0.0.1:8200/session/1972bf9c-cf4e-4e79-89ec-edd6dbfb684b/appium/device/pixel_ratio] with no body
[AndroidUiautomator2Driver@ca2f (9b448935)] Got response with status 200: {"sessionId":"1972bf9c-cf4e-4e79-89ec-edd6dbfb684b","value":3}
[AndroidUiautomator2Driver@ca2f (9b448935)] Matched '/appium/device/system_bars' to command name 'getSystemBars'
[AndroidUiautomator2Driver@ca2f (9b448935)] Proxying [GET /appium/device/system_bars] to [GET http://127.0.0.1:8200/session/1972bf9c-cf4e-4e79-89ec-edd6dbfb684b/appium/device/system_bars] with no body
[AndroidUiautomator2Driver@ca2f (9b448935)] Got response with status 200: {"sessionId":"1972bf9c-cf4e-4e79-89ec-edd6dbfb684b","value":{"statusBar":88}}
[AndroidUiautomator2Driver@ca2f (9b448935)] Matched '/window/current/size' to command name 'getWindowSize'
[AndroidUiautomator2Driver@ca2f (9b448935)] Proxying [GET /window/current/size] to [GET http://127.0.0.1:8200/session/1972bf9c-cf4e-4e79-89ec-edd6dbfb684b/window/current/size] with no body
[AndroidUiautomator2Driver@ca2f (9b448935)] Got response with status 200: {"sessionId":"1972bf9c-cf4e-4e79-89ec-edd6dbfb684b","value":{"height":2168,"width":1080}}
[AppiumDriver@7666] New AndroidUiautomator2Driver session created successfully, session 9b448935-35e8-4c71-8f17-e5fecd398968 added to master session list
[AppiumDriver@7666] Event 'newSessionStarted' logged at 1715157943663 (14:15:43 GMT+0530 (India Standard Time))
[AndroidUiautomator2Driver@ca2f (9b448935)] Cached the protocol value 'W3C' for the new session 9b448935-35e8-4c71-8f17-e5fecd398968
[AndroidUiautomator2Driver@ca2f (9b448935)] 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","automationName":"UiAutomator2","deviceName":"Galaxy S20 FE 5G","udid":"RZCTA0S8CWD","autoAcceptAlerts":"true","newCommandTimeout":3000,"adbExecTimeout":80000,"trackScrollEvents":false,"appPackage":"com.google.android.youtube","appActivity":"com.google.android.apps.youtube.app.watchwhile.WatchWhileActivity"},"platformName":"Android","automationName":"UiAutomator2","deviceName":"RZCTA0S8CWD","udid":"RZCTA0S8CWD","autoAcceptAlerts":"true","newCommandTimeout":3000,"adbExecTimeout":80000,"trackScrollEvents":false,"appPackage":"com.google.android.youtube","appActivity":"com.google.android.apps.youtube.app.watchwhile.WatchWhileActivity","deviceUDID":"RZCTA0S8CWD","deviceApiLevel":33,"platformVersion":"13","deviceScreenSize":"1080x2400","deviceScreenDensity":480,"deviceM...
[HTTP] <-- POST /wd/hub/session 200 7528 ms - 1227
[HTTP]
[HTTP] Request idempotency key: 7eebe0cf-f2c0-471b-9d76-0d2fc178383c
[HTTP] --> POST /wd/hub/session/9b448935-35e8-4c71-8f17-e5fecd398968/timeouts
[HTTP] {"implicit":120000}
[AndroidUiautomator2Driver@ca2f (9b448935)] Calling AppiumDriver.timeouts() with args: [null,null,null,null,120000,"9b448935-35e8-4c71-8f17-e5fecd398968"]
[AndroidUiautomator2Driver@ca2f (9b448935)] W3C timeout argument: {"implicit":120000}}
[AndroidUiautomator2Driver@ca2f (9b448935)] Set implicit wait to 120000ms
[AndroidUiautomator2Driver@ca2f (9b448935)] Responding to client with driver.timeouts() result: null
[HTTP] <-- POST /wd/hub/session/9b448935-35e8-4c71-8f17-e5fecd398968/timeouts 200 8 ms - 14
[HTTP]
[HTTP] --> GET /wd/hub/session/9b448935-35e8-4c71-8f17-e5fecd398968/screenshot
[HTTP] {}
[AndroidUiautomator2Driver@ca2f (9b448935)] Calling AppiumDriver.getScreenshot() with args: ["9b448935-35e8-4c71-8f17-e5fecd398968"]
[AndroidUiautomator2Driver@ca2f (9b448935)] Matched '/screenshot' to command name 'getScreenshot'
[AndroidUiautomator2Driver@ca2f (9b448935)] Proxying [GET /screenshot] to [GET http://127.0.0.1:8200/session/1972bf9c-cf4e-4e79-89ec-edd6dbfb684b/screenshot] with no body
[HTTP] Request idempotency key: 2e27fdbd-376b-48f7-ae28-0b0725df2193
[HTTP] --> POST /wd/hub/session/9b448935-35e8-4c71-8f17-e5fecd398968/appium/device/app_state
[HTTP] {"appId":"com.google.android.youtube"}
[AndroidUiautomator2Driver@ca2f (9b448935)] Calling AppiumDriver.queryAppState() with args: ["com.google.android.youtube","9b448935-35e8-4c71-8f17-e5fecd398968"]
[AndroidUiautomator2Driver@ca2f (9b448935)] Got response with status 200: {"sessionId":"1972bf9c-cf4e-4e79-89ec-edd6dbfb684b","value":"iVBORw0KGgoAAAANSUhEUgAABDgAAAlgCAYAAABtGofVAAAAAXNSR0IArs4c6QAAAARzQklUCAgICHwIZIgAACAASURBVHic7N1rbFT3nf/xz4zH48vM+AbYY8BgwFwCpMFBpE0akm3/WamhAqlKA8mDRiE0VfcBpKqS1YZ2iYK2idSwkRL3Ubss2eQBgTRqlSjQrdhWaShJS7ikCSTGBgLG2OZme8Z3jz3/B+6czthzsz3jmZ/9fkkI+8yZc362xzDnc76/78/2+9//PigAAAAAAACD2TM9AAAAAAAAgMki4AAAAAAAAMYj4AAAAAAAAMYj4AAAAAAAAMYj4AAAAAAAAMYj4AAAAAAAAMYj4AAAAAAAAMYj4AAAAAAAAMYj4AAAAAAAAMYj4AAAAAAAAMYj4AAAAAAAAMYj4AAAAAAAAMYj4AAAAAAAAMYj4AAAAAAAAMYj4AAAAAAAAMYj4AAAAAAAAMYj4AAAAAAAAMYj4AAAAAAAAMYj4AAAAAAAAMYj4AAAAAAAAMYj4AAAAAAAAMYj4AAAAAAAAMYj4AAAAAAAAMYj4AAAAAAAAMYj4AAAAAAAAMYj4AAAAAAAAMYj4AAAAAAAAMYj4AAAAAAAAMYj4AAAAAAAAMYj4AAAAAAAAMYj4AAAAAAAAMYj4AAAAAAAAMYj4AAAAAAAAMYj4AAAAAAAAMYj4AAAAAAAAMYj4AAAAAAAAMYj4AAAAAAAAMYj4AAAAAAAAMYj4AAAAAAAAMYj4AAAAAAAAMYj4AAAAAAAAMYj4AAAAAAAAMYj4AAAAAAAAMZzZHoAwHRgt9vlcDhkt6c+MxweHtbg4KCCwWDKjw0AADAT2Gw2OZ1OORwO6z2bw+GQzWaz9hkcHLT+Hhoa0uDgoAKBQKaGDGACCDiAScrJyVFJSYkqKyvldDpTfvy+vj41NzfL5/OlPORYvXq13G63jh8/rqGh...
[AndroidUiautomator2Driver@ca2f (9b448935)] Querying the state of 'com.google.android.youtube'
[ADB] Getting install status for com.google.android.youtube
[ADB] Running 'C:\Users\MunishKumar\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s RZCTA0S8CWD shell dumpsys package com.google.android.youtube'
[AndroidUiautomator2Driver@ca2f (9b448935)] Responding to client with driver.getScreenshot() result: "iVBORw0KGgoAAAANSUhEUgAABDgAAAlgCAYAAABtGofVAAAAAXNSR0IArs4c6QAAAARzQklUCAgICHwIZIgAACAASURBVHic7N1rbFT3nf/xz4zH48vM+AbYY8BgwFwCpMFBpE0akm3/WamhAqlKA8mDRiE0VfcBpKqS1YZ2iYK2idSwkRL3Ubss2eQBgTRqlSjQrdhWaShJS7ikCSTGBgLG2OZme8Z3jz3/B+6czthzsz3jmZ/9fkkI+8yZc362xzDnc76/78/2+9//PigAAAAAAACD2TM9AAAAAAAAgMki4AAAAAAAAMYj4AAAAAAAAMYj4AAAAAAAAMYj4AAAAAAAAMYj4AAAAAAAAMYj4AAAAAAAAMYj4AAAAAAAAMYj4AAAAAAAAMYj4AAAAAAAAMYj4AAAAAAAAMYj4AAAAAAAAMYj4AAAAAAAAMYj4AAAAAAAAMYj4AAAAAAAAMYj4AAAAAAAAMYj4AAAAAAAAMYj4AAAAAAAAMYj4AAAAAAAAMYj4AAAAAAAAMYj4AAAAAAAAMYj4AAAAAAAAMYj4AAAAAAAAMYj4AAAAAAAAMYj4AAAAAAAAMYj4AAAAAAAAMYj4AAAAAAAAMYj4AAAAAAAAMYj4AAAAAAAAMYj4AAAAAAAAMYj4AAAAAAAAMYj4AAAAAAAAMYj4AAAAAAAAMYj4AAAAAAAAMYj4AAAAAAAAMYj4AAAAAAAAMYj4AAAAAAAAMYj4AAAAAAAAMYj4AAAAAAAAMYj4AAAAAAAAMYj4AAAAAAAAMYj4AAAAAAAAMYj4AAAAAAAAMZzZHoAwHRgt9vlcDhkt6c+MxweHtbg4KCCwWDKjw0AADAT2Gw2OZ1OORwO6z2bw+GQzWaz9hkcHLT+Hhoa0uDgoAKBQKaGDGACCDiAScrJyVFJSYkqKyvldDpTfvy+vj41NzfL5/OlPORYvXq13G63jh8/rqGhoZQeGwAAIJNycnLkdDqVn5+v3Nxc2Ww2K9AY/Xdof0nKy8tTMBhUMBjU8PCw...
[HTTP] <-- GET /wd/hub/session/9b448935-35e8-4c71-8f17-e5fecd398968/screenshot 200 282 ms - 80964
[HTTP]
[ADB] 'com.google.android.youtube' is installed
[ADB] Getting IDs of all 'com.google.android.youtube' processes
[ADB] Running 'C:\Users\MunishKumar\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s RZCTA0S8CWD shell pgrep -f ([[:blank:]]|^)com.google.android.youtube([[:blank:]]|$)'
[ADB] Running 'C:\Users\MunishKumar\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s RZCTA0S8CWD shell dumpsys window displays'
[AndroidUiautomator2Driver@ca2f (9b448935)] Responding to client with driver.queryAppState() result: 3
[HTTP] <-- POST /wd/hub/session/9b448935-35e8-4c71-8f17-e5fecd398968/appium/device/app_state 200 419 ms - 11
[HTTP]
[HTTP] Request idempotency key: 5f274fed-fb1a-4817-84f5-29a1a3e9fe2b
[HTTP] --> POST /wd/hub/session/9b448935-35e8-4c71-8f17-e5fecd398968/appium/device/activate_app
[HTTP] {"appId":"com.google.android.youtube"}
[AndroidUiautomator2Driver@ca2f (9b448935)] Calling AppiumDriver.activateApp() with args: ["com.google.android.youtube",null,null,null,"9b448935-35e8-4c71-8f17-e5fecd398968"]
[AndroidUiautomator2Driver@ca2f (9b448935)] Activating 'com.google.android.youtube'
[ADB] Running 'C:\Users\MunishKumar\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s RZCTA0S8CWD shell cmd package resolve-activity --brief com.google.android.youtube'
[AndroidUiautomator2Driver@ca2f (9b448935)] Encountered internal error running command: Error: Unable to resolve the launchable activity of 'com.google.android.youtube'. Original error: priority=0 preferredOrder=0 match=0x108000 specificIndex=-1 isDefault=true
[AndroidUiautomator2Driver@ca2f (9b448935)] com.google.android.youtube/.app.honeycomb.Shell$HomeActivity
[AndroidUiautomator2Driver@ca2f (9b448935)] at ADB.resolveLaunchableActivity (C:\Users\MunishKumar.appium\node_modules\appium-uiautomator2-driver\node_modules\appium-adb\lib\tools\adb-commands.js:271:9)
[AndroidUiautomator2Driver@ca2f (9b448935)] at AndroidUiautomator2Driver.activateApp (C:\Users\MunishKumar.appium\node_modules\appium-uiautomator2-driver\node_modules\appium-android-driver\lib\commands\app-management.js:115:22)
[HTTP] <-- POST /wd/hub/session/9b448935-35e8-4c71-8f17-e5fecd398968/appium/device/activate_app 500 88 ms - 1036
[HTTP]
[HTTP] --> GET /wd/hub/session/9b448935-35e8-4c71-8f17-e5fecd398968/screenshot
[HTTP] {}
[AndroidUiautomator2Driver@ca2f (9b448935)] Calling AppiumDriver.getScreenshot() with args: ["9b448935-35e8-4c71-8f17-e5fecd398968"]
[AndroidUiautomator2Driver@ca2f (9b448935)] Matched '/screenshot' to command name 'getScreenshot'
[AndroidUiautomator2Driver@ca2f (9b448935)] Proxying [GET /screenshot] to [GET http://127.0.0.1:8200/session/1972bf9c-cf4e-4e79-89ec-edd6dbfb684b/screenshot] with no body
[AndroidUiautomator2Driver@ca2f (9b448935)] Got response with status 200: {"sessionId":"1972bf9c-cf4e-4e79-89ec-edd6dbfb684b","value":"iVBORw0KGgoAAAANSUhEUgAABDgAAAlgCAYAAABtGofVAAAAAXNSR0IArs4c6QAAAARzQklUCAgICHwIZIgAACAASURBVHic7N15cFznfeb771l6X7ADBMAFFPcNkiiJ2nxpW3bFvkksp6ZcWWZqKhMrd2Jl0Z2qlFKTKctViVOTmUxlUmM7JZVr7FRueUqJb8YTWbm2vISSZVmURImSuIkLBJAgCWLfeu8+y/0DgzZAAiBAogE0+HyqUOzl9HvebjQbfZ7zvr/XeP75531ERERERERERKqYudodEBERERERERG5XQo4RERERERERKTqKeAQERERERERkaqngENEREREREREqp4CDhERERERERGpego4RERERERERKTqKeAQERERERERkaqngENEREREREREqp4CDhERERERERGpego4RERERERERKTqKeAQERERERERkaqngENEREREREREqp4CDhERERERERGpego4RERERERERKTqKeAQERERERERkaqngENEREREREREqp4CDhERERERERGpego4RERERERERKTqKeAQERERERERkaqngENEREREREREqp4CDhERERERERGpego4RERERERERKTqKeAQERERERERkaqngENEREREREREqp4CDhERERERERGpego4RERERERERKTqKeAQERERERERkaqngENEREREREREqp4CDhERERERERGpego4RERERERERKTqKeAQERERERERkaqngENEREREREREqp4CDhERERERERGpego4RERERERERKTqKeAQERERERERkaqngENEREREREREqp4CDhERERERERGpego4RERERERERKTqKeAQERERERERkaqngENEREREREREqp4CDhERERERERGpego4RERERERERKTqKeAQERERERERkapnr3YHRNYD0zQJBoOY5vJnhp7n...
[AndroidUiautomator2Driver@ca2f (9b448935)] Responding to client with driver.getScreenshot() result: "iVBORw0KGgoAAAANSUhEUgAABDgAAAlgCAYAAABtGofVAAAAAXNSR0IArs4c6QAAAARzQklUCAgICHwIZIgAACAASURBVHic7N15cFznfeb771l6X7ADBMAFFPcNkiiJ2nxpW3bFvkksp6ZcWWZqKhMrd2Jl0Z2qlFKTKctViVOTmUxlUmM7JZVr7FRueUqJb8YTWbm2vISSZVmURImSuIkLBJAgCWLfeu8+y/0DgzZAAiBAogE0+HyqUOzl9HvebjQbfZ7zvr/XeP75531ERERERERERKqYudodEBERERERERG5XQo4RERERERERKTqKeAQERERERERkaqngENEREREREREqp4CDhERERERERGpego4RERERERERKTqKeAQERERERERkaqngENEREREREREqp4CDhERERERERGpego4RERERERERKTqKeAQERERERERkaqngENEREREREREqp4CDhERERERERGpego4RERERERERKTqKeAQERERERERkaqngENEREREREREqp4CDhERERERERGpego4RERERERERKTqKeAQERERERERkaqngENEREREREREqp4CDhERERERERGpego4RERERERERKTqKeAQERERERERkaqngENEREREREREqp4CDhERERERERGpego4RERERERERKTqKeAQERERERERkaqngENEREREREREqp4CDhERERERERGpego4RERERERERKTqKeAQERERERERkaqngENEREREREREqp4CDhERERERERGpego4RERERERERKTqKeAQERERERERkaqngENEREREREREqp4CDhERERERERGpego4RERERERERKTqKeAQERERERERkaqngENEREREREREqp4CDhERERERERGpego4RERERERERKTqKeAQERERERERkapnr3YHRNYD0zQJBoOY5vJnhp7nUSwW8Txv2dsWERERuROYpkkoFCIQCBAIBDBNs/zvtEKhAECpVMJxHAqFAqVS...
[HTTP] <-- GET /wd/hub/session/9b448935-35e8-4c71-8f17-e5fecd398968/screenshot 200 316 ms - 134972
[HTTP]
[HTTP] --> DELETE /wd/hub/session/9b448935-35e8-4c71-8f17-e5fecd398968
[HTTP] {}
[AndroidUiautomator2Driver@ca2f (9b448935)] Calling AppiumDriver.deleteSession() with args: ["9b448935-35e8-4c71-8f17-e5fecd398968"]
[AppiumDriver@7666] Event 'quitSessionRequested' logged at 1715157945372 (14:15:45 GMT+0530 (India Standard Time))
[AppiumDriver@7666] Removing session 9b448935-35e8-4c71-8f17-e5fecd398968 from our master session list
[AndroidUiautomator2Driver@ca2f (9b448935)] Deleting UiAutomator2 session
[AndroidUiautomator2Driver@ca2f (9b448935)] Deleting UiAutomator2 server session
[AndroidUiautomator2Driver@ca2f (9b448935)] Matched '/' to command name 'deleteSession'
[AndroidUiautomator2Driver@ca2f (9b448935)] Proxying [DELETE /] to [DELETE http://127.0.0.1:8200/session/1972bf9c-cf4e-4e79-89ec-edd6dbfb684b] with no body
[AndroidUiautomator2Driver@ca2f (9b448935)] Got response with status 200: {"sessionId":"1972bf9c-cf4e-4e79-89ec-edd6dbfb684b","value":null}
[ADB] Running 'C:\Users\MunishKumar\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s RZCTA0S8CWD shell dumpsys activity services io.appium.settings/.recorder.RecorderService'
[ADB] Running 'C:\Users\MunishKumar\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s RZCTA0S8CWD shell am force-stop com.google.android.youtube'
[Logcat] Stopping logcat capture
[ADB] Removing forwarded port socket connection: 8200
[ADB] Running 'C:\Users\MunishKumar\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s RZCTA0S8CWD forward --remove tcp:8200'
[AndroidUiautomator2Driver@ca2f (9b448935)] Restoring hidden api policy to the device default configuration
[ADB] Running 'C:\Users\MunishKumar\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s RZCTA0S8CWD shell 'settings delete global hidden_api_policy_pre_p_apps;settings delete global hidden_api_policy_p_apps;settings delete global hidden_api_policy''
[AppiumDriver@7666] Event 'quitSessionFinished' logged at 1715157945714 (14:15:45 GMT+0530 (India Standard Time))
[AppiumDriver@7666] Received response: null
[AppiumDriver@7666] But deleting session, so not returning
[AppiumDriver@7666] Responding to client with driver.deleteSession() result: null
[HTTP] <-- DELETE /wd/hub/session/9b448935-35e8-4c71-8f17-e5fecd398968 200 349 ms - 14
[HTTP]
[HTTP] --> DELETE /wd/hub/session/
[HTTP] {}
[HTTP] No route found for /wd/hub/session/
[HTTP] <-- DELETE /wd/hub/session/ 404 8 ms - 211
[HTTP]
[Instrumentation] .
[Instrumentation] Time: 5.019
[Instrumentation]
[Instrumentation] OK (1 test)
[Instrumentation] The process has exited with code 0
[HTTP] Request idempotency key: 86913920-9d29-4027-b5c7-d6af857d1854
[HTTP] --> POST /wd/hub/session
[HTTP] {"capabilities":{"firstMatch":[{"platformName":"Android","appium:automationName":"UiAutomator2","appium:deviceName":"Galaxy S20 FE 5G","appium:udid":"RZCTA0S8CWD","appium:autoAcceptAlerts":"true","appium:newCommandTimeout":3000,"appium:adbExecTimeout":80000,"appium:trackScrollEvents":false,"appium:appPackage":"com.google.android.youtube","appium:appActivity":"com.google.android.apps.youtube.app.watchwhile.WatchWhileActivity"}]}}
[AppiumDriver@7666] Calling AppiumDriver.createSession() with args: [null,null,{"firstMatch":[{"platformName":"Android","appium:automationName":"UiAutomator2","appium:deviceName":"Galaxy S20 FE 5G","appium:udid":"RZCTA0S8CWD","appium:autoAcceptAlerts":"true","appium:newCommandTimeout":3000,"appium:adbExecTimeout":80000,"appium:trackScrollEvents":false,"appium:appPackage":"com.google.android.youtube","appium:appActivity":"com.google.android.apps.youtube.app.watchwhile.WatchWhileActivity"}]}]
[AppiumDriver@7666] Event 'newSessionRequested' logged at 1715158531849 (14:25:31 GMT+0530 (India Standard Time))
[Appium] Attempting to find matching driver for automationName 'UiAutomator2' and platformName 'Android'
[Appium] The 'uiautomator2' driver was installed and matched caps.
[Appium] Will require it at C:\Users\MunishKumar.appium\node_modules\appium-uiautomator2-driver
[Appium] Requiring driver at C:\Users\MunishKumar.appium\node_modules\appium-uiautomator2-driver\build\index.js
[AppiumDriver@7666] Appium v2.5.1 creating new AndroidUiautomator2Driver (v2.12.6) session
[AppiumDriver@7666] Checking BaseDriver versions for Appium and AndroidUiautomator2Driver
[AppiumDriver@7666] Appium's BaseDriver version is 9.5.2
[AppiumDriver@7666] AndroidUiautomator2Driver's BaseDriver version is 9.5.2
[AndroidUiautomator2Driver@35ca] Creating session with W3C capabilities: {
[AndroidUiautomator2Driver@35ca] "alwaysMatch": {
[AndroidUiautomator2Driver@35ca] "platformName": "Android",
[AndroidUiautomator2Driver@35ca] "appium:automationName": "UiAutomator2",
[AndroidUiautomator2Driver@35ca] "appium:deviceName": "Galaxy S20 FE 5G",
[AndroidUiautomator2Driver@35ca] "appium:udid": "RZCTA0S8CWD",
[AndroidUiautomator2Driver@35ca] "appium:autoAcceptAlerts": "true",
[AndroidUiautomator2Driver@35ca] "appium:newCommandTimeout": 3000,
[AndroidUiautomator2Driver@35ca] "appium:adbExecTimeout": 80000,
[AndroidUiautomator2Driver@35ca] "appium:trackScrollEvents": false,
[AndroidUiautomator2Driver@35ca] "appium:appPackage": "com.google.android.youtube",
[AndroidUiautomator2Driver@35ca] "appium:appActivity": "com.google.android.apps.youtube.app.watchwhile.WatchWhileActivity"
[AndroidUiautomator2Driver@35ca] },
[AndroidUiautomator2Driver@35ca] "firstMatch": [
[AndroidUiautomator2Driver@35ca] {}
[AndroidUiautomator2Driver@35ca] ]
[AndroidUiautomator2Driver@35ca] }
[AndroidUiautomator2Driver@35ca] The following provided capabilities were not recognized by this driver:
[AndroidUiautomator2Driver@35ca] deviceName
[AndroidUiautomator2Driver@35ca] autoAcceptAlerts
[AndroidUiautomator2Driver@35ca] trackScrollEvents
[AndroidUiautomator2Driver@35ca (20d2a987)] Session created with session id: 20d2a987-eb2f-44a9-a920-55558b67e1d6
[AndroidUiautomator2Driver@35ca (20d2a987)] Starting 'com.google.android.youtube' directly on the device
[ADB] Using 'adb.exe' from 'C:\Users\MunishKumar\AppData\Local\Android\Sdk\platform-tools\adb.exe'
[ADB] Running 'C:\Users\MunishKumar\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 start-server'
[AndroidDriver] Retrieving device list
[ADB] Trying to find a connected android device
[ADB] Getting connected devices
[ADB] Connected devices: [{"udid":"RZCTA0S8CWD","state":"device"}]
[AndroidDriver] Using device: RZCTA0S8CWD
[ADB] Using 'adb.exe' from 'C:\Users\MunishKumar\AppData\Local\Android\Sdk\platform-tools\adb.exe'
[ADB] Running 'C:\Users\MunishKumar\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 start-server'
[ADB] Setting device id to RZCTA0S8CWD
[ADB] Running 'C:\Users\MunishKumar\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s RZCTA0S8CWD shell getprop ro.build.version.sdk'
[ADB] Current device property 'ro.build.version.sdk': 33
[ADB] Getting device platform version
[ADB] Running 'C:\Users\MunishKumar\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s RZCTA0S8CWD shell getprop ro.build.version.release'
[ADB] Current device property 'ro.build.version.release': 13
[ADB] Device API level: 33
[AndroidUiautomator2Driver@35ca (20d2a987)] Relaxing hidden api policy
[ADB] Running 'C:\Users\MunishKumar\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s RZCTA0S8CWD shell 'settings put global hidden_api_policy_pre_p_apps 1;settings put global hidden_api_policy_p_apps 1;settings put global hidden_api_policy 1''
[AndroidDriver] No app sent in, not parsing package/activity
[ADB] Running 'C:\Users\MunishKumar\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s RZCTA0S8CWD wait-for-device'
[ADB] Running 'C:\Users\MunishKumar\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s RZCTA0S8CWD shell echo ping'
[AndroidDriver] Pushing settings apk to device...
[ADB] Getting install status for io.appium.settings
[ADB] Running 'C:\Users\MunishKumar\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s RZCTA0S8CWD shell dumpsys package io.appium.settings'
[ADB] 'io.appium.settings' is installed
[ADB] Getting package info for 'io.appium.settings'
[ADB] Running 'C:\Users\MunishKumar\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s RZCTA0S8CWD shell dumpsys package io.appium.settings'
[ADB] The version code of the installed 'io.appium.settings' is greater than the application version code (79 > 55)
[ADB] There is no need to downgrade 'io.appium.settings'
[ADB] Getting IDs of all 'io.appium.settings' processes
[ADB] Running 'C:\Users\MunishKumar\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s RZCTA0S8CWD shell 'pgrep --help; echo $?''
[ADB] Running 'C:\Users\MunishKumar\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s RZCTA0S8CWD 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 'C:\Users\MunishKumar\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s RZCTA0S8CWD shell appops set io.appium.settings android:mock_location allow'
[ADB] Running 'C:\Users\MunishKumar\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s RZCTA0S8CWD shell "[ -e '/data/local/tmp/mock_apps.json' ] && echo PASS"'
[ADB] Running 'C:\Users\MunishKumar\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s RZCTA0S8CWD shell cat /data/local/tmp/mock_apps.json'
[Logcat] Starting logs capture with command: C:\Users\MunishKumar\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s RZCTA0S8CWD logcat -v threadtime
[AndroidUiautomator2Driver@35ca (20d2a987)] Forwarding UiAutomator2 Server port 6790 to local port 8200
[ADB] Forwarding system: 8200 to device: 6790
[ADB] Running 'C:\Users\MunishKumar\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s RZCTA0S8CWD forward tcp:8200 tcp:6790'
[ADB] Getting install status for io.appium.uiautomator2.server
[ADB] Running 'C:\Users\MunishKumar\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s RZCTA0S8CWD 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 'C:\Users\MunishKumar\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s RZCTA0S8CWD 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 ('5.7.8' >= '5.7.8')
[AndroidUiautomator2Driver@35ca (20d2a987)] io.appium.uiautomator2.server installation state: sameVersionInstalled
[ADB] Checking app cert for C:\Users\MunishKumar.appium\node_modules\appium-uiautomator2-driver\node_modules\appium-uiautomator2-server\apks\appium-uiautomator2-server-v5.7.8.apk
[ADB] Using the previously cached signature entry for 'appium-uiautomator2-server-v5.7.8.apk'
[ADB] sha256 hash did match for 'appium-uiautomator2-server-v5.7.8.apk'
[ADB] Getting install status for io.appium.uiautomator2.server.test
[ADB] Running 'C:\Users\MunishKumar\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s RZCTA0S8CWD shell dumpsys package io.appium.uiautomator2.server.test'
[ADB] 'io.appium.uiautomator2.server.test' is installed
[ADB] Checking app cert for C:\Users\MunishKumar.appium\node_modules\appium-uiautomator2-driver\node_modules\appium-uiautomator2-server\apks\appium-uiautomator2-server-debug-androidTest.apk
[ADB] Using the previously cached signature entry for 'appium-uiautomator2-server-debug-androidTest.apk'
[ADB] sha256 hash did match for 'appium-uiautomator2-server-debug-androidTest.apk'
[AndroidUiautomator2Driver@35ca (20d2a987)] Server packages are not going to be (re)installed
[AndroidUiautomator2Driver@35ca (20d2a987)] Waiting up to 30000ms for services to be available
[ADB] Running 'C:\Users\MunishKumar\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s RZCTA0S8CWD shell pm list instrumentation'
[AndroidUiautomator2Driver@35ca (20d2a987)] Instrumentation target 'io.appium.uiautomator2.server.test/androidx.test.runner.AndroidJUnitRunner' is available
[ADB] Adding packages ["io.appium.settings","io.appium.uiautomator2.server","io.appium.uiautomator2.server.test"] to Doze whitelist
[ADB] Got the following command chunks to execute: [["dumpsys","deviceidle","whitelist","+io.appium.settings",";","dumpsys","deviceidle","whitelist","+io.appium.uiautomator2.server",";","dumpsys","deviceidle","whitelist","+io.appium.uiautomator2.server.test",";"]]
[ADB] Running 'C:\Users\MunishKumar\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s RZCTA0S8CWD shell dumpsys deviceidle whitelist +io.appium.settings ; dumpsys deviceidle whitelist +io.appium.uiautomator2.server ; dumpsys deviceidle whitelist +io.appium.uiautomator2.server.test ;'
[AndroidUiautomator2Driver@35ca (20d2a987)] No app capability. Assuming it is already on the device
[ADB] Getting install status for com.google.android.youtube
[ADB] Running 'C:\Users\MunishKumar\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s RZCTA0S8CWD shell dumpsys package com.google.android.youtube'
[ADB] 'com.google.android.youtube' is installed
[ADB] Running 'C:\Users\MunishKumar\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s RZCTA0S8CWD shell am force-stop com.google.android.youtube'
[ADB] Running 'C:\Users\MunishKumar\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s RZCTA0S8CWD shell pm clear com.google.android.youtube'
[AndroidDriver] Performed fast reset on the installed 'com.google.android.youtube' application (stop and clear)
[AndroidUiautomator2Driver@35ca (20d2a987)] Performing shallow cleanup of automation leftovers
[AndroidUiautomator2Driver@35ca (20d2a987)] No obsolete sessions have been detected (socket hang up)
[ADB] Running 'C:\Users\MunishKumar\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s RZCTA0S8CWD shell am force-stop io.appium.uiautomator2.server.test'
[AndroidUiautomator2Driver@35ca (20d2a987)] Starting UIAutomator2 server 5.7.8
[AndroidUiautomator2Driver@35ca (20d2a987)] Using UIAutomator2 server from 'C:\Users\MunishKumar.appium\node_modules\appium-uiautomator2-driver\node_modules\appium-uiautomator2-server\apks\appium-uiautomator2-server-v5.7.8.apk' and test from 'C:\Users\MunishKumar.appium\node_modules\appium-uiautomator2-driver\node_modules\appium-uiautomator2-server\apks\appium-uiautomator2-server-debug-androidTest.apk'
[AndroidUiautomator2Driver@35ca (20d2a987)] Waiting up to 30000ms for UiAutomator2 to be online...
[ADB] Creating ADB subprocess with args: ["-P",5037,"-s","RZCTA0S8CWD","shell","am","instrument","-w","-e","disableAnalytics",true,"io.appium.uiautomator2.server.test/androidx.test.runner.AndroidJUnitRunner"]
[AndroidUiautomator2Driver@35ca (20d2a987)] Matched '/status' to command name 'getStatus'
[AndroidUiautomator2Driver@35ca (20d2a987)] Proxying [GET /status] to [GET http://127.0.0.1:8200/status] with no body
[AndroidUiautomator2Driver@35ca (20d2a987)] socket hang up
[Instrumentation] io.appium.uiautomator2.server.test.AppiumUiAutomator2Server:
[AndroidUiautomator2Driver@35ca (20d2a987)] Matched '/status' to command name 'getStatus'
[AndroidUiautomator2Driver@35ca (20d2a987)] Proxying [GET /status] to [GET http://127.0.0.1:8200/status] with no body
[AndroidUiautomator2Driver@35ca (20d2a987)] socket hang up
[AndroidUiautomator2Driver@35ca (20d2a987)] Matched '/status' to command name 'getStatus'
[AndroidUiautomator2Driver@35ca (20d2a987)] Proxying [GET /status] to [GET http://127.0.0.1:8200/status] with no body
[AndroidUiautomator2Driver@35ca (20d2a987)] Got response with status 200: {"sessionId":"None","value":{"message":"UiAutomator2 Server is ready to accept commands","ready":true}}
[AndroidUiautomator2Driver@35ca (20d2a987)] The initialization of the instrumentation process took 2067ms
[AndroidUiautomator2Driver@35ca (20d2a987)] Matched '/session' to command name 'createSession'
[AndroidUiautomator2Driver@35ca (20d2a987)] Proxying [POST /session] to [POST http://127.0.0.1:8200/session] with body: {"capabilities":{"firstMatch":[{"platform":"LINUX","webStorageEnabled":false,"takesScreenshot":true,"javascriptEnabled":true,"databaseEnabled":false,"networkConnectionEnabled":true,"locationContextEnabled":false,"warnings":{},"desired":{"platformName":"Android","automationName":"UiAutomator2","deviceName":"Galaxy S20 FE 5G","udid":"RZCTA0S8CWD","autoAcceptAlerts":"true","newCommandTimeout":3000,"adbExecTimeout":80000,"trackScrollEvents":false,"appPackage":"com.google.android.youtube","appActivity":"com.google.android.apps.youtube.app.watchwhile.WatchWhileActivity"},"platformName":"Android","automationName":"UiAutomator2","deviceName":"RZCTA0S8CWD","udid":"RZCTA0S8CWD","autoAcceptAlerts":"true","newCommandTimeout":3000,"adbExecTimeout":80000,"trackScrollEvents":false,"appPackage":"com.google.android.youtube","appActivity":"com.google.android.apps.youtube.app.watchwhile.WatchWhileActivity","deviceUDID":"RZCTA0S8CWD"}],"alwaysMatch":{}}}
[AndroidUiautomator2Driver@35ca (20d2a987)] Got response with status 200: {"sessionId":"e86d7524-9c8b-4e9c-92d8-10c80e1660e9","value":{"capabilities":{"firstMatch":[{"platform":"LINUX","webStorageEnabled":false,"takesScreenshot":true,"javascriptEnabled":true,"databaseEnabled":false,"networkConnectionEnabled":true,"locationContextEnabled":false,"warnings":{},"desired":{"platformName":"Android","automationName":"UiAutomator2","deviceName":"Galaxy S20 FE 5G","udid":"RZCTA0S8CWD","autoAcceptAlerts":"true","newCommandTimeout":3000,"adbExecTimeout":80000,"trackScrollEvents":false,"appPackage":"com.google.android.youtube","appActivity":"com.google.android.apps.youtube.app.watchwhile.WatchWhileActivity"},"platformName":"Android","automationName":"UiAutomator2","deviceName":"RZCTA0S8CWD","udid":"RZCTA0S8CWD","autoAcceptAlerts":"true","newCommandTimeout":3000,"adbExecTimeout":80000,"trackScrollEvents":false,"appPackage":"com.google.android.youtube","appActivity":"com.google.android.apps.youtube.app.watchwhile.WatchWhileActivity","deviceUDID":"RZCTA0S8CWD"}],"alwaysMatch":{}},"sessionId":"...
[AndroidUiautomator2Driver@35ca (20d2a987)] Determined the downstream protocol as 'W3C'
[AndroidUiautomator2Driver@35ca (20d2a987)] Proxying [GET /appium/device/info] to [GET http://127.0.0.1:8200/session/e86d7524-9c8b-4e9c-92d8-10c80e1660e9/appium/device/info] with no body
[AndroidUiautomator2Driver@35ca (20d2a987)] Got response with status 200: {"sessionId":"e86d7524-9c8b-4e9c-92d8-10c80e1660e9","value":{"androidId":"89f63c7f65b0319a","apiVersion":"33","bluetooth":{"state":"OFF"},"brand":"samsung","carrierName":"","displayDensity":480,"locale":"en_IN","manufacturer":"samsung","model":"SM-G781B","networks":[{"capabilities":{"SSID":null,"linkDownBandwidthKbps":120524,"linkUpstreamBandwidthKbps":1264,"networkCapabilities":"NET_CAPABILITY_NOT_METERED,NET_CAPABILITY_INTERNET,NET_CAPABILITY_NOT_RESTRICTED,NET_CAPABILITY_TRUSTED,NET_CAPABILITY_NOT_VPN,NET_CAPABILITY_VALIDATED,NET_CAPABILITY_NOT_ROAMING,NET_CAPABILITY_FOREGROUND,NET_CAPABILITY_NOT_CONGESTED,NET_CAPABILITY_NOT_SUSPENDED","signalStrength":-62,"transportTypes":"TRANSPORT_WIFI"},"detailedState":"CONNECTED","extraInfo":"","isAvailable":true,"isConnected":true,"isFailover":false,"isRoaming":false,"state":"CONNECTED","subtype":-1,"subtypeName":"","type":1,"typeName":"WIFI"}],"platformVersion":"13","realDisplaySize":"1080x2400","timeZone":"Asia/Kolkata"}}
[ADB] Running 'C:\Users\MunishKumar\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s RZCTA0S8CWD shell dumpsys window'
[AndroidDriver] Screen already unlocked, doing nothing
[AndroidUiautomator2Driver@35ca (20d2a987)] Starting 'com.google.android.youtube/com.google.android.apps.youtube.app.watchwhile.WatchWhileActivity and waiting for 'com.google.android.youtube/com.google.android.apps.youtube.app.watchwhile.WatchWhileActivity'
[ADB] Running 'C:\Users\MunishKumar\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s RZCTA0S8CWD shell am start -W -n com.google.android.youtube/com.google.android.apps.youtube.app.watchwhile.WatchWhileActivity -S -a android.intent.action.MAIN -c android.intent.category.LAUNCHER -f 0x10200000'
[AndroidUiautomator2Driver@35ca (20d2a987)] Proxying [GET /appium/device/pixel_ratio] to [GET http://127.0.0.1:8200/session/e86d7524-9c8b-4e9c-92d8-10c80e1660e9/appium/device/pixel_ratio] with no body
[AndroidUiautomator2Driver@35ca (20d2a987)] Got response with status 200: {"sessionId":"e86d7524-9c8b-4e9c-92d8-10c80e1660e9","value":3}
[AndroidUiautomator2Driver@35ca (20d2a987)] Matched '/appium/device/system_bars' to command name 'getSystemBars'
[AndroidUiautomator2Driver@35ca (20d2a987)] Proxying [GET /appium/device/system_bars] to [GET http://127.0.0.1:8200/session/e86d7524-9c8b-4e9c-92d8-10c80e1660e9/appium/device/system_bars] with no body
[AndroidUiautomator2Driver@35ca (20d2a987)] Got response with status 200: {"sessionId":"e86d7524-9c8b-4e9c-92d8-10c80e1660e9","value":{"statusBar":88}}
[AndroidUiautomator2Driver@35ca (20d2a987)] Matched '/window/current/size' to command name 'getWindowSize'
[AndroidUiautomator2Driver@35ca (20d2a987)] Proxying [GET /window/current/size] to [GET http://127.0.0.1:8200/session/e86d7524-9c8b-4e9c-92d8-10c80e1660e9/window/current/size] with no body
[AndroidUiautomator2Driver@35ca (20d2a987)] Got response with status 200: {"sessionId":"e86d7524-9c8b-4e9c-92d8-10c80e1660e9","value":{"height":2168,"width":1080}}
[AppiumDriver@7666] New AndroidUiautomator2Driver session created successfully, session 20d2a987-eb2f-44a9-a920-55558b67e1d6 added to master session list
[AppiumDriver@7666] Event 'newSessionStarted' logged at 1715158537362 (14:25:37 GMT+0530 (India Standard Time))
[AndroidUiautomator2Driver@35ca (20d2a987)] Cached the protocol value 'W3C' for the new session 20d2a987-eb2f-44a9-a920-55558b67e1d6
[AndroidUiautomator2Driver@35ca (20d2a987)] 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","automationName":"UiAutomator2","deviceName":"Galaxy S20 FE 5G","udid":"RZCTA0S8CWD","autoAcceptAlerts":"true","newCommandTimeout":3000,"adbExecTimeout":80000,"trackScrollEvents":false,"appPackage":"com.google.android.youtube","appActivity":"com.google.android.apps.youtube.app.watchwhile.WatchWhileActivity"},"platformName":"Android","automationName":"UiAutomator2","deviceName":"RZCTA0S8CWD","udid":"RZCTA0S8CWD","autoAcceptAlerts":"true","newCommandTimeout":3000,"adbExecTimeout":80000,"trackScrollEvents":false,"appPackage":"com.google.android.youtube","appActivity":"com.google.android.apps.youtube.app.watchwhile.WatchWhileActivity","deviceUDID":"RZCTA0S8CWD","deviceApiLevel":33,"platformVersion":"13","deviceScreenSize":"1080x2400","deviceScreenDensity":480,"deviceM...
[HTTP] <-- POST /wd/hub/session 200 5524 ms - 1227
[HTTP]
[HTTP] Request idempotency key: f33dd332-bca2-45d3-a310-8756f4725db3
[HTTP] --> POST /wd/hub/session/20d2a987-eb2f-44a9-a920-55558b67e1d6/timeouts
[HTTP] {"implicit":120000}
[AndroidUiautomator2Driver@35ca (20d2a987)] Calling AppiumDriver.timeouts() with args: [null,null,null,null,120000,"20d2a987-eb2f-44a9-a920-55558b67e1d6"]
[AndroidUiautomator2Driver@35ca (20d2a987)] W3C timeout argument: {"implicit":120000}}
[AndroidUiautomator2Driver@35ca (20d2a987)] Set implicit wait to 120000ms
[AndroidUiautomator2Driver@35ca (20d2a987)] Responding to client with driver.timeouts() result: null
[HTTP] <-- POST /wd/hub/session/20d2a987-eb2f-44a9-a920-55558b67e1d6/timeouts 200 6 ms - 14
[HTTP]
[HTTP] --> GET /wd/hub/session/20d2a987-eb2f-44a9-a920-55558b67e1d6/screenshot
[HTTP] {}
[AndroidUiautomator2Driver@35ca (20d2a987)] Calling AppiumDriver.getScreenshot() with args: ["20d2a987-eb2f-44a9-a920-55558b67e1d6"]
[AndroidUiautomator2Driver@35ca (20d2a987)] Matched '/screenshot' to command name 'getScreenshot'
[AndroidUiautomator2Driver@35ca (20d2a987)] Proxying [GET /screenshot] to [GET http://127.0.0.1:8200/session/e86d7524-9c8b-4e9c-92d8-10c80e1660e9/screenshot] with no body
[HTTP] Request idempotency key: 06e2b587-8a47-48b8-808f-22330f89b0fa
[HTTP] --> POST /wd/hub/session/20d2a987-eb2f-44a9-a920-55558b67e1d6/appium/device/app_state
[HTTP] {"appId":"com.google.android.youtube"}
[AndroidUiautomator2Driver@35ca (20d2a987)] Calling AppiumDriver.queryAppState() with args: ["com.google.android.youtube","20d2a987-eb2f-44a9-a920-55558b67e1d6"]
[AndroidUiautomator2Driver@35ca (20d2a987)] Got response with status 200: {"sessionId":"e86d7524-9c8b-4e9c-92d8-10c80e1660e9","value":"iVBORw0KGgoAAAANSUhEUgAABDgAAAlgCAYAAABtGofVAAAAAXNSR0IArs4c6QAAAARzQklUCAgICHwIZIgAACAASURBVHic7N19bNzVne/xz4xn7LE947ET24njhzwQOw6ENDEptHAJbCshtllt2C40gHRbLaTau6Hdhv0jrQrZ/hFoS6SKdLub3apAVfZuCCoq4WqDEFIRpM22S4kTmpA4cYghduzY8dOMn+0Zz/3DO7/O2PNoz9PPfr8kFHvmN2eOx+Phdz6/c77H8s477wQEAAAAAABgYtZsdwAAAAAAAGChCDgAAAAAAIDpEXAAAAAAAADTI+AAAAAAAACmR8ABAAAAAABMj4ADAAAAAACYHgEHAAAAAAAwPQIOAAAAAABgegQcAAAAAADA9Ag4AAAAAACA6RFwAAAAAAAA0yPgAAAAAAAApkfAAQAAAAAATI+AAwAAAAAAmB4BBwAAAAAAMD0CDgAAAAAAYHoEHAAAAAAAwPQIOAAAAAAAgOkRcAAAAAAAANMj4AAAAAAAAKZHwAEAAAAAAEyPgAMAAAAAAJgeAQcAAAAAADA9Ag4AAAAAAGB6BBwAAAAAAMD0CDgAAAAAAIDpEXAAAAAAAADTI+AAAAAAAACmR8ABAAAAAABMj4ADAAAAAACYHgEHAAAAAAAwPQIOAAAAAABgegQcAAAAAADA9Ag4AAAAAACA6RFwAAAAAAAA0yPgAAAAAAAApkfAAQAAAAAATI+AAwAAAAAAmB4BBwAAAAAAMD0CDgAAAAAAYHoEHAAAAAAAwPQIOAAAAAAAgOnZst0BYLa8vDy53W45nU7ZbDYFAgGNjY3J6/VqdHQ0290DAAAAAOQgAg7klNWrV6u2tjbq/ePj47p27Zq6u7s1PT2dwZ4tXlarVTabTRaLJeVtBwIBTU1NKRAIpLxtAACAROXl5cnlcqmoqEhFRUXKy8sz/g0a...
[AndroidUiautomator2Driver@35ca (20d2a987)] Querying the state of 'com.google.android.youtube'
[ADB] Getting install status for com.google.android.youtube
[ADB] Running 'C:\Users\MunishKumar\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s RZCTA0S8CWD shell dumpsys package com.google.android.youtube'
[AndroidUiautomator2Driver@35ca (20d2a987)] Responding to client with driver.getScreenshot() result: "iVBORw0KGgoAAAANSUhEUgAABDgAAAlgCAYAAABtGofVAAAAAXNSR0IArs4c6QAAAARzQklUCAgICHwIZIgAACAASURBVHic7N19bNzVne/xz4xn7LE947ET24njhzwQOw6ENDEptHAJbCshtllt2C40gHRbLaTau6Hdhv0jrQrZ/hFoS6SKdLub3apAVfZuCCoq4WqDEFIRpM22S4kTmpA4cYghduzY8dOMn+0Zz/3DO7/O2PNoz9PPfr8kFHvmN2eOx+Phdz6/c77H8s477wQEAAAAAABgYtZsdwAAAAAAAGChCDgAAAAAAIDpEXAAAAAAAADTI+AAAAAAAACmR8ABAAAAAABMj4ADAAAAAACYHgEHAAAAAAAwPQIOAAAAAABgegQcAAAAAADA9Ag4AAAAAACA6RFwAAAAAAAA0yPgAAAAAAAApkfAAQAAAAAATI+AAwAAAAAAmB4BBwAAAAAAMD0CDgAAAAAAYHoEHAAAAAAAwPQIOAAAAAAAgOkRcAAAAAAAANMj4AAAAAAAAKZHwAEAAAAAAEyPgAMAAAAAAJgeAQcAAAAAADA9Ag4AAAAAAGB6BBwAAAAAAMD0CDgAAAAAAIDpEXAAAAAAAADTI+AAAAAAAACmR8ABAAAAAABMj4ADAAAAAACYHgEHAAAAAAAwPQIOAAAAAABgegQcAAAAAADA9Ag4AAAAAACA6RFwAAAAAAAA0yPgAAAAAAAApkfAAQAAAAAATI+AAwAAAAAAmB4BBwAAAAAAMD0CDgAAAAAAYHoEHAAAAAAAwPQIOAAAAAAAgOnZst0BYLa8vDy53W45nU7ZbDYFAgGNjY3J6/VqdHQ0290DAAAAAOQgAg7klNWrV6u2tjbq/ePj47p27Zq6u7s1PT2dwZ4tXlarVTabTRaLJeVtBwIBTU1NKRAIpLxtAACAROXl5cnlcqmoqEhFRUXKy8sz/g0aGhqSJI2OjmpyclJDQ0NcXANMxvLOO+8w8kDOKCgo0NatW2Wzxc7efD6fzp8/...
[HTTP] <-- GET /wd/hub/session/20d2a987-eb2f-44a9-a920-55558b67e1d6/screenshot 200 283 ms - 80728
[HTTP]
[ADB] 'com.google.android.youtube' is installed
[ADB] Getting IDs of all 'com.google.android.youtube' processes
[ADB] Running 'C:\Users\MunishKumar\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s RZCTA0S8CWD shell pgrep -f ([[:blank:]]|^)com.google.android.youtube([[:blank:]]|$)'
[ADB] Running 'C:\Users\MunishKumar\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s RZCTA0S8CWD shell dumpsys window displays'
[AndroidUiautomator2Driver@35ca (20d2a987)] Responding to client with driver.queryAppState() result: 3
[HTTP] <-- POST /wd/hub/session/20d2a987-eb2f-44a9-a920-55558b67e1d6/appium/device/app_state 200 392 ms - 11
[HTTP]
[HTTP] Request idempotency key: 5ec4a165-2654-47c3-a01f-3b45be748dca
[HTTP] --> POST /wd/hub/session/20d2a987-eb2f-44a9-a920-55558b67e1d6/appium/device/activate_app
[HTTP] {"appId":"com.google.android.youtube"}
[AndroidUiautomator2Driver@35ca (20d2a987)] Calling AppiumDriver.activateApp() with args: ["com.google.android.youtube",null,null,null,"20d2a987-eb2f-44a9-a920-55558b67e1d6"]
[AndroidUiautomator2Driver@35ca (20d2a987)] Activating 'com.google.android.youtube'
[ADB] Running 'C:\Users\MunishKumar\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s RZCTA0S8CWD shell cmd package resolve-activity --brief com.google.android.youtube'
[AndroidUiautomator2Driver@35ca (20d2a987)] Encountered internal error running command: Error: Unable to resolve the launchable activity of 'com.google.android.youtube'. Original error: priority=0 preferredOrder=0 match=0x108000 specificIndex=-1 isDefault=true
[AndroidUiautomator2Driver@35ca (20d2a987)] com.google.android.youtube/.app.honeycomb.Shell$HomeActivity
[AndroidUiautomator2Driver@35ca (20d2a987)] at ADB.resolveLaunchableActivity (C:\Users\MunishKumar.appium\node_modules\appium-uiautomator2-driver\node_modules\appium-adb\lib\tools\adb-commands.js:271:9)
[AndroidUiautomator2Driver@35ca (20d2a987)] at AndroidUiautomator2Driver.activateApp (C:\Users\MunishKumar.appium\node_modules\appium-uiautomator2-driver\node_modules\appium-android-driver\lib\commands\app-management.js:115:22)
[HTTP] <-- POST /wd/hub/session/20d2a987-eb2f-44a9-a920-55558b67e1d6/appium/device/activate_app 500 62 ms - 1036
[HTTP]
[HTTP] --> GET /wd/hub/session/20d2a987-eb2f-44a9-a920-55558b67e1d6/screenshot
[HTTP] {}
[AndroidUiautomator2Driver@35ca (20d2a987)] Calling AppiumDriver.getScreenshot() with args: ["20d2a987-eb2f-44a9-a920-55558b67e1d6"]
[AndroidUiautomator2Driver@35ca (20d2a987)] Matched '/screenshot' to command name 'getScreenshot'
[AndroidUiautomator2Driver@35ca (20d2a987)] Proxying [GET /screenshot] to [GET http://127.0.0.1:8200/session/e86d7524-9c8b-4e9c-92d8-10c80e1660e9/screenshot] with no body
[AndroidUiautomator2Driver@35ca (20d2a987)] Got response with status 200: {"sessionId":"e86d7524-9c8b-4e9c-92d8-10c80e1660e9","value":"iVBORw0KGgoAAAANSUhEUgAABDgAAAlgCAYAAABtGofVAAAAAXNSR0IArs4c6QAAAARzQklUCAgICHwIZIgAACAASURBVHic7N15bFxXfub9711qr+K+iZREat8p27Ily3LLsd1p+03S7mDQyDKDIDPtvJN2ln4HCBwgg7iBJIMZTAaZYJIObDQmHeRFB04aMz1xe95ut+2W20tMy7IlWZtFLZRISZS4L8Xa6977/sFhhZS4SiySRT0fQBCr6tapwxJZuue55/yO8eqrr3qIiIiIiIiIiJQwc7k7ICIiIiIiIiJyrxRwiIiIiIiIiEjJU8AhIiIiIiIiIiVPAYeIiIiIiIiIlDwFHCIiIiIiIiJS8hRwiIiIiIiIiEjJU8AhIiIiIiIiIiVPAYeIiIiIiIiIlDwFHCIiIiIiIiJS8hRwiIiIiIiIiEjJU8AhIiIiIiIiIiVPAYeIiIiIiIiIlDwFHCIiIiIiIiJS8hRwiIiIiIiIiEjJU8AhIiIiIiIiIiVPAYeIiIiIiIiIlDwFHCIiIiIiIiJS8hRwiIiIiIiIiEjJU8AhIiIiIiIiIiVPAYeIiIiIiIiIlDwFHCIiIiIiIiJS8hRwiIiIiIiIiEjJU8AhIiIiIiIiIiVPAYeIiIiIiIiIlDwFHCIiIiIiIiJS8hRwiIiIiIiIiEjJU8AhIiIiIiIiIiVPAYeIiIiIiIiIlDwFHCIiIiIiIiJS8hRwiIiIiIiIiEjJU8AhIiIiIiIiIiVPAYeIiIiIiIiIlDwFHCIiIiIiIiJS8hRwiIiIiIiIiEjJU8AhIiIiIiIiIiVPAYeIiIiIiIiIlDwFHCIiIiIiIiJS8hRwiIiIiIiIiEjJU8AhIiIiIiIiIiVPAYeIiIiIiIiIlDwFHCIiIiIiIiJS8hRwiIiIiIiIiEjJs5e7AyK3s22b2tpaysvL8fv9uK7L2NgYg4ODjI6O...
[AndroidUiautomator2Driver@35ca (20d2a987)] Responding to client with driver.getScreenshot() result: "iVBORw0KGgoAAAANSUhEUgAABDgAAAlgCAYAAABtGofVAAAAAXNSR0IArs4c6QAAAARzQklUCAgICHwIZIgAACAASURBVHic7N15bFxXfub9711qr+K+iZREat8p27Ily3LLsd1p+03S7mDQyDKDIDPtvJN2ln4HCBwgg7iBJIMZTAaZYJIObDQmHeRFB04aMz1xe95ut+2W20tMy7IlWZtFLZRISZS4L8Xa6977/sFhhZS4SiySRT0fQBCr6tapwxJZuue55/yO8eqrr3qIiIiIiIiIiJQwc7k7ICIiIiIiIiJyrxRwiIiIiIiIiEjJU8AhIiIiIiIiIiVPAYeIiIiIiIiIlDwFHCIiIiIiIiJS8hRwiIiIiIiIiEjJU8AhIiIiIiIiIiVPAYeIiIiIiIiIlDwFHCIiIiIiIiJS8hRwiIiIiIiIiEjJU8AhIiIiIiIiIiVPAYeIiIiIiIiIlDwFHCIiIiIiIiJS8hRwiIiIiIiIiEjJU8AhIiIiIiIiIiVPAYeIiIiIiIiIlDwFHCIiIiIiIiJS8hRwiIiIiIiIiEjJU8AhIiIiIiIiIiVPAYeIiIiIiIiIlDwFHCIiIiIiIiJS8hRwiIiIiIiIiEjJU8AhIiIiIiIiIiVPAYeIiIiIiIiIlDwFHCIiIiIiIiJS8hRwiIiIiIiIiEjJU8AhIiIiIiIiIiVPAYeIiIiIiIiIlDwFHCIiIiIiIiJS8hRwiIiIiIiIiEjJU8AhIiIiIiIiIiVPAYeIiIiIiIiIlDwFHCIiIiIiIiJS8hRwiIiIiIiIiEjJU8AhIiIiIiIiIiVPAYeIiIiIiIiIlDwFHCIiIiIiIiJS8hRwiIiIiIiIiEjJU8AhIiIiIiIiIiVPAYeIiIiIiIiIlDwFHCIiIiIiIiJS8hRwiIiIiIiIiEjJs5e7AyK3s22b2tpaysvL8fv9uK7L2NgYg4ODjI6OLnf3REREREREZAVSwCEryo4dO9ixY8eMj4+NjXH58mWuXr2K4zhL2LPVyzRN...
[HTTP] <-- GET /wd/hub/session/20d2a987-eb2f-44a9-a920-55558b67e1d6/screenshot 200 276 ms - 134096
[HTTP]
[HTTP] --> DELETE /wd/hub/session/20d2a987-eb2f-44a9-a920-55558b67e1d6
[HTTP] {}
[AndroidUiautomator2Driver@35ca (20d2a987)] Calling AppiumDriver.deleteSession() with args: ["20d2a987-eb2f-44a9-a920-55558b67e1d6"]
[AppiumDriver@7666] Event 'quitSessionRequested' logged at 1715158539035 (14:25:39 GMT+0530 (India Standard Time))
[AppiumDriver@7666] Removing session 20d2a987-eb2f-44a9-a920-55558b67e1d6 from our master session list
[AndroidUiautomator2Driver@35ca (20d2a987)] Deleting UiAutomator2 session
[AndroidUiautomator2Driver@35ca (20d2a987)] Deleting UiAutomator2 server session
[AndroidUiautomator2Driver@35ca (20d2a987)] Matched '/' to command name 'deleteSession'
[AndroidUiautomator2Driver@35ca (20d2a987)] Proxying [DELETE /] to [DELETE http://127.0.0.1:8200/session/e86d7524-9c8b-4e9c-92d8-10c80e1660e9] with no body
[AndroidUiautomator2Driver@35ca (20d2a987)] Got response with status 200: {"sessionId":"e86d7524-9c8b-4e9c-92d8-10c80e1660e9","value":null}
[ADB] Running 'C:\Users\MunishKumar\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s RZCTA0S8CWD shell dumpsys activity services io.appium.settings/.recorder.RecorderService'
[ADB] Running 'C:\Users\MunishKumar\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s RZCTA0S8CWD shell am force-stop com.google.android.youtube'
[Logcat] Stopping logcat capture
[ADB] Removing forwarded port socket connection: 8200
[ADB] Running 'C:\Users\MunishKumar\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s RZCTA0S8CWD forward --remove tcp:8200'
[AndroidUiautomator2Driver@35ca (20d2a987)] Restoring hidden api policy to the device default configuration
[ADB] Running 'C:\Users\MunishKumar\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s RZCTA0S8CWD shell 'settings delete global hidden_api_policy_pre_p_apps;settings delete global hidden_api_policy_p_apps;settings delete global hidden_api_policy''
[AppiumDriver@7666] Event 'quitSessionFinished' logged at 1715158539383 (14:25:39 GMT+0530 (India Standard Time))
[AppiumDriver@7666] Received response: null
[AppiumDriver@7666] But deleting session, so not returning
[AppiumDriver@7666] Responding to client with driver.deleteSession() result: null
[HTTP] <-- DELETE /wd/hub/session/20d2a987-eb2f-44a9-a920-55558b67e1d6 200 354 ms - 14
[HTTP]
[HTTP] --> DELETE /wd/hub/session/
[HTTP] {}
[HTTP] No route found for /wd/hub/session/
[HTTP] <-- DELETE /wd/hub/session/ 404 5 ms - 211
[HTTP]
[Instrumentation] .
[Instrumentation] Time: 5.022
[Instrumentation]
[Instrumentation] OK (1 test)
[Instrumentation] The process has exited with code 0
[HTTP] Request idempotency key: 10eee522-0a00-4606-98c9-5db2ec6563da
[HTTP] --> POST /wd/hub/session
[HTTP] {"capabilities":{"firstMatch":[{"platformName":"Android","appium:automationName":"UiAutomator2","appium:deviceName":"Galaxy S20 FE 5G","appium:udid":"RZCTA0S8CWD","appium:autoAcceptAlerts":"true","appium:newCommandTimeout":3000,"appium:adbExecTimeout":80000,"appium:trackScrollEvents":false,"appium:appPackage":"com.google.android.youtube","appium:appActivity":"com.google.android.apps.youtube.app.watchwhile.WatchWhileActivity"}]}}
[AppiumDriver@7666] Calling AppiumDriver.createSession() with args: [null,null,{"firstMatch":[{"platformName":"Android","appium:automationName":"UiAutomator2","appium:deviceName":"Galaxy S20 FE 5G","appium:udid":"RZCTA0S8CWD","appium:autoAcceptAlerts":"true","appium:newCommandTimeout":3000,"appium:adbExecTimeout":80000,"appium:trackScrollEvents":false,"appium:appPackage":"com.google.android.youtube","appium:appActivity":"com.google.android.apps.youtube.app.watchwhile.WatchWhileActivity"}]}]
[AppiumDriver@7666] Event 'newSessionRequested' logged at 1715158590592 (14:26:30 GMT+0530 (India Standard Time))
[Appium] Attempting to find matching driver for automationName 'UiAutomator2' and platformName 'Android'
[Appium] The 'uiautomator2' driver was installed and matched caps.
[Appium] Will require it at C:\Users\MunishKumar.appium\node_modules\appium-uiautomator2-driver
[Appium] Requiring driver at C:\Users\MunishKumar.appium\node_modules\appium-uiautomator2-driver\build\index.js
[AppiumDriver@7666] Appium v2.5.1 creating new AndroidUiautomator2Driver (v2.12.6) session
[AppiumDriver@7666] Checking BaseDriver versions for Appium and AndroidUiautomator2Driver
[AppiumDriver@7666] Appium's BaseDriver version is 9.5.2
[AppiumDriver@7666] AndroidUiautomator2Driver's BaseDriver version is 9.5.2
[AndroidUiautomator2Driver@14c6] Creating session with W3C capabilities: {
[AndroidUiautomator2Driver@14c6] "alwaysMatch": {
[AndroidUiautomator2Driver@14c6] "platformName": "Android",
[AndroidUiautomator2Driver@14c6] "appium:automationName": "UiAutomator2",
[AndroidUiautomator2Driver@14c6] "appium:deviceName": "Galaxy S20 FE 5G",
[AndroidUiautomator2Driver@14c6] "appium:udid": "RZCTA0S8CWD",
[AndroidUiautomator2Driver@14c6] "appium:autoAcceptAlerts": "true",
[AndroidUiautomator2Driver@14c6] "appium:newCommandTimeout": 3000,
[AndroidUiautomator2Driver@14c6] "appium:adbExecTimeout": 80000,
[AndroidUiautomator2Driver@14c6] "appium:trackScrollEvents": false,
[AndroidUiautomator2Driver@14c6] "appium:appPackage": "com.google.android.youtube",
[AndroidUiautomator2Driver@14c6] "appium:appActivity": "com.google.android.apps.youtube.app.watchwhile.WatchWhileActivity"
[AndroidUiautomator2Driver@14c6] },
[AndroidUiautomator2Driver@14c6] "firstMatch": [
[AndroidUiautomator2Driver@14c6] {}
[AndroidUiautomator2Driver@14c6] ]
[AndroidUiautomator2Driver@14c6] }
[AndroidUiautomator2Driver@14c6] The following provided capabilities were not recognized by this driver:
[AndroidUiautomator2Driver@14c6] deviceName
[AndroidUiautomator2Driver@14c6] autoAcceptAlerts
[AndroidUiautomator2Driver@14c6] trackScrollEvents
[AndroidUiautomator2Driver@14c6 (8e2ccdec)] Session created with session id: 8e2ccdec-ce90-44e0-a5bb-6e21bb9c17bb
[AndroidUiautomator2Driver@14c6 (8e2ccdec)] Starting 'com.google.android.youtube' directly on the device
[ADB] Using 'adb.exe' from 'C:\Users\MunishKumar\AppData\Local\Android\Sdk\platform-tools\adb.exe'
[ADB] Running 'C:\Users\MunishKumar\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 start-server'
[AndroidDriver] Retrieving device list
[ADB] Trying to find a connected android device
[ADB] Getting connected devices
[ADB] Connected devices: [{"udid":"RZCTA0S8CWD","state":"device"}]
[AndroidDriver] Using device: RZCTA0S8CWD
[ADB] Using 'adb.exe' from 'C:\Users\MunishKumar\AppData\Local\Android\Sdk\platform-tools\adb.exe'
[ADB] Running 'C:\Users\MunishKumar\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 start-server'
[ADB] Setting device id to RZCTA0S8CWD
[ADB] Running 'C:\Users\MunishKumar\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s RZCTA0S8CWD shell getprop ro.build.version.sdk'
[ADB] Current device property 'ro.build.version.sdk': 33
[ADB] Getting device platform version
[ADB] Running 'C:\Users\MunishKumar\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s RZCTA0S8CWD shell getprop ro.build.version.release'
[ADB] Current device property 'ro.build.version.release': 13
[ADB] Device API level: 33
[AndroidUiautomator2Driver@14c6 (8e2ccdec)] Relaxing hidden api policy
[ADB] Running 'C:\Users\MunishKumar\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s RZCTA0S8CWD shell 'settings put global hidden_api_policy_pre_p_apps 1;settings put global hidden_api_policy_p_apps 1;settings put global hidden_api_policy 1''
[AndroidDriver] No app sent in, not parsing package/activity
[ADB] Running 'C:\Users\MunishKumar\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s RZCTA0S8CWD wait-for-device'
[ADB] Running 'C:\Users\MunishKumar\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s RZCTA0S8CWD shell echo ping'
[AndroidDriver] Pushing settings apk to device...
[ADB] Getting install status for io.appium.settings
[ADB] Running 'C:\Users\MunishKumar\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s RZCTA0S8CWD shell dumpsys package io.appium.settings'
[ADB] 'io.appium.settings' is installed
[ADB] Getting package info for 'io.appium.settings'
[ADB] Running 'C:\Users\MunishKumar\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s RZCTA0S8CWD shell dumpsys package io.appium.settings'
[ADB] The version code of the installed 'io.appium.settings' is greater than the application version code (79 > 55)
[ADB] There is no need to downgrade 'io.appium.settings'
[ADB] Getting IDs of all 'io.appium.settings' processes
[ADB] Running 'C:\Users\MunishKumar\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s RZCTA0S8CWD shell 'pgrep --help; echo $?''
[ADB] Running 'C:\Users\MunishKumar\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s RZCTA0S8CWD 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 'C:\Users\MunishKumar\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s RZCTA0S8CWD shell appops set io.appium.settings android:mock_location allow'
[ADB] Running 'C:\Users\MunishKumar\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s RZCTA0S8CWD shell "[ -e '/data/local/tmp/mock_apps.json' ] && echo PASS"'
[ADB] Running 'C:\Users\MunishKumar\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s RZCTA0S8CWD shell cat /data/local/tmp/mock_apps.json'
[Logcat] Starting logs capture with command: C:\Users\MunishKumar\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s RZCTA0S8CWD logcat -v threadtime
[AndroidUiautomator2Driver@14c6 (8e2ccdec)] Forwarding UiAutomator2 Server port 6790 to local port 8200
[ADB] Forwarding system: 8200 to device: 6790
[ADB] Running 'C:\Users\MunishKumar\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s RZCTA0S8CWD forward tcp:8200 tcp:6790'
[ADB] Getting install status for io.appium.uiautomator2.server
[ADB] Running 'C:\Users\MunishKumar\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s RZCTA0S8CWD 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 'C:\Users\MunishKumar\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s RZCTA0S8CWD 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 ('5.7.8' >= '5.7.8')
[AndroidUiautomator2Driver@14c6 (8e2ccdec)] io.appium.uiautomator2.server installation state: sameVersionInstalled
[ADB] Checking app cert for C:\Users\MunishKumar.appium\node_modules\appium-uiautomator2-driver\node_modules\appium-uiautomator2-server\apks\appium-uiautomator2-server-v5.7.8.apk
[ADB] Using the previously cached signature entry for 'appium-uiautomator2-server-v5.7.8.apk'
[ADB] sha256 hash did match for 'appium-uiautomator2-server-v5.7.8.apk'
[ADB] Getting install status for io.appium.uiautomator2.server.test
[ADB] Running 'C:\Users\MunishKumar\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s RZCTA0S8CWD shell dumpsys package io.appium.uiautomator2.server.test'
[ADB] 'io.appium.uiautomator2.server.test' is installed
[ADB] Checking app cert for C:\Users\MunishKumar.appium\node_modules\appium-uiautomator2-driver\node_modules\appium-uiautomator2-server\apks\appium-uiautomator2-server-debug-androidTest.apk
[ADB] Using the previously cached signature entry for 'appium-uiautomator2-server-debug-androidTest.apk'
[ADB] sha256 hash did match for 'appium-uiautomator2-server-debug-androidTest.apk'
[AndroidUiautomator2Driver@14c6 (8e2ccdec)] Server packages are not going to be (re)installed
[AndroidUiautomator2Driver@14c6 (8e2ccdec)] Waiting up to 30000ms for services to be available
[ADB] Running 'C:\Users\MunishKumar\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s RZCTA0S8CWD shell pm list instrumentation'
[AndroidUiautomator2Driver@14c6 (8e2ccdec)] Instrumentation target 'io.appium.uiautomator2.server.test/androidx.test.runner.AndroidJUnitRunner' is available
[ADB] Adding packages ["io.appium.settings","io.appium.uiautomator2.server","io.appium.uiautomator2.server.test"] to Doze whitelist
[ADB] Got the following command chunks to execute: [["dumpsys","deviceidle","whitelist","+io.appium.settings",";","dumpsys","deviceidle","whitelist","+io.appium.uiautomator2.server",";","dumpsys","deviceidle","whitelist","+io.appium.uiautomator2.server.test",";"]]
[ADB] Running 'C:\Users\MunishKumar\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s RZCTA0S8CWD shell dumpsys deviceidle whitelist +io.appium.settings ; dumpsys deviceidle whitelist +io.appium.uiautomator2.server ; dumpsys deviceidle whitelist +io.appium.uiautomator2.server.test ;'
[AndroidUiautomator2Driver@14c6 (8e2ccdec)] No app capability. Assuming it is already on the device
[ADB] Getting install status for com.google.android.youtube
[ADB] Running 'C:\Users\MunishKumar\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s RZCTA0S8CWD shell dumpsys package com.google.android.youtube'
[ADB] 'com.google.android.youtube' is installed
[ADB] Running 'C:\Users\MunishKumar\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s RZCTA0S8CWD shell am force-stop com.google.android.youtube'
[ADB] Running 'C:\Users\MunishKumar\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s RZCTA0S8CWD shell pm clear com.google.android.youtube'
[AndroidDriver] Performed fast reset on the installed 'com.google.android.youtube' application (stop and clear)
[AndroidUiautomator2Driver@14c6 (8e2ccdec)] Performing shallow cleanup of automation leftovers
[AndroidUiautomator2Driver@14c6 (8e2ccdec)] No obsolete sessions have been detected (socket hang up)
[ADB] Running 'C:\Users\MunishKumar\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s RZCTA0S8CWD shell am force-stop io.appium.uiautomator2.server.test'
[AndroidUiautomator2Driver@14c6 (8e2ccdec)] Starting UIAutomator2 server 5.7.8
[AndroidUiautomator2Driver@14c6 (8e2ccdec)] Using UIAutomator2 server from 'C:\Users\MunishKumar.appium\node_modules\appium-uiautomator2-driver\node_modules\appium-uiautomator2-server\apks\appium-uiautomator2-server-v5.7.8.apk' and test from 'C:\Users\MunishKumar.appium\node_modules\appium-uiautomator2-driver\node_modules\appium-uiautomator2-server\apks\appium-uiautomator2-server-debug-androidTest.apk'
[AndroidUiautomator2Driver@14c6 (8e2ccdec)] Waiting up to 30000ms for UiAutomator2 to be online...
[ADB] Creating ADB subprocess with args: ["-P",5037,"-s","RZCTA0S8CWD","shell","am","instrument","-w","-e","disableAnalytics",true,"io.appium.uiautomator2.server.test/androidx.test.runner.AndroidJUnitRunner"]
[AndroidUiautomator2Driver@14c6 (8e2ccdec)] Matched '/status' to command name 'getStatus'
[AndroidUiautomator2Driver@14c6 (8e2ccdec)] Proxying [GET /status] to [GET http://127.0.0.1:8200/status] with no body
[AndroidUiautomator2Driver@14c6 (8e2ccdec)] socket hang up
[Instrumentation] io.appium.uiautomator2.server.test.AppiumUiAutomator2Server:
[AndroidUiautomator2Driver@14c6 (8e2ccdec)] Matched '/status' to command name 'getStatus'
[AndroidUiautomator2Driver@14c6 (8e2ccdec)] Proxying [GET /status] to [GET http://127.0.0.1:8200/status] with no body
[AndroidUiautomator2Driver@14c6 (8e2ccdec)] socket hang up
[AndroidUiautomator2Driver@14c6 (8e2ccdec)] Matched '/status' to command name 'getStatus'
[AndroidUiautomator2Driver@14c6 (8e2ccdec)] Proxying [GET /status] to [GET http://127.0.0.1:8200/status] with no body
[AndroidUiautomator2Driver@14c6 (8e2ccdec)] socket hang up
[AndroidUiautomator2Driver@14c6 (8e2ccdec)] Matched '/status' to command name 'getStatus'
[AndroidUiautomator2Driver@14c6 (8e2ccdec)] Proxying [GET /status] to [GET http://127.0.0.1:8200/status] with no body
[AndroidUiautomator2Driver@14c6 (8e2ccdec)] Got response with status 200: {"sessionId":"None","value":{"message":"UiAutomator2 Server is ready to accept commands","ready":true}}
[AndroidUiautomator2Driver@14c6 (8e2ccdec)] The initialization of the instrumentation process took 3108ms
[AndroidUiautomator2Driver@14c6 (8e2ccdec)] Matched '/session' to command name 'createSession'
[AndroidUiautomator2Driver@14c6 (8e2ccdec)] Proxying [POST /session] to [POST http://127.0.0.1:8200/session] with body: {"capabilities":{"firstMatch":[{"platform":"LINUX","webStorageEnabled":false,"takesScreenshot":true,"javascriptEnabled":true,"databaseEnabled":false,"networkConnectionEnabled":true,"locationContextEnabled":false,"warnings":{},"desired":{"platformName":"Android","automationName":"UiAutomator2","deviceName":"Galaxy S20 FE 5G","udid":"RZCTA0S8CWD","autoAcceptAlerts":"true","newCommandTimeout":3000,"adbExecTimeout":80000,"trackScrollEvents":false,"appPackage":"com.google.android.youtube","appActivity":"com.google.android.apps.youtube.app.watchwhile.WatchWhileActivity"},"platformName":"Android","automationName":"UiAutomator2","deviceName":"RZCTA0S8CWD","udid":"RZCTA0S8CWD","autoAcceptAlerts":"true","newCommandTimeout":3000,"adbExecTimeout":80000,"trackScrollEvents":false,"appPackage":"com.google.android.youtube","appActivity":"com.google.android.apps.youtube.app.watchwhile.WatchWhileActivity","deviceUDID":"RZCTA0S8CWD"}],"alwaysMatch":{}}}
[AndroidUiautomator2Driver@14c6 (8e2ccdec)] Got response with status 200: {"sessionId":"f69981e8-3b61-408c-9d25-d78e36926f4b","value":{"capabilities":{"firstMatch":[{"platform":"LINUX","webStorageEnabled":false,"takesScreenshot":true,"javascriptEnabled":true,"databaseEnabled":false,"networkConnectionEnabled":true,"locationContextEnabled":false,"warnings":{},"desired":{"platformName":"Android","automationName":"UiAutomator2","deviceName":"Galaxy S20 FE 5G","udid":"RZCTA0S8CWD","autoAcceptAlerts":"true","newCommandTimeout":3000,"adbExecTimeout":80000,"trackScrollEvents":false,"appPackage":"com.google.android.youtube","appActivity":"com.google.android.apps.youtube.app.watchwhile.WatchWhileActivity"},"platformName":"Android","automationName":"UiAutomator2","deviceName":"RZCTA0S8CWD","udid":"RZCTA0S8CWD","autoAcceptAlerts":"true","newCommandTimeout":3000,"adbExecTimeout":80000,"trackScrollEvents":false,"appPackage":"com.google.android.youtube","appActivity":"com.google.android.apps.youtube.app.watchwhile.WatchWhileActivity","deviceUDID":"RZCTA0S8CWD"}],"alwaysMatch":{}},"sessionId":"...
[AndroidUiautomator2Driver@14c6 (8e2ccdec)] Determined the downstream protocol as 'W3C'
[AndroidUiautomator2Driver@14c6 (8e2ccdec)] Proxying [GET /appium/device/info] to [GET http://127.0.0.1:8200/session/f69981e8-3b61-408c-9d25-d78e36926f4b/appium/device/info] with no body
[AndroidUiautomator2Driver@14c6 (8e2ccdec)] Got response with status 200: {"sessionId":"f69981e8-3b61-408c-9d25-d78e36926f4b","value":{"androidId":"89f63c7f65b0319a","apiVersion":"33","bluetooth":{"state":"OFF"},"brand":"samsung","carrierName":"","displayDensity":480,"locale":"en_IN","manufacturer":"samsung","model":"SM-G781B","networks":[{"capabilities":{"SSID":null,"linkDownBandwidthKbps":33857,"linkUpstreamBandwidthKbps":1293,"networkCapabilities":"NET_CAPABILITY_NOT_METERED,NET_CAPABILITY_INTERNET,NET_CAPABILITY_NOT_RESTRICTED,NET_CAPABILITY_TRUSTED,NET_CAPABILITY_NOT_VPN,NET_CAPABILITY_VALIDATED,NET_CAPABILITY_NOT_ROAMING,NET_CAPABILITY_FOREGROUND,NET_CAPABILITY_NOT_CONGESTED,NET_CAPABILITY_NOT_SUSPENDED","signalStrength":-64,"transportTypes":"TRANSPORT_WIFI"},"detailedState":"CONNECTED","extraInfo":"","isAvailable":true,"isConnected":true,"isFailover":false,"isRoaming":false,"state":"CONNECTED","subtype":-1,"subtypeName":"","type":1,"typeName":"WIFI"}],"platformVersion":"13","realDisplaySize":"1080x2400","timeZone":"Asia/Kolkata"}}
[ADB] Running 'C:\Users\MunishKumar\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s RZCTA0S8CWD shell dumpsys window'
[AndroidDriver] Screen is locked, trying to unlock
[AndroidDriver] Neither 'unlockType' nor 'unlockKey' capability is provided. Assuming the device is locked with a simple lock screen.
[ADB] Waking up the device to dismiss the keyguard
[ADB] Running 'C:\Users\MunishKumar\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s RZCTA0S8CWD shell input keyevent 26'
[ADB] Running 'C:\Users\MunishKumar\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s RZCTA0S8CWD shell input keyevent 224'
[ADB] Running 'C:\Users\MunishKumar\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s RZCTA0S8CWD shell wm dismiss-keyguard'
[AndroidUiautomator2Driver@14c6 (8e2ccdec)] Starting 'com.google.android.youtube/com.google.android.apps.youtube.app.watchwhile.WatchWhileActivity and waiting for 'com.google.android.youtube/com.google.android.apps.youtube.app.watchwhile.WatchWhileActivity'
[ADB] Running 'C:\Users\MunishKumar\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s RZCTA0S8CWD shell am start -W -n com.google.android.youtube/com.google.android.apps.youtube.app.watchwhile.WatchWhileActivity -S -a android.intent.action.MAIN -c android.intent.category.LAUNCHER -f 0x10200000'
[AndroidUiautomator2Driver@14c6 (8e2ccdec)] Proxying [GET /appium/device/pixel_ratio] to [GET http://127.0.0.1:8200/session/f69981e8-3b61-408c-9d25-d78e36926f4b/appium/device/pixel_ratio] with no body
[AndroidUiautomator2Driver@14c6 (8e2ccdec)] Got response with status 200: {"sessionId":"f69981e8-3b61-408c-9d25-d78e36926f4b","value":3}
[AndroidUiautomator2Driver@14c6 (8e2ccdec)] Matched '/appium/device/system_bars' to command name 'getSystemBars'
[AndroidUiautomator2Driver@14c6 (8e2ccdec)] Proxying [GET /appium/device/system_bars] to [GET http://127.0.0.1:8200/session/f69981e8-3b61-408c-9d25-d78e36926f4b/appium/device/system_bars] with no body
[AndroidUiautomator2Driver@14c6 (8e2ccdec)] Got response with status 200: {"sessionId":"f69981e8-3b61-408c-9d25-d78e36926f4b","value":{"statusBar":88}}
[AndroidUiautomator2Driver@14c6 (8e2ccdec)] Matched '/window/current/size' to command name 'getWindowSize'
[AndroidUiautomator2Driver@14c6 (8e2ccdec)] Proxying [GET /window/current/size] to [GET http://127.0.0.1:8200/session/f69981e8-3b61-408c-9d25-d78e36926f4b/window/current/size] with no body
[AndroidUiautomator2Driver@14c6 (8e2ccdec)] Got response with status 200: {"sessionId":"f69981e8-3b61-408c-9d25-d78e36926f4b","value":{"height":2168,"width":1080}}
[AppiumDriver@7666] New AndroidUiautomator2Driver session created successfully, session 8e2ccdec-ce90-44e0-a5bb-6e21bb9c17bb added to master session list
[AppiumDriver@7666] Event 'newSessionStarted' logged at 1715158598195 (14:26:38 GMT+0530 (India Standard Time))
[AndroidUiautomator2Driver@14c6 (8e2ccdec)] Cached the protocol value 'W3C' for the new session 8e2ccdec-ce90-44e0-a5bb-6e21bb9c17bb
[AndroidUiautomator2Driver@14c6 (8e2ccdec)] 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","automationName":"UiAutomator2","deviceName":"Galaxy S20 FE 5G","udid":"RZCTA0S8CWD","autoAcceptAlerts":"true","newCommandTimeout":3000,"adbExecTimeout":80000,"trackScrollEvents":false,"appPackage":"com.google.android.youtube","appActivity":"com.google.android.apps.youtube.app.watchwhile.WatchWhileActivity"},"platformName":"Android","automationName":"UiAutomator2","deviceName":"RZCTA0S8CWD","udid":"RZCTA0S8CWD","autoAcceptAlerts":"true","newCommandTimeout":3000,"adbExecTimeout":80000,"trackScrollEvents":false,"appPackage":"com.google.android.youtube","appActivity":"com.google.android.apps.youtube.app.watchwhile.WatchWhileActivity","deviceUDID":"RZCTA0S8CWD","deviceApiLevel":33,"platformVersion":"13","deviceScreenSize":"1080x2400","deviceScreenDensity":480,"deviceM...
[HTTP] <-- POST /wd/hub/session 200 7610 ms - 1227
[HTTP]
[HTTP] Request idempotency key: 8a675ffc-f006-4457-83c5-871a421396d0
[HTTP] --> POST /wd/hub/session/8e2ccdec-ce90-44e0-a5bb-6e21bb9c17bb/timeouts
[HTTP] {"implicit":120000}
[AndroidUiautomator2Driver@14c6 (8e2ccdec)] Calling AppiumDriver.timeouts() with args: [null,null,null,null,120000,"8e2ccdec-ce90-44e0-a5bb-6e21bb9c17bb"]
[AndroidUiautomator2Driver@14c6 (8e2ccdec)] W3C timeout argument: {"implicit":120000}}
[AndroidUiautomator2Driver@14c6 (8e2ccdec)] Set implicit wait to 120000ms
[AndroidUiautomator2Driver@14c6 (8e2ccdec)] Responding to client with driver.timeouts() result: null
[HTTP] <-- POST /wd/hub/session/8e2ccdec-ce90-44e0-a5bb-6e21bb9c17bb/timeouts 200 5 ms - 14
[HTTP]
[HTTP] --> GET /wd/hub/session/8e2ccdec-ce90-44e0-a5bb-6e21bb9c17bb/source
[HTTP] {}
[AndroidUiautomator2Driver@14c6 (8e2ccdec)] Driver proxy active, passing request on via HTTP proxy
[AndroidUiautomator2Driver@14c6 (8e2ccdec)] Matched '/wd/hub/session/8e2ccdec-ce90-44e0-a5bb-6e21bb9c17bb/source' to command name 'getPageSource'
[AndroidUiautomator2Driver@14c6 (8e2ccdec)] Proxying [GET /wd/hub/session/8e2ccdec-ce90-44e0-a5bb-6e21bb9c17bb/source] to [GET http://127.0.0.1:8200/session/f69981e8-3b61-408c-9d25-d78e36926f4b/source] with no body
[HTTP] --> GET /wd/hub/session/8e2ccdec-ce90-44e0-a5bb-6e21bb9c17bb/screenshot
[HTTP] {}
[AndroidUiautomator2Driver@14c6 (8e2ccdec)] Calling AppiumDriver.getScreenshot() with args: ["8e2ccdec-ce90-44e0-a5bb-6e21bb9c17bb"]
[AndroidUiautomator2Driver@14c6 (8e2ccdec)] Got response with status 200: {"sessionId":"f69981e8-3b61-408c-9d25-d78e36926f4b","value":"\r\n<hierarchy index="0" class="hierarchy" rotation="0" width="1080" height="2168">\r\n <android.widget.FrameLayout index="0" package="com.google.android.permissioncontroller" class="android.widget.FrameLayout" text="" checkable="false" checked="false" clickable="false" enabled="true" focusable="false" focused="false" long-clickable="false" password="false" scrollable="false" selected="false" bounds="[0,1515][1080,2168]" displayed="true">\r\n <android.widget.FrameLayout index="0" package="com.google.android.permissioncontroller" class="android.widget.FrameLayout" text="" checkable="false" checked="false" clickable="false" enabled="true" focusable="false" focused="false" long-clickable="false" password="false" scrollable="false" selected="false" bounds="[0,1515][1080,2168]" displayed="true">\r\n <android.widget...
[AndroidUiautomator2Driver@14c6 (8e2ccdec)] Replacing sessionId f69981e8-3b61-408c-9d25-d78e36926f4b with 8e2ccdec-ce90-44e0-a5bb-6e21bb9c17bb
[HTTP] <-- GET /wd/hub/session/8e2ccdec-ce90-44e0-a5bb-6e21bb9c17bb/source 200 835 ms - 6589
[HTTP]
[AndroidUiautomator2Driver@14c6 (8e2ccdec)] Matched '/screenshot' to command name 'getScreenshot'
[AndroidUiautomator2Driver@14c6 (8e2ccdec)] Proxying [GET /screenshot] to [GET http://127.0.0.1:8200/session/f69981e8-3b61-408c-9d25-d78e36926f4b/screenshot] with no body
[AndroidUiautomator2Driver@14c6 (8e2ccdec)] Got response with status 200: {"sessionId":"f69981e8-3b61-408c-9d25-d78e36926f4b","value":"iVBORw0KGgoAAAANSUhEUgAABDgAAAlgCAYAAABtGofVAAAAAXNSR0IArs4c6QAAAARzQklUCAgICHwIZIgAACAASURBVHic7N15cJPXvTfwrxZLtmR5t7yDbbxhDGaLwZCQQMjyTgJ0yZRk+t7OJOm00IXmTpOuoZ3e5G3ubZPbDkkLw9yk07ntcJNpclnShibECYbgsBtsFoPxvsq7ZcmWbEvvH66eSrZWW9sjvp+ZTCzp0XmOkBed73PO70gOHTpkBRERERERERGRiElD3QEiIiIiIiIiooViwEFEREREREREoseAg4iIiIiIiIhEjwEHEREREREREYkeAw4iIiIiIiIiEj0GHEREREREREQkegw4iIiIiIiIiEj0GHAQERERERERkegx4CAiIiIiIiIi0WPAQURERERERESix4CDiIiIiIiIiESPAQcRERERERERiR4DDiIiIiIiIiISPQYcRERERERERCR6DDiIiIiIiIiISPQYcBARERERERGR6DHgICIiIiIiIiLRY8BBRERERERERKLHgIOIiIiIiIiIRI8BBxERERERERGJHgMOIiIiIiIiIhI9BhxEREREREREJHoMOIiIiIiIiIhI9BhwEBEREREREZHoMeAgIiIiIiIiItFjwEFEREREREREoseAg4iIiIiIiIhEjwEHEREREREREYkeAw4iIiIiIiIiEj0GHEREREREREQkegw4iIiIiIiIiEj0GHAQERERERERkegx4CAiIiIiIiIi0WPAQURERERERESix4CDiIiIiIiIiESPAQcRERERERERiR4DDiIiIiIiIiISPQYcRERERERERCR6DDiIiIiIiIiISPQYcBARERERERGR6DHgICIiIiIiIiLRY8BBRERERERERKLHgIOIiIiIiIiIRE8e6g4QOSOXy5Gamor4+HgoFApYLBaMjY1hcHAQo6Ojoe4e...
[AndroidUiautomator2Driver@14c6 (8e2ccdec)] Responding to client with driver.getScreenshot() result: "iVBORw0KGgoAAAANSUhEUgAABDgAAAlgCAYAAABtGofVAAAAAXNSR0IArs4c6QAAAARzQklUCAgICHwIZIgAACAASURBVHic7N15cJPXvTfwrxZLtmR5t7yDbbxhDGaLwZCQQMjyTgJ0yZRk+t7OJOm00IXmTpOuoZ3e5G3ubZPbDkkLw9yk07ntcJNpclnShibECYbgsBtsFoPxvsq7ZcmWbEvvH66eSrZWW9sjvp+ZTCzp0XmOkBed73PO70gOHTpkBRERERERERGRiElD3QEiIiIiIiIiooViwEFEREREREREoseAg4iIiIiIiIhEjwEHEREREREREYkeAw4iIiIiIiIiEj0GHEREREREREQkegw4iIiIiIiIiEj0GHAQERERERERkegx4CAiIiIiIiIi0WPAQURERERERESix4CDiIiIiIiIiESPAQcRERERERERiR4DDiIiIiIiIiISPQYcRERERERERCR6DDiIiIiIiIiISPQYcBARERERERGR6DHgICIiIiIiIiLRY8BBRERERERERKLHgIOIiIiIiIiIRI8BBxERERERERGJHgMOIiIiIiIiIhI9BhxEREREREREJHoMOIiIiIiIiIhI9BhwEBEREREREZHoMeAgIiIiIiIiItFjwEFEREREREREoseAg4iIiIiIiIhEjwEHEREREREREYkeAw4iIiIiIiIiEj0GHEREREREREQkegw4iIiIiIiIiEj0GHAQERERERERkegx4CAiIiIiIiIi0WPAQURERERERESix4CDiIiIiIiIiESPAQcRERERERERiR4DDiIiIiIiIiISPQYcRERERERERCR6DDiIiIiIiIiISPQYcBARERERERGR6DHgICIiIiIiIiLRY8BBRERERERERKLHgIOIiIiIiIiIRE8e6g4QOSOXy5Gamor4+HgoFApYLBaMjY1hcHAQo6Ojoe4eERERERERhRkGHBR2li5diqVLl7p8fGxsDHfu3EFLSwump6eD2LPIJZVKoVAo...
[HTTP] <-- GET /wd/hub/session/8e2ccdec-ce90-44e0-a5bb-6e21bb9c17bb/screenshot 200 1121 ms - 120244
[HTTP]
[HTTP] --> GET /wd/hub/session/8e2ccdec-ce90-44e0-a5bb-6e21bb9c17bb/screenshot
[HTTP] {}
[AndroidUiautomator2Driver@14c6 (8e2ccdec)] Calling AppiumDriver.getScreenshot() with args: ["8e2ccdec-ce90-44e0-a5bb-6e21bb9c17bb"]
[AndroidUiautomator2Driver@14c6 (8e2ccdec)] Matched '/screenshot' to command name 'getScreenshot'
[AndroidUiautomator2Driver@14c6 (8e2ccdec)] Proxying [GET /screenshot] to [GET http://127.0.0.1:8200/session/f69981e8-3b61-408c-9d25-d78e36926f4b/screenshot] with no body
[AndroidUiautomator2Driver@14c6 (8e2ccdec)] Got response with status 200: {"sessionId":"f69981e8-3b61-408c-9d25-d78e36926f4b","value":"iVBORw0KGgoAAAANSUhEUgAABDgAAAlgCAYAAABtGofVAAAAAXNSR0IArs4c6QAAAARzQklUCAgICHwIZIgAACAASURBVHic7N15bFxXfub9711qZ3HfKUqkVmqj7JZNWZZb3ZY7bb9J2h0MGllmMJhJO2/SztLvAIEDZBA3kGQwg8kgE0zSgY3GpIO86MBJI+mJ2/O23bZbbtuKaVm2JGuzVkqkJErcl2Kx1nvv+weHFZbEVeJW1PMBBLFYl6dOkaziPc8953eMV155xUNEREREREREpICZK90BEREREREREZH7pYBDRERERERERAqeAg4RERERERERKXgKOERERERERESk4CngEBEREREREZGCp4BDRERERERERAqeAg4RERERERERKXgKOERERERERESk4CngEBEREREREZGCp4BDRERERERERAqeAg4RERERERERKXgKOERERERERESk4CngEBEREREREZGCp4BDRERERERERAqeAg4RERERERERKXgKOERERERERESk4CngEBEREREREZGCp4BDRERERERERAqeAg4RERERERERKXgKOERERERERESk4CngEBEREREREZGCp4BDRERERERERAqeAg4RERERERERKXgKOERERERERESk4CngEBEREREREZGCp4BDRERERERERAqeAg4RERERERERKXgKOERERERERESk4CngEBEREREREZGCp4BDRERERERERAqeAg4RERERERERKXgKOERERERERESk4CngEBEREREREZGCp4BDRERERERERAqeAg4RERERERERKXgKOERERERERESk4CngEBEREREREZGCp4BDRERERERERAqeAg4RERERERERKXgKOERERERERESk4CngEBEREREREZGCp4BDRERERERERAqeAg4RERERERERKXj2SndAZDq2bVNVVUVJSQl+vx/X...
[AndroidUiautomator2Driver@14c6 (8e2ccdec)] Responding to client with driver.getScreenshot() result: "iVBORw0KGgoAAAANSUhEUgAABDgAAAlgCAYAAABtGofVAAAAAXNSR0IArs4c6QAAAARzQklUCAgICHwIZIgAACAASURBVHic7N15bFxXfub9711qZ3HfKUqkVmqj7JZNWZZb3ZY7bb9J2h0MGllmMJhJO2/SztLvAIEDZBA3kGQwg8kgE0zSgY3GpIO86MBJI+mJ2/O23bZbbtuKaVm2JGuzVkqkJErcl2Kx1nvv+weHFZbEVeJW1PMBBLFYl6dOkaziPc8953eMV155xUNEREREREREpICZK90BEREREREREZH7pYBDRERERERERAqeAg4RERERERERKXgKOERERERERESk4CngEBEREREREZGCp4BDRERERERERAqeAg4RERERERERKXgKOERERERERESk4CngEBEREREREZGCp4BDRERERERERAqeAg4RERERERERKXgKOERERERERESk4CngEBEREREREZGCp4BDRERERERERAqeAg4RERERERERKXgKOERERERERESk4CngEBEREREREZGCp4BDRERERERERAqeAg4RERERERERKXgKOERERERERESk4CngEBEREREREZGCp4BDRERERERERAqeAg4RERERERERKXgKOERERERERESk4CngEBEREREREZGCp4BDRERERERERAqeAg4RERERERERKXgKOERERERERESk4CngEBEREREREZGCp4BDRERERERERAqeAg4RERERERERKXgKOERERERERESk4CngEBEREREREZGCp4BDRERERERERAqeAg4RERERERERKXgKOERERERERESk4CngEBEREREREZGCp4BDRERERERERAqeAg4RERERERERKXgKOERERERERESk4CngEBEREREREZGCp4BDRERERERERAqeAg4RERERERERKXj2SndAZDq2bVNVVUVJSQl+vx/XdRkbG2NwcJDR0dGV7p6IiIiIiIisMgo4ZNXZvn0727dvn/H+sbExrly5wrVr...
[HTTP] <-- GET /wd/hub/session/8e2ccdec-ce90-44e0-a5bb-6e21bb9c17bb/screenshot 200 325 ms - 133076
[HTTP]
[HTTP] --> GET /wd/hub/session/8e2ccdec-ce90-44e0-a5bb-6e21bb9c17bb/screenshot
[HTTP] {}
[AndroidUiautomator2Driver@14c6 (8e2ccdec)] Calling AppiumDriver.getScreenshot() with args: ["8e2ccdec-ce90-44e0-a5bb-6e21bb9c17bb"]
[AndroidUiautomator2Driver@14c6 (8e2ccdec)] Matched '/screenshot' to command name 'getScreenshot'
[AndroidUiautomator2Driver@14c6 (8e2ccdec)] Proxying [GET /screenshot] to [GET http://127.0.0.1:8200/session/f69981e8-3b61-408c-9d25-d78e36926f4b/screenshot] with no body
[AndroidUiautomator2Driver@14c6 (8e2ccdec)] Got response with status 200: {"sessionId":"f69981e8-3b61-408c-9d25-d78e36926f4b","value":"iVBORw0KGgoAAAANSUhEUgAABDgAAAlgCAYAAABtGofVAAAAAXNSR0IArs4c6QAAAARzQklUCAgICHwIZIgAACAASURBVHic7N15bFxXfub9711qZ3HfKUqkVmqj7JZNWZZb3ZY7bb9J2h0MGllmMJhJO2/SztLvAIEDZBA3kGQwg8kgE0zSgY3GpIO86MBJI+mJ2/O23bZbbtuKaVm2JGuzVkqkJErcl2Kx1nvv+weHFZbEVeJW1PMBBLFYl6dOkaziPc8953eMV155xUNEREREREREpICZK90BEREREREREZH7pYBDRERERERERAqeAg4RERERERERKXgKOERERERERESk4CngEBEREREREZGCp4BDRERERERERAqeAg4RERERERERKXgKOERERERERESk4CngEBEREREREZGCp4BDRERERERERAqeAg4RERERERERKXgKOERERERERESk4CngEBEREREREZGCp4BDRERERERERAqeAg4RERERERERKXgKOERERERERESk4CngEBEREREREZGCp4BDRERERERERAqeAg4RERERERERKXgKOERERERERESk4CngEBEREREREZGCp4BDRERERERERAqeAg4RERERERERKXgKOERERERERESk4CngEBEREREREZGCp4BDRERERERERAqeAg4RERERERERKXgKOERERERERESk4CngEBEREREREZGCp4BDRERERERERAqeAg4RERERERERKXgKOERERERERESk4CngEBEREREREZGCp4BDRERERERERAqeAg4RERERERERKXgKOERERERERESk4CngEBEREREREZGCp4BDRERERERERAqeAg4RERERERERKXgKOERERERERESk4CngEBEREREREZGCp4BDRERERERERAqeAg4RERERERERKXj2SndAZDq2bVNVVUVJSQl+vx/X...
[AndroidUiautomator2Driver@14c6 (8e2ccdec)] Responding to client with driver.getScreenshot() result: "iVBORw0KGgoAAAANSUhEUgAABDgAAAlgCAYAAABtGofVAAAAAXNSR0IArs4c6QAAAARzQklUCAgICHwIZIgAACAASURBVHic7N15bFxXfub9711qZ3HfKUqkVmqj7JZNWZZb3ZY7bb9J2h0MGllmMJhJO2/SztLvAIEDZBA3kGQwg8kgE0zSgY3GpIO86MBJI+mJ2/O23bZbbtuKaVm2JGuzVkqkJErcl2Kx1nvv+weHFZbEVeJW1PMBBLFYl6dOkaziPc8953eMV155xUNEREREREREpICZK90BEREREREREZH7pYBDRERERERERAqeAg4RERERERERKXgKOERERERERESk4CngEBEREREREZGCp4BDRERERERERAqeAg4RERERERERKXgKOERERERERESk4CngEBEREREREZGCp4BDRERERERERAqeAg4RERERERERKXgKOERERERERESk4CngEBEREREREZGCp4BDRERERERERAqeAg4RERERERERKXgKOERERERERESk4CngEBEREREREZGCp4BDRERERERERAqeAg4RERERERERKXgKOERERERERESk4CngEBEREREREZGCp4BDRERERERERAqeAg4RERERERERKXgKOERERERERESk4CngEBEREREREZGCp4BDRERERERERAqeAg4RERERERERKXgKOERERERERESk4CngEBEREREREZGCp4BDRERERERERAqeAg4RERERERERKXgKOERERERERESk4CngEBEREREREZGCp4BDRERERERERAqeAg4RERERERERKXgKOERERERERESk4CngEBEREREREZGCp4BDRERERERERAqeAg4RERERERERKXgKOERERERERESk4CngEBEREREREZGCp4BDRERERERERAqeAg4RERERERERKXj2SndAZDq2bVNVVUVJSQl+vx/XdRkbG2NwcJDR0dGV7p6IiIiIiIisMgo4ZNXZvn0727dvn/H+sbExrly5wrVr...
[HTTP] <-- GET /wd/hub/session/8e2ccdec-ce90-44e0-a5bb-6e21bb9c17bb/screenshot 200 311 ms - 246896
[HTTP]
[HTTP] --> GET /wd/hub/session/8e2ccdec-ce90-44e0-a5bb-6e21bb9c17bb/screenshot
[HTTP] {}
[AndroidUiautomator2Driver@14c6 (8e2ccdec)] Calling AppiumDriver.getScreenshot() with args: ["8e2ccdec-ce90-44e0-a5bb-6e21bb9c17bb"]
[AndroidUiautomator2Driver@14c6 (8e2ccdec)] Matched '/screenshot' to command name 'getScreenshot'
[AndroidUiautomator2Driver@14c6 (8e2ccdec)] Proxying [GET /screenshot] to [GET http://127.0.0.1:8200/session/f69981e8-3b61-408c-9d25-d78e36926f4b/screenshot] with no body
[HTTP] --> GET /wd/hub/session/8e2ccdec-ce90-44e0-a5bb-6e21bb9c17bb/source
[HTTP] {}
[AndroidUiautomator2Driver@14c6 (8e2ccdec)] Driver proxy active, passing request on via HTTP proxy
[AndroidUiautomator2Driver@14c6 (8e2ccdec)] Got response with status 200: {"sessionId":"f69981e8-3b61-408c-9d25-d78e36926f4b","value":"iVBORw0KGgoAAAANSUhEUgAABDgAAAlgCAYAAABtGofVAAAAAXNSR0IArs4c6QAAAARzQklUCAgICHwIZIgAACAASURBVHic7N15bFxXfub9711qZ3HfKUqkVmqj7JZNWZZb3ZY7bb9J2h0MGllmMJhJO2/SztLvAIEDZBA3kGQwg8kgE0zSgY3GpIO86MBJI+mJ2/O23bZbbtuKaVm2JGuzVkqkJErcl2Kx1nvv+weHFZbEVeJW1PMBBLFYl6dOkaziPc8953eMV155xUNEREREREREpICZK90BEREREREREZH7pYBDRERERERERAqeAg4RERERERERKXgKOERERERERESk4CngEBEREREREZGCp4BDRERERERERAqeAg4RERERERERKXgKOERERERERESk4CngEBEREREREZGCp4BDRERERERERAqeAg4RERERERERKXgKOERERERERESk4CngEBEREREREZGCp4BDRERERERERAqeAg4RERERERERKXgKOERERERERESk4CngEBEREREREZGCp4BDRERERERERAqeAg4RERERERERKXgKOERERERERESk4CngEBEREREREZGCp4BDRERERERERAqeAg4RERERERERKXgKOERERERERESk4CngEBEREREREZGCp4BDRERERERERAqeAg4RERERERERKXgKOERERERERESk4CngEBEREREREZGCp4BDRERERERERAqeAg4RERERERERKXgKOERERERERESk4CngEBEREREREZGCp4BDRERERERERAqeAg4RERERERERKXgKOERERERERESk4CngEBEREREREZGCp4BDRERERERERAqeAg4RERERERERKXgKOERERERERESk4CngEBEREREREZGCp4BDRERERERERAqeAg4RERERERERKXj2SndAZDq2bVNVVUVJSQl+vx/X...
[AndroidUiautomator2Driver@14c6 (8e2ccdec)] Matched '/wd/hub/session/8e2ccdec-ce90-44e0-a5bb-6e21bb9c17bb/source' to command name 'getPageSource'
[AndroidUiautomator2Driver@14c6 (8e2ccdec)] Proxying [GET /wd/hub/session/8e2ccdec-ce90-44e0-a5bb-6e21bb9c17bb/source] to [GET http://127.0.0.1:8200/session/f69981e8-3b61-408c-9d25-d78e36926f4b/source] with no body
[AndroidUiautomator2Driver@14c6 (8e2ccdec)] Responding to client with driver.getScreenshot() result: "iVBORw0KGgoAAAANSUhEUgAABDgAAAlgCAYAAABtGofVAAAAAXNSR0IArs4c6QAAAARzQklUCAgICHwIZIgAACAASURBVHic7N15bFxXfub9711qZ3HfKUqkVmqj7JZNWZZb3ZY7bb9J2h0MGllmMJhJO2/SztLvAIEDZBA3kGQwg8kgE0zSgY3GpIO86MBJI+mJ2/O23bZbbtuKaVm2JGuzVkqkJErcl2Kx1nvv+weHFZbEVeJW1PMBBLFYl6dOkaziPc8953eMV155xUNEREREREREpICZK90BEREREREREZH7pYBDRERERERERAqeAg4RERERERERKXgKOERERERERESk4CngEBEREREREZGCp4BDRERERERERAqeAg4RERERERERKXgKOERERERERESk4CngEBEREREREZGCp4BDRERERERERAqeAg4RERERERERKXgKOERERERERESk4CngEBEREREREZGCp4BDRERERERERAqeAg4RERERERERKXgKOERERERERESk4CngEBEREREREZGCp4BDRERERERERAqeAg4RERERERERKXgKOERERERERESk4CngEBEREREREZGCp4BDRERERERERAqeAg4RERERERERKXgKOERERERERESk4CngEBEREREREZGCp4BDRERERERERAqeAg4RERERERERKXgKOERERERERESk4CngEBEREREREZGCp4BDRERERERERAqeAg4RERERERERKXgKOERERERERESk4CngEBEREREREZGCp4BDRERERERERAqeAg4RERERERERKXgKOERERERERESk4CngEBEREREREZGCp4BDRERERERERAqeAg4RERERERERKXgKOERERERERESk4CngEBEREREREZGCp4BDRERERERERAqeAg4RERERERERKXj2SndAZDq2bVNVVUVJSQl+vx/XdRkbG2NwcJDR0dGV7p6IiIiIiIisMgo4ZNXZvn0727dvn/H+sbExrly5wrVr...
[HTTP] <-- GET /wd/hub/session/8e2ccdec-ce90-44e0-a5bb-6e21bb9c17bb/screenshot 200 668 ms - 843832
[HTTP]
[AndroidUiautomator2Driver@14c6 (8e2ccdec)] Got response with status 200: {"sessionId":"f69981e8-3b61-408c-9d25-d78e36926f4b","value":"\r\n<hierarchy index="0" class="hierarchy" rotation="0" width="1080" height="2168">\r\n <android.widget.FrameLayout index="0" package="com.google.android.permissioncontroller" class="android.widget.FrameLayout" text="" checkable="false" checked="false" clickable="false" enabled="true" focusable="false" focused="false" long-clickable="false" password="false" scrollable="false" selected="false" bounds="[0,1515][1080,2168]" displayed="true">\r\n <android.widget.FrameLayout index="0" package="com.google.android.permissioncontroller" class="android.widget.FrameLayout" text="" checkable="false" checked="false" clickable="false" enabled="true" focusable="false" focused="false" long-clickable="false" password="false" scrollable="false" selected="false" bounds="[0,1515][1080,2168]" displayed="true">\r\n <android.widget...
[AndroidUiautomator2Driver@14c6 (8e2ccdec)] Replacing sessionId f69981e8-3b61-408c-9d25-d78e36926f4b with 8e2ccdec-ce90-44e0-a5bb-6e21bb9c17bb
[HTTP] <-- GET /wd/hub/session/8e2ccdec-ce90-44e0-a5bb-6e21bb9c17bb/source 200 496 ms - 6408
[HTTP]
[HTTP] --> GET /wd/hub/session/8e2ccdec-ce90-44e0-a5bb-6e21bb9c17bb/screenshot
[HTTP] {}
[AndroidUiautomator2Driver@14c6 (8e2ccdec)] Calling AppiumDriver.getScreenshot() with args: ["8e2ccdec-ce90-44e0-a5bb-6e21bb9c17bb"]
[AndroidUiautomator2Driver@14c6 (8e2ccdec)] Matched '/screenshot' to command name 'getScreenshot'
[AndroidUiautomator2Driver@14c6 (8e2ccdec)] Proxying [GET /screenshot] to [GET http://127.0.0.1:8200/session/f69981e8-3b61-408c-9d25-d78e36926f4b/screenshot] with no body
[AndroidUiautomator2Driver@14c6 (8e2ccdec)] Got response with status 200: {"sessionId":"f69981e8-3b61-408c-9d25-d78e36926f4b","value":"iVBORw0KGgoAAAANSUhEUgAABDgAAAlgCAYAAABtGofVAAAAAXNSR0IArs4c6QAAAARzQklUCAgICHwIZIgAACAASURBVHic7N15bFxXfub9711qZ3HfKUqkVmqj7JZNWZZb3ZY7bb9J2h0MGllmMJhJO2/SztLvAIEDZBA3kGQwg8kgE0zSgY3GpIO86MBJI+mJ2/O23bZbbtuKaVm2JGuzVkqkJErcl2Kx1nvv+weHFZbEVeJW1PMBBLFYl6dOkaziPc8953eMV155xUNEREREREREpICZK90BEREREREREZH7pYBDRERERERERAqeAg4RERERERERKXgKOERERERERESk4CngEBEREREREZGCp4BDRERERERERAqeAg4RERERERERKXgKOERERERERESk4CngEBEREREREZGCp4BDRERERERERAqeAg4RERERERERKXgKOERERERERESk4CngEBEREREREZGCp4BDRERERERERAqeAg4RERERERERKXgKOERERERERESk4CngEBEREREREZGCp4BDRERERERERAqeAg4RERERERERKXgKOERERERERESk4CngEBEREREREZGCp4BDRERERERERAqeAg4RERERERERKXgKOERERERERESk4CngEBEREREREZGCp4BDRERERERERAqeAg4RERERERERKXgKOERERERERESk4CngEBEREREREZGCp4BDRERERERERAqeAg4RERERERERKXgKOERERERERESk4CngEBEREREREZGCp4BDRERERERERAqeAg4RERERERERKXgKOERERERERESk4CngEBEREREREZGCp4BDRERERERERAqeAg4RERERERERKXgKOERERERERESk4CngEBEREREREZGCp4BDRERERERERAqeAg4RERERERERKXj2SndAZDq2bVNVVUVJSQl+vx/X...
[AndroidUiautomator2Driver@14c6 (8e2ccdec)] Responding to client with driver.getScreenshot() result: "iVBORw0KGgoAAAANSUhEUgAABDgAAAlgCAYAAABtGofVAAAAAXNSR0IArs4c6QAAAARzQklUCAgICHwIZIgAACAASURBVHic7N15bFxXfub9711qZ3HfKUqkVmqj7JZNWZZb3ZY7bb9J2h0MGllmMJhJO2/SztLvAIEDZBA3kGQwg8kgE0zSgY3GpIO86MBJI+mJ2/O23bZbbtuKaVm2JGuzVkqkJErcl2Kx1nvv+weHFZbEVeJW1PMBBLFYl6dOkaziPc8953eMV155xUNEREREREREpICZK90BEREREREREZH7pYBDRERERERERAqeAg4RERERERERKXgKOERERERERESk4CngEBEREREREZGCp4BDRERERERERAqeAg4RERERERERKXgKOERERERERESk4CngEBEREREREZGCp4BDRERERERERAqeAg4RERERERERKXgKOERERERERESk4CngEBEREREREZGCp4BDRERERERERAqeAg4RERERERERKXgKOERERERERESk4CngEBEREREREZGCp4BDRERERERERAqeAg4RERERERERKXgKOERERERERESk4CngEBEREREREZGCp4BDRERERERERAqeAg4RERERERERKXgKOERERERERESk4CngEBEREREREZGCp4BDRERERERERAqeAg4RERERERERKXgKOERERERERESk4CngEBEREREREZGCp4BDRERERERERAqeAg4RERERERERKXgKOERERERERESk4CngEBEREREREZGCp4BDRERERERERAqeAg4RERERERERKXgKOERERERERESk4CngEBEREREREZGCp4BDRERERERERAqeAg4RERERERERKXgKOERERERERESk4CngEBEREREREZGCp4BDRERERERERAqeAg4RERERERERKXj2SndAZDq2bVNVVUVJSQl+vx/XdRkbG2NwcJDR0dGV7p6IiIiIiIisMgo4ZNXZvn0727dvn/H+sbExrly5wrVr...
[HTTP] <-- GET /wd/hub/session/8e2ccdec-ce90-44e0-a5bb-6e21bb9c17bb/screenshot 200 773 ms - 1083168
[HTTP]
[HTTP] --> GET /wd/hub/session/8e2ccdec-ce90-44e0-a5bb-6e21bb9c17bb/screenshot
[HTTP] {}
[AndroidUiautomator2Driver@14c6 (8e2ccdec)] Calling AppiumDriver.getScreenshot() with args: ["8e2ccdec-ce90-44e0-a5bb-6e21bb9c17bb"]
[AndroidUiautomator2Driver@14c6 (8e2ccdec)] Matched '/screenshot' to command name 'getScreenshot'
[AndroidUiautomator2Driver@14c6 (8e2ccdec)] Proxying [GET /screenshot] to [GET http://127.0.0.1:8200/session/f69981e8-3b61-408c-9d25-d78e36926f4b/screenshot] with no body
[AndroidUiautomator2Driver@14c6 (8e2ccdec)] Got response with status 200: {"sessionId":"f69981e8-3b61-408c-9d25-d78e36926f4b","value":"iVBORw0KGgoAAAANSUhEUgAABDgAAAlgCAYAAABtGofVAAAAAXNSR0IArs4c6QAAAARzQklUCAgICHwIZIgAACAASURBVHic7N15bFxXfub9711qZ3HfKUqkVmqj7JZNWZZb3ZY7bb9J2h0MGllmMJhJO2/SztLvAIEDZBA3kGQwg8kgE0zSgY3GpIO86MBJI+mJ2/O23bZbbtuKaVm2JGuzVkqkJErcl2Kx1nvv+weHFZbEVeJW1PMBBLFYl6dOkaziPc8953eMV155xUNEREREREREpICZK90BEREREREREZH7pYBDRERERERERAqeAg4RERERERERKXgKOERERERERESk4CngEBEREREREZGCp4BDRERERERERAqeAg4RERERERERKXgKOERERERERESk4CngEBEREREREZGCp4BDRERERERERAqeAg4RERERERERKXgKOERERERERESk4CngEBEREREREZGCp4BDRERERERERAqeAg4RERERERERKXgKOERERERERESk4CngEBEREREREZGCp4BDRERERERERAqeAg4RERERERERKXgKOERERERERESk4CngEBEREREREZGCp4BDRERERERERAqeAg4RERERERERKXgKOERERERERESk4CngEBEREREREZGCp4BDRERERERERAqeAg4RERERERERKXgKOERERERERESk4CngEBEREREREZGCp4BDRERERERERAqeAg4RERERERERKXgKOERERERERESk4CngEBEREREREZGCp4BDRERERERERAqeAg4RERERERERKXgKOERERERERESk4CngEBEREREREZGCp4BDRERERERERAqeAg4RERERERERKXgKOERERERERESk4CngEBEREREREZGCp4BDRERERERERAqeAg4RERERERERKXj2SndAZDq2bVNVVUVJSQl+vx/X...
[AndroidUiautomator2Driver@14c6 (8e2ccdec)] Responding to client with driver.getScreenshot() result: "iVBORw0KGgoAAAANSUhEUgAABDgAAAlgCAYAAABtGofVAAAAAXNSR0IArs4c6QAAAARzQklUCAgICHwIZIgAACAASURBVHic7N15bFxXfub9711qZ3HfKUqkVmqj7JZNWZZb3ZY7bb9J2h0MGllmMJhJO2/SztLvAIEDZBA3kGQwg8kgE0zSgY3GpIO86MBJI+mJ2/O23bZbbtuKaVm2JGuzVkqkJErcl2Kx1nvv+weHFZbEVeJW1PMBBLFYl6dOkaziPc8953eMV155xUNEREREREREpICZK90BEREREREREZH7pYBDRERERERERAqeAg4RERERERERKXgKOERERERERESk4CngEBEREREREZGCp4BDRERERERERAqeAg4RERERERERKXgKOERERERERESk4CngEBEREREREZGCp4BDRERERERERAqeAg4RERERERERKXgKOERERERERESk4CngEBEREREREZGCp4BDRERERERERAqeAg4RERERERERKXgKOERERERERESk4CngEBEREREREZGCp4BDRERERERERAqeAg4RERERERERKXgKOERERERERESk4CngEBEREREREZGCp4BDRERERERERAqeAg4RERERERERKXgKOERERERERESk4CngEBEREREREZGCp4BDRERERERERAqeAg4RERERERERKXgKOERERERERESk4CngEBEREREREZGCp4BDRERERERERAqeAg4RERERERERKXgKOERERERERESk4CngEBEREREREZGCp4BDRERERERERAqeAg4RERERERERKXgKOERERERERESk4CngEBEREREREZGCp4BDRERERERERAqeAg4RERERERERKXgKOERERERERESk4CngEBEREREREZGCp4BDRERERERERAqeAg4RERERERERKXj2SndAZDq2bVNVVUVJSQl+vx/XdRkbG2NwcJDR0dGV7p6IiIiIiIisMgo4ZNXZvn0727dvn/H+sbExrly5wrVr...
[HTTP] <-- GET /wd/hub/session/8e2ccdec-ce90-44e0-a5bb-6e21bb9c17bb/screenshot 200 742 ms - 1061832
[HTTP]
[HTTP] --> GET /wd/hub/session/8e2ccdec-ce90-44e0-a5bb-6e21bb9c17bb/screenshot
[HTTP] {}
[AndroidUiautomator2Driver@14c6 (8e2ccdec)] Calling AppiumDriver.getScreenshot() with args: ["8e2ccdec-ce90-44e0-a5bb-6e21bb9c17bb"]
[AndroidUiautomator2Driver@14c6 (8e2ccdec)] Matched '/screenshot' to command name 'getScreenshot'
[AndroidUiautomator2Driver@14c6 (8e2ccdec)] Proxying [GET /screenshot] to [GET http://127.0.0.1:8200/session/f69981e8-3b61-408c-9d25-d78e36926f4b/screenshot] with no body
[HTTP] --> GET /wd/hub/session/8e2ccdec-ce90-44e0-a5bb-6e21bb9c17bb/source
[HTTP] {}
[AndroidUiautomator2Driver@14c6 (8e2ccdec)] Driver proxy active, passing request on via HTTP proxy
[AndroidUiautomator2Driver@14c6 (8e2ccdec)] Got response with status 200: {"sessionId":"f69981e8-3b61-408c-9d25-d78e36926f4b","value":"iVBORw0KGgoAAAANSUhEUgAABDgAAAlgCAYAAABtGofVAAAAAXNSR0IArs4c6QAAAARzQklUCAgICHwIZIgAACAASURBVHic7N15bFxXfub9711qZ3HfKUqkVmqj7JZNWZZb3ZY7bb9J2h0MGllmMJhJO2/SztLvAIEDZBA3kGQwg8kgE0zSgY3GpIO86MBJI+mJ2/O23bZbbtuKaVm2JGuzVkqkJErcl2Kx1nvv+weHFZbEVeJW1PMBBLFYl6dOkaziPc8953eMV155xUNEREREREREpICZK90BEREREREREZH7pYBDRERERERERAqeAg4RERERERERKXgKOERERERERESk4CngEBEREREREZGCp4BDRERERERERAqeAg4RERERERERKXgKOERERERERESk4CngEBEREREREZGCp4BDRERERERERAqeAg4RERERERERKXgKOERERERERESk4CngEBEREREREZGCp4BDRERERERERAqeAg4RERERERERKXgKOERERERERESk4CngEBEREREREZGCp4BDRERERERERAqeAg4RERERERERKXgKOERERERERESk4CngEBEREREREZGCp4BDRERERERERAqeAg4RERERERERKXgKOERERERERESk4CngEBEREREREZGCp4BDRERERERERAqeAg4RERERERERKXgKOERERERERESk4CngEBEREREREZGCp4BDRERERERERAqeAg4RERERERERKXgKOERERERERESk4CngEBEREREREZGCp4BDRERERERERAqeAg4RERERERERKXgKOERERERERESk4CngEBEREREREZGCp4BDRERERERERAqeAg4RERERERERKXgKOERERERERESk4CngEBEREREREZGCp4BDRERERERERAqeAg4RERERERERKXj2SndAZDq2bVNVVUVJSQl+vx/X...
[AndroidUiautomator2Driver@14c6 (8e2ccdec)] Matched '/wd/hub/session/8e2ccdec-ce90-44e0-a5bb-6e21bb9c17bb/source' to command name 'getPageSource'
[AndroidUiautomator2Driver@14c6 (8e2ccdec)] Proxying [GET /wd/hub/session/8e2ccdec-ce90-44e0-a5bb-6e21bb9c17bb/source] to [GET http://127.0.0.1:8200/session/f69981e8-3b61-408c-9d25-d78e36926f4b/source] with no body
[AndroidUiautomator2Driver@14c6 (8e2ccdec)] Responding to client with driver.getScreenshot() result: "iVBORw0KGgoAAAANSUhEUgAABDgAAAlgCAYAAABtGofVAAAAAXNSR0IArs4c6QAAAARzQklUCAgICHwIZIgAACAASURBVHic7N15bFxXfub9711qZ3HfKUqkVmqj7JZNWZZb3ZY7bb9J2h0MGllmMJhJO2/SztLvAIEDZBA3kGQwg8kgE0zSgY3GpIO86MBJI+mJ2/O23bZbbtuKaVm2JGuzVkqkJErcl2Kx1nvv+weHFZbEVeJW1PMBBLFYl6dOkaziPc8953eMV155xUNEREREREREpICZK90BEREREREREZH7pYBDRERERERERAqeAg4RERERERERKXgKOERERERERESk4CngEBEREREREZGCp4BDRERERERERAqeAg4RERERERERKXgKOERERERERESk4CngEBEREREREZGCp4BDRERERERERAqeAg4RERERERERKXgKOERERERERESk4CngEBEREREREZGCp4BDRERERERERAqeAg4RERERERERKXgKOERERERERESk4CngEBEREREREZGCp4BDRERERERERAqeAg4RERERERERKXgKOERERERERESk4CngEBEREREREZGCp4BDRERERERERAqeAg4RERERERERKXgKOERERERERESk4CngEBEREREREZGCp4BDRERERERERAqeAg4RERERERERKXgKOERERERERESk4CngEBEREREREZGCp4BDRERERERERAqeAg4RERERERERKXgKOERERERERESk4CngEBEREREREZGCp4BDRERERERERAqeAg4RERERERERKXgKOERERERERESk4CngEBEREREREZGCp4BDRERERERERAqeAg4RERERERERKXgKOERERERERESk4CngEBEREREREZGCp4BDRERERERERAqeAg4RERERERERKXj2SndAZDq2bVNVVUVJSQl+vx/XdRkbG2NwcJDR0dGV7p6IiIiIiIisMgo4ZNXZvn0727dvn/H+sbExrly5wrVr...
[HTTP] <-- GET /wd/hub/session/8e2ccdec-ce90-44e0-a5bb-6e21bb9c17bb/screenshot 200 758 ms - 1061832
[HTTP]
[AndroidUiautomator2Driver@14c6 (8e2ccdec)] Got response with status 200: {"sessionId":"f69981e8-3b61-408c-9d25-d78e36926f4b","value":"\r\n<hierarchy index="0" class="hierarchy" rotation="0" width="1080" height="2168">\r\n <android.widget.FrameLayout index="0" package="com.google.android.permissioncontroller" class="android.widget.FrameLayout" text="" checkable="false" checked="false" clickable="false" enabled="true" focusable="false" focused="false" long-clickable="false" password="false" scrollable="false" selected="false" bounds="[0,1515][1080,2168]" displayed="true">\r\n <android.widget.FrameLayout index="0" package="com.google.android.permissioncontroller" class="android.widget.FrameLayout" text="" checkable="false" checked="false" clickable="false" enabled="true" focusable="false" focused="false" long-clickable="false" password="false" scrollable="false" selected="false" bounds="[0,1515][1080,2168]" displayed="true">\r\n <android.widget...
[AndroidUiautomator2Driver@14c6 (8e2ccdec)] Replacing sessionId f69981e8-3b61-408c-9d25-d78e36926f4b with 8e2ccdec-ce90-44e0-a5bb-6e21bb9c17bb
[HTTP] <-- GET /wd/hub/session/8e2ccdec-ce90-44e0-a5bb-6e21bb9c17bb/source 200 612 ms - 6408
[HTTP]
[HTTP] --> GET /wd/hub/session/8e2ccdec-ce90-44e0-a5bb-6e21bb9c17bb/screenshot
[HTTP] {}
[AndroidUiautomator2Driver@14c6 (8e2ccdec)] Calling AppiumDriver.getScreenshot() with args: ["8e2ccdec-ce90-44e0-a5bb-6e21bb9c17bb"]
[AndroidUiautomator2Driver@14c6 (8e2ccdec)] Matched '/screenshot' to command name 'getScreenshot'
[AndroidUiautomator2Driver@14c6 (8e2ccdec)] Proxying [GET /screenshot] to [GET http://127.0.0.1:8200/session/f69981e8-3b61-408c-9d25-d78e36926f4b/screenshot] with no body
[AndroidUiautomator2Driver@14c6 (8e2ccdec)] Got response with status 200: {"sessionId":"f69981e8-3b61-408c-9d25-d78e36926f4b","value":"iVBORw0KGgoAAAANSUhEUgAABDgAAAlgCAYAAABtGofVAAAAAXNSR0IArs4c6QAAAARzQklUCAgICHwIZIgAACAASURBVHic7N15bFxXfub9711qZ3HfKUqkVmqj7JZNWZZb3ZY7bb9J2h0MGllmMJhJO2/SztLvAIEDZBA3kGQwg8kgE0zSgY3GpIO86MBJI+mJ2/O23bZbbtuKaVm2JGuzVkqkJErcl2Kx1nvv+weHFZbEVeJW1PMBBLFYl6dOkaziPc8953eMV155xUNEREREREREpICZK90BEREREREREZH7pYBDRERERERERAqeAg4RERERERERKXgKOERERERERESk4CngEBEREREREZGCp4BDRERERERERAqeAg4RERERERERKXgKOERERERERESk4CngEBEREREREZGCp4BDRERERERERAqeAg4RERERERERKXgKOERERERERESk4CngEBEREREREZGCp4BDRERERERERAqeAg4RERERERERKXgKOERERERERESk4CngEBEREREREZGCp4BDRERERERERAqeAg4RERERERERKXgKOERERERERESk4CngEBEREREREZGCp4BDRERERERERAqeAg4RERERERERKXgKOERERERERESk4CngEBEREREREZGCp4BDRERERERERAqeAg4RERERERERKXgKOERERERERESk4CngEBEREREREZGCp4BDRERERERERAqeAg4RERERERERKXgKOERERERERESk4CngEBEREREREZGCp4BDRERERERERAqeAg4RERERERERKXgKOERERERERESk4CngEBEREREREZGCp4BDRERERERERAqeAg4RERERERERKXgKOERERERERESk4CngEBEREREREZGCp4BDRERERERERAqeAg4RERERERERKXj2SndAZDq2bVNVVUVJSQl+vx/X...
[AndroidUiautomator2Driver@14c6 (8e2ccdec)] Responding to client with driver.getScreenshot() result: "iVBORw0KGgoAAAANSUhEUgAABDgAAAlgCAYAAABtGofVAAAAAXNSR0IArs4c6QAAAARzQklUCAgICHwIZIgAACAASURBVHic7N15bFxXfub9711qZ3HfKUqkVmqj7JZNWZZb3ZY7bb9J2h0MGllmMJhJO2/SztLvAIEDZBA3kGQwg8kgE0zSgY3GpIO86MBJI+mJ2/O23bZbbtuKaVm2JGuzVkqkJErcl2Kx1nvv+weHFZbEVeJW1PMBBLFYl6dOkaziPc8953eMV155xUNEREREREREpICZK90BEREREREREZH7pYBDRERERERERAqeAg4RERERERERKXgKOERERERERESk4CngEBEREREREZGCp4BDRERERERERAqeAg4RERERERERKXgKOERERERERESk4CngEBEREREREZGCp4BDRERERERERAqeAg4RERERERERKXgKOERERERERESk4CngEBEREREREZGCp4BDRERERERERAqeAg4RERERERERKXgKOERERERERESk4CngEBEREREREZGCp4BDRERERERERAqeAg4RERERERERKXgKOERERERERESk4CngEBEREREREZGCp4BDRERERERERAqeAg4RERERERERKXgKOERERERERESk4CngEBEREREREZGCp4BDRERERERERAqeAg4RERERERERKXgKOERERERERESk4CngEBEREREREZGCp4BDRERERERERAqeAg4RERERERERKXgKOERERERERESk4CngEBEREREREZGCp4BDRERERERERAqeAg4RERERERERKXgKOERERERERESk4CngEBEREREREZGCp4BDRERERERERAqeAg4RERERERERKXgKOERERERERESk4CngEBEREREREZGCp4BDRERERERERAqeAg4RERERERERKXj2SndAZDq2bVNVVUVJSQl+vx/XdRkbG2NwcJDR0dGV7p6IiIiIiIisMgo4ZNXZvn0727dvn/H+sbExrly5wrVr...
[HTTP] <-- GET /wd/hub/session/8e2ccdec-ce90-44e0-a5bb-6e21bb9c17bb/screenshot 200 974 ms - 1528620
[HTTP]
[HTTP] --> GET /wd/hub/session/8e2ccdec-ce90-44e0-a5bb-6e21bb9c17bb/screenshot
[HTTP] {}
[AndroidUiautomator2Driver@14c6 (8e2ccdec)] Calling AppiumDriver.getScreenshot() with args: ["8e2ccdec-ce90-44e0-a5bb-6e21bb9c17bb"]
[AndroidUiautomator2Driver@14c6 (8e2ccdec)] Matched '/screenshot' to command name 'getScreenshot'
[AndroidUiautomator2Driver@14c6 (8e2ccdec)] Proxying [GET /screenshot] to [GET http://127.0.0.1:8200/session/f69981e8-3b61-408c-9d25-d78e36926f4b/screenshot] with no body
[AndroidUiautomator2Driver@14c6 (8e2ccdec)] Got response with status 200: {"sessionId":"f69981e8-3b61-408c-9d25-d78e36926f4b","value":"iVBORw0KGgoAAAANSUhEUgAABDgAAAlgCAYAAABtGofVAAAAAXNSR0IArs4c6QAAAARzQklUCAgICHwIZIgAACAASURBVHic7N15bFxXfub9711qZ3HfKUqkVmqj7JZNWZZb3ZY7bb9J2h0MGllmMJhJO2/SztLvAIEDZBA3kGQwg8kgE0zSgY3GpIO86MBJI+mJ2/O23bZbbtuKaVm2JGuzVkqkJErcl2Kx1nvv+weHFZbEVeJW1PMBBLFYl6dOkaziPc8953eMV155xUNEREREREREpICZK90BEREREREREZH7pYBDRERERERERAqeAg4RERERERERKXgKOERERERERESk4CngEBEREREREZGCp4BDRERERERERAqeAg4RERERERERKXgKOERERERERESk4CngEBEREREREZGCp4BDRERERERERAqeAg4RERERERERKXgKOERERERERESk4CngEBEREREREZGCp4BDRERERERERAqeAg4RERERERERKXgKOERERERERESk4CngEBEREREREZGCp4BDRERERERERAqeAg4RERERERERKXgKOERERERERESk4CngEBEREREREZGCp4BDRERERERERAqeAg4RERERERERKXgKOERERERERESk4CngEBEREREREZGCp4BDRERERERERAqeAg4RERERERERKXgKOERERERERESk4CngEBEREREREZGCp4BDRERERERERAqeAg4RERERERERKXgKOERERERERESk4CngEBEREREREZGCp4BDRERERERERAqeAg4RERERERERKXgKOERERERERESk4CngEBEREREREZGCp4BDRERERERERAqeAg4RERERERERKXgKOERERERERESk4CngEBEREREREZGCp4BDRERERERERAqeAg4RERERERERKXj2SndAZDq2bVNVVUVJSQl+vx/X...
[AndroidUiautomator2Driver@14c6 (8e2ccdec)] Responding to client with driver.getScreenshot() result: "iVBORw0KGgoAAAANSUhEUgAABDgAAAlgCAYAAABtGofVAAAAAXNSR0IArs4c6QAAAARzQklUCAgICHwIZIgAACAASURBVHic7N15bFxXfub9711qZ3HfKUqkVmqj7JZNWZZb3ZY7bb9J2h0MGllmMJhJO2/SztLvAIEDZBA3kGQwg8kgE0zSgY3GpIO86MBJI+mJ2/O23bZbbtuKaVm2JGuzVkqkJErcl2Kx1nvv+weHFZbEVeJW1PMBBLFYl6dOkaziPc8953eMV155xUNEREREREREpICZK90BEREREREREZH7pYBDRERERERERAqeAg4RERERERERKXgKOERERERERESk4CngEBEREREREZGCp4BDRERERERERAqeAg4RERERERERKXgKOERERERERESk4CngEBEREREREZGCp4BDRERERERERAqeAg4RERERERERKXgKOERERERERESk4CngEBEREREREZGCp4BDRERERERERAqeAg4RERERERERKXgKOERERERERESk4CngEBEREREREZGCp4BDRERERERERAqeAg4RERERERERKXgKOERERERERESk4CngEBEREREREZGCp4BDRERERERERAqeAg4RERERERERKXgKOERERERERESk4CngEBEREREREZGCp4BDRERERERERAqeAg4RERERERERKXgKOERERERERESk4CngEBEREREREZGCp4BDRERERERERAqeAg4RERERERERKXgKOERERERERESk4CngEBEREREREZGCp4BDRERERERERAqeAg4RERERERERKXgKOERERERERESk4CngEBEREREREZGCp4BDRERERERERAqeAg4RERERERERKXgKOERERERERESk4CngEBEREREREZGCp4BDRERERERERAqeAg4RERERERERKXj2SndAZDq2bVNVVUVJSQl+vx/XdRkbG2NwcJDR0dGV7p6IiIiIiIisMgo4ZNXZvn0727dvn/H+sbExrly5wrVr...
[HTTP] <-- GET /wd/hub/session/8e2ccdec-ce90-44e0-a5bb-6e21bb9c17bb/screenshot 200 752 ms - 987376
[HTTP]
[HTTP] --> GET /wd/hub/session/8e2ccdec-ce90-44e0-a5bb-6e21bb9c17bb/source
[HTTP] {}
[AndroidUiautomator2Driver@14c6 (8e2ccdec)] Driver proxy active, passing request on via HTTP proxy
[AndroidUiautomator2Driver@14c6 (8e2ccdec)] Matched '/wd/hub/session/8e2ccdec-ce90-44e0-a5bb-6e21bb9c17bb/source' to command name 'getPageSource'
[AndroidUiautomator2Driver@14c6 (8e2ccdec)] Proxying [GET /wd/hub/session/8e2ccdec-ce90-44e0-a5bb-6e21bb9c17bb/source] to [GET http://127.0.0.1:8200/session/f69981e8-3b61-408c-9d25-d78e36926f4b/source] with no body
[AndroidUiautomator2Driver@14c6 (8e2ccdec)] Got response with status 200: {"sessionId":"f69981e8-3b61-408c-9d25-d78e36926f4b","value":"\r\n<hierarchy index="0" class="hierarchy" rotation="0" width="1080" height="2168">\r\n <android.widget.FrameLayout index="0" package="com.google.android.permissioncontroller" class="android.widget.FrameLayout" text="" checkable="false" checked="false" clickable="false" enabled="true" focusable="false" focused="false" long-clickable="false" password="false" scrollable="false" selected="false" bounds="[0,1515][1080,2168]" displayed="true">\r\n <android.widget.FrameLayout index="0" package="com.google.android.permissioncontroller" class="android.widget.FrameLayout" text="" checkable="false" checked="false" clickable="false" enabled="true" focusable="false" focused="false" long-clickable="false" password="false" scrollable="false" selected="false" bounds="[0,1515][1080,2168]" displayed="true">\r\n <android.widget...
[AndroidUiautomator2Driver@14c6 (8e2ccdec)] Replacing sessionId f69981e8-3b61-408c-9d25-d78e36926f4b with 8e2ccdec-ce90-44e0-a5bb-6e21bb9c17bb
[HTTP] <-- GET /wd/hub/session/8e2ccdec-ce90-44e0-a5bb-6e21bb9c17bb/source 200 70 ms - 6408
[HTTP]
[HTTP] --> GET /wd/hub/session/8e2ccdec-ce90-44e0-a5bb-6e21bb9c17bb/screenshot
[HTTP] {}
[AndroidUiautomator2Driver@14c6 (8e2ccdec)] Calling AppiumDriver.getScreenshot() with args: ["8e2ccdec-ce90-44e0-a5bb-6e21bb9c17bb"]
[AndroidUiautomator2Driver@14c6 (8e2ccdec)] Matched '/screenshot' to command name 'getScreenshot'
[AndroidUiautomator2Driver@14c6 (8e2ccdec)] Proxying [GET /screenshot] to [GET http://127.0.0.1:8200/session/f69981e8-3b61-408c-9d25-d78e36926f4b/screenshot] with no body
[AndroidUiautomator2Driver@14c6 (8e2ccdec)] Got response with status 200: {"sessionId":"f69981e8-3b61-408c-9d25-d78e36926f4b","value":"iVBORw0KGgoAAAANSUhEUgAABDgAAAlgCAYAAABtGofVAAAAAXNSR0IArs4c6QAAAARzQklUCAgICHwIZIgAACAASURBVHic7N15bFxXfub9711qZ3HfKUqkVmqj7JZNWZZb3ZY7bb9J2h0MGllmMJhJO2/SztLvAIEDZBA3kGQwg8kgE0zSgY3GpIO86MBJI+mJ2/O23bZbbtuKaVm2JGuzVkqkJErcl2Kx1nvv+weHFZbEVeJW1PMBBLFYl6dOkaziPc8953eMV155xUNEREREREREpICZK90BEREREREREZH7pYBDRERERERERAqeAg4RERERERERKXgKOERERERERESk4CngEBEREREREZGCp4BDRERERERERAqeAg4RERERERERKXgKOERERERERESk4CngEBEREREREZGCp4BDRERERERERAqeAg4RERERERERKXgKOERERERERESk4CngEBEREREREZGCp4BDRERERERERAqeAg4RERERERERKXgKOERERERERESk4CngEBEREREREZGCp4BDRERERERERAqeAg4RERERERERKXgKOERERERERESk4CngEBEREREREZGCp4BDRERERERERAqeAg4RERERERERKXgKOERERERERESk4CngEBEREREREZGCp4BDRERERERERAqeAg4RERERERERKXgKOERERERERESk4CngEBEREREREZGCp4BDRERERERERAqeAg4RERERERERKXgKOERERERERESk4CngEBEREREREZGCp4BDRERERERERAqeAg4RERERERERKXgKOERERERERESk4CngEBEREREREZGCp4BDRERERERERAqeAg4RERERERERKXgKOERERERERESk4CngEBEREREREZGCp4BDRERERERERAqeAg4RERERERERKXj2SndAZDq2bVNVVUVJSQl+vx/X...
[AndroidUiautomator2Driver@14c6 (8e2ccdec)] Responding to client with driver.getScreenshot() result: "iVBORw0KGgoAAAANSUhEUgAABDgAAAlgCAYAAABtGofVAAAAAXNSR0IArs4c6QAAAARzQklUCAgICHwIZIgAACAASURBVHic7N15bFxXfub9711qZ3HfKUqkVmqj7JZNWZZb3ZY7bb9J2h0MGllmMJhJO2/SztLvAIEDZBA3kGQwg8kgE0zSgY3GpIO86MBJI+mJ2/O23bZbbtuKaVm2JGuzVkqkJErcl2Kx1nvv+weHFZbEVeJW1PMBBLFYl6dOkaziPc8953eMV155xUNEREREREREpICZK90BEREREREREZH7pYBDRERERERERAqeAg4RERERERERKXgKOERERERERESk4CngEBEREREREZGCp4BDRERERERERAqeAg4RERERERERKXgKOERERERERESk4CngEBEREREREZGCp4BDRERERERERAqeAg4RERERERERKXgKOERERERERESk4CngEBEREREREZGCp4BDRERERERERAqeAg4RERERERERKXgKOERERERERESk4CngEBEREREREZGCp4BDRERERERERAqeAg4RERERERERKXgKOERERERERESk4CngEBEREREREZGCp4BDRERERERERAqeAg4RERERERERKXgKOERERERERESk4CngEBEREREREZGCp4BDRERERERERAqeAg4RERERERERKXgKOERERERERESk4CngEBEREREREZGCp4BDRERERERERAqeAg4RERERERERKXgKOERERERERESk4CngEBEREREREZGCp4BDRERERERERAqeAg4RERERERERKXgKOERERERERESk4CngEBEREREREZGCp4BDRERERERERAqeAg4RERERERERKXgKOERERERERESk4CngEBEREREREZGCp4BDRERERERERAqeAg4RERERERERKXj2SndAZDq2bVNVVUVJSQl+vx/XdRkbG2NwcJDR0dGV7p6IiIiIiIisMgo4ZNXZvn0727dvn/H+sbExrly5wrVr...
[HTTP] <-- GET /wd/hub/session/8e2ccdec-ce90-44e0-a5bb-6e21bb9c17bb/screenshot 200 673 ms - 895804
[HTTP]
[HTTP] --> GET /wd/hub/session/8e2ccdec-ce90-44e0-a5bb-6e21bb9c17bb/source
[HTTP] {}
[AndroidUiautomator2Driver@14c6 (8e2ccdec)] Driver proxy active, passing request on via HTTP proxy
[AndroidUiautomator2Driver@14c6 (8e2ccdec)] Matched '/wd/hub/session/8e2ccdec-ce90-44e0-a5bb-6e21bb9c17bb/source' to command name 'getPageSource'
[AndroidUiautomator2Driver@14c6 (8e2ccdec)] Proxying [GET /wd/hub/session/8e2ccdec-ce90-44e0-a5bb-6e21bb9c17bb/source] to [GET http://127.0.0.1:8200/session/f69981e8-3b61-408c-9d25-d78e36926f4b/source] with no body
[HTTP] Request idempotency key: fc02423b-4823-4e02-96af-5a3af82b5af2
[HTTP] --> POST /wd/hub/session/8e2ccdec-ce90-44e0-a5bb-6e21bb9c17bb/touch/perform
[HTTP] {"actions":[{"action":"tap","options":{"x":540,"y":1926,"count":1}}]}
[AndroidUiautomator2Driver@14c6 (8e2ccdec)] Calling AppiumDriver.performTouch() with args: [[{"action":"tap","options":{"x":540,"y":1926,"count":1}}],"8e2ccdec-ce90-44e0-a5bb-6e21bb9c17bb"]
[HTTP] --> GET /wd/hub/session/8e2ccdec-ce90-44e0-a5bb-6e21bb9c17bb/screenshot
[HTTP] {}
[AndroidUiautomator2Driver@14c6 (8e2ccdec)] Calling AppiumDriver.getScreenshot() with args: ["8e2ccdec-ce90-44e0-a5bb-6e21bb9c17bb"]
[AndroidUiautomator2Driver@14c6 (8e2ccdec)] Got response with status 200: {"sessionId":"f69981e8-3b61-408c-9d25-d78e36926f4b","value":"\r\n<hierarchy index="0" class="hierarchy" rotation="0" width="1080" height="2168">\r\n <android.widget.FrameLayout index="0" package="com.google.android.permissioncontroller" class="android.widget.FrameLayout" text="" checkable="false" checked="false" clickable="false" enabled="true" focusable="false" focused="false" long-clickable="false" password="false" scrollable="false" selected="false" bounds="[0,1515][1080,2168]" displayed="true">\r\n <android.widget.FrameLayout index="0" package="com.google.android.permissioncontroller" class="android.widget.FrameLayout" text="" checkable="false" checked="false" clickable="false" enabled="true" focusable="false" focused="false" long-clickable="false" password="false" scrollable="false" selected="false" bounds="[0,1515][1080,2168]" displayed="true">\r\n <android.widget...
[AndroidUiautomator2Driver@14c6 (8e2ccdec)] Replacing sessionId f69981e8-3b61-408c-9d25-d78e36926f4b with 8e2ccdec-ce90-44e0-a5bb-6e21bb9c17bb
[HTTP] <-- GET /wd/hub/session/8e2ccdec-ce90-44e0-a5bb-6e21bb9c17bb/source 200 599 ms - 6408
[HTTP]
[AndroidUiautomator2Driver@14c6 (8e2ccdec)] Proxying [POST /appium/tap] to [POST http://127.0.0.1:8200/session/f69981e8-3b61-408c-9d25-d78e36926f4b/appium/tap] with body: {"x":540,"y":1926,"element-6066-11e4-a52e-4f735466cecf":null}
[AndroidUiautomator2Driver@14c6 (8e2ccdec)] Got response with status 200: {"sessionId":"f69981e8-3b61-408c-9d25-d78e36926f4b","value":null}
[AndroidUiautomator2Driver@14c6 (8e2ccdec)] Matched '/screenshot' to command name 'getScreenshot'
[AndroidUiautomator2Driver@14c6 (8e2ccdec)] Proxying [GET /screenshot] to [GET http://127.0.0.1:8200/session/f69981e8-3b61-408c-9d25-d78e36926f4b/screenshot] with no body
[AndroidUiautomator2Driver@14c6 (8e2ccdec)] Responding to client with driver.performTouch() result: null
[HTTP] <-- POST /wd/hub/session/8e2ccdec-ce90-44e0-a5bb-6e21bb9c17bb/touch/perform 200 754 ms - 14
[HTTP]
[AndroidUiautomator2Driver@14c6 (8e2ccdec)] Got response with status 200: {"sessionId":"f69981e8-3b61-408c-9d25-d78e36926f4b","value":"iVBORw0KGgoAAAANSUhEUgAABDgAAAlgCAYAAABtGofVAAAAAXNSR0IArs4c6QAAAARzQklUCAgICHwIZIgAACAASURBVHic7N15jFzXfS/477lbbV1Vve/snZu4Uwtlk47tJ2ei/OH4OZZs2I5txYADTRQNFBnxCDCSvBcEk9iBZQ+enBd4NJATR0Iky/CS9xQ6GTvRYkoURYrNnd0ke9+X6trr7vNHvyp39d5k9VLN7wdosKvq1r2nm1XV93zvOb8jXnvtNRdEREREREREREVM2uwGEBERERERERHdKQYcRERERERERFT0GHAQERERERERUdFjwEFERERERERERY8BBxEREREREREVPQYcRERERERERFT0GHAQERERERERUdFjwEFERERERERERY8BBxEREREREREVPQYcRERERERERFT0GHAQERERERERUdFjwEFERERERERERY8BBxEREREREREVPQYcRERERERERFT0GHAQERERERERUdFjwEFERERERERERY8BBxEREREREREVPQYcRERERERERFT0GHAQERERERERUdFjwEFERERERERERY8BBxEREREREREVPQYcRERERERERFT0GHAQERERERERUdFjwEFERERERERERY8BBxEREREREREVPQYcRERERERERFT0GHAQERERERERUdFjwEFERERERERERY8BBxEREREREREVPQYcRERERERERFT0GHAQERERERERUdFjwEFERERERERERY8BBxEREREREREVPQYcRERERERERFT0GHAQERERERERUdFjwEFERERERERERY8BBxEREREREREVPQYcRERERERERFT0GHAQERERERERUdFjwEFERERERERERY8BBxEREREREREVPQYcRERERERERFT0GHAQERERERERUdFTNrsBRIuRZRllZWUIBoNQVRWu6yKVSmFm...
[AndroidUiautomator2Driver@14c6 (8e2ccdec)] Responding to client with driver.getScreenshot() result: "iVBORw0KGgoAAAANSUhEUgAABDgAAAlgCAYAAABtGofVAAAAAXNSR0IArs4c6QAAAARzQklUCAgICHwIZIgAACAASURBVHic7N15jFzXfS/477lbbV1Vve/snZu4Uwtlk47tJ2ei/OH4OZZs2I5txYADTRQNFBnxCDCSvBcEk9iBZQ+enBd4NJATR0Iky/CS9xQ6GTvRYkoURYrNnd0ke9+X6trr7vNHvyp39d5k9VLN7wdosKvq1r2nm1XV93zvOb8jXnvtNRdEREREREREREVM2uwGEBERERERERHdKQYcRERERERERFT0GHAQERERERERUdFjwEFERERERERERY8BBxEREREREREVPQYcRERERERERFT0GHAQERERERERUdFjwEFERERERERERY8BBxEREREREREVPQYcRERERERERFT0GHAQERERERERUdFjwEFERERERERERY8BBxEREREREREVPQYcRERERERERFT0GHAQERERERERUdFjwEFERERERERERY8BBxEREREREREVPQYcRERERERERFT0GHAQERERERERUdFjwEFERERERERERY8BBxEREREREREVPQYcRERERERERFT0GHAQERERERERUdFjwEFERERERERERY8BBxEREREREREVPQYcRERERERERFT0GHAQERERERERUdFjwEFERERERERERY8BBxEREREREREVPQYcRERERERERFT0GHAQERERERERUdFjwEFERERERERERY8BBxEREREREREVPQYcRERERERERFT0GHAQERERERERUdFjwEFERERERERERY8BBxEREREREREVPQYcRERERERERFT0GHAQERERERERUdFjwEFERERERERERY8BBxEREREREREVPQYcRERERERERFT0GHAQERERERERUdFTNrsBRIuRZRllZWUIBoNQVRWu6yKVSmFmZgbJZHKzm0dERERERERbDAMO2nLa2trQ1ta25OOpVAoDAwMYHh6Gbdsb2LLt...
[HTTP] <-- GET /wd/hub/session/8e2ccdec-ce90-44e0-a5bb-6e21bb9c17bb/screenshot 200 2093 ms - 2588656
[HTTP]
[HTTP] --> GET /wd/hub/session/8e2ccdec-ce90-44e0-a5bb-6e21bb9c17bb/screenshot
[HTTP] {}
[AndroidUiautomator2Driver@14c6 (8e2ccdec)] Calling AppiumDriver.getScreenshot() with args: ["8e2ccdec-ce90-44e0-a5bb-6e21bb9c17bb"]
[AndroidUiautomator2Driver@14c6 (8e2ccdec)] Matched '/screenshot' to command name 'getScreenshot'
[AndroidUiautomator2Driver@14c6 (8e2ccdec)] Proxying [GET /screenshot] to [GET http://127.0.0.1:8200/session/f69981e8-3b61-408c-9d25-d78e36926f4b/screenshot] with no body
[HTTP] --> GET /wd/hub/session/8e2ccdec-ce90-44e0-a5bb-6e21bb9c17bb/source
[HTTP] {}
[AndroidUiautomator2Driver@14c6 (8e2ccdec)] Driver proxy active, passing request on via HTTP proxy
[AndroidUiautomator2Driver@14c6 (8e2ccdec)] Got response with status 200: {"sessionId":"f69981e8-3b61-408c-9d25-d78e36926f4b","value":"iVBORw0KGgoAAAANSUhEUgAABDgAAAlgCAYAAABtGofVAAAAAXNSR0IArs4c6QAAAARzQklUCAgICHwIZIgAACAASURBVHic7N15kNxnfe/792/tffZNM7I0WizJBgcnAeM4OSw2XJMDITipMtyEYJOqFJVAqJxUbsqBUNgVLsupWwlJHEgOdTF2bhKcQ2EluQQwuPC1ITG2CDgYe7RZI2lmpNm7p/fu33L/mNPtaWlWabYefV5VKs1Md/9+z8x09/yez/M838c4duxYiIiIiIiIiIhIEzO3ugEiIiIiIiIiIldLAYeIiIiIiIiIND0FHCIiIiIiIiLS9BRwiIiIiIiIiEjTU8AhIiIiIiIiIk1PAYeIiIiIiIiIND0FHCIiIiIiIiLS9BRwiIiIiIiIiEjTU8AhIiIiIiIiIk1PAYeIiIiIiIiIND0FHCIiIiIiIiLS9BRwiIiIiIiIiEjTU8AhIiIiIiIiIk1PAYeIiIiIiIiIND0FHCIiIiIiIiLS9BRwiIiIiIiIiEjTU8AhIiIiIiIiIk1PAYeIiIiIiIiIND0FHCIiIiIiIiLS9BRwiIiIiIiIiEjTU8AhIiIiIiIiIk1PAYeIiIiIiIiIND0FHCIiIiIiIiLS9BRwiIiIiIiIiEjTU8AhIiIiIiIiIk1PAYeIiIiIiIiIND0FHCIiIiIiIiLS9BRwiIiIiIiIiEjTU8AhIiIiIiIiIk1PAYeIiIiIiIiIND0FHCIiIiIiIiLS9BRwiIiIiIiIiEjTU8AhIiIiIiIiIk1PAYeIiIiIiIiIND0FHCIiIiIiIiLS9BRwiIiIiIiIiEjTU8AhIiIiIiIiIk1PAYeIiIiIiIiIND0FHCIiIiIiIiLS9BRwiIiIiIiIiEjTU8AhIiIiIiIiIk1PAYeIiIiIiIiIND0FHCIiIiIiIiLS9OytboDIYkzTJJlMEovFsG2bMAwp...
[AndroidUiautomator2Driver@14c6 (8e2ccdec)] Matched '/wd/hub/session/8e2ccdec-ce90-44e0-a5bb-6e21bb9c17bb/source' to command name 'getPageSource'
[AndroidUiautomator2Driver@14c6 (8e2ccdec)] Proxying [GET /wd/hub/session/8e2ccdec-ce90-44e0-a5bb-6e21bb9c17bb/source] to [GET http://127.0.0.1:8200/session/f69981e8-3b61-408c-9d25-d78e36926f4b/source] with no body
[AndroidUiautomator2Driver@14c6 (8e2ccdec)] Responding to client with driver.getScreenshot() result: "iVBORw0KGgoAAAANSUhEUgAABDgAAAlgCAYAAABtGofVAAAAAXNSR0IArs4c6QAAAARzQklUCAgICHwIZIgAACAASURBVHic7N15kNxnfe/792/tffZNM7I0WizJBgcnAeM4OSw2XJMDITipMtyEYJOqFJVAqJxUbsqBUNgVLsupWwlJHEgOdTF2bhKcQ2EluQQwuPC1ITG2CDgYe7RZI2lmpNm7p/fu33L/mNPtaWlWabYefV5VKs1Md/9+z8x09/yez/M838c4duxYiIiIiIiIiIhIEzO3ugEiIiIiIiIiIldLAYeIiIiIiIiIND0FHCIiIiIiIiLS9BRwiIiIiIiIiEjTU8AhIiIiIiIiIk1PAYeIiIiIiIiIND0FHCIiIiIiIiLS9BRwiIiIiIiIiEjTU8AhIiIiIiIiIk1PAYeIiIiIiIiIND0FHCIiIiIiIiLS9BRwiIiIiIiIiEjTU8AhIiIiIiIiIk1PAYeIiIiIiIiIND0FHCIiIiIiIiLS9BRwiIiIiIiIiEjTU8AhIiIiIiIiIk1PAYeIiIiIiIiIND0FHCIiIiIiIiLS9BRwiIiIiIiIiEjTU8AhIiIiIiIiIk1PAYeIiIiIiIiIND0FHCIiIiIiIiLS9BRwiIiIiIiIiEjTU8AhIiIiIiIiIk1PAYeIiIiIiIiIND0FHCIiIiIiIiLS9BRwiIiIiIiIiEjTU8AhIiIiIiIiIk1PAYeIiIiIiIiIND0FHCIiIiIiIiLS9BRwiIiIiIiIiEjTU8AhIiIiIiIiIk1PAYeIiIiIiIiIND0FHCIiIiIiIiLS9BRwiIiIiIiIiEjTU8AhIiIiIiIiIk1PAYeIiIiIiIiIND0FHCIiIiIiIiLS9BRwiIiIiIiIiEjTU8AhIiIiIiIiIk1PAYeIiIiIiIiIND0FHCIiIiIiIiLS9OytboDIYkzTJJlMEovFsG2bMAwpl8vk83lKpdJWN09ERERERES2GQUcsu309fXR29u75O2VSoXJyUlmZmYIgmAT...
[HTTP] <-- GET /wd/hub/session/8e2ccdec-ce90-44e0-a5bb-6e21bb9c17bb/screenshot 200 1365 ms - 2625208
[HTTP]
[AndroidUiautomator2Driver@14c6 (8e2ccdec)] Got response with status 200: {"sessionId":"f69981e8-3b61-408c-9d25-d78e36926f4b","value":"\r\n<hierarchy index="0" class="hierarchy" rotation="0" width="1080" height="2168">\r\n <android.widget.FrameLayout index="0" package="com.google.android.youtube" class="android.widget.FrameLayout" text="" checkable="false" checked="false" clickable="false" enabled="true" focusable="false" focused="false" long-clickable="false" password="false" scrollable="false" selected="false" bounds="[0,0][1080,2168]" displayed="true">\r\n <android.widget.LinearLayout index="0" package="com.google.android.youtube" class="android.widget.LinearLayout" text="" checkable="false" checked="false" clickable="false" enabled="true" focusable="false" focused="false" long-clickable="false" password="false" scrollable="false" selected="false" bounds="[0,0][1080,2168]" displayed="true">\r\n <android.widget.FrameLayout index="0" packa...
[AndroidUiautomator2Driver@14c6 (8e2ccdec)] Replacing sessionId f69981e8-3b61-408c-9d25-d78e36926f4b with 8e2ccdec-ce90-44e0-a5bb-6e21bb9c17bb
[HTTP] <-- GET /wd/hub/session/8e2ccdec-ce90-44e0-a5bb-6e21bb9c17bb/source 200 669 ms - 42424
[HTTP]
[HTTP] --> GET /wd/hub/session/8e2ccdec-ce90-44e0-a5bb-6e21bb9c17bb/screenshot
[HTTP] {}
[AndroidUiautomator2Driver@14c6 (8e2ccdec)] Calling AppiumDriver.getScreenshot() with args: ["8e2ccdec-ce90-44e0-a5bb-6e21bb9c17bb"]
[AndroidUiautomator2Driver@14c6 (8e2ccdec)] Matched '/screenshot' to command name 'getScreenshot'
[AndroidUiautomator2Driver@14c6 (8e2ccdec)] Proxying [GET /screenshot] to [GET http://127.0.0.1:8200/session/f69981e8-3b61-408c-9d25-d78e36926f4b/screenshot] with no body
[AndroidUiautomator2Driver@14c6 (8e2ccdec)] Got response with status 200: {"sessionId":"f69981e8-3b61-408c-9d25-d78e36926f4b","value":"iVBORw0KGgoAAAANSUhEUgAABDgAAAlgCAYAAABtGofVAAAAAXNSR0IArs4c6QAAAARzQklUCAgICHwIZIgAACAASURBVHic7N15kNxnfe/792/tffZNM7I0WizJBgcnAeM4OSw2XJMDITipMtyEYJOqFJVAqJxUbsqBUNgVLsupWwlJHEgOdTF2bhKcQ2EluQQwuPC1ITG2CDgYe7RZI2lmpNm7p/fu33L/mNPtaWlWabYefV5VKs1Md/9+z8x09/yez/M838c4duxYiIiIiIiIiIhIEzO3ugEiIiIiIiIiIldLAYeIiIiIiIiIND0FHCIiIiIiIiLS9BRwiIiIiIiIiEjTU8AhIiIiIiIiIk1PAYeIiIiIiIiIND0FHCIiIiIiIiLS9BRwiIiIiIiIiEjTU8AhIiIiIiIiIk1PAYeIiIiIiIiIND0FHCIiIiIiIiLS9BRwiIiIiIiIiEjTU8AhIiIiIiIiIk1PAYeIiIiIiIiIND0FHCIiIiIiIiLS9BRwiIiIiIiIiEjTU8AhIiIiIiIiIk1PAYeIiIiIiIiIND0FHCIiIiIiIiLS9BRwiIiIiIiIiEjTU8AhIiIiIiIiIk1PAYeIiIiIiIiIND0FHCIiIiIiIiLS9BRwiIiIiIiIiEjTU8AhIiIiIiIiIk1PAYeIiIiIiIiIND0FHCIiIiIiIiLS9BRwiIiIiIiIiEjTU8AhIiIiIiIiIk1PAYeIiIiIiIiIND0FHCIiIiIiIiLS9BRwiIiIiIiIiEjTU8AhIiIiIiIiIk1PAYeIiIiIiIiIND0FHCIiIiIiIiLS9BRwiIiIiIiIiEjTU8AhIiIiIiIiIk1PAYeIiIiIiIiIND0FHCIiIiIiIiLS9BRwiIiIiIiIiEjTU8AhIiIiIiIiIk1PAYeIiIiIiIiIND0FHCIiIiIiIiLS9OytboDIYkzTJJlMEovFsG2bMAwp...
[AndroidUiautomator2Driver@14c6 (8e2ccdec)] Responding to client with driver.getScreenshot() result: "iVBORw0KGgoAAAANSUhEUgAABDgAAAlgCAYAAABtGofVAAAAAXNSR0IArs4c6QAAAARzQklUCAgICHwIZIgAACAASURBVHic7N15kNxnfe/792/tffZNM7I0WizJBgcnAeM4OSw2XJMDITipMtyEYJOqFJVAqJxUbsqBUNgVLsupWwlJHEgOdTF2bhKcQ2EluQQwuPC1ITG2CDgYe7RZI2lmpNm7p/fu33L/mNPtaWlWabYefV5VKs1Md/9+z8x09/yez/M838c4duxYiIiIiIiIiIhIEzO3ugEiIiIiIiIiIldLAYeIiIiIiIiIND0FHCIiIiIiIiLS9BRwiIiIiIiIiEjTU8AhIiIiIiIiIk1PAYeIiIiIiIiIND0FHCIiIiIiIiLS9BRwiIiIiIiIiEjTU8AhIiIiIiIiIk1PAYeIiIiIiIiIND0FHCIiIiIiIiLS9BRwiIiIiIiIiEjTU8AhIiIiIiIiIk1PAYeIiIiIiIiIND0FHCIiIiIiIiLS9BRwiIiIiIiIiEjTU8AhIiIiIiIiIk1PAYeIiIiIiIiIND0FHCIiIiIiIiLS9BRwiIiIiIiIiEjTU8AhIiIiIiIiIk1PAYeIiIiIiIiIND0FHCIiIiIiIiLS9BRwiIiIiIiIiEjTU8AhIiIiIiIiIk1PAYeIiIiIiIiIND0FHCIiIiIiIiLS9BRwiIiIiIiIiEjTU8AhIiIiIiIiIk1PAYeIiIiIiIiIND0FHCIiIiIiIiLS9BRwiIiIiIiIiEjTU8AhIiIiIiIiIk1PAYeIiIiIiIiIND0FHCIiIiIiIiLS9BRwiIiIiIiIiEjTU8AhIiIiIiIiIk1PAYeIiIiIiIiIND0FHCIiIiIiIiLS9BRwiIiIiIiIiEjTU8AhIiIiIiIiIk1PAYeIiIiIiIiIND0FHCIiIiIiIiLS9OytboDIYkzTJJlMEovFsG2bMAwpl8vk83lKpdJWN09ERERERES2GQUcsu309fXR29u75O2VSoXJyUlmZmYIgmAT...
[HTTP] <-- GET /wd/hub/session/8e2ccdec-ce90-44e0-a5bb-6e21bb9c17bb/screenshot 200 1314 ms - 2625208
[HTTP]
[HTTP] --> GET /wd/hub/session/8e2ccdec-ce90-44e0-a5bb-6e21bb9c17bb/screenshot
[HTTP] {}
[AndroidUiautomator2Driver@14c6 (8e2ccdec)] Calling AppiumDriver.getScreenshot() with args: ["8e2ccdec-ce90-44e0-a5bb-6e21bb9c17bb"]
[AndroidUiautomator2Driver@14c6 (8e2ccdec)] Matched '/screenshot' to command name 'getScreenshot'
[AndroidUiautomator2Driver@14c6 (8e2ccdec)] Proxying [GET /screenshot] to [GET http://127.0.0.1:8200/session/f69981e8-3b61-408c-9d25-d78e36926f4b/screenshot] with no body
[HTTP] --> GET /wd/hub/session/8e2ccdec-ce90-44e0-a5bb-6e21bb9c17bb/source
[HTTP] {}
[AndroidUiautomator2Driver@14c6 (8e2ccdec)] Driver proxy active, passing request on via HTTP proxy
[AndroidUiautomator2Driver@14c6 (8e2ccdec)] Got response with status 200: {"sessionId":"f69981e8-3b61-408c-9d25-d78e36926f4b","value":"iVBORw0KGgoAAAANSUhEUgAABDgAAAlgCAYAAABtGofVAAAAAXNSR0IArs4c6QAAAARzQklUCAgICHwIZIgAACAASURBVHic7N15kNxnfe/792/tffZNM7I0WizJBgcnAeM4OSw2XJMDITipMtyEYJOqFJVAqJxUbsqBUNgVLsupWwlJHEgOdTF2bhKcQ2EluQQwuPC1ITG2CDgYe7RZI2lmpNm7p/fu33L/mNPtaWlWabYefV5VKs1Md/9+z8x09/yez/M838c4duxYiIiIiIiIiIhIEzO3ugEiIiIiIiIiIldLAYeIiIiIiIiIND0FHCIiIiIiIiLS9BRwiIiIiIiIiEjTU8AhIiIiIiIiIk1PAYeIiIiIiIiIND0FHCIiIiIiIiLS9BRwiIiIiIiIiEjTU8AhIiIiIiIiIk1PAYeIiIiIiIiIND0FHCIiIiIiIiLS9BRwiIiIiIiIiEjTU8AhIiIiIiIiIk1PAYeIiIiIiIiIND0FHCIiIiIiIiLS9BRwiIiIiIiIiEjTU8AhIiIiIiIiIk1PAYeIiIiIiIiIND0FHCIiIiIiIiLS9BRwiIiIiIiIiEjTU8AhIiIiIiIiIk1PAYeIiIiIiIiIND0FHCIiIiIiIiLS9BRwiIiIiIiIiEjTU8AhIiIiIiIiIk1PAYeIiIiIiIiIND0FHCIiIiIiIiLS9BRwiIiIiIiIiEjTU8AhIiIiIiIiIk1PAYeIiIiIiIiIND0FHCIiIiIiIiLS9BRwiIiIiIiIiEjTU8AhIiIiIiIiIk1PAYeIiIiIiIiIND0FHCIiIiIiIiLS9BRwiIiIiIiIiEjTU8AhIiIiIiIiIk1PAYeIiIiIiIiIND0FHCIiIiIiIiLS9BRwiIiIiIiIiEjTU8AhIiIiIiIiIk1PAYeIiIiIiIiIND0FHCIiIiIiIiLS9OytboDIYkzTJJlMEovFsG2bMAwp...
[AndroidUiautomator2Driver@14c6 (8e2ccdec)] Matched '/wd/hub/session/8e2ccdec-ce90-44e0-a5bb-6e21bb9c17bb/source' to command name 'getPageSource'
[AndroidUiautomator2Driver@14c6 (8e2ccdec)] Proxying [GET /wd/hub/session/8e2ccdec-ce90-44e0-a5bb-6e21bb9c17bb/source] to [GET http://127.0.0.1:8200/session/f69981e8-3b61-408c-9d25-d78e36926f4b/source] with no body
[AndroidUiautomator2Driver@14c6 (8e2ccdec)] Responding to client with driver.getScreenshot() result: "iVBORw0KGgoAAAANSUhEUgAABDgAAAlgCAYAAABtGofVAAAAAXNSR0IArs4c6QAAAARzQklUCAgICHwIZIgAACAASURBVHic7N15kNxnfe/792/tffZNM7I0WizJBgcnAeM4OSw2XJMDITipMtyEYJOqFJVAqJxUbsqBUNgVLsupWwlJHEgOdTF2bhKcQ2EluQQwuPC1ITG2CDgYe7RZI2lmpNm7p/fu33L/mNPtaWlWabYefV5VKs1Md/9+z8x09/yez/M838c4duxYiIiIiIiIiIhIEzO3ugEiIiIiIiIiIldLAYeIiIiIiIiIND0FHCIiIiIiIiLS9BRwiIiIiIiIiEjTU8AhIiIiIiIiIk1PAYeIiIiIiIiIND0FHCIiIiIiIiLS9BRwiIiIiIiIiEjTU8AhIiIiIiIiIk1PAYeIiIiIiIiIND0FHCIiIiIiIiLS9BRwiIiIiIiIiEjTU8AhIiIiIiIiIk1PAYeIiIiIiIiIND0FHCIiIiIiIiLS9BRwiIiIiIiIiEjTU8AhIiIiIiIiIk1PAYeIiIiIiIiIND0FHCIiIiIiIiLS9BRwiIiIiIiIiEjTU8AhIiIiIiIiIk1PAYeIiIiIiIiIND0FHCIiIiIiIiLS9BRwiIiIiIiIiEjTU8AhIiIiIiIiIk1PAYeIiIiIiIiIND0FHCIiIiIiIiLS9BRwiIiIiIiIiEjTU8AhIiIiIiIiIk1PAYeIiIiIiIiIND0FHCIiIiIiIiLS9BRwiIiIiIiIiEjTU8AhIiIiIiIiIk1PAYeIiIiIiIiIND0FHCIiIiIiIiLS9BRwiIiIiIiIiEjTU8AhIiIiIiIiIk1PAYeIiIiIiIiIND0FHCIiIiIiIiLS9BRwiIiIiIiIiEjTU8AhIiIiIiIiIk1PAYeIiIiIiIiIND0FHCIiIiIiIiLS9OytboDIYkzTJJlMEovFsG2bMAwpl8vk83lKpdJWN09ERERERES2GQUcsu309fXR29u75O2VSoXJyUlmZmYIgmAT...
[HTTP] <-- GET /wd/hub/session/8e2ccdec-ce90-44e0-a5bb-6e21bb9c17bb/screenshot 200 1285 ms - 2187496
[HTTP]
[AndroidUiautomator2Driver@14c6 (8e2ccdec)] Got response with status 200: {"sessionId":"f69981e8-3b61-408c-9d25-d78e36926f4b","value":"\r\n<hierarchy index="0" class="hierarchy" rotation="0" width="1080" height="2168">\r\n <android.widget.FrameLayout index="0" package="com.google.android.youtube" class="android.widget.FrameLayout" text="" checkable="false" checked="false" clickable="false" enabled="true" focusable="false" focused="false" long-clickable="false" password="false" scrollable="false" selected="false" bounds="[0,0][1080,2168]" displayed="true">\r\n <android.widget.LinearLayout index="0" package="com.google.android.youtube" class="android.widget.LinearLayout" text="" checkable="false" checked="false" clickable="false" enabled="true" focusable="false" focused="false" long-clickable="false" password="false" scrollable="false" selected="false" bounds="[0,0][1080,2168]" displayed="true">\r\n <android.widget.FrameLayout index="0" packa...
[AndroidUiautomator2Driver@14c6 (8e2ccdec)] Replacing sessionId f69981e8-3b61-408c-9d25-d78e36926f4b with 8e2ccdec-ce90-44e0-a5bb-6e21bb9c17bb
[HTTP] <-- GET /wd/hub/session/8e2ccdec-ce90-44e0-a5bb-6e21bb9c17bb/source 200 1038 ms - 53472
[HTTP]
[HTTP] --> GET /wd/hub/session/8e2ccdec-ce90-44e0-a5bb-6e21bb9c17bb/screenshot
[HTTP] {}
[AndroidUiautomator2Driver@14c6 (8e2ccdec)] Calling AppiumDriver.getScreenshot() with args: ["8e2ccdec-ce90-44e0-a5bb-6e21bb9c17bb"]
[AndroidUiautomator2Driver@14c6 (8e2ccdec)] Matched '/screenshot' to command name 'getScreenshot'
[AndroidUiautomator2Driver@14c6 (8e2ccdec)] Proxying [GET /screenshot] to [GET http://127.0.0.1:8200/session/f69981e8-3b61-408c-9d25-d78e36926f4b/screenshot] with no body
[AndroidUiautomator2Driver@14c6 (8e2ccdec)] Got response with status 200: {"sessionId":"f69981e8-3b61-408c-9d25-d78e36926f4b","value":"iVBORw0KGgoAAAANSUhEUgAABDgAAAlgCAYAAABtGofVAAAAAXNSR0IArs4c6QAAAARzQklUCAgICHwIZIgAACAASURBVHic7N15kN1nfef79289e2/qTd2y1FpsyTYOTgLGcSZAbLgmA2FwpspwE4LNVE1RCYSamcpNOTgUdoXLMnUrw0wcmAx1MXLuJHiGwiK5BDC48LUhMbYIOBirtVktqVtS73367Oe33T96zqGP1KvU22l9XlUqdZ/l+T19+ujo93x+z/N9jKNHj0aIiIiIiIiIiDQxc7M7ICIiIiIiIiJyrRRwiIiIiIiIiEjTU8AhIiIiIiIiIk1PAYeIiIiIiIiIND0FHCIiIiIiIiLS9BRwiIiIiIiIiEjTU8AhIiIiIiIiIk1PAYeIiIiIiIiIND0FHCIiIiIiIiLS9BRwiIiIiIiIiEjTU8AhIiIiIiIiIk1PAYeIiIiIiIiIND0FHCIiIiIiIiLS9BRwiIiIiIiIiEjTU8AhIiIiIiIiIk1PAYeIiIiIiIiIND0FHCIiIiIiIiLS9BRwiIiIiIiIiEjTU8AhIiIiIiIiIk1PAYeIiIiIiIiIND0FHCIiIiIiIiLS9BRwiIiIiIiIiEjTU8AhIiIiIiIiIk1PAYeIiIiIiIiIND0FHCIiIiIiIiLS9BRwiIiIiIiIiEjTU8AhIiIiIiIiIk1PAYeIiIiIiIiIND0FHCIiIiIiIiLS9BRwiIiIiIiIiEjTU8AhIiIiIiIiIk1PAYeIiIiIiIiIND0FHCIiIiIiIiLS9BRwiIiIiIiIiEjTU8AhIiIiIiIiIk1PAYeIiIiIiIiIND0FHCIiIiIiIiLS9BRwiIiIiIiIiEjTU8AhIiIiIiIiIk1PAYeIiIiIiIiIND0FHCIiIiIiIiLS9BRwiIiIiIiIiEjTU8AhIiIiIiIiIk3P3uwOiCzENE3S6TSJRALbtomi...
[AndroidUiautomator2Driver@14c6 (8e2ccdec)] Responding to client with driver.getScreenshot() result: "iVBORw0KGgoAAAANSUhEUgAABDgAAAlgCAYAAABtGofVAAAAAXNSR0IArs4c6QAAAARzQklUCAgICHwIZIgAACAASURBVHic7N15kN1nfef79289e2/qTd2y1FpsyTYOTgLGcSZAbLgmA2FwpspwE4LNVE1RCYSamcpNOTgUdoXLMnUrw0wcmAx1MXLuJHiGwiK5BDC48LUhMbYIOBirtVktqVtS73367Oe33T96zqGP1KvU22l9XlUqdZ/l+T19+ujo93x+z/N9jKNHj0aIiIiIiIiIiDQxc7M7ICIiIiIiIiJyrRRwiIiIiIiIiEjTU8AhIiIiIiIiIk1PAYeIiIiIiIiIND0FHCIiIiIiIiLS9BRwiIiIiIiIiEjTU8AhIiIiIiIiIk1PAYeIiIiIiIiIND0FHCIiIiIiIiLS9BRwiIiIiIiIiEjTU8AhIiIiIiIiIk1PAYeIiIiIiIiIND0FHCIiIiIiIiLS9BRwiIiIiIiIiEjTU8AhIiIiIiIiIk1PAYeIiIiIiIiIND0FHCIiIiIiIiLS9BRwiIiIiIiIiEjTU8AhIiIiIiIiIk1PAYeIiIiIiIiIND0FHCIiIiIiIiLS9BRwiIiIiIiIiEjTU8AhIiIiIiIiIk1PAYeIiIiIiIiIND0FHCIiIiIiIiLS9BRwiIiIiIiIiEjTU8AhIiIiIiIiIk1PAYeIiIiIiIiIND0FHCIiIiIiIiLS9BRwiIiIiIiIiEjTU8AhIiIiIiIiIk1PAYeIiIiIiIiIND0FHCIiIiIiIiLS9BRwiIiIiIiIiEjTU8AhIiIiIiIiIk1PAYeIiIiIiIiIND0FHCIiIiIiIiLS9BRwiIiIiIiIiEjTU8AhIiIiIiIiIk1PAYeIiIiIiIiIND0FHCIiIiIiIiLS9BRwiIiIiIiIiEjTU8AhIiIiIiIiIk3P3uwOiCzENE3S6TSJRALbtomiiEqlQqFQoFwub3b3REREREREZItRwCFbTm9vLz09PYveX61WGR8fZ2pqijAM...
[HTTP] <-- GET /wd/hub/session/8e2ccdec-ce90-44e0-a5bb-6e21bb9c17bb/screenshot 200 1301 ms - 2124528
[HTTP]
[HTTP] --> GET /wd/hub/session/8e2ccdec-ce90-44e0-a5bb-6e21bb9c17bb/screenshot
[HTTP] {}
[AndroidUiautomator2Driver@14c6 (8e2ccdec)] Calling AppiumDriver.getScreenshot() with args: ["8e2ccdec-ce90-44e0-a5bb-6e21bb9c17bb"]
[AndroidUiautomator2Driver@14c6 (8e2ccdec)] Matched '/screenshot' to command name 'getScreenshot'
[AndroidUiautomator2Driver@14c6 (8e2ccdec)] Proxying [GET /screenshot] to [GET http://127.0.0.1:8200/session/f69981e8-3b61-408c-9d25-d78e36926f4b/screenshot] with no body
[HTTP] --> GET /wd/hub/session/8e2ccdec-ce90-44e0-a5bb-6e21bb9c17bb/source
[HTTP] {}
[AndroidUiautomator2Driver@14c6 (8e2ccdec)] Driver proxy active, passing request on via HTTP proxy
[AndroidUiautomator2Driver@14c6 (8e2ccdec)] Got response with status 200: {"sessionId":"f69981e8-3b61-408c-9d25-d78e36926f4b","value":"iVBORw0KGgoAAAANSUhEUgAABDgAAAlgCAYAAABtGofVAAAAAXNSR0IArs4c6QAAAARzQklUCAgICHwIZIgAACAASURBVHic7N17cGRXfS/679qv3v3ultRqjTSWNA/PjA0Gh4AZnMQG21yTYyB2UmU4CXjsVKUoHqFyUrkpx0BhV7gGTt1KSHAgOdTFHnNDcA6FJ3AI2OCyrw2JPR4CDvaM5uXRzOgxerX63fu97x86vVHP6DnqltSa76fKZUm9e+2llqa113ev9VviyJEjPoiIiIiIiIiI2pi00R0gIiIiIiIiIlorBhxERERERERE1PYYcBARERERERFR22PAQURERERERERtjwEHEREREREREbU9BhxERERERERE1PYYcBARERERERFR22PAQURERERERERtjwEHEREREREREbU9BhxERERERERE1PYYcBARERERERFR22PAQURERERERERtjwEHEREREREREbU9BhxERERERERE1PYYcBARERERERFR22PAQURERERERERtjwEHEREREREREbU9BhxERERERERE1PYYcBARERERERFR22PAQURERERERERtjwEHEREREREREbU9BhxERERERERE1PYYcBARERERERFR22PAQURERERERERtjwEHEREREREREbU9BhxERERERERE1PYYcBARERERERFR22PAQURERERERERtjwEHEREREREREbU9BhxERERERERE1PYYcBARERERERFR22PAQURERERERERtjwEHEREREREREbU9BhxERERERERE1PYYcBARERERERFR22PAQURERERERERtjwEHEREREREREbU9BhxERERERERE1PYYcBARERERERFR22PAQURERERERERtjwEHEREREREREbU9BhxERERERERE1PYYcBARERERERFR21M2ugNEC5EkCbFYDOFwGIqi...
[AndroidUiautomator2Driver@14c6 (8e2ccdec)] Matched '/wd/hub/session/8e2ccdec-ce90-44e0-a5bb-6e21bb9c17bb/source' to command name 'getPageSource'
[AndroidUiautomator2Driver@14c6 (8e2ccdec)] Proxying [GET /wd/hub/session/8e2ccdec-ce90-44e0-a5bb-6e21bb9c17bb/source] to [GET http://127.0.0.1:8200/session/f69981e8-3b61-408c-9d25-d78e36926f4b/source] with no body
[AndroidUiautomator2Driver@14c6 (8e2ccdec)] Responding to client with driver.getScreenshot() result: "iVBORw0KGgoAAAANSUhEUgAABDgAAAlgCAYAAABtGofVAAAAAXNSR0IArs4c6QAAAARzQklUCAgICHwIZIgAACAASURBVHic7N17cGRXfS/679qv3v3ultRqjTSWNA/PjA0Gh4AZnMQG21yTYyB2UmU4CXjsVKUoHqFyUrkpx0BhV7gGTt1KSHAgOdTFHnNDcA6FJ3AI2OCyrw2JPR4CDvaM5uXRzOgxerX63fu97x86vVHP6DnqltSa76fKZUm9e+2llqa113ev9VviyJEjPoiIiIiIiIiI2pi00R0gIiIiIiIiIlorBhxERERERERE1PYYcBARERERERFR22PAQURERERERERtjwEHEREREREREbU9BhxERERERERE1PYYcBARERERERFR22PAQURERERERERtjwEHEREREREREbU9BhxERERERERE1PYYcBARERERERFR22PAQURERERERERtjwEHEREREREREbU9BhxERERERERE1PYYcBARERERERFR22PAQURERERERERtjwEHEREREREREbU9BhxERERERERE1PYYcBARERERERFR22PAQURERERERERtjwEHEREREREREbU9BhxERERERERE1PYYcBARERERERFR22PAQURERERERERtjwEHEREREREREbU9BhxERERERERE1PYYcBARERERERFR22PAQURERERERERtjwEHEREREREREbU9BhxERERERERE1PYYcBARERERERFR22PAQURERERERERtjwEHEREREREREbU9BhxERERERERE1PYYcBARERERERFR22PAQURERERERERtjwEHEREREREREbU9BhxERERERERE1PYYcBARERERERFR22PAQURERERERERtjwEHEREREREREbU9BhxERERERERE1PYYcBARERERERFR21M2ugNEC5EkCbFYDOFwGIqiwPd9mKaJSqUCwzA2untERERERES0yTDgoE2np6cH2Wx20ccty8LU1BRyuRw8...
[HTTP] <-- GET /wd/hub/session/8e2ccdec-ce90-44e0-a5bb-6e21bb9c17bb/screenshot 200 1234 ms - 2137460
[HTTP]
[AndroidUiautomator2Driver@14c6 (8e2ccdec)] Got response with status 200: {"sessionId":"f69981e8-3b61-408c-9d25-d78e36926f4b","value":"\r\n<hierarchy index="0" class="hierarchy" rotation="0" width="1080" height="2168">\r\n <android.widget.FrameLayout index="0" package="com.google.android.youtube" class="android.widget.FrameLayout" text="" checkable="false" checked="false" clickable="false" enabled="true" focusable="false" focused="false" long-clickable="false" password="false" scrollable="false" selected="false" bounds="[0,0][1080,2168]" displayed="true">\r\n <android.widget.LinearLayout index="0" package="com.google.android.youtube" class="android.widget.LinearLayout" text="" checkable="false" checked="false" clickable="false" enabled="true" focusable="false" focused="false" long-clickable="false" password="false" scrollable="false" selected="false" bounds="[0,0][1080,2168]" displayed="true">\r\n <android.widget.FrameLayout index="0" packa...
[AndroidUiautomator2Driver@14c6 (8e2ccdec)] Replacing sessionId f69981e8-3b61-408c-9d25-d78e36926f4b with 8e2ccdec-ce90-44e0-a5bb-6e21bb9c17bb
[HTTP] <-- GET /wd/hub/session/8e2ccdec-ce90-44e0-a5bb-6e21bb9c17bb/source 200 340 ms - 53472
[HTTP]
[HTTP] --> GET /wd/hub/session/8e2ccdec-ce90-44e0-a5bb-6e21bb9c17bb/screenshot
[HTTP] {}
[AndroidUiautomator2Driver@14c6 (8e2ccdec)] Calling AppiumDriver.getScreenshot() with args: ["8e2ccdec-ce90-44e0-a5bb-6e21bb9c17bb"]
[AndroidUiautomator2Driver@14c6 (8e2ccdec)] Matched '/screenshot' to command name 'getScreenshot'
[AndroidUiautomator2Driver@14c6 (8e2ccdec)] Proxying [GET /screenshot] to [GET http://127.0.0.1:8200/session/f69981e8-3b61-408c-9d25-d78e36926f4b/screenshot] with no body
[AndroidUiautomator2Driver@14c6 (8e2ccdec)] Got response with status 200: {"sessionId":"f69981e8-3b61-408c-9d25-d78e36926f4b","value":"iVBORw0KGgoAAAANSUhEUgAABDgAAAlgCAYAAABtGofVAAAAAXNSR0IArs4c6QAAAARzQklUCAgICHwIZIgAACAASURBVHic7N17cGRXfS/679qv3v3ultRqjTSWNA/PjA0Gh4AZnMQG21yTYyB2UmU4CXjsVKUoHqFyUrkpx0BhV7gGTt1KSHAgOdTFHnNDcA6FJ3AI2OCyrw2JPR4CDvaM5uXRzOgxerX63fu97x86vVHP6DnqltSa76fKZUm9e+2llqa113ev9VviyJEjPoiIiIiIiIiI2pi00R0gIiIiIiIiIlorBhxERERERERE1PYYcBARERERERFR22PAQURERERERERtjwEHEREREREREbU9BhxERERERERE1PYYcBARERERERFR22PAQURERERERERtjwEHEREREREREbU9BhxERERERERE1PYYcBARERERERFR22PAQURERERERERtjwEHEREREREREbU9BhxERERERERE1PYYcBARERERERFR22PAQURERERERERtjwEHEREREREREbU9BhxERERERERE1PYYcBARERERERFR22PAQURERERERERtjwEHEREREREREbU9BhxERERERERE1PYYcBARERERERFR22PAQURERERERERtjwEHEREREREREbU9BhxERERERERE1PYYcBARERERERFR22PAQURERERERERtjwEHEREREREREbU9BhxERERERERE1PYYcBARERERERFR22PAQURERERERERtjwEHEREREREREbU9BhxERERERERE1PYYcBARERERERFR22PAQURERERERERtjwEHEREREREREbU9BhxERERERERE1PYYcBARERERERFR22PAQURERERERERtjwEHEREREREREbU9BhxERERERERE1PYYcBARERERERFR21M2ugNEC5EkCbFYDOFwGIqi...
[AndroidUiautomator2Driver@14c6 (8e2ccdec)] Responding to client with driver.getScreenshot() result: "iVBORw0KGgoAAAANSUhEUgAABDgAAAlgCAYAAABtGofVAAAAAXNSR0IArs4c6QAAAARzQklUCAgICHwIZIgAACAASURBVHic7N17cGRXfS/679qv3v3ultRqjTSWNA/PjA0Gh4AZnMQG21yTYyB2UmU4CXjsVKUoHqFyUrkpx0BhV7gGTt1KSHAgOdTFHnNDcA6FJ3AI2OCyrw2JPR4CDvaM5uXRzOgxerX63fu97x86vVHP6DnqltSa76fKZUm9e+2llqa113ev9VviyJEjPoiIiIiIiIiI2pi00R0gIiIiIiIiIlorBhxERERERERE1PYYcBARERERERFR22PAQURERERERERtjwEHEREREREREbU9BhxERERERERE1PYYcBARERERERFR22PAQURERERERERtjwEHEREREREREbU9BhxERERERERE1PYYcBARERERERFR22PAQURERERERERtjwEHEREREREREbU9BhxERERERERE1PYYcBARERERERFR22PAQURERERERERtjwEHEREREREREbU9BhxERERERERE1PYYcBARERERERFR22PAQURERERERERtjwEHEREREREREbU9BhxERERERERE1PYYcBARERERERFR22PAQURERERERERtjwEHEREREREREbU9BhxERERERERE1PYYcBARERERERFR22PAQURERERERERtjwEHEREREREREbU9BhxERERERERE1PYYcBARERERERFR22PAQURERERERERtjwEHEREREREREbU9BhxERERERERE1PYYcBARERERERFR22PAQURERERERERtjwEHEREREREREbU9BhxERERERERE1PYYcBARERERERFR22PAQURERERERERtjwEHEREREREREbU9BhxERERERERE1PYYcBARERERERFR21M2ugNEC5EkCbFYDOFwGIqiwPd9mKaJSqUCwzA2untERERERES0yTDgoE2np6cH2Wx20ccty8LU1BRyuRw8...
[HTTP] <-- GET /wd/hub/session/8e2ccdec-ce90-44e0-a5bb-6e21bb9c17bb/screenshot 200 1372 ms - 2400400
[HTTP]
[HTTP] --> GET /wd/hub/session/8e2ccdec-ce90-44e0-a5bb-6e21bb9c17bb/screenshot
[HTTP] {}
[AndroidUiautomator2Driver@14c6 (8e2ccdec)] Calling AppiumDriver.getScreenshot() with args: ["8e2ccdec-ce90-44e0-a5bb-6e21bb9c17bb"]
[AndroidUiautomator2Driver@14c6 (8e2ccdec)] Matched '/screenshot' to command name 'getScreenshot'
[AndroidUiautomator2Driver@14c6 (8e2ccdec)] Proxying [GET /screenshot] to [GET http://127.0.0.1:8200/session/f69981e8-3b61-408c-9d25-d78e36926f4b/screenshot] with no body
[HTTP] --> GET /wd/hub/session/8e2ccdec-ce90-44e0-a5bb-6e21bb9c17bb/source
[HTTP] {}
[AndroidUiautomator2Driver@14c6 (8e2ccdec)] Driver proxy active, passing request on via HTTP proxy
[AndroidUiautomator2Driver@14c6 (8e2ccdec)] Got response with status 200: {"sessionId":"f69981e8-3b61-408c-9d25-d78e36926f4b","value":"iVBORw0KGgoAAAANSUhEUgAABDgAAAlgCAYAAABtGofVAAAAAXNSR0IArs4c6QAAAARzQklUCAgICHwIZIgAACAASURBVHic7N15kN1nfef79289e2/qTd2y1FpsyTYOTgLGcSZAbLgmA2FwpspwE4LNVE1RCYSamcpNOTgUdoXLMnUrw0wcmAx1MXLuJHiGwiK5BDC48LUhMbYIOBirtVktqVtS73367Oe33T96zqGP1KvU22l9XlUqdZ/l+T19+ujo93x+z/N9jKNHj0aIiIiIiIiIiDQxc7M7ICIiIiIiIiJyrRRwiIiIiIiIiEjTU8AhIiIiIiIiIk1PAYeIiIiIiIiIND0FHCIiIiIiIiLS9BRwiIiIiIiIiEjTU8AhIiIiIiIiIk1PAYeIiIiIiIiIND0FHCIiIiIiIiLS9BRwiIiIiIiIiEjTU8AhIiIiIiIiIk1PAYeIiIiIiIiIND0FHCIiIiIiIiLS9BRwiIiIiIiIiEjTU8AhIiIiIiIiIk1PAYeIiIiIiIiIND0FHCIiIiIiIiLS9BRwiIiIiIiIiEjTU8AhIiIiIiIiIk1PAYeIiIiIiIiIND0FHCIiIiIiIiLS9BRwiIiIiIiIiEjTU8AhIiIiIiIiIk1PAYeIiIiIiIiIND0FHCIiIiIiIiLS9BRwiIiIiIiIiEjTU8AhIiIiIiIiIk1PAYeIiIiIiIiIND0FHCIiIiIiIiLS9BRwiIiIiIiIiEjTU8AhIiIiIiIiIk1PAYeIiIiIiIiIND0FHCIiIiIiIiLS9BRwiIiIiIiIiEjTU8AhIiIiIiIiIk1PAYeIiIiIiIiIND0FHCIiIiIiIiLS9BRwiIiIiIiIiEjTU8AhIiIiIiIiIk1PAYeIiIiIiIiIND0FHCIiIiIiIiLS9BRwiIiIiIiIiEjTU8AhIiIiIiIiIk3P3uwOiCzENE3S6TSJRALbtomi...
[AndroidUiautomator2Driver@14c6 (8e2ccdec)] Matched '/wd/hub/session/8e2ccdec-ce90-44e0-a5bb-6e21bb9c17bb/source' to command name 'getPageSource'
[AndroidUiautomator2Driver@14c6 (8e2ccdec)] Proxying [GET /wd/hub/session/8e2ccdec-ce90-44e0-a5bb-6e21bb9c17bb/source] to [GET http://127.0.0.1:8200/session/f69981e8-3b61-408c-9d25-d78e36926f4b/source] with no body
[AndroidUiautomator2Driver@14c6 (8e2ccdec)] Responding to client with driver.getScreenshot() result: "iVBORw0KGgoAAAANSUhEUgAABDgAAAlgCAYAAABtGofVAAAAAXNSR0IArs4c6QAAAARzQklUCAgICHwIZIgAACAASURBVHic7N15kN1nfef79289e2/qTd2y1FpsyTYOTgLGcSZAbLgmA2FwpspwE4LNVE1RCYSamcpNOTgUdoXLMnUrw0wcmAx1MXLuJHiGwiK5BDC48LUhMbYIOBirtVktqVtS73367Oe33T96zqGP1KvU22l9XlUqdZ/l+T19+ujo93x+z/N9jKNHj0aIiIiIiIiIiDQxc7M7ICIiIiIiIiJyrRRwiIiIiIiIiEjTU8AhIiIiIiIiIk1PAYeIiIiIiIiIND0FHCIiIiIiIiLS9BRwiIiIiIiIiEjTU8AhIiIiIiIiIk1PAYeIiIiIiIiIND0FHCIiIiIiIiLS9BRwiIiIiIiIiEjTU8AhIiIiIiIiIk1PAYeIiIiIiIiIND0FHCIiIiIiIiLS9BRwiIiIiIiIiEjTU8AhIiIiIiIiIk1PAYeIiIiIiIiIND0FHCIiIiIiIiLS9BRwiIiIiIiIiEjTU8AhIiIiIiIiIk1PAYeIiIiIiIiIND0FHCIiIiIiIiLS9BRwiIiIiIiIiEjTU8AhIiIiIiIiIk1PAYeIiIiIiIiIND0FHCIiIiIiIiLS9BRwiIiIiIiIiEjTU8AhIiIiIiIiIk1PAYeIiIiIiIiIND0FHCIiIiIiIiLS9BRwiIiIiIiIiEjTU8AhIiIiIiIiIk1PAYeIiIiIiIiIND0FHCIiIiIiIiLS9BRwiIiIiIiIiEjTU8AhIiIiIiIiIk1PAYeIiIiIiIiIND0FHCIiIiIiIiLS9BRwiIiIiIiIiEjTU8AhIiIiIiIiIk1PAYeIiIiIiIiIND0FHCIiIiIiIiLS9BRwiIiIiIiIiEjTU8AhIiIiIiIiIk3P3uwOiCzENE3S6TSJRALbtomiiEqlQqFQoFwub3b3REREREREZItRwCFbTm9vLz09PYveX61WGR8fZ2pqijAM...
[HTTP] <-- GET /wd/hub/session/8e2ccdec-ce90-44e0-a5bb-6e21bb9c17bb/screenshot 200 1307 ms - 2259600
[HTTP]
[AndroidUiautomator2Driver@14c6 (8e2ccdec)] Got response with status 200: {"sessionId":"f69981e8-3b61-408c-9d25-d78e36926f4b","value":"\r\n<hierarchy index="0" class="hierarchy" rotation="0" width="1080" height="2168">\r\n <android.widget.FrameLayout index="0" package="com.google.android.youtube" class="android.widget.FrameLayout" text="" checkable="false" checked="false" clickable="false" enabled="true" focusable="false" focused="false" long-clickable="false" password="false" scrollable="false" selected="false" bounds="[0,0][1080,2168]" displayed="true">\r\n <android.widget.LinearLayout index="0" package="com.google.android.youtube" class="android.widget.LinearLayout" text="" checkable="false" checked="false" clickable="false" enabled="true" focusable="false" focused="false" long-clickable="false" password="false" scrollable="false" selected="false" bounds="[0,0][1080,2168]" displayed="true">\r\n <android.widget.FrameLayout index="0" packa...
[AndroidUiautomator2Driver@14c6 (8e2ccdec)] Replacing sessionId f69981e8-3b61-408c-9d25-d78e36926f4b with 8e2ccdec-ce90-44e0-a5bb-6e21bb9c17bb
[HTTP] <-- GET /wd/hub/session/8e2ccdec-ce90-44e0-a5bb-6e21bb9c17bb/source 200 863 ms - 53486
[HTTP]
[HTTP] --> DELETE /wd/hub/session/8e2ccdec-ce90-44e0-a5bb-6e21bb9c17bb
[HTTP] {}
[AndroidUiautomator2Driver@14c6 (8e2ccdec)] Calling AppiumDriver.deleteSession() with args: ["8e2ccdec-ce90-44e0-a5bb-6e21bb9c17bb"]
[AppiumDriver@7666] Event 'quitSessionRequested' logged at 1715158628575 (14:27:08 GMT+0530 (India Standard Time))
[AppiumDriver@7666] Removing session 8e2ccdec-ce90-44e0-a5bb-6e21bb9c17bb from our master session list
[AndroidUiautomator2Driver@14c6 (8e2ccdec)] Deleting UiAutomator2 session
[AndroidUiautomator2Driver@14c6 (8e2ccdec)] Deleting UiAutomator2 server session
[AndroidUiautomator2Driver@14c6 (8e2ccdec)] Matched '/' to command name 'deleteSession'
[AndroidUiautomator2Driver@14c6 (8e2ccdec)] Proxying [DELETE /] to [DELETE http://127.0.0.1:8200/session/f69981e8-3b61-408c-9d25-d78e36926f4b] with no body
[AndroidUiautomator2Driver@14c6 (8e2ccdec)] Got response with status 200: {"sessionId":"f69981e8-3b61-408c-9d25-d78e36926f4b","value":null}
[ADB] Running 'C:\Users\MunishKumar\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s RZCTA0S8CWD shell dumpsys activity services io.appium.settings/.recorder.RecorderService'
[ADB] Running 'C:\Users\MunishKumar\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s RZCTA0S8CWD shell am force-stop com.google.android.youtube'
[Logcat] Stopping logcat capture
[ADB] Removing forwarded port socket connection: 8200
[ADB] Running 'C:\Users\MunishKumar\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s RZCTA0S8CWD forward --remove tcp:8200'
[AndroidUiautomator2Driver@14c6 (8e2ccdec)] Restoring hidden api policy to the device default configuration
[ADB] Running 'C:\Users\MunishKumar\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s RZCTA0S8CWD shell 'settings delete global hidden_api_policy_pre_p_apps;settings delete global hidden_api_policy_p_apps;settings delete global hidden_api_policy''
[AppiumDriver@7666] Event 'quitSessionFinished' logged at 1715158628984 (14:27:08 GMT+0530 (India Standard Time))
[AppiumDriver@7666] Received response: null
[AppiumDriver@7666] But deleting session, so not returning
[AppiumDriver@7666] Responding to client with driver.deleteSession() result: null
[HTTP] <-- DELETE /wd/hub/session/8e2ccdec-ce90-44e0-a5bb-6e21bb9c17bb 200 419 ms - 14
[HTTP]
[HTTP] --> DELETE /wd/hub/session/
[HTTP] {}
[HTTP] No route found for /wd/hub/session/
[HTTP] <-- DELETE /wd/hub/session/ 404 2 ms - 211
[HTTP]
[HTTP] --> DELETE /wd/hub/session/
[HTTP] {}
[HTTP] No route found for /wd/hub/session/
[HTTP] <-- DELETE /wd/hub/session/ 404 3 ms - 211
[HTTP]
[HTTP] --> DELETE /wd/hub/session/
[HTTP] {}
[HTTP] No route found for /wd/hub/session/
[HTTP] <-- DELETE /wd/hub/session/ 404 7 ms - 211
[HTTP]
[Instrumentation] .
[Instrumentation] Time: 35.027
[Instrumentation]
[Instrumentation] OK (1 test)
[Instrumentation] The process has exited with code 0
[HTTP] Request idempotency key: 6f1c9b8f-2e03-4817-9a46-9fe3f2effcf9
[HTTP] --> POST /wd/hub/session
[HTTP] {"capabilities":{"firstMatch":[{"platformName":"Android","appium:automationName":"UiAutomator2","appium:deviceName":"Galaxy S20 FE 5G","appium:udid":"RZCTA0S8CWD","appium:autoAcceptAlerts":"true","appium:newCommandTimeout":3000,"appium:adbExecTimeout":80000,"appium:trackScrollEvents":false,"appium:appPackage":"com.google.android.youtube","appium:appActivity":"com.google.android.apps.youtube.app.watchwhile.WatchWhileActivity"}]}}
[AppiumDriver@7666] Calling AppiumDriver.createSession() with args: [null,null,{"firstMatch":[{"platformName":"Android","appium:automationName":"UiAutomator2","appium:deviceName":"Galaxy S20 FE 5G","appium:udid":"RZCTA0S8CWD","appium:autoAcceptAlerts":"true","appium:newCommandTimeout":3000,"appium:adbExecTimeout":80000,"appium:trackScrollEvents":false,"appium:appPackage":"com.google.android.youtube","appium:appActivity":"com.google.android.apps.youtube.app.watchwhile.WatchWhileActivity"}]}]
[AppiumDriver@7666] Event 'newSessionRequested' logged at 1715158651871 (14:27:31 GMT+0530 (India Standard Time))
[Appium] Attempting to find matching driver for automationName 'UiAutomator2' and platformName 'Android'
[Appium] The 'uiautomator2' driver was installed and matched caps.
[Appium] Will require it at C:\Users\MunishKumar.appium\node_modules\appium-uiautomator2-driver
[Appium] Requiring driver at C:\Users\MunishKumar.appium\node_modules\appium-uiautomator2-driver\build\index.js
[AppiumDriver@7666] Appium v2.5.1 creating new AndroidUiautomator2Driver (v2.12.6) session
[AppiumDriver@7666] Checking BaseDriver versions for Appium and AndroidUiautomator2Driver
[AppiumDriver@7666] Appium's BaseDriver version is 9.5.2
[AppiumDriver@7666] AndroidUiautomator2Driver's BaseDriver version is 9.5.2
[AndroidUiautomator2Driver@77b1] Creating session with W3C capabilities: {
[AndroidUiautomator2Driver@77b1] "alwaysMatch": {
[AndroidUiautomator2Driver@77b1] "platformName": "Android",
[AndroidUiautomator2Driver@77b1] "appium:automationName": "UiAutomator2",
[AndroidUiautomator2Driver@77b1] "appium:deviceName": "Galaxy S20 FE 5G",
[AndroidUiautomator2Driver@77b1] "appium:udid": "RZCTA0S8CWD",
[AndroidUiautomator2Driver@77b1] "appium:autoAcceptAlerts": "true",
[AndroidUiautomator2Driver@77b1] "appium:newCommandTimeout": 3000,
[AndroidUiautomator2Driver@77b1] "appium:adbExecTimeout": 80000,
[AndroidUiautomator2Driver@77b1] "appium:trackScrollEvents": false,
[AndroidUiautomator2Driver@77b1] "appium:appPackage": "com.google.android.youtube",
[AndroidUiautomator2Driver@77b1] "appium:appActivity": "com.google.android.apps.youtube.app.watchwhile.WatchWhileActivity"
[AndroidUiautomator2Driver@77b1] },
[AndroidUiautomator2Driver@77b1] "firstMatch": [
[AndroidUiautomator2Driver@77b1] {}
[AndroidUiautomator2Driver@77b1] ]
[AndroidUiautomator2Driver@77b1] }
[AndroidUiautomator2Driver@77b1] The following provided capabilities were not recognized by this driver:
[AndroidUiautomator2Driver@77b1] deviceName
[AndroidUiautomator2Driver@77b1] autoAcceptAlerts
[AndroidUiautomator2Driver@77b1] trackScrollEvents
[AndroidUiautomator2Driver@77b1 (14a86e85)] Session created with session id: 14a86e85-0650-4b6d-aa54-47ca39b1c58b
[AndroidUiautomator2Driver@77b1 (14a86e85)] Starting 'com.google.android.youtube' directly on the device
[ADB] Using 'adb.exe' from 'C:\Users\MunishKumar\AppData\Local\Android\Sdk\platform-tools\adb.exe'
[ADB] Running 'C:\Users\MunishKumar\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 start-server'
[AndroidDriver] Retrieving device list
[ADB] Trying to find a connected android device
[ADB] Getting connected devices
[ADB] Connected devices: [{"udid":"RZCTA0S8CWD","state":"device"}]
[AndroidDriver] Using device: RZCTA0S8CWD
[ADB] Using 'adb.exe' from 'C:\Users\MunishKumar\AppData\Local\Android\Sdk\platform-tools\adb.exe'
[ADB] Running 'C:\Users\MunishKumar\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 start-server'
[ADB] Setting device id to RZCTA0S8CWD
[ADB] Running 'C:\Users\MunishKumar\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s RZCTA0S8CWD shell getprop ro.build.version.sdk'
[ADB] Current device property 'ro.build.version.sdk': 33
[ADB] Getting device platform version
[ADB] Running 'C:\Users\MunishKumar\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s RZCTA0S8CWD shell getprop ro.build.version.release'
[ADB] Current device property 'ro.build.version.release': 13
[ADB] Device API level: 33
[AndroidUiautomator2Driver@77b1 (14a86e85)] Relaxing hidden api policy
[ADB] Running 'C:\Users\MunishKumar\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s RZCTA0S8CWD shell 'settings put global hidden_api_policy_pre_p_apps 1;settings put global hidden_api_policy_p_apps 1;settings put global hidden_api_policy 1''
[AndroidDriver] No app sent in, not parsing package/activity
[ADB] Running 'C:\Users\MunishKumar\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s RZCTA0S8CWD wait-for-device'
[ADB] Running 'C:\Users\MunishKumar\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s RZCTA0S8CWD shell echo ping'
[AndroidDriver] Pushing settings apk to device...
[ADB] Getting install status for io.appium.settings
[ADB] Running 'C:\Users\MunishKumar\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s RZCTA0S8CWD shell dumpsys package io.appium.settings'
[ADB] 'io.appium.settings' is installed
[ADB] Getting package info for 'io.appium.settings'
[ADB] Running 'C:\Users\MunishKumar\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s RZCTA0S8CWD shell dumpsys package io.appium.settings'
[ADB] The version code of the installed 'io.appium.settings' is greater than the application version code (79 > 55)
[ADB] There is no need to downgrade 'io.appium.settings'
[ADB] Getting IDs of all 'io.appium.settings' processes
[ADB] Running 'C:\Users\MunishKumar\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s RZCTA0S8CWD shell 'pgrep --help; echo $?''
[ADB] Running 'C:\Users\MunishKumar\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s RZCTA0S8CWD 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 'C:\Users\MunishKumar\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s RZCTA0S8CWD shell appops set io.appium.settings android:mock_location allow'
[ADB] Running 'C:\Users\MunishKumar\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s RZCTA0S8CWD shell "[ -e '/data/local/tmp/mock_apps.json' ] && echo PASS"'
[ADB] Running 'C:\Users\MunishKumar\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s RZCTA0S8CWD shell cat /data/local/tmp/mock_apps.json'
[Logcat] Starting logs capture with command: C:\Users\MunishKumar\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s RZCTA0S8CWD logcat -v threadtime
[AndroidUiautomator2Driver@77b1 (14a86e85)] Forwarding UiAutomator2 Server port 6790 to local port 8200
[ADB] Forwarding system: 8200 to device: 6790
[ADB] Running 'C:\Users\MunishKumar\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s RZCTA0S8CWD forward tcp:8200 tcp:6790'
[ADB] Getting install status for io.appium.uiautomator2.server
[ADB] Running 'C:\Users\MunishKumar\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s RZCTA0S8CWD 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 'C:\Users\MunishKumar\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s RZCTA0S8CWD 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 ('5.7.8' >= '5.7.8')
[AndroidUiautomator2Driver@77b1 (14a86e85)] io.appium.uiautomator2.server installation state: sameVersionInstalled
[ADB] Checking app cert for C:\Users\MunishKumar.appium\node_modules\appium-uiautomator2-driver\node_modules\appium-uiautomator2-server\apks\appium-uiautomator2-server-v5.7.8.apk
[ADB] Using the previously cached signature entry for 'appium-uiautomator2-server-v5.7.8.apk'
[ADB] sha256 hash did match for 'appium-uiautomator2-server-v5.7.8.apk'
[ADB] Getting install status for io.appium.uiautomator2.server.test
[ADB] Running 'C:\Users\MunishKumar\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s RZCTA0S8CWD shell dumpsys package io.appium.uiautomator2.server.test'
[ADB] 'io.appium.uiautomator2.server.test' is installed
[ADB] Checking app cert for C:\Users\MunishKumar.appium\node_modules\appium-uiautomator2-driver\node_modules\appium-uiautomator2-server\apks\appium-uiautomator2-server-debug-androidTest.apk
[ADB] Using the previously cached signature entry for 'appium-uiautomator2-server-debug-androidTest.apk'
[ADB] sha256 hash did match for 'appium-uiautomator2-server-debug-androidTest.apk'
[AndroidUiautomator2Driver@77b1 (14a86e85)] Server packages are not going to be (re)installed
[AndroidUiautomator2Driver@77b1 (14a86e85)] Waiting up to 30000ms for services to be available
[ADB] Running 'C:\Users\MunishKumar\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s RZCTA0S8CWD shell pm list instrumentation'
[AndroidUiautomator2Driver@77b1 (14a86e85)] Instrumentation target 'io.appium.uiautomator2.server.test/androidx.test.runner.AndroidJUnitRunner' is available
[ADB] Adding packages ["io.appium.settings","io.appium.uiautomator2.server","io.appium.uiautomator2.server.test"] to Doze whitelist
[ADB] Got the following command chunks to execute: [["dumpsys","deviceidle","whitelist","+io.appium.settings",";","dumpsys","deviceidle","whitelist","+io.appium.uiautomator2.server",";","dumpsys","deviceidle","whitelist","+io.appium.uiautomator2.server.test",";"]]
[ADB] Running 'C:\Users\MunishKumar\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s RZCTA0S8CWD shell dumpsys deviceidle whitelist +io.appium.settings ; dumpsys deviceidle whitelist +io.appium.uiautomator2.server ; dumpsys deviceidle whitelist +io.appium.uiautomator2.server.test ;'
[AndroidUiautomator2Driver@77b1 (14a86e85)] No app capability. Assuming it is already on the device
[ADB] Getting install status for com.google.android.youtube
[ADB] Running 'C:\Users\MunishKumar\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s RZCTA0S8CWD shell dumpsys package com.google.android.youtube'
[ADB] 'com.google.android.youtube' is installed
[ADB] Running 'C:\Users\MunishKumar\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s RZCTA0S8CWD shell am force-stop com.google.android.youtube'
[ADB] Running 'C:\Users\MunishKumar\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s RZCTA0S8CWD shell pm clear com.google.android.youtube'
[AndroidDriver] Performed fast reset on the installed 'com.google.android.youtube' application (stop and clear)
[AndroidUiautomator2Driver@77b1 (14a86e85)] Performing shallow cleanup of automation leftovers
[AndroidUiautomator2Driver@77b1 (14a86e85)] No obsolete sessions have been detected (socket hang up)
[ADB] Running 'C:\Users\MunishKumar\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s RZCTA0S8CWD shell am force-stop io.appium.uiautomator2.server.test'
[AndroidUiautomator2Driver@77b1 (14a86e85)] Starting UIAutomator2 server 5.7.8
[AndroidUiautomator2Driver@77b1 (14a86e85)] Using UIAutomator2 server from 'C:\Users\MunishKumar.appium\node_modules\appium-uiautomator2-driver\node_modules\appium-uiautomator2-server\apks\appium-uiautomator2-server-v5.7.8.apk' and test from 'C:\Users\MunishKumar.appium\node_modules\appium-uiautomator2-driver\node_modules\appium-uiautomator2-server\apks\appium-uiautomator2-server-debug-androidTest.apk'
[AndroidUiautomator2Driver@77b1 (14a86e85)] Waiting up to 30000ms for UiAutomator2 to be online...
[ADB] Creating ADB subprocess with args: ["-P",5037,"-s","RZCTA0S8CWD","shell","am","instrument","-w","-e","disableAnalytics",true,"io.appium.uiautomator2.server.test/androidx.test.runner.AndroidJUnitRunner"]
[AndroidUiautomator2Driver@77b1 (14a86e85)] Matched '/status' to command name 'getStatus'
[AndroidUiautomator2Driver@77b1 (14a86e85)] Proxying [GET /status] to [GET http://127.0.0.1:8200/status] with no body
[AndroidUiautomator2Driver@77b1 (14a86e85)] socket hang up
[Instrumentation] io.appium.uiautomator2.server.test.AppiumUiAutomator2Server:
[AndroidUiautomator2Driver@77b1 (14a86e85)] Matched '/status' to command name 'getStatus'
[AndroidUiautomator2Driver@77b1 (14a86e85)] Proxying [GET /status] to [GET http://127.0.0.1:8200/status] with no body
[AndroidUiautomator2Driver@77b1 (14a86e85)] socket hang up
[AndroidUiautomator2Driver@77b1 (14a86e85)] Matched '/status' to command name 'getStatus'
[AndroidUiautomator2Driver@77b1 (14a86e85)] Proxying [GET /status] to [GET http://127.0.0.1:8200/status] with no body
[AndroidUiautomator2Driver@77b1 (14a86e85)] Got response with status 200: {"sessionId":"None","value":{"message":"UiAutomator2 Server is ready to accept commands","ready":true}}
[AndroidUiautomator2Driver@77b1 (14a86e85)] The initialization of the instrumentation process took 2097ms
[AndroidUiautomator2Driver@77b1 (14a86e85)] Matched '/session' to command name 'createSession'
[AndroidUiautomator2Driver@77b1 (14a86e85)] Proxying [POST /session] to [POST http://127.0.0.1:8200/session] with body: {"capabilities":{"firstMatch":[{"platform":"LINUX","webStorageEnabled":false,"takesScreenshot":true,"javascriptEnabled":true,"databaseEnabled":false,"networkConnectionEnabled":true,"locationContextEnabled":false,"warnings":{},"desired":{"platformName":"Android","automationName":"UiAutomator2","deviceName":"Galaxy S20 FE 5G","udid":"RZCTA0S8CWD","autoAcceptAlerts":"true","newCommandTimeout":3000,"adbExecTimeout":80000,"trackScrollEvents":false,"appPackage":"com.google.android.youtube","appActivity":"com.google.android.apps.youtube.app.watchwhile.WatchWhileActivity"},"platformName":"Android","automationName":"UiAutomator2","deviceName":"RZCTA0S8CWD","udid":"RZCTA0S8CWD","autoAcceptAlerts":"true","newCommandTimeout":3000,"adbExecTimeout":80000,"trackScrollEvents":false,"appPackage":"com.google.android.youtube","appActivity":"com.google.android.apps.youtube.app.watchwhile.WatchWhileActivity","deviceUDID":"RZCTA0S8CWD"}],"alwaysMatch":{}}}
[AndroidUiautomator2Driver@77b1 (14a86e85)] Got response with status 200: {"sessionId":"7ef0e0f3-a4ef-4874-9b94-490510c263cf","value":{"capabilities":{"firstMatch":[{"platform":"LINUX","webStorageEnabled":false,"takesScreenshot":true,"javascriptEnabled":true,"databaseEnabled":false,"networkConnectionEnabled":true,"locationContextEnabled":false,"warnings":{},"desired":{"platformName":"Android","automationName":"UiAutomator2","deviceName":"Galaxy S20 FE 5G","udid":"RZCTA0S8CWD","autoAcceptAlerts":"true","newCommandTimeout":3000,"adbExecTimeout":80000,"trackScrollEvents":false,"appPackage":"com.google.android.youtube","appActivity":"com.google.android.apps.youtube.app.watchwhile.WatchWhileActivity"},"platformName":"Android","automationName":"UiAutomator2","deviceName":"RZCTA0S8CWD","udid":"RZCTA0S8CWD","autoAcceptAlerts":"true","newCommandTimeout":3000,"adbExecTimeout":80000,"trackScrollEvents":false,"appPackage":"com.google.android.youtube","appActivity":"com.google.android.apps.youtube.app.watchwhile.WatchWhileActivity","deviceUDID":"RZCTA0S8CWD"}],"alwaysMatch":{}},"sessionId":"...
[AndroidUiautomator2Driver@77b1 (14a86e85)] Determined the downstream protocol as 'W3C'
[AndroidUiautomator2Driver@77b1 (14a86e85)] Proxying [GET /appium/device/info] to [GET http://127.0.0.1:8200/session/7ef0e0f3-a4ef-4874-9b94-490510c263cf/appium/device/info] with no body
[AndroidUiautomator2Driver@77b1 (14a86e85)] Got response with status 200: {"sessionId":"7ef0e0f3-a4ef-4874-9b94-490510c263cf","value":{"androidId":"89f63c7f65b0319a","apiVersion":"33","bluetooth":{"state":"OFF"},"brand":"samsung","carrierName":"","displayDensity":480,"locale":"en_IN","manufacturer":"samsung","model":"SM-G781B","networks":[{"capabilities":{"SSID":null,"linkDownBandwidthKbps":33857,"linkUpstreamBandwidthKbps":1293,"networkCapabilities":"NET_CAPABILITY_NOT_METERED,NET_CAPABILITY_INTERNET,NET_CAPABILITY_NOT_RESTRICTED,NET_CAPABILITY_TRUSTED,NET_CAPABILITY_NOT_VPN,NET_CAPABILITY_VALIDATED,NET_CAPABILITY_NOT_ROAMING,NET_CAPABILITY_FOREGROUND,NET_CAPABILITY_NOT_CONGESTED,NET_CAPABILITY_NOT_SUSPENDED","signalStrength":-64,"transportTypes":"TRANSPORT_WIFI"},"detailedState":"CONNECTED","extraInfo":"","isAvailable":true,"isConnected":true,"isFailover":false,"isRoaming":false,"state":"CONNECTED","subtype":-1,"subtypeName":"","type":1,"typeName":"WIFI"}],"platformVersion":"13","realDisplaySize":"1080x2400","timeZone":"Asia/Kolkata"}}
[ADB] Running 'C:\Users\MunishKumar\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s RZCTA0S8CWD shell dumpsys window'
[AndroidDriver] Screen already unlocked, doing nothing
[AndroidUiautomator2Driver@77b1 (14a86e85)] Starting 'com.google.android.youtube/com.google.android.apps.youtube.app.watchwhile.WatchWhileActivity and waiting for 'com.google.android.youtube/com.google.android.apps.youtube.app.watchwhile.WatchWhileActivity'
[ADB] Running 'C:\Users\MunishKumar\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s RZCTA0S8CWD shell am start -W -n com.google.android.youtube/com.google.android.apps.youtube.app.watchwhile.WatchWhileActivity -S -a android.intent.action.MAIN -c android.intent.category.LAUNCHER -f 0x10200000'
[AndroidUiautomator2Driver@77b1 (14a86e85)] Proxying [GET /appium/device/pixel_ratio] to [GET http://127.0.0.1:8200/session/7ef0e0f3-a4ef-4874-9b94-490510c263cf/appium/device/pixel_ratio] with no body
[AndroidUiautomator2Driver@77b1 (14a86e85)] Got response with status 200: {"sessionId":"7ef0e0f3-a4ef-4874-9b94-490510c263cf","value":3}
[AndroidUiautomator2Driver@77b1 (14a86e85)] Matched '/appium/device/system_bars' to command name 'getSystemBars'
[AndroidUiautomator2Driver@77b1 (14a86e85)] Proxying [GET /appium/device/system_bars] to [GET http://127.0.0.1:8200/session/7ef0e0f3-a4ef-4874-9b94-490510c263cf/appium/device/system_bars] with no body
[AndroidUiautomator2Driver@77b1 (14a86e85)] Got response with status 200: {"sessionId":"7ef0e0f3-a4ef-4874-9b94-490510c263cf","value":{"statusBar":88}}
[AndroidUiautomator2Driver@77b1 (14a86e85)] Matched '/window/current/size' to command name 'getWindowSize'
[AndroidUiautomator2Driver@77b1 (14a86e85)] Proxying [GET /window/current/size] to [GET http://127.0.0.1:8200/session/7ef0e0f3-a4ef-4874-9b94-490510c263cf/window/current/size] with no body
[AndroidUiautomator2Driver@77b1 (14a86e85)] Got response with status 200: {"sessionId":"7ef0e0f3-a4ef-4874-9b94-490510c263cf","value":{"height":2168,"width":1080}}
[AppiumDriver@7666] New AndroidUiautomator2Driver session created successfully, session 14a86e85-0650-4b6d-aa54-47ca39b1c58b added to master session list
[AppiumDriver@7666] Event 'newSessionStarted' logged at 1715158657607 (14:27:37 GMT+0530 (India Standard Time))
[AndroidUiautomator2Driver@77b1 (14a86e85)] Cached the protocol value 'W3C' for the new session 14a86e85-0650-4b6d-aa54-47ca39b1c58b
[AndroidUiautomator2Driver@77b1 (14a86e85)] 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","automationName":"UiAutomator2","deviceName":"Galaxy S20 FE 5G","udid":"RZCTA0S8CWD","autoAcceptAlerts":"true","newCommandTimeout":3000,"adbExecTimeout":80000,"trackScrollEvents":false,"appPackage":"com.google.android.youtube","appActivity":"com.google.android.apps.youtube.app.watchwhile.WatchWhileActivity"},"platformName":"Android","automationName":"UiAutomator2","deviceName":"RZCTA0S8CWD","udid":"RZCTA0S8CWD","autoAcceptAlerts":"true","newCommandTimeout":3000,"adbExecTimeout":80000,"trackScrollEvents":false,"appPackage":"com.google.android.youtube","appActivity":"com.google.android.apps.youtube.app.watchwhile.WatchWhileActivity","deviceUDID":"RZCTA0S8CWD","deviceApiLevel":33,"platformVersion":"13","deviceScreenSize":"1080x2400","deviceScreenDensity":480,"deviceM...
[HTTP] <-- POST /wd/hub/session 200 5744 ms - 1227
[HTTP]
[HTTP] Request idempotency key: 48b9d343-7b1f-4454-aa9a-82d8a8faf16c
[HTTP] --> POST /wd/hub/session/14a86e85-0650-4b6d-aa54-47ca39b1c58b/timeouts
[HTTP] {"implicit":120000}
[AndroidUiautomator2Driver@77b1 (14a86e85)] Calling AppiumDriver.timeouts() with args: [null,null,null,null,120000,"14a86e85-0650-4b6d-aa54-47ca39b1c58b"]
[AndroidUiautomator2Driver@77b1 (14a86e85)] W3C timeout argument: {"implicit":120000}}
[AndroidUiautomator2Driver@77b1 (14a86e85)] Set implicit wait to 120000ms
[AndroidUiautomator2Driver@77b1 (14a86e85)] Responding to client with driver.timeouts() result: null
[HTTP] <-- POST /wd/hub/session/14a86e85-0650-4b6d-aa54-47ca39b1c58b/timeouts 200 12 ms - 14
[HTTP]
[HTTP] --> GET /wd/hub/session/14a86e85-0650-4b6d-aa54-47ca39b1c58b/screenshot
[HTTP] {}
[AndroidUiautomator2Driver@77b1 (14a86e85)] Calling AppiumDriver.getScreenshot() with args: ["14a86e85-0650-4b6d-aa54-47ca39b1c58b"]
[AndroidUiautomator2Driver@77b1 (14a86e85)] Matched '/screenshot' to command name 'getScreenshot'
[AndroidUiautomator2Driver@77b1 (14a86e85)] Proxying [GET /screenshot] to [GET http://127.0.0.1:8200/session/7ef0e0f3-a4ef-4874-9b94-490510c263cf/screenshot] with no body
[HTTP] Request idempotency key: 464888b9-f0ef-4905-9571-46d8d3658843
[HTTP] --> POST /wd/hub/session/14a86e85-0650-4b6d-aa54-47ca39b1c58b/appium/device/app_state
[HTTP] {"appId":"com.google.android.youtube"}
[AndroidUiautomator2Driver@77b1 (14a86e85)] Calling AppiumDriver.queryAppState() with args: ["com.google.android.youtube","14a86e85-0650-4b6d-aa54-47ca39b1c58b"]
[AndroidUiautomator2Driver@77b1 (14a86e85)] Got response with status 200: {"sessionId":"7ef0e0f3-a4ef-4874-9b94-490510c263cf","value":"iVBORw0KGgoAAAANSUhEUgAABDgAAAlgCAYAAABtGofVAAAAAXNSR0IArs4c6QAAAARzQklUCAgICHwIZIgAACAASURBVHic7N17cNvVnffxjyzJ8kW27MT3Wy4kjhPCJU4KWx5KmHYGZmi20C0slM7T6ULoPhPagXZmS/cJaf8Adkln9gG2u2GHFsqwS0int6QT2IGZMsCk7S5NnEBC4lxIIE58S+zYsnyXrOcPr36VbN1sS5aO/X7NZLD0++no2JaFzud3zvfY3n777aAAAAAAAAAMlpPpDgAAAAAAAMwVAQcAAAAAADAeAQcAAAAAADAeAQcAAAAAADAeAQcAAAAAADAeAQcAAAAAADAeAQcAAAAAADAeAQcAAAAAADAeAQcAAAAAADAeAQcAAAAAADAeAQcAAAAAADAeAQcAAAAAADAeAQcAAAAAADAeAQcAAAAAADAeAQcAAAAAADAeAQcAAAAAADAeAQcAAAAAADAeAQcAAAAAADAeAQcAAAAAADAeAQcAAAAAADAeAQcAAAAAADAeAQcAAAAAADAeAQcAAAAAADAeAQcAAAAAADAeAQcAAAAAADAeAQcAAAAAADAeAQcAAAAAADAeAQcAAAAAADAeAQcAAAAAADAeAQcAAAAAADAeAQcAAAAAADAeAQcAAAAAADAeAQcAAAAAADAeAQcAAAAAADAeAQcAAAAAADAeAQcAAAAAADAeAQcAAAAAADAeAQcAAAAAADAeAQcAAAAAADAeAQcAAAAAADAeAQcAAAAAADAeAQcAAAAAADAeAQcAAAAAADCeI9MdAKKx2+3yeDxyu91yOBwKBoMaHh6W1+vV0NBQprsHAAAAAMgyBBzIOsuWLVN9fX3M4yMjI7p48aK6uro0MTExjz1buHJycuRwOGSz2VLedjAY1Pj4uILBYMrbBgAASMRms8npdMrhcMjhcCgnJ0d2u105...
[AndroidUiautomator2Driver@77b1 (14a86e85)] Querying the state of 'com.google.android.youtube'
[ADB] Getting install status for com.google.android.youtube
[ADB] Running 'C:\Users\MunishKumar\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s RZCTA0S8CWD shell dumpsys package com.google.android.youtube'
[AndroidUiautomator2Driver@77b1 (14a86e85)] Responding to client with driver.getScreenshot() result: "iVBORw0KGgoAAAANSUhEUgAABDgAAAlgCAYAAABtGofVAAAAAXNSR0IArs4c6QAAAARzQklUCAgICHwIZIgAACAASURBVHic7N17cNvVnffxjyzJ8kW27MT3Wy4kjhPCJU4KWx5KmHYGZmi20C0slM7T6ULoPhPagXZmS/cJaf8Adkln9gG2u2GHFsqwS0int6QT2IGZMsCk7S5NnEBC4lxIIE58S+zYsnyXrOcPr36VbN1sS5aO/X7NZLD0++no2JaFzud3zvfY3n777aAAAAAAAAAMlpPpDgAAAAAAAMwVAQcAAAAAADAeAQcAAAAAADAeAQcAAAAAADAeAQcAAAAAADAeAQcAAAAAADAeAQcAAAAAADAeAQcAAAAAADAeAQcAAAAAADAeAQcAAAAAADAeAQcAAAAAADAeAQcAAAAAADAeAQcAAAAAADAeAQcAAAAAADAeAQcAAAAAADAeAQcAAAAAADAeAQcAAAAAADAeAQcAAAAAADAeAQcAAAAAADAeAQcAAAAAADAeAQcAAAAAADAeAQcAAAAAADAeAQcAAAAAADAeAQcAAAAAADAeAQcAAAAAADAeAQcAAAAAADAeAQcAAAAAADAeAQcAAAAAADAeAQcAAAAAADAeAQcAAAAAADAeAQcAAAAAADAeAQcAAAAAADAeAQcAAAAAADAeAQcAAAAAADAeAQcAAAAAADAeAQcAAAAAADAeAQcAAAAAADAeAQcAAAAAADAeAQcAAAAAADAeAQcAAAAAADAeAQcAAAAAADAeAQcAAAAAADAeAQcAAAAAADCeI9MdAKKx2+3yeDxyu91yOBwKBoMaHh6W1+vV0NBQprsHAAAAAMgyBBzIOsuWLVN9fX3M4yMjI7p48aK6uro0MTExjz1buHJycuRwOGSz2VLedjAY1Pj4uILBYMrbBgAASMRms8npdMrhcMjhcCgnJ0d2u105OX+ezD4+Pi5J8vv9CgQCGh8fl9/vz1SXAcyS7e2332bUgazicrm0YcMGORzx...
[HTTP] <-- GET /wd/hub/session/14a86e85-0650-4b6d-aa54-47ca39b1c58b/screenshot 200 275 ms - 80028
[HTTP]
[ADB] 'com.google.android.youtube' is installed
[ADB] Getting IDs of all 'com.google.android.youtube' processes
[ADB] Running 'C:\Users\MunishKumar\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s RZCTA0S8CWD shell pgrep -f ([[:blank:]]|^)com.google.android.youtube([[:blank:]]|$)'
[ADB] Running 'C:\Users\MunishKumar\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s RZCTA0S8CWD shell dumpsys window displays'
[AndroidUiautomator2Driver@77b1 (14a86e85)] Responding to client with driver.queryAppState() result: 3
[HTTP] <-- POST /wd/hub/session/14a86e85-0650-4b6d-aa54-47ca39b1c58b/appium/device/app_state 200 419 ms - 11
[HTTP]
[HTTP] Request idempotency key: 0280ed16-78a0-4b85-a04c-9f3ef3216ee0
[HTTP] --> POST /wd/hub/session/14a86e85-0650-4b6d-aa54-47ca39b1c58b/appium/device/activate_app
[HTTP] {"appId":"com.google.android.youtube"}
[AndroidUiautomator2Driver@77b1 (14a86e85)] Calling AppiumDriver.activateApp() with args: ["com.google.android.youtube",null,null,null,"14a86e85-0650-4b6d-aa54-47ca39b1c58b"]
[AndroidUiautomator2Driver@77b1 (14a86e85)] Activating 'com.google.android.youtube'
[ADB] Running 'C:\Users\MunishKumar\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s RZCTA0S8CWD shell cmd package resolve-activity --brief com.google.android.youtube'
[AndroidUiautomator2Driver@77b1 (14a86e85)] Encountered internal error running command: Error: Unable to resolve the launchable activity of 'com.google.android.youtube'. Original error: priority=0 preferredOrder=0 match=0x108000 specificIndex=-1 isDefault=true
[AndroidUiautomator2Driver@77b1 (14a86e85)] com.google.android.youtube/.app.honeycomb.Shell$HomeActivity
[AndroidUiautomator2Driver@77b1 (14a86e85)] at ADB.resolveLaunchableActivity (C:\Users\MunishKumar.appium\node_modules\appium-uiautomator2-driver\node_modules\appium-adb\lib\tools\adb-commands.js:271:9)
[AndroidUiautomator2Driver@77b1 (14a86e85)] at AndroidUiautomator2Driver.activateApp (C:\Users\MunishKumar.appium\node_modules\appium-uiautomator2-driver\node_modules\appium-android-driver\lib\commands\app-management.js:115:22)
[HTTP] <-- POST /wd/hub/session/14a86e85-0650-4b6d-aa54-47ca39b1c58b/appium/device/activate_app 500 66 ms - 1036
[HTTP]
[HTTP] --> GET /wd/hub/session/14a86e85-0650-4b6d-aa54-47ca39b1c58b/screenshot
[HTTP] {}
[AndroidUiautomator2Driver@77b1 (14a86e85)] Calling AppiumDriver.getScreenshot() with args: ["14a86e85-0650-4b6d-aa54-47ca39b1c58b"]
[AndroidUiautomator2Driver@77b1 (14a86e85)] Matched '/screenshot' to command name 'getScreenshot'
[AndroidUiautomator2Driver@77b1 (14a86e85)] Proxying [GET /screenshot] to [GET http://127.0.0.1:8200/session/7ef0e0f3-a4ef-4874-9b94-490510c263cf/screenshot] with no body
[AndroidUiautomator2Driver@77b1 (14a86e85)] Got response with status 200: {"sessionId":"7ef0e0f3-a4ef-4874-9b94-490510c263cf","value":"iVBORw0KGgoAAAANSUhEUgAABDgAAAlgCAYAAABtGofVAAAAAXNSR0IArs4c6QAAAARzQklUCAgICHwIZIgAACAASURBVHic7N15bJzXneb777vUzuK+SKIW0tplLU5kU5blKG07E/t2d5zGIOhlBoOZiftOx734DtBwY3rQDtALZulBT2OSNGwEkzR6kIF7cmcy7bhv7DiOHC9tWpYt29qslRIpiRIp7sXa3+X+weEbUuIqFZeing8giMV6eeoUWSy+53nP+R3jxRdf9BERERERERERKWPmUndAREREREREROROKeAQERERERERkbKngENEREREREREyp4CDhEREREREREpewo4RERERERERKTsKeAQERERERERkbKngENEREREREREyp4CDhEREREREREpewo4RERERERERKTsKeAQERERERERkbKngENEREREREREyp4CDhEREREREREpewo4RERERERERKTsKeAQERERERERkbKngENEREREREREyp4CDhEREREREREpewo4RERERERERKTsKeAQERERERERkbKngENEREREREREyp4CDhEREREREREpewo4RERERERERKTsKeAQERERERERkbKngENEREREREREyp4CDhEREREREREpewo4RERERERERKTsKeAQERERERERkbKngENEREREREREyp4CDhEREREREREpewo4RERERERERKTsKeAQERERERERkbKngENEREREREREyp4CDhEREREREREpewo4RERERERERKTsKeAQERERERERkbKngENEREREREREyp4CDhEREREREREpewo4RERERERERKTsKeAQERERERERkbKngENEREREREREyp4CDhEREREREREpewo4RERERERERKTsKeAQERERERERkbKngENEREREREREyp691B0QmYpt2zQ0NFBVVUU4HMbz...
[AndroidUiautomator2Driver@77b1 (14a86e85)] Responding to client with driver.getScreenshot() result: "iVBORw0KGgoAAAANSUhEUgAABDgAAAlgCAYAAABtGofVAAAAAXNSR0IArs4c6QAAAARzQklUCAgICHwIZIgAACAASURBVHic7N15bJzXneb777vUzuK+SKIW0tplLU5kU5blKG07E/t2d5zGIOhlBoOZiftOx734DtBwY3rQDtALZulBT2OSNGwEkzR6kIF7cmcy7bhv7DiOHC9tWpYt29qslRIpiRIp7sXa3+X+weEbUuIqFZeing8giMV6eeoUWSy+53nP+R3jxRdf9BERERERERERKWPmUndAREREREREROROKeAQERERERERkbKngENEREREREREyp4CDhEREREREREpewo4RERERERERKTsKeAQERERERERkbKngENEREREREREyp4CDhEREREREREpewo4RERERERERKTsKeAQERERERERkbKngENEREREREREyp4CDhEREREREREpewo4RERERERERKTsKeAQERERERERkbKngENEREREREREyp4CDhEREREREREpewo4RERERERERKTsKeAQERERERERkbKngENEREREREREyp4CDhEREREREREpewo4RERERERERKTsKeAQERERERERkbKngENEREREREREyp4CDhEREREREREpewo4RERERERERKTsKeAQERERERERkbKngENEREREREREyp4CDhEREREREREpewo4RERERERERKTsKeAQERERERERkbKngENEREREREREyp4CDhEREREREREpewo4RERERERERKTsKeAQERERERERkbKngENEREREREREyp4CDhEREREREREpewo4RERERERERKTsKeAQERERERERkbKngENEREREREREyp4CDhEREREREREpewo4RERERERERKTsKeAQERERERERkbKngENEREREREREyp691B0QmYpt2zQ0NFBVVUU4HMbzPEZHRxkYGGBkZGSpuyciIiIiIiLLjAIOWXa2b9/O9u3bp71/dHSUCxcucOnS...
[HTTP] <-- GET /wd/hub/session/14a86e85-0650-4b6d-aa54-47ca39b1c58b/screenshot 200 321 ms - 135068
[HTTP]
[HTTP] --> DELETE /wd/hub/session/14a86e85-0650-4b6d-aa54-47ca39b1c58b
[HTTP] {}
[AndroidUiautomator2Driver@77b1 (14a86e85)] Calling AppiumDriver.deleteSession() with args: ["14a86e85-0650-4b6d-aa54-47ca39b1c58b"]
[AppiumDriver@7666] Event 'quitSessionRequested' logged at 1715158659278 (14:27:39 GMT+0530 (India Standard Time))
[AppiumDriver@7666] Removing session 14a86e85-0650-4b6d-aa54-47ca39b1c58b from our master session list
[AndroidUiautomator2Driver@77b1 (14a86e85)] Deleting UiAutomator2 session
[AndroidUiautomator2Driver@77b1 (14a86e85)] Deleting UiAutomator2 server session
[AndroidUiautomator2Driver@77b1 (14a86e85)] Matched '/' to command name 'deleteSession'
[AndroidUiautomator2Driver@77b1 (14a86e85)] Proxying [DELETE /] to [DELETE http://127.0.0.1:8200/session/7ef0e0f3-a4ef-4874-9b94-490510c263cf] with no body
[AndroidUiautomator2Driver@77b1 (14a86e85)] Got response with status 200: {"sessionId":"7ef0e0f3-a4ef-4874-9b94-490510c263cf","value":null}
[ADB] Running 'C:\Users\MunishKumar\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s RZCTA0S8CWD shell dumpsys activity services io.appium.settings/.recorder.RecorderService'
[ADB] Running 'C:\Users\MunishKumar\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s RZCTA0S8CWD shell am force-stop com.google.android.youtube'
[Logcat] Stopping logcat capture
[ADB] Removing forwarded port socket connection: 8200
[ADB] Running 'C:\Users\MunishKumar\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s RZCTA0S8CWD forward --remove tcp:8200'
[AndroidUiautomator2Driver@77b1 (14a86e85)] Restoring hidden api policy to the device default configuration
[ADB] Running 'C:\Users\MunishKumar\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s RZCTA0S8CWD shell 'settings delete global hidden_api_policy_pre_p_apps;settings delete global hidden_api_policy_p_apps;settings delete global hidden_api_policy''
[AppiumDriver@7666] Event 'quitSessionFinished' logged at 1715158659685 (14:27:39 GMT+0530 (India Standard Time))
[AppiumDriver@7666] Received response: null
[AppiumDriver@7666] But deleting session, so not returning
[AppiumDriver@7666] Responding to client with driver.deleteSession() result: null
[HTTP] <-- DELETE /wd/hub/session/14a86e85-0650-4b6d-aa54-47ca39b1c58b 200 412 ms - 14
[HTTP]
[HTTP] --> DELETE /wd/hub/session/
[HTTP] {}
[HTTP] No route found for /wd/hub/session/
[HTTP] <-- DELETE /wd/hub/session/ 404 1 ms - 211
[HTTP]
[Instrumentation] .
[Instrumentation] Time: 5.021
[Instrumentation]
[Instrumentation] OK (1 test)
[Instrumentation] The process has exited with code 0
from appium.
I don't see any issues with the driver itself - it works as expected. Consider asking at appium forum about how to deal with the particular YouTube app.
from appium.
@mykola-mokhnach i tried to run the command and found this error in case of youtube
Activity class {com.google.android.youtube/com.google.android.youtube.app.honeycomb.Shell} does not exist
As I tried to open another app like facebook which is working fine and in that case , i am getting below response
Starting: Intent { cmp=com.facebook.katana/.LoginActivity }
from appium.
Related Issues (20)
- Appium Crash after Performing cleanup HOT 7
- PrebuiltWDA for iOS 17 not working well and always got Timeout HOT 13
- [Feat]: help initial steps to use appium HOT 7
- [Feat]: print appium relevant information with one command HOT 2
- [Feat]: use selenium nightly build for client tests HOT 2
- Unable to switch to WebView after upgarding to chrome driver 124 HOT 1
- Appium2.0 tests the APP on Android12 or later, often there is no response for a long time, there is no error, the log has not been updated, and sometimes even if the element is found, it does not click, and it runs normally on Android11 HOT 11
- [Feat]: Prepare 'reset' action for 'setup'
- [Feat]: add driver setup in appium.io
- [Feat]: Update bug report template and write a blog? to use appium server --show-debug-info
- [Feat]: Update KNOWN_DRIVERS/KNOWN_PLUGINS
- regression: "Cannot extract Info.plist from *.ipa" HOT 15
- bug: <After updating Android project with gradle 8.3, some xml resource ids are missing from appium inspector> HOT 4
- [Feat]: Tweak --json option for setup command HOT 1
- API 文档完善建议 HOT 2
- sendKeys Does Not Send Keys Completely IOS HOT 1
- [Feat]: I am trying to use Allure Reporter in my testNG project using Maven Architecture in my Flutter App automation HOT 2
- newSession method failed on multi real device test HOT 2
- bug: <Appium is unable to find a compatible Chromedriver version> HOT 2
- Original error: No Chromedriver found that can automate Chrome '121.0.6167'. HOT 21
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from appium.