appium log
unknown
plain_text
a year ago
31 kB
2
Indexable
Never
HTTP] --> POST /wd/hub/session [HTTP] {"capabilities":{"alwaysMatch":{"platformName":"Android","browserName":"chrome"}}} [debug] [W3C] Calling AppiumDriver.createSession() with args: [null,null,{"alwaysMatch":{"platformName":"Android","browserName":"chrome"}}] [debug] [BaseDriver] Event 'newSessionRequested' logged at 1684392948862 (12:25:48 GMT+0530 (India Standard Time)) [Appium] [Appium] ====================================================================== [Appium] DEPRECATION WARNING: [Appium] [Appium] The 'automationName' capability was not provided in the desired [Appium] capabilities for this Android session [Appium] [Appium] Setting 'automationName=UiAutomator2' by default and using the [Appium] UiAutomator2 Driver [Appium] [Appium] The next major version of Appium (2.x) will **require** the [Appium] 'automationName' capability to be set for all sessions on all [Appium] platforms [Appium] [Appium] In previous versions (Appium <= 1.13.x), the default was [Appium] 'automationName=UiAutomator1' [Appium] [Appium] If you wish to use that automation instead of UiAutomator2, please [Appium] add 'automationName=UiAutomator1' to your desired capabilities [Appium] [Appium] For more information about drivers, please visit [Appium] http://appium.io/docs/en/about-appium/intro/ and explore the [Appium] 'Drivers' menu [Appium] [Appium] ====================================================================== [Appium] [Appium] Appium v1.22.3 creating new AndroidUiautomator2Driver (v1.70.1) session [Appium] Explicitly enabling use of insecure features: [Appium] chromedriver_autodownload [debug] [BaseDriver] Creating session with W3C capabilities: { [debug] [BaseDriver] "alwaysMatch": { [debug] [BaseDriver] "platformName": "Android", [debug] [BaseDriver] "browserName": "chrome" [debug] [BaseDriver] }, [debug] [BaseDriver] "firstMatch": [ [debug] [BaseDriver] {} [debug] [BaseDriver] ] [debug] [BaseDriver] } [BaseDriver] Session created with session id: eaa40aee-7c03-4b1e-944e-bd6713569f3d [UiAutomator2] We're going to run a Chrome-based session [UiAutomator2] Chrome-type package and activity are com.android.chrome and com.google.android.apps.chrome.Main [UiAutomator2] Starting 'com.android.chrome' directly on the device [ADB] Using 'adb' from '/Users/ritvik/Library/Android/sdk/platform-tools/adb' [debug] [ADB] Running '/Users/ritvik/Library/Android/sdk/platform-tools/adb -P 5037 start-server' [AndroidDriver] Retrieving device list [debug] [ADB] Trying to find a connected android device [debug] [ADB] Getting connected devices [debug] [ADB] Connected devices: [{"udid":"RF8M20XKLZH","state":"device"}] [AndroidDriver] Using device: RF8M20XKLZH [ADB] Using 'adb' from '/Users/ritvik/Library/Android/sdk/platform-tools/adb' [debug] [ADB] Running '/Users/ritvik/Library/Android/sdk/platform-tools/adb -P 5037 start-server' [debug] [ADB] Setting device id to RF8M20XKLZH [debug] [ADB] Running '/Users/ritvik/Library/Android/sdk/platform-tools/adb -P 5037 -s RF8M20XKLZH shell getprop ro.build.version.sdk' [debug] [ADB] Current device property 'ro.build.version.sdk': 28 [ADB] Getting device platform version [debug] [ADB] Running '/Users/ritvik/Library/Android/sdk/platform-tools/adb -P 5037 -s RF8M20XKLZH shell getprop ro.build.version.release' [debug] [ADB] Current device property 'ro.build.version.release': 9 [debug] [ADB] Device API level: 28 [UiAutomator2] Relaxing hidden api policy [debug] [ADB] Running '/Users/ritvik/Library/Android/sdk/platform-tools/adb -P 5037 -s RF8M20XKLZH 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 [debug] [ADB] Running '/Users/ritvik/Library/Android/sdk/platform-tools/adb -P 5037 -s RF8M20XKLZH wait-for-device' [debug] [ADB] Running '/Users/ritvik/Library/Android/sdk/platform-tools/adb -P 5037 -s RF8M20XKLZH shell echo ping' [debug] [AndroidDriver] Pushing settings apk to device... [debug] [ADB] Getting install status for io.appium.settings [debug] [ADB] Running '/Users/ritvik/Library/Android/sdk/platform-tools/adb -P 5037 -s RF8M20XKLZH shell dumpsys package io.appium.settings' [debug] [ADB] 'io.appium.settings' is installed [debug] [ADB] Getting package info for 'io.appium.settings' [debug] [ADB] Running '/Users/ritvik/Library/Android/sdk/platform-tools/adb -P 5037 -s RF8M20XKLZH shell dumpsys package io.appium.settings' [debug] [ADB] The version name of the installed 'io.appium.settings' is greater or equal to the application version name ('3.4.0' >= '3.4.0') [debug] [ADB] There is no need to install/upgrade '/Users/ritvik/.nvm/versions/node/v12.20.1/lib/node_modules/appium/node_modules/io.appium.settings/apks/settings_apk-debug.apk' [debug] [ADB] Getting IDs of all 'io.appium.settings' processes [debug] [ADB] Running '/Users/ritvik/Library/Android/sdk/platform-tools/adb -P 5037 -s RF8M20XKLZH shell 'pgrep --help; echo $?'' [debug] [ADB] Running '/Users/ritvik/Library/Android/sdk/platform-tools/adb -P 5037 -s RF8M20XKLZH shell pgrep -f \(\[\[:blank:\]\]\|\^\)io\.appium\.settings\(\[\[:blank:\]\]\|\$\)' [debug] [AndroidDriver] io.appium.settings is already running. There is no need to reset its permissions. [debug] [ADB] Running '/Users/ritvik/Library/Android/sdk/platform-tools/adb -P 5037 -s RF8M20XKLZH shell appops set io.appium.settings android:mock_location allow' [debug] [Logcat] Starting logs capture with command: /Users/ritvik/Library/Android/sdk/platform-tools/adb -P 5037 -s RF8M20XKLZH logcat -v threadtime [debug] [UiAutomator2] Forwarding UiAutomator2 Server port 6790 to local port 8203 [debug] [ADB] Forwarding system: 8203 to device: 6790 [debug] [ADB] Running '/Users/ritvik/Library/Android/sdk/platform-tools/adb -P 5037 -s RF8M20XKLZH forward tcp:8203 tcp:6790' [debug] [ADB] Getting install status for io.appium.uiautomator2.server [debug] [ADB] Running '/Users/ritvik/Library/Android/sdk/platform-tools/adb -P 5037 -s RF8M20XKLZH shell dumpsys package io.appium.uiautomator2.server' [debug] [ADB] 'io.appium.uiautomator2.server' is installed [debug] [ADB] Getting package info for 'io.appium.uiautomator2.server' [debug] [ADB] Running '/Users/ritvik/Library/Android/sdk/platform-tools/adb -P 5037 -s RF8M20XKLZH shell dumpsys package io.appium.uiautomator2.server' [debug] [ADB] The version name of the installed 'io.appium.uiautomator2.server' is greater or equal to the application version name ('4.27.0' >= '4.27.0') [debug] [UiAutomator2] io.appium.uiautomator2.server installation state: sameVersionInstalled [debug] [ADB] Checking app cert for /Users/ritvik/.nvm/versions/node/v12.20.1/lib/node_modules/appium/node_modules/appium-uiautomator2-server/apks/appium-uiautomator2-server-v4.27.0.apk [debug] [ADB] Using the previously cached signature entry for 'appium-uiautomator2-server-v4.27.0.apk' [debug] [ADB] sha256 hash did match for 'appium-uiautomator2-server-v4.27.0.apk' [debug] [ADB] Getting install status for io.appium.uiautomator2.server.test [debug] [ADB] Running '/Users/ritvik/Library/Android/sdk/platform-tools/adb -P 5037 -s RF8M20XKLZH shell dumpsys package io.appium.uiautomator2.server.test' [debug] [ADB] 'io.appium.uiautomator2.server.test' is installed [debug] [ADB] Checking app cert for /Users/ritvik/.nvm/versions/node/v12.20.1/lib/node_modules/appium/node_modules/appium-uiautomator2-server/apks/appium-uiautomator2-server-debug-androidTest.apk [debug] [ADB] Using the previously cached signature entry for 'appium-uiautomator2-server-debug-androidTest.apk' [debug] [ADB] sha256 hash did match for 'appium-uiautomator2-server-debug-androidTest.apk' [UiAutomator2] Server packages are not going to be (re)installed [debug] [UiAutomator2] Waiting up to 30000ms for services to be available [debug] [ADB] Running '/Users/ritvik/Library/Android/sdk/platform-tools/adb -P 5037 -s RF8M20XKLZH shell pm list instrumentation' [debug] [UiAutomator2] 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 [debug] [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",";"]] [debug] [ADB] Running '/Users/ritvik/Library/Android/sdk/platform-tools/adb -P 5037 -s RF8M20XKLZH shell dumpsys deviceidle whitelist +io.appium.settings ; dumpsys deviceidle whitelist +io.appium.uiautomator2.server ; dumpsys deviceidle whitelist +io.appium.uiautomator2.server.test ;' [debug] [UiAutomator2] No app capability. Assuming it is already on the device [debug] [ADB] Getting install status for com.android.chrome [debug] [ADB] Running '/Users/ritvik/Library/Android/sdk/platform-tools/adb -P 5037 -s RF8M20XKLZH shell dumpsys package com.android.chrome' [debug] [ADB] 'com.android.chrome' is installed [debug] [ADB] Running '/Users/ritvik/Library/Android/sdk/platform-tools/adb -P 5037 -s RF8M20XKLZH shell am force-stop com.android.chrome' [debug] [ADB] Running '/Users/ritvik/Library/Android/sdk/platform-tools/adb -P 5037 -s RF8M20XKLZH shell pm clear com.android.chrome' [debug] [AndroidDriver] Performed fast reset on the installed 'com.android.chrome' application (stop and clear) [debug] [UiAutomator2] Performing shallow cleanup of automation leftovers [debug] [UiAutomator2] The following obsolete sessions are still running: ["60bf0e9a-c262-4b4c-b312-1773004097b2"] [debug] [UiAutomator2] Cleaning up 1 obsolete session [debug] [Instrumentation] . [debug] [Instrumentation] Time: 77.132 [debug] [Instrumentation] [debug] [Instrumentation] OK (1 test) [debug] [Instrumentation] The process has exited with code 0 [debug] [ADB] Running '/Users/ritvik/Library/Android/sdk/platform-tools/adb -P 5037 -s RF8M20XKLZH shell am force-stop io.appium.uiautomator2.server.test' [UiAutomator2] Starting UIAutomator2 server 4.27.0 [UiAutomator2] Using UIAutomator2 server from '/Users/ritvik/.nvm/versions/node/v12.20.1/lib/node_modules/appium/node_modules/appium-uiautomator2-server/apks/appium-uiautomator2-server-v4.27.0.apk' and test from '/Users/ritvik/.nvm/versions/node/v12.20.1/lib/node_modules/appium/node_modules/appium-uiautomator2-server/apks/appium-uiautomator2-server-debug-androidTest.apk' [UiAutomator2] Waiting up to 30000ms for UiAutomator2 to be online... [debug] [ADB] Creating ADB subprocess with args: ["-P",5037,"-s","RF8M20XKLZH","shell","am","instrument","-w","-e","disableAnalytics",true,"io.appium.uiautomator2.server.test/androidx.test.runner.AndroidJUnitRunner"] [debug] [WD Proxy] Matched '/status' to command name 'getStatus' [debug] [WD Proxy] Proxying [GET /status] to [GET http://127.0.0.1:8203/wd/hub/status] with no body [WD Proxy] socket hang up [debug] [Instrumentation] io.appium.uiautomator2.server.test.AppiumUiAutomator2Server: [debug] [WD Proxy] Matched '/status' to command name 'getStatus' [debug] [WD Proxy] Proxying [GET /status] to [GET http://127.0.0.1:8203/wd/hub/status] with no body [WD Proxy] socket hang up [debug] [WD Proxy] Matched '/status' to command name 'getStatus' [debug] [WD Proxy] Proxying [GET /status] to [GET http://127.0.0.1:8203/wd/hub/status] with no body [WD Proxy] socket hang up [debug] [WD Proxy] Matched '/status' to command name 'getStatus' [debug] [WD Proxy] Proxying [GET /status] to [GET http://127.0.0.1:8203/wd/hub/status] with no body [debug] [WD Proxy] Got response with status 200: {"sessionId":"None","value":{"message":"UiAutomator2 Server is ready to accept commands","ready":true}} [debug] [UiAutomator2] The initialization of the instrumentation process took 3164ms [debug] [WD Proxy] Matched '/session' to command name 'createSession' [debug] [WD Proxy] Proxying [POST /session] to [POST http://127.0.0.1:8203/wd/hub/session] with body: {"capabilities":{"firstMatch":[{"platform":"LINUX","webStorageEnabled":false,"takesScreenshot":true,"javascriptEnabled":true,"databaseEnabled":false,"networkConnectionEnabled":true,"locationContextEnabled":false,"warnings":{},"desired":{"platformName":"Android","browserName":"chrome"},"platformName":"Android","browserName":"chrome","appPackage":"com.android.chrome","appActivity":"com.google.android.apps.chrome.Main","deviceName":"RF8M20XKLZH","deviceUDID":"RF8M20XKLZH"}],"alwaysMatch":{}}} [debug] [WD Proxy] Got response with status 200: {"sessionId":"86d78d56-0aa0-4db2-9366-0caf42d6b40c","value":{"capabilities":{"firstMatch":[{"platform":"LINUX","webStorageEnabled":false,"takesScreenshot":true,"javascriptEnabled":true,"databaseEnabled":false,"networkConnectionEnabled":true,"locationContextEnabled":false,"warnings":{},"desired":{"platformName":"Android","browserName":"chrome"},"platformName":"Android","browserName":"chrome","appPackage":"com.android.chrome","appActivity":"com.google.android.apps.chrome.Main","deviceName":"RF8M20XKLZH","deviceUDID":"RF8M20XKLZH"}],"alwaysMatch":{}},"sessionId":"86d78d56-0aa0-4db2-9366-0caf42d6b40c"}} [WD Proxy] Determined the downstream protocol as 'W3C' [debug] [WD Proxy] Proxying [GET /appium/device/info] to [GET http://127.0.0.1:8203/wd/hub/session/86d78d56-0aa0-4db2-9366-0caf42d6b40c/appium/device/info] with no body [debug] [WD Proxy] Got response with status 200: {"sessionId":"86d78d56-0aa0-4db2-9366-0caf42d6b40c","value":{"androidId":"afb00d38167011c3","apiVersion":"28","bluetooth":{"state":"OFF"},"brand":"samsung","carrierName":"","displayDensity":480,"locale":"en_GB","manufacturer":"samsung","model":"SM-G970F","networks":[{"capabilities":{"SSID":null,"linkDownBandwidthKbps":1048576,"linkUpstreamBandwidthKbps":1048576,"networkCapabilities":"NET_CAPABILITY_WIFI_P2P,NET_CAPABILITY_NOT_RESTRICTED,NET_CAPABILITY_TRUSTED,NET_CAPABILITY_NOT_VPN,NET_CAPABILITY_FOREGROUND,NET_CAPABILITY_NOT_SUSPENDED","signalStrength":-2147483648,"transportTypes":"TRANSPORT_WIFI"},"detailedState":"IDLE","extraInfo":null,"isAvailable":true,"isConnected":false,"isFailover":false,"isRoaming":false,"state":"UNKNOWN","subtype":0,"subtypeName":"","type":13,"typeName":"WIFI_P2P"},{"capabilities":{"SSID":null,"linkDownBandwidthKbps":1048576,"linkUpstreamBandwidthKbps":1048576,"networkCapabilities":"NET_CAPABILITY_NOT_METERED,NET_CAPABILITY_INTERNET,NET_CAPABILITY_NOT_RESTRICTED,NET_CAPABILITY_TR... [debug] [ADB] Running '/Users/ritvik/Library/Android/sdk/platform-tools/adb -P 5037 -s RF8M20XKLZH shell dumpsys window' [AndroidDriver] Screen already unlocked, doing nothing [AndroidDriver] Starting a chrome-based browser session [debug] [AndroidDriver] A port was not given, using random free port: 8002 [debug] [AndroidDriver] Precalculated Chromedriver capabilities: { [debug] [AndroidDriver] "androidPackage": "com.android.chrome", [debug] [AndroidDriver] "androidDeviceSerial": "RF8M20XKLZH" [debug] [AndroidDriver] } [debug] [AndroidDriver] Before starting chromedriver, androidPackage is 'com.android.chrome' [debug] [Chromedriver] Changed state to 'starting' [debug] [Chromedriver] Using the static Chromedriver->Chrome mapping [debug] [Chromedriver] The most recent known Chrome version: 91.0.4472 [debug] [Chromedriver] Found 9 executables in '/Users/ritvik/.nvm/versions/node/v12.20.1/lib/node_modules/appium/node_modules/appium-chromedriver/chromedriver/mac' [debug] [Chromedriver] The following Chromedriver executables were found: [debug] [Chromedriver] '/Users/ritvik/.nvm/versions/node/v12.20.1/lib/node_modules/appium/node_modules/appium-chromedriver/chromedriver/mac/chromedriver_mac64_v111.0.5563.64' (version '111.0.5563.64', minimum Chrome version '111.0.0') [debug] [Chromedriver] '/Users/ritvik/.nvm/versions/node/v12.20.1/lib/node_modules/appium/node_modules/appium-chromedriver/chromedriver/mac/chromedriver_mac64_v111.0.5563.41' (version '111.0.5563.41', minimum Chrome version '111.0.0') [debug] [Chromedriver] '/Users/ritvik/.nvm/versions/node/v12.20.1/lib/node_modules/appium/node_modules/appium-chromedriver/chromedriver/mac/chromedriver_mac64_v111.0.5563.19' (version '111.0.5563.19', minimum Chrome version '111.0.0') [debug] [Chromedriver] '/Users/ritvik/.nvm/versions/node/v12.20.1/lib/node_modules/appium/node_modules/appium-chromedriver/chromedriver/mac/chromedriver_mac64_v106.0.5249.61' (version '106.0.5249.61', minimum Chrome version '106.0.0') [debug] [Chromedriver] '/Users/ritvik/.nvm/versions/node/v12.20.1/lib/node_modules/appium/node_modules/appium-chromedriver/chromedriver/mac/chromedriver_mac64_v106.0.5249.21' (version '106.0.5249.21', minimum Chrome version '106.0.0') [debug] [Chromedriver] '/Users/ritvik/.nvm/versions/node/v12.20.1/lib/node_modules/appium/node_modules/appium-chromedriver/chromedriver/mac/chromedriver_mac64_v91.0.4472.101' (version '91.0.4472.101', minimum Chrome version '91.0.4472') [debug] [Chromedriver] '/Users/ritvik/.nvm/versions/node/v12.20.1/lib/node_modules/appium/node_modules/appium-chromedriver/chromedriver/mac/chromedriver_mac64_v84.0.4147.30' (version '84.0.4147.30', minimum Chrome version '84.0.4147') [debug] [Chromedriver] '/Users/ritvik/.nvm/versions/node/v12.20.1/lib/node_modules/appium/node_modules/appium-chromedriver/chromedriver/mac/chromedriver_mac64_v74.0.3729.6' (version '74.0.3729.6', minimum Chrome version '74.0.3729') [debug] [Chromedriver] '/Users/ritvik/.nvm/versions/node/v12.20.1/lib/node_modules/appium/node_modules/appium-chromedriver/chromedriver/mac/chromedriver_mac64_v2.41' (version '2.41', minimum Chrome version '67.0.3396') [debug] [ADB] Getting package info for 'com.android.chrome' [debug] [ADB] Running '/Users/ritvik/Library/Android/sdk/platform-tools/adb -P 5037 -s RF8M20XKLZH shell dumpsys package com.android.chrome' [debug] [Chromedriver] Found Chrome bundle 'com.android.chrome' version '84.0.4147' [debug] [Chromedriver] Found 1 executable capable of automating Chrome '84.0.4147'. [debug] [Chromedriver] Choosing the most recent, '/Users/ritvik/.nvm/versions/node/v12.20.1/lib/node_modules/appium/node_modules/appium-chromedriver/chromedriver/mac/chromedriver_mac64_v84.0.4147.30'. [debug] [Chromedriver] If a specific version is required, specify it with the `chromedriverExecutable`desired capability. [Chromedriver] Set chromedriver binary as: /Users/ritvik/.nvm/versions/node/v12.20.1/lib/node_modules/appium/node_modules/appium-chromedriver/chromedriver/mac/chromedriver_mac64_v84.0.4147.30 [debug] [Chromedriver] Killing any old chromedrivers, running: pkill -15 -f "/Users/ritvik/.nvm/versions/node/v12.20.1/lib/node_modules/appium/node_modules/appium-chromedriver/chromedriver/mac/chromedriver_mac64_v84.0.4147.30.*--port=8002" [Chromedriver] No old chromedrivers seem to exist [debug] [Chromedriver] Cleaning this device's adb forwarded port socket connections: RF8M20XKLZH [debug] [ADB] List forwarding ports [debug] [ADB] Running '/Users/ritvik/Library/Android/sdk/platform-tools/adb -P 5037 -s RF8M20XKLZH forward --list' [Chromedriver] Spawning chromedriver with: /Users/ritvik/.nvm/versions/node/v12.20.1/lib/node_modules/appium/node_modules/appium-chromedriver/chromedriver/mac/chromedriver_mac64_v84.0.4147.30 --url-base=wd/hub --port=8002 --adb-port=5037 --verbose [debug] [Chromedriver] Chromedriver version: '84.0.4147.30' [debug] [WD Proxy] Matched '/status' to command name 'getStatus' [debug] [WD Proxy] Proxying [GET /status] to [GET http://127.0.0.1:8002/wd/hub/status] with no body [WD Proxy] connect ECONNREFUSED 127.0.0.1:8002 [debug] [WD Proxy] Matched '/status' to command name 'getStatus' [debug] [WD Proxy] Proxying [GET /status] to [GET http://127.0.0.1:8002/wd/hub/status] with no body [debug] [WD Proxy] Got response with status 200: {"value":{"build":{"version":"84.0.4147.30 (48b3e868b4cc0aa7e8149519690b6f6949e110a8-refs/branch-heads/4147@{#310})"},"message":"ChromeDriver ready for new sessions.","os":{"arch":"x86_64","name":"Mac OS X","version":"10.16.0"},"ready":true}} [Chromedriver] Starting W3C Chromedriver session with capabilities: { [Chromedriver] "capabilities": { [Chromedriver] "alwaysMatch": { [Chromedriver] "goog:chromeOptions": { [Chromedriver] "androidPackage": "com.android.chrome", [Chromedriver] "androidDeviceSerial": "RF8M20XKLZH" [Chromedriver] }, [Chromedriver] "goog:loggingPrefs": { [Chromedriver] "browser": "ALL" [Chromedriver] } [Chromedriver] } [Chromedriver] } [Chromedriver] } [debug] [WD Proxy] Matched '/session' to command name 'createSession' [debug] [WD Proxy] Proxying [POST /session] to [POST http://127.0.0.1:8002/wd/hub/session] with body: {"capabilities":{"alwaysMatch":{"goog:chromeOptions":{"androidPackage":"com.android.chrome","androidDeviceSerial":"RF8M20XKLZH"},"goog:loggingPrefs":{"browser":"ALL"}}}} [debug] [Chromedriver] Webview version: 'Chrome/84.0.4147.111' [debug] [WD Proxy] Got response with status 200: {"value":{"capabilities":{"acceptInsecureCerts":false,"browserName":"chrome","browserVersion":"84.0.4147.111","chrome":{"chromedriverVersion":"84.0.4147.30 (48b3e868b4cc0aa7e8149519690b6f6949e110a8-refs/branch-heads/4147@{#310})"},"goog:chromeOptions":{"debuggerAddress":"localhost:59182"},"pageLoadStrategy":"normal","platformName":"android","proxy":{},"setWindowRect":false,"strictFileInteractability":false,"timeouts":{"implicit":0,"pageLoad":300000,"script":30000},"unhandledPromptBehavior":"dismiss and notify","webauthn:virtualAuthenticators":false},"sessionId":"7495b5dbeb067d217a490299f23ccc93"}} [WD Proxy] Determined the downstream protocol as 'W3C' [debug] [Chromedriver] Changed state to 'online' [debug] [WD Proxy] Proxying [GET /appium/device/pixel_ratio] to [GET http://127.0.0.1:8203/wd/hub/session/86d78d56-0aa0-4db2-9366-0caf42d6b40c/appium/device/pixel_ratio] with no body [debug] [WD Proxy] Got response with status 200: {"sessionId":"86d78d56-0aa0-4db2-9366-0caf42d6b40c","value":3} [debug] [WD Proxy] Matched '/appium/device/system_bars' to command name 'getSystemBars' [debug] [WD Proxy] Proxying [GET /appium/device/system_bars] to [GET http://127.0.0.1:8203/wd/hub/session/86d78d56-0aa0-4db2-9366-0caf42d6b40c/appium/device/system_bars] with no body [debug] [WD Proxy] Got response with status 200: {"sessionId":"86d78d56-0aa0-4db2-9366-0caf42d6b40c","value":{"statusBar":117}} [debug] [WD Proxy] Matched '/window/current/size' to command name 'getWindowSize' [debug] [WD Proxy] Proxying [GET /window/current/size] to [GET http://127.0.0.1:8203/wd/hub/session/86d78d56-0aa0-4db2-9366-0caf42d6b40c/window/current/size] with no body [debug] [WD Proxy] Got response with status 200: {"sessionId":"86d78d56-0aa0-4db2-9366-0caf42d6b40c","value":{"height":2020,"width":1080}} [Appium] New AndroidUiautomator2Driver session created successfully, session eaa40aee-7c03-4b1e-944e-bd6713569f3d added to master session list [debug] [BaseDriver] Event 'newSessionStarted' logged at 1684392957853 (12:25:57 GMT+0530 (India Standard Time)) [debug] [W3C (eaa40aee)] Cached the protocol value 'W3C' for the new session eaa40aee-7c03-4b1e-944e-bd6713569f3d [debug] [W3C (eaa40aee)] 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","browserName":"chrome"},"platformName":"Android","browserName":"chrome","appPackage":"com.android.chrome","appActivity":"com.google.android.apps.chrome.Main","deviceName":"RF8M20XKLZH","deviceUDID":"RF8M20XKLZH","deviceApiLevel":28,"platformVersion":"9","deviceScreenSize":"1080x2280","deviceScreenDensity":480,"deviceModel":"SM-G970F","deviceManufacturer":"samsung","pixelRatio":3,"statBarHeight":117,"viewportRect":{"left":0,"top":117,"width":1080,"height":1903}}} [HTTP] <-- POST /wd/hub/session 200 9001 ms - 774 [HTTP] [HTTP] --> POST /wd/hub/session/eaa40aee-7c03-4b1e-944e-bd6713569f3d/url [HTTP] {"url":"https://the-internet.herokuapp.com/iframe"} [W3C (eaa40aee)] Driver proxy active, passing request on via HTTP proxy [debug] [WD Proxy] Matched '/wd/hub/session/eaa40aee-7c03-4b1e-944e-bd6713569f3d/url' to command name 'setUrl' [debug] [WD Proxy] Proxying [POST /wd/hub/session/eaa40aee-7c03-4b1e-944e-bd6713569f3d/url] to [POST http://127.0.0.1:8002/wd/hub/session/7495b5dbeb067d217a490299f23ccc93/url] with body: {"url":"https://the-internet.herokuapp.com/iframe"} [debug] [WD Proxy] Got response with status 200: {"value":null} [HTTP] <-- POST /wd/hub/session/eaa40aee-7c03-4b1e-944e-bd6713569f3d/url 200 5750 ms - 14 [HTTP] [HTTP] --> POST /wd/hub/session/eaa40aee-7c03-4b1e-944e-bd6713569f3d/frame [HTTP] {"id":0} [W3C (eaa40aee)] Driver proxy active, passing request on via HTTP proxy [debug] [WD Proxy] Matched '/wd/hub/session/eaa40aee-7c03-4b1e-944e-bd6713569f3d/frame' to command name 'setFrame' [debug] [WD Proxy] Proxying [POST /wd/hub/session/eaa40aee-7c03-4b1e-944e-bd6713569f3d/frame] to [POST http://127.0.0.1:8002/wd/hub/session/7495b5dbeb067d217a490299f23ccc93/frame] with body: {"id":0} [debug] [WD Proxy] Got response with status 200: {"value":null} [HTTP] <-- POST /wd/hub/session/eaa40aee-7c03-4b1e-944e-bd6713569f3d/frame 200 159 ms - 14 [HTTP] [HTTP] --> POST /wd/hub/session/eaa40aee-7c03-4b1e-944e-bd6713569f3d/element [HTTP] {"using":"css selector","value":"p"} [W3C (eaa40aee)] Driver proxy active, passing request on via HTTP proxy [debug] [WD Proxy] Matched '/wd/hub/session/eaa40aee-7c03-4b1e-944e-bd6713569f3d/element' to command name 'findElement' [debug] [WD Proxy] Proxying [POST /wd/hub/session/eaa40aee-7c03-4b1e-944e-bd6713569f3d/element] to [POST http://127.0.0.1:8002/wd/hub/session/7495b5dbeb067d217a490299f23ccc93/element] with body: {"using":"css selector","value":"p"} [debug] [WD Proxy] Got response with status 200: {"value":{"element-6066-11e4-a52e-4f735466cecf":"3f43e6f3-51f7-4611-b078-efdf5bcdc2e5"}} [HTTP] <-- POST /wd/hub/session/eaa40aee-7c03-4b1e-944e-bd6713569f3d/element 200 65 ms - 137 [HTTP] [HTTP] --> POST /wd/hub/session/eaa40aee-7c03-4b1e-944e-bd6713569f3d/frame [HTTP] {"id":null} [W3C (eaa40aee)] Driver proxy active, passing request on via HTTP proxy [debug] [WD Proxy] Matched '/wd/hub/session/eaa40aee-7c03-4b1e-944e-bd6713569f3d/frame' to command name 'setFrame' [debug] [WD Proxy] Proxying [POST /wd/hub/session/eaa40aee-7c03-4b1e-944e-bd6713569f3d/frame] to [POST http://127.0.0.1:8002/wd/hub/session/7495b5dbeb067d217a490299f23ccc93/frame] with body: {"id":null} [debug] [WD Proxy] Got response with status 200: {"value":null} [HTTP] <-- POST /wd/hub/session/eaa40aee-7c03-4b1e-944e-bd6713569f3d/frame 200 27 ms - 14 [HTTP] [HTTP] --> POST /wd/hub/session/eaa40aee-7c03-4b1e-944e-bd6713569f3d/element [HTTP] {"using":"css selector","value":"p"} [W3C (eaa40aee)] Driver proxy active, passing request on via HTTP proxy [debug] [WD Proxy] Matched '/wd/hub/session/eaa40aee-7c03-4b1e-944e-bd6713569f3d/element' to command name 'findElement' [debug] [WD Proxy] Proxying [POST /wd/hub/session/eaa40aee-7c03-4b1e-944e-bd6713569f3d/element] to [POST http://127.0.0.1:8002/wd/hub/session/7495b5dbeb067d217a490299f23ccc93/element] with body: {"using":"css selector","value":"p"} [WD Proxy] Got response with status 404: {"value":{"error":"no such element","message":"no such element: Unable to locate element: {\"method\":\"css selector\",\"selector\":\"p\"}\n (Session info: chrome=84.0.4147.111)","stacktrace":"0 chromedriver_mac64_v84.0.4147.30 0x0000000104c27c49 chromedriver_mac64_v84.0.4147.30 + 4893769\n1 chromedriver_mac64_v84.0.4147.30 0x0000000104bc10e3 chromedriver_mac64_v84.0.4147.30 + 4473059\n2 chromedriver_mac64_v84.0.4147.30 0x00000001048348fd chromedriver_mac64_v84.0.4147.30 + 751869\n3 chromedriver_mac64_v84.0.4147.30 0x00000001047a2c71 chromedriver_mac64_v84.0.4147.30 + 154737\n4 chromedriver_mac64_v84.0.4147.30 0x00000001047cdb47 chromedriver_mac64_v84.0.4147.30 + 330567\n5 chromedriver_mac64_v84.0.4147.30 0x00000001047bf07d chromedriver_mac64_v84.0.4147.30 + 270461\n6 chromedriver_mac64_v84.0.4147.30 0x00000001047cbbe8 chromedriver_mac64_v84.0.4147.30 + 322536\n7 chromedriver_mac64_v84.0.4147.30 0x00000001047bf343 chromedriver_mac64_v84.0.4147.30 + 271171\n8 chrom... [debug] [W3C] Matched W3C error code 'no such element' to NoSuchElementError [HTTP] <-- POST /wd/hub/session/eaa40aee-7c03-4b1e-944e-bd6713569f3d/element 404 63 ms - 2202 [HTTP] [HTTP] --> DELETE /wd/hub/session/eaa40aee-7c03-4b1e-944e-bd6713569f3d [HTTP] {} [debug] [W3C (eaa40aee)] Calling AppiumDriver.deleteSession() with args: ["eaa40aee-7c03-4b1e-944e-bd6713569f3d"] [debug] [BaseDriver] Event 'quitSessionRequested' logged at 1684392963961 (12:26:03 GMT+0530 (India Standard Time)) [Appium] Removing session eaa40aee-7c03-4b1e-944e-bd6713569f3d from our master session list [debug] [UiAutomator2] Deleting UiAutomator2 session [debug] [AndroidDriver] Stopping chromedriver for context CHROMIUM [debug] [Chromedriver] Changed state to 'stopping' [debug] [WD Proxy] Proxying [DELETE /] to [DELETE http://127.0.0.1:8002/wd/hub/session/7495b5dbeb067d217a490299f23ccc93] with no body [debug] [WD Proxy] Got response with status 200: {"value":null} [debug] [Chromedriver] Changed state to 'stopped' [debug] [UiAutomator2] Deleting UiAutomator2 server session [debug] [WD Proxy] Matched '/' to command name 'deleteSession' [debug] [WD Proxy] Proxying [DELETE /] to [DELETE http://127.0.0.1:8203/wd/hub/session/86d78d56-0aa0-4db2-9366-0caf42d6b40c] with no body [debug] [WD Proxy] Got response with status 200: {"sessionId":"86d78d56-0aa0-4db2-9366-0caf42d6b40c","value":null} [debug] [Logcat] Stopping logcat capture [debug] [ADB] Removing forwarded port socket connection: 8203 [debug] [ADB] Running '/Users/ritvik/Library/Android/sdk/platform-tools/adb -P 5037 -s RF8M20XKLZH forward --remove tcp:8203' [UiAutomator2] Restoring hidden api policy to the device default configuration [debug] [ADB] Running '/Users/ritvik/Library/Android/sdk/platform-tools/adb -P 5037 -s RF8M20XKLZH shell 'settings delete global hidden_api_policy_pre_p_apps;settings delete global hidden_api_policy_p_apps;settings delete global hidden_api_policy'' [debug] [Instrumentation] . [debug] [Instrumentation] Time: 11.114 [debug] [Instrumentation] [debug] [Instrumentation] OK (1 test) [debug] [Instrumentation] The process has exited with code 0 [debug] [BaseDriver] Event 'quitSessionFinished' logged at 1684392964403 (12:26:04 GMT+0530 (India Standard Time)) [debug] [W3C (eaa40aee)] Received response: null [debug] [W3C (eaa40aee)] But deleting session, so not returning [debug] [W3C (eaa40aee)] Responding to client with driver.deleteSession() result: null [HTTP] <-- DELETE /wd/hub/session/eaa40aee-7c03-4b1e-944e-bd6713569f3d 200 444 ms - 14 [HTTP]