Untitled
unknown
plain_text
2 years ago
30 kB
7
Indexable
[HTTP] --> POST /wd/hub/session [HTTP] {"capabilities":{"alwaysMatch":{"platformName":"Android","browserName":"chrome","chromeOptions":{"w3c":false},"w3c":false}}} [debug] [W3C] Calling AppiumDriver.createSession() with args: [null,null,{"alwaysMatch":{"platformName":"Android","browserName":"chrome","chromeOptions":{"w3c":false},"w3c":false}}] [debug] [BaseDriver] Event 'newSessionRequested' logged at 1684397928705 (13:48:48 GMT+0530 (India Standard Time)) [BaseDriver] The following capabilities are not standard capabilities and should have an extension prefix: [BaseDriver] chromeOptions [BaseDriver] w3c [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] "appium:chromeOptions": { [debug] [BaseDriver] "w3c": false [debug] [BaseDriver] }, [debug] [BaseDriver] "appium:w3c": false [debug] [BaseDriver] }, [debug] [BaseDriver] "firstMatch": [ [debug] [BaseDriver] {} [debug] [BaseDriver] ] [debug] [BaseDriver] } [BaseDriver] The following capabilities were provided, but are not recognized by Appium: [BaseDriver] w3c [BaseDriver] Session created with session id: e7f5ea64-0557-4d48-a607-79baad78932c [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 8200 [debug] [ADB] Forwarding system: 8200 to device: 6790 [debug] [ADB] Running '/Users/ritvik/Library/Android/sdk/platform-tools/adb -P 5037 -s RF8M20XKLZH forward tcp:8200 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] No obsolete sessions have been detected (socket hang up) [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:8200/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:8200/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:8200/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:8200/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 3171ms [debug] [WD Proxy] Matched '/session' to command name 'createSession' [debug] [WD Proxy] Proxying [POST /session] to [POST http://127.0.0.1:8200/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","chromeOptions":{"w3c":false},"w3c":false},"platformName":"Android","browserName":"chrome","chromeOptions":{"w3c":false},"w3c":false,"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":"44334407-ef5f-4356-8d0e-5e54489520ae","value":{"capabilities":{"firstMatch":[{"platform":"LINUX","webStorageEnabled":false,"takesScreenshot":true,"javascriptEnabled":true,"databaseEnabled":false,"networkConnectionEnabled":true,"locationContextEnabled":false,"warnings":{},"desired":{"platformName":"Android","browserName":"chrome","chromeOptions":{"w3c":false},"w3c":false},"platformName":"Android","browserName":"chrome","chromeOptions":{"w3c":false},"w3c":false,"appPackage":"com.android.chrome","appActivity":"com.google.android.apps.chrome.Main","deviceName":"RF8M20XKLZH","deviceUDID":"RF8M20XKLZH"}],"alwaysMatch":{}},"sessionId":"44334407-ef5f-4356-8d0e-5e54489520ae"}} [WD Proxy] Determined the downstream protocol as 'W3C' [debug] [WD Proxy] Proxying [GET /appium/device/info] to [GET http://127.0.0.1:8200/wd/hub/session/44334407-ef5f-4356-8d0e-5e54489520ae/appium/device/info] with no body [debug] [WD Proxy] Got response with status 200: {"sessionId":"44334407-ef5f-4356-8d0e-5e54489520ae","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: 8000 [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=8000" [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=8000 --adb-port=5037 --verbose [debug] [Chromedriver] Chromedriver version: '84.0.4147.30' [Chromedriver] Chromedriver v. 84.0.4147.30 supports W3C protocol, but MJSONWP one has been explicitly requested [debug] [WD Proxy] Matched '/status' to command name 'getStatus' [debug] [WD Proxy] Proxying [GET /status] to [GET http://127.0.0.1:8000/wd/hub/status] with no body [WD Proxy] connect ECONNREFUSED 127.0.0.1:8000 [debug] [WD Proxy] Matched '/status' to command name 'getStatus' [debug] [WD Proxy] Proxying [GET /status] to [GET http://127.0.0.1:8000/wd/hub/status] with no body [debug] [WD Proxy] Got response with status 200: {"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 MJSONWP Chromedriver session with capabilities: { [Chromedriver] "desiredCapabilities": { [Chromedriver] "chromeOptions": { [Chromedriver] "androidPackage": "com.android.chrome", [Chromedriver] "androidDeviceSerial": "RF8M20XKLZH", [Chromedriver] "w3c": false [Chromedriver] }, [Chromedriver] "loggingPrefs": { [Chromedriver] "browser": "ALL" [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:8000/wd/hub/session] with body: {"desiredCapabilities":{"chromeOptions":{"androidPackage":"com.android.chrome","androidDeviceSerial":"RF8M20XKLZH","w3c":false},"loggingPrefs":{"browser":"ALL"}}} [debug] [Chromedriver] Webview version: 'Chrome/84.0.4147.111' [debug] [WD Proxy] Got response with status 200: {"sessionId":"cd5cf421192d6fd1b46d3095cb987f9c","status":0,"value":{"acceptInsecureCerts":false,"acceptSslCerts":false,"applicationCacheEnabled":false,"browserConnectionEnabled":false,"browserName":"chrome","chrome":{"chromedriverVersion":"84.0.4147.30 (48b3e868b4cc0aa7e8149519690b6f6949e110a8-refs/branch-heads/4147@{#310})"},"cssSelectorsEnabled":true,"databaseEnabled":false,"goog:chromeOptions":{"debuggerAddress":"localhost:50362"},"handlesAlerts":true,"hasTouchScreen":true,"javascriptEnabled":true,"locationContextEnabled":true,"mobileEmulationEnabled":false,"nativeEvents":true,"pageLoadStrategy":"normal","platform":"ANDROID","proxy":{},"rotatable":false,"setWindowRect":false,"strictFileInteractability":false,"takesHeapSnapshot":true,"takesScreenshot":true,"timeouts":{"implicit":0,"pageLoad":300000,"script":30000},"unexpectedAlertBehaviour":"ignore","version":"84.0.4147.111","webStorageEnabled":true,"webauthn:virtualAuthenticators":false}} [WD Proxy] Determined the downstream protocol as 'MJSONWP' [debug] [Chromedriver] Changed state to 'online' [debug] [WD Proxy] Proxying [GET /appium/device/pixel_ratio] to [GET http://127.0.0.1:8200/wd/hub/session/44334407-ef5f-4356-8d0e-5e54489520ae/appium/device/pixel_ratio] with no body [debug] [WD Proxy] Got response with status 200: {"sessionId":"44334407-ef5f-4356-8d0e-5e54489520ae","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:8200/wd/hub/session/44334407-ef5f-4356-8d0e-5e54489520ae/appium/device/system_bars] with no body [debug] [WD Proxy] Got response with status 200: {"sessionId":"44334407-ef5f-4356-8d0e-5e54489520ae","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:8200/wd/hub/session/44334407-ef5f-4356-8d0e-5e54489520ae/window/current/size] with no body [debug] [WD Proxy] Got response with status 200: {"sessionId":"44334407-ef5f-4356-8d0e-5e54489520ae","value":{"height":2020,"width":1080}} [Appium] New AndroidUiautomator2Driver session created successfully, session e7f5ea64-0557-4d48-a607-79baad78932c added to master session list [debug] [BaseDriver] Event 'newSessionStarted' logged at 1684397936047 (13:48:56 GMT+0530 (India Standard Time)) [debug] [W3C (e7f5ea64)] Cached the protocol value 'W3C' for the new session e7f5ea64-0557-4d48-a607-79baad78932c [debug] [W3C (e7f5ea64)] 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","chromeOptions":{"w3c":false},"w3c":false},"platformName":"Android","browserName":"chrome","chromeOptions":{"w3c":false},"w3c":false,"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 7477 ms - 858 [HTTP] [HTTP] --> POST /wd/hub/session/e7f5ea64-0557-4d48-a607-79baad78932c/url [HTTP] {"url":"https://the-internet.herokuapp.com/iframe"} [W3C (e7f5ea64)] Driver proxy active, passing request on via HTTP proxy [debug] [WD Proxy] Matched '/wd/hub/session/e7f5ea64-0557-4d48-a607-79baad78932c/url' to command name 'setUrl' [debug] [WD Proxy] Proxying [POST /wd/hub/session/e7f5ea64-0557-4d48-a607-79baad78932c/url] to [POST http://127.0.0.1:8000/wd/hub/session/cd5cf421192d6fd1b46d3095cb987f9c/url] with body: {"url":"https://the-internet.herokuapp.com/iframe"} [debug] [WD Proxy] Got response with status 200: {"sessionId":"cd5cf421192d6fd1b46d3095cb987f9c","status":0,"value":null} [WD Proxy] Replacing sessionId cd5cf421192d6fd1b46d3095cb987f9c with e7f5ea64-0557-4d48-a607-79baad78932c [HTTP] <-- POST /wd/hub/session/e7f5ea64-0557-4d48-a607-79baad78932c/url 200 4968 ms - 65 [HTTP] [HTTP] --> POST /wd/hub/session/e7f5ea64-0557-4d48-a607-79baad78932c/frame [HTTP] {"id":0} [W3C (e7f5ea64)] Driver proxy active, passing request on via HTTP proxy [debug] [WD Proxy] Matched '/wd/hub/session/e7f5ea64-0557-4d48-a607-79baad78932c/frame' to command name 'setFrame' [debug] [WD Proxy] Proxying [POST /wd/hub/session/e7f5ea64-0557-4d48-a607-79baad78932c/frame] to [POST http://127.0.0.1:8000/wd/hub/session/cd5cf421192d6fd1b46d3095cb987f9c/frame] with body: {"id":0} [debug] [WD Proxy] Got response with status 200: {"sessionId":"cd5cf421192d6fd1b46d3095cb987f9c","status":0,"value":null} [WD Proxy] Replacing sessionId cd5cf421192d6fd1b46d3095cb987f9c with e7f5ea64-0557-4d48-a607-79baad78932c [HTTP] <-- POST /wd/hub/session/e7f5ea64-0557-4d48-a607-79baad78932c/frame 200 68 ms - 65 [HTTP] [HTTP] --> POST /wd/hub/session/e7f5ea64-0557-4d48-a607-79baad78932c/element [HTTP] {"using":"css selector","value":"p"} [W3C (e7f5ea64)] Driver proxy active, passing request on via HTTP proxy [debug] [WD Proxy] Matched '/wd/hub/session/e7f5ea64-0557-4d48-a607-79baad78932c/element' to command name 'findElement' [debug] [WD Proxy] Proxying [POST /wd/hub/session/e7f5ea64-0557-4d48-a607-79baad78932c/element] to [POST http://127.0.0.1:8000/wd/hub/session/cd5cf421192d6fd1b46d3095cb987f9c/element] with body: {"using":"css selector","value":"p"} [debug] [WD Proxy] Got response with status 200: {"sessionId":"cd5cf421192d6fd1b46d3095cb987f9c","status":7,"value":{"message":"no such element: Unable to locate element: {\"method\":\"css selector\",\"selector\":\"p\"}\n (Session info: chrome=84.0.4147.111)\n (Driver info: chromedriver=84.0.4147.30 (48b3e868b4cc0aa7e8149519690b6f6949e110a8-refs/branch-heads/4147@{#310}),platform=Mac OS X 10.16.0 x86_64)"}} [debug] [MJSONWP] Matched JSONWP error code 7 to NoSuchElementError [HTTP] <-- POST /wd/hub/session/e7f5ea64-0557-4d48-a607-79baad78932c/element 404 53 ms - 1137 [HTTP] [HTTP] --> DELETE /wd/hub/session/e7f5ea64-0557-4d48-a607-79baad78932c [HTTP] {} [debug] [W3C (e7f5ea64)] Calling AppiumDriver.deleteSession() with args: ["e7f5ea64-0557-4d48-a607-79baad78932c"] [debug] [BaseDriver] Event 'quitSessionRequested' logged at 1684397941164 (13:49:01 GMT+0530 (India Standard Time)) [Appium] Removing session e7f5ea64-0557-4d48-a607-79baad78932c 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:8000/wd/hub/session/cd5cf421192d6fd1b46d3095cb987f9c] with no body [debug] [WD Proxy] Got response with status 200: {"sessionId":"cd5cf421192d6fd1b46d3095cb987f9c","status":0,"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:8200/wd/hub/session/44334407-ef5f-4356-8d0e-5e54489520ae] with no body [debug] [WD Proxy] Got response with status 200: {"sessionId":"44334407-ef5f-4356-8d0e-5e54489520ae","value":null} [debug] [Logcat] Stopping logcat capture [debug] [ADB] Removing forwarded port socket connection: 8200 [debug] [ADB] Running '/Users/ritvik/Library/Android/sdk/platform-tools/adb -P 5037 -s RF8M20XKLZH forward --remove tcp:8200' [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] [BaseDriver] Event 'quitSessionFinished' logged at 1684397941494 (13:49:01 GMT+0530 (India Standard Time)) [debug] [W3C (e7f5ea64)] Received response: null [debug] [W3C (e7f5ea64)] But deleting session, so not returning [debug] [W3C (e7f5ea64)] Responding to client with driver.deleteSession() result: null [HTTP] <-- DELETE /wd/hub/session/e7f5ea64-0557-4d48-a607-79baad78932c 200 333 ms - 14 [HTTP] [debug] [Instrumentation] . [debug] [Instrumentation] Time: 10.12 [debug] [Instrumentation] [debug] [Instrumentation] OK (1 test) [debug] [Instrumentation] The process has exited with code 0
Editor is loading...