# I can't get any command working on android chrome browser

**URL:** <https://discuss.appium.io/t/i-cant-get-any-command-working-on-android-chrome-browser/41586>\
**Category:** Support\
**Created:** [February 6, 2024, 9:04am UTC](https://discuss.appium.io/t/i-cant-get-any-command-working-on-android-chrome-browser/41586 "2024-02-06T09:04:34Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![roboMaker](https://discuss.appium.io/user_avatar/discuss.appium.io/robomaker/32/12461_2.png) [@roboMaker](https://discuss.appium.io/u/roboMaker)\
**Post date:** [February 6, 2024, 9:04am UTC](https://discuss.appium.io/t/i-cant-get-any-command-working-on-android-chrome-browser/41586/1 "2024-02-06T09:04:34Z")

</div>

I am running tests on android mobile web browser(chrome) but no command like click, sinkers nothing is working and throwing below error

org.openqa.selenium.UnsupportedCommandException: getCurrentContextHandle  
Build info: version: ‘4.17.0’, revision: ‘e52b1be057\*’  
System info: os.name: ‘Mac OS X’, os.arch: ‘aarch64’, os.version: ‘14.2.1’, java.version: ‘17.0.6’  
Driver info: io.appium.java\_client.android.AndroidDriver  
Command: [8422afda-f262-40cb-a8c0-63cbcda5f092, getCurrentContextHandle {}]  
Capabilities {appium:autoGrantPermissions: true, appium:automationName: UIAutomator2, appium:avd: Pixel\_4\_API\_34, appium:databaseEnabled: false, appium:desired: {appActivity: com.google.android.apps.chr…, appPackage: com.android.chrome, autoGrantPermissions: true, automationName: UIAutomator2, avd: Pixel\_4\_API\_34, browserName: chrome, deviceName: Pixel\_4\_API\_34, goog:chromeOptions: {args: [–disable-popup-blocking, --start-maximized], extensions: []}, nativeWebScreenshot: true, platformName: ANDROID, uiautomator2ServerLaunchTimeout: 250000}, appium:deviceApiLevel: 34, appium:deviceManufacturer: Google, appium:deviceModel: sdk\_gphone64\_arm64, appium:deviceName: emulator-5554, appium:deviceScreenDensity: 440, appium:deviceScreenSize: 1080x2280, appium:deviceUDID: emulator-5554, appium:javascriptEnabled: true, appium:locationContextEnabled: false, appium:nativeWebScreenshot: true, appium:networkConnectionEnabled: true, appium:pixelRatio: 2.75, appium:platformVersion: 14, appium:statBarHeight: 83, appium:takesScreenshot: true, appium:uiautomator2ServerLaunchTimeout: 250000, appium:viewportRect: {height: 2197, left: 0, top: 83, width: 1080}, appium:warnings: {}, appium:webStorageEnabled: false, browserName: chrome, goog:chromeOptions: {args: [–disable-popup-blocking, --start-maximized], extensions: []}, platformName: ANDROID}  
Session ID: 8422afda-f262-40cb-a8c0-63cbcda5f092  
at org.openqa.selenium.remote.codec.AbstractHttpCommandCodec.encode(AbstractHttpCommandCodec.java:237)  
at org.openqa.selenium.remote.codec.AbstractHttpCommandCodec.encode(AbstractHttpCommandCodec.java:111)  
at org.openqa.selenium.remote.HttpCommandExecutor.execute(HttpCommandExecutor.java:178)  
at io.appium.java\_client.remote.AppiumCommandExecutor.execute(AppiumCommandExecutor.java:238)  
at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:519)  
at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:592)  
at io.appium.java\_client.AppiumDriver.execute(AppiumDriver.java:307)  
at io.appium.java\_client.remote.SupportsContextSwitching.getContext(SupportsContextSwitching.java:78)  
at io.appium.java\_client.pagefactory.utils.WebDriverUnpackUtility.lambda$getCurrentContentType$0(WebDriverUnpackUtility.java:93)  
at java.base/java.util.Optional.map(Optional.java:260)  
at io.appium.java\_client.pagefactory.utils.WebDriverUnpackUtility.getCurrentContentType(WebDriverUnpackUtility.java:86)  
at io.appium.java\_client.pagefactory.AppiumElementLocator.getBy(AppiumElementLocator.java:126)  
at io.appium.java\_client.pagefactory.AppiumElementLocator.findElement(AppiumElementLocator.java:158)  
at io.appium.java\_client.pagefactory.interceptors.InterceptorOfASingleElement.call(InterceptorOfASingleElement.java:64)  
at io.appium.java\_client.proxy.Interceptor.intercept(Interceptor.java:77)  
at org.openqa.selenium.remote.RemoteWebElement$ByteBuddy$7k145HQy.isDisplayed(Unknown Source)  
at org.openqa.selenium.support.ui.ExpectedConditions.elementIfVisible(ExpectedConditions.java:304)  
at org.openqa.selenium.support.ui.ExpectedConditions$10.apply(ExpectedConditions.java:290)  
at org.openqa.selenium.support.ui.ExpectedConditions$10.apply(ExpectedConditions.java:287)  
at org.openqa.selenium.support.ui.FluentWait.until(FluentWait.java:203)  
at pages.BasePage.waitForVisibility(BasePage.java:43)  
at pages.LoginPage.performLogIn(LoginPage.java:112)  
at tests.BarcodeSearch.QRCodeTest(BarcodeSearch.java:45)  
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)  
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)  
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)  
at java.base/java.lang.reflect.Method.invoke(Method.java:568)  
at org.testng.internal.invokers.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:139)  
at org.testng.internal.invokers.TestInvoker.invokeMethod(TestInvoker.java:664)  
at org.testng.internal.invokers.TestInvoker.invokeTestMethod(TestInvoker.java:227)  
at org.testng.internal.invokers.MethodRunner.runInSequence(MethodRunner.java:50)  
at org.testng.internal.invokers.TestInvoker$MethodInvocationAgent.invoke(TestInvoker.java:957)  
at org.testng.internal.invokers.TestInvoker.invokeTestMethods(TestInvoker.java:200)  
at org.testng.internal.invokers.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:148)  
at org.testng.internal.invokers.TestMethodWorker.run(TestMethodWorker.java:128)  
at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)  
at org.testng.TestRunner.privateRun(TestRunner.java:848)  
at org.testng.TestRunner.run(TestRunner.java:621)  
at org.testng.SuiteRunner.runTest(SuiteRunner.java:443)  
at org.testng.SuiteRunner$SuiteWorker.run(SuiteRunner.java:481)  
at org.testng.internal.thread.ThreadUtil.lambda$execute$0(ThreadUtil.java:58)  
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)  
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)  
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)  
at java.base/java.lang.Thread.run(Thread.java:833)

Env: Appium v2.4.1,  
[Appium] Available drivers:  
[Appium] - uiautomator2@2.42.0 (automationName ‘UiAutomator2’)  
[Appium] - xcuitest@5.13.2 (automationName ‘XCUITest’)  
[Appium] - gecko@1.2.10 (automationName ‘Gecko’)  
[Appium] - mac2@1.9.0 (automationName ‘Mac2’)  
[Appium] - safari@3.5.9 (automationName ‘Safari’)  
[Appium] - chromium@1.3.3 (automationName ‘Chromium’)  
[Appium] Available plugins:  
[Appium] - execute-driver@3.0.23  
Java client - 9  
AndroidUiautomator2Driver’s BaseDriver version is 9.5.0

in maven:  
dependency\>  
io.appium  
java-client  
9.1.0  
  
  
org.seleniumhq.selenium  
selenium-java  
4.17.0

---

<div class="post-metadata">

**Author:** ![mykola-mokhnach](https://discuss.appium.io/user_avatar/discuss.appium.io/mykola-mokhnach/32/4578_2.png) [@mykola-mokhnach](https://discuss.appium.io/u/mykola-mokhnach)\
**Post date:** [February 6, 2024, 5:49pm UTC](https://discuss.appium.io/t/i-cant-get-any-command-working-on-android-chrome-browser/41586/2 "2024-02-06T17:49:38Z")

</div>

> **[GitHub - appium/java-client: Java language binding for writing Appium Tests,...](https://github.com/appium/java-client?tab=readme-ov-file#compatibility-matrix)**
>
> Java language binding for writing Appium Tests, conforms to W3C WebDriver Protocol - GitHub - appium/java-client: Java language binding for writing Appium Tests, conforms to W3C WebDriver Protocol

---

<div class="post-metadata">

**Author:** ![roboMaker](https://discuss.appium.io/user_avatar/discuss.appium.io/robomaker/32/12461_2.png) [@roboMaker](https://discuss.appium.io/u/roboMaker)\
**Post date:** [February 7, 2024, 7:47am UTC](https://discuss.appium.io/t/i-cant-get-any-command-working-on-android-chrome-browser/41586/3 "2024-02-07T07:47:51Z")

</div>

Thank you, after I taken the exact matching version, I am getting the below error

16 [AppiumDriver@089a] Checking BaseDriver versions for Appium and AndroidUiautomator2Driver  
2024-02-07 07:38:20:916 [AppiumDriver@089a] Appium’s BaseDriver version is 9.5.0  
2024-02-07 07:38:20:917 [AppiumDriver@089a] AndroidUiautomator2Driver’s BaseDriver version is 9.5.0  
2024-02-07 07:38:20:917 [AppiumDriver@089a] There are no active sessions for cleanup  
2024-02-07 07:38:20:919 [AppiumDriver@089a] Applying relaxed security to ‘AndroidUiautomator2Driver’ as per server command line argument. All insecure features will be enabled unless explicitly disabled by --deny-insecure  
2024-02-07 07:38:20:919 [AppiumDriver@089a] Explicitly enabling use of insecure features:  
2024-02-07 07:38:20:919 [AppiumDriver@089a] chromedriver\_autodownload  
2024-02-07 07:38:20:919 [AndroidUiautomator2Driver@009d] Creating session with W3C capabilities: {  
2024-02-07 07:38:20:919 [AndroidUiautomator2Driver@009d] “alwaysMatch”: {  
2024-02-07 07:38:20:919 [AndroidUiautomator2Driver@009d] “browserName”: “Chrome”,  
2024-02-07 07:38:20:919 [AndroidUiautomator2Driver@009d] “platformName”: “ANDROID”,  
2024-02-07 07:38:20:919 [AndroidUiautomator2Driver@009d] “appium:automationName”: “UIAutomator2”,  
2024-02-07 07:38:20:919 [AndroidUiautomator2Driver@009d] “appium:avd”: “Nexus\_5X\_API\_34”  
2024-02-07 07:38:20:919 [AndroidUiautomator2Driver@009d] },  
2024-02-07 07:38:20:919 [AndroidUiautomator2Driver@009d] “firstMatch”: [  
2024-02-07 07:38:20:919 [AndroidUiautomator2Driver@009d] {}  
2024-02-07 07:38:20:919 [AndroidUiautomator2Driver@009d] ]  
2024-02-07 07:38:20:919 [AndroidUiautomator2Driver@009d] }  
2024-02-07 07:38:20:922 [AndroidUiautomator2Driver@009d (aa93d77a)] Session created with session id: aa93d77a-e198-4191-8ed3-3f02f99589db  
2024-02-07 07:38:20:922 [AndroidUiautomator2Driver@009d (aa93d77a)] We’re going to run a Chrome-based session  
2024-02-07 07:38:20:922 [AndroidUiautomator2Driver@009d (aa93d77a)] Deleting UiAutomator2 session  
2024-02-07 07:38:20:923 [AndroidUiautomator2Driver@009d (aa93d77a)] Unable to stop ChromeDriver proxies: Cannot read properties of undefined (reading ‘proxyReqRes’)  
2024-02-07 07:38:20:923 [AppiumDriver@089a] Event ‘newSessionStarted’ logged at 1707291500923 (13:08:20 GMT+0530 (India Standard Time))  
2024-02-07 07:38:20:935 [AppiumDriver@089a] Encountered internal error running command: TypeError: Cannot read properties of undefined (reading ‘getApiLevel’)  
2024-02-07 07:38:20:935 [AppiumDriver@089a] at AndroidUiautomator2Driver.createSession (/.appium/node\_modules/appium-uiautomator2-driver/lib/driver.ts:379:28)  
2024-02-07 07:38:20:935 [AppiumDriver@089a] at AppiumDriver.createSession (/usr/local/lib/node\_modules/appium/lib/appium.js:717:35)  
2024-02-07 07:38:20:940 [HTTP] \<-- POST /session 500 27 ms - 618

can you please assist me, completely blocking us/

in maven:  
dependency\>  
io.appium  
java-client  
9.1.0  
  
  
org.seleniumhq.selenium  
selenium-java  
4.17.0

---

<div class="post-metadata">

**Author:** ![mykola-mokhnach](https://discuss.appium.io/user_avatar/discuss.appium.io/mykola-mokhnach/32/4578_2.png) [@mykola-mokhnach](https://discuss.appium.io/u/mykola-mokhnach)\
**Post date:** [February 7, 2024, 1:49pm UTC](https://discuss.appium.io/t/i-cant-get-any-command-working-on-android-chrome-browser/41586/4 "2024-02-07T13:49:26Z")

</div>

this is actually a bug in the recent uia2 driver release. Update it to version 2.44.3+

---

<div class="post-metadata">

**Author:** ![roboMaker](https://discuss.appium.io/user_avatar/discuss.appium.io/robomaker/32/12461_2.png) [@roboMaker](https://discuss.appium.io/u/roboMaker)\
**Post date:** [February 7, 2024, 3:28pm UTC](https://discuss.appium.io/t/i-cant-get-any-command-working-on-android-chrome-browser/41586/5 "2024-02-07T15:28:37Z")

</div>

Even after updating to 2.44.3+ getting below error

[AndroidUiautomator2Driver@eba5 (e5250c06)] Error: Appium Settings app is not running after 30000ms  
[AndroidUiautomator2Driver@eba5 (e5250c06)] at SettingsApp.requireRunning (/Users/.appium/node\_modules/appium-uiautomator2-driver/node\_modules/io.appium.settings/lib/client.js:96:13)  
[AndroidUiautomator2Driver@eba5 (e5250c06)] at AndroidUiautomator2Driver.pushSettingsApp (/Users/.appium/node\_modules/appium-uiautomator2-driver/node\_modules/appium-android-driver/lib/commands/device/utils.js:250:5)  
[AndroidUiautomator2Driver@eba5 (e5250c06)] at AndroidUiautomator2Driver.initDevice (/Users/.appium/node\_modules/appium-uiautomator2-driver/node\_modules/appium-android-driver/lib/commands/device/common.js:221:5)  
[AndroidUiautomator2Driver@eba5 (e5250c06)] Deleting UiAutomator2 session  
[AndroidUiautomator2Driver@eba5 (e5250c06)] Unable to stop ChromeDriver proxies: Cannot read properties of undefined (reading ‘proxyReqRes’)  
[ADB] Running ‘/Users/Library/Android/sdk/platform-tools/adb -P 5037 -s emulator-5554 shell dumpsys activity services io.appium.settings/.recorder.RecorderService’  
[AndroidUiautomator2Driver@eba5 (e5250c06)] Restoring hidden api policy to the device default configuration  
[ADB] Running ‘/Users/Library/Android/sdk/platform-tools/adb -P 5037 -s emulator-5554 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@a91f] Event ‘newSessionStarted’ logged at 1707319497986 (20:54:57 GMT+0530 (India Standard Time))  
[AppiumDriver@a91f] Encountered internal error running command: Error: Appium Settings app is not running after 30000ms  
[AppiumDriver@a91f] at SettingsApp.requireRunning (/Users/.appium/node\_modules/appium-uiautomator2-driver/node\_modules/io.appium.settings/lib/client.js:96:13)  
[AppiumDriver@a91f] at AndroidUiautomator2Driver.pushSettingsApp (/Users/.appium/node\_modules/appium-uiautomator2-driver/node\_modules/appium-android-driver/lib/commands/device/utils.js:250:5)  
[AppiumDriver@a91f] at AndroidUiautomator2Driver.initDevice (/Users/.appium/node\_modules/appium-uiautomator2-driver/node\_modules/appium-android-driver/lib/commands/device/common.js:221:5)  
[HTTP] \<-- POST /session 500 50822 ms - 596

---

<div class="post-metadata">

**Author:** ![mykola-mokhnach](https://discuss.appium.io/user_avatar/discuss.appium.io/mykola-mokhnach/32/4578_2.png) [@mykola-mokhnach](https://discuss.appium.io/u/mykola-mokhnach)\
**Post date:** [February 7, 2024, 4:58pm UTC](https://discuss.appium.io/t/i-cant-get-any-command-working-on-android-chrome-browser/41586/6 "2024-02-07T16:58:40Z")

</div>

> Error: Appium Settings app is not running after 30000ms

This might be an issue with the device itself or a general slowness issue.  
I cannot help more with that without having the full server log and the logcat output for that time period.

---

<div class="post-metadata">

**Author:** ![roboMaker](https://discuss.appium.io/user_avatar/discuss.appium.io/robomaker/32/12461_2.png) [@roboMaker](https://discuss.appium.io/u/roboMaker)\
**Post date:** [February 8, 2024, 7:09am UTC](https://discuss.appium.io/t/i-cant-get-any-command-working-on-android-chrome-browser/41586/7 "2024-02-08T07:09:49Z")

</div>

its seems the latest release is not healthy …many issues and completely blocked  
getting again same issue  
Unable to stop ChromeDriver proxies: Cannot read properties of undefined (reading ‘proxyReqRes’)

Logs:  
2024-02-08 12:52:41:518 [Appium] Welcome to Appium v2.4.1  
2024-02-08 12:52:41:519 [Appium] Non-default server args:  
2024-02-08 12:52:41:520 [Appium] { allowInsecure: [‘chromedriver\_autodownload’],  
2024-02-08 12:52:41:520 [Appium] port: 3369,  
2024-02-08 12:52:41:520 [Appium] relaxedSecurityEnabled: true,  
2024-02-08 12:52:41:520 [Appium] sessionOverride: true,  
2024-02-08 12:52:41:520 [Appium] useDrivers: [‘uiautomator2’] }  
2024-02-08 12:52:41:520 [Appium] The autodetected Appium home path: /Users/user/.appium  
2024-02-08 12:52:41:521 [Appium] Attempting to load driver uiautomator2…  
2024-02-08 12:52:41:522 [Appium] Requiring driver at /Users/user/.appium/node\_modules/appium-uiautomator2-driver/build/index.js  
2024-02-08 12:52:42:185 [Appium] AndroidUiautomator2Driver has been successfully loaded in 0.664s  
2024-02-08 12:52:42:194 [Appium] Appium REST http interface listener started on [http://0.0.0.0:3369](http://0.0.0.0:3369)  
2024-02-08 12:52:42:195 [Appium] You can provide the following URLs in your client code to connect to this server:  
2024-02-08 12:52:42:195 [Appium] [http://127.0.0.1:3369/](http://127.0.0.1:3369/) (only accessible from the same host)  
2024-02-08 12:52:42:195 [Appium] [http://192.168.201.117:3369/](http://192.168.201.117:3369/)  
2024-02-08 12:52:42:195 [Appium] Available drivers:  
2024-02-08 12:52:42:195 [Appium] - uiautomator2@2.44.3 (automationName ‘UiAutomator2’)  
2024-02-08 12:52:42:195 [Appium] - xcuitest@5.13.2 (automationName ‘XCUITest’)  
2024-02-08 12:52:42:195 [Appium] - gecko@1.2.10 (automationName ‘Gecko’)  
2024-02-08 12:52:42:195 [Appium] - mac2@1.9.0 (automationName ‘Mac2’)  
2024-02-08 12:52:42:195 [Appium] - safari@3.5.9 (automationName ‘Safari’)  
2024-02-08 12:52:42:195 [Appium] - chromium@1.3.3 (automationName ‘Chromium’)  
2024-02-08 12:52:42:196 [Appium] Available plugins:  
2024-02-08 12:52:42:196 [Appium] - execute-driver@3.0.23  
2024-02-08 12:52:42:196 [Appium] No plugins activated. Use the --use-plugins flag with names of plugins to activate  
2024-02-08 12:52:42:203 [HTTP] --\> GET /status  
2024-02-08 12:52:42:203 [HTTP] {}  
2024-02-08 12:52:42:203 [AppiumDriver@e14a] Calling AppiumDriver.getStatus() with args: []  
2024-02-08 12:52:42:204 [AppiumDriver@e14a] Responding to client with driver.getStatus() result: {“ready”:true,“message”:“The server is ready to accept new connections”,“build”:{“version”:“2.4.1”}}  
2024-02-08 12:52:42:205 [HTTP] \<-- GET /status 200 2 ms - 110  
2024-02-08 12:52:42:206 [HTTP]  
2024-02-08 12:52:42:210 [HTTP] --\> GET /status  
2024-02-08 12:52:42:210 [HTTP] {}  
2024-02-08 12:52:42:211 [AppiumDriver@e14a] Calling AppiumDriver.getStatus() with args: []  
2024-02-08 12:52:42:211 [AppiumDriver@e14a] Responding to client with driver.getStatus() result: {“ready”:true,“message”:“The server is ready to accept new connections”,“build”:{“version”:“2.4.1”}}  
2024-02-08 12:52:42:211 [HTTP] \<-- GET /status 200 0 ms - 110  
2024-02-08 12:52:42:211 [HTTP]  
2024-02-08 12:52:42:501 [HTTP] Request idempotency key: b3bf3634-2db8-416d-9348-655e26201db5  
2024-02-08 12:52:42:509 [HTTP] --\> POST /session  
2024-02-08 12:52:42:509 [HTTP] {“capabilities”:{“firstMatch”:[{}],“alwaysMatch”:{“appium:unicodeKeyboard”:true,“appium:nativeWebScreenshot”:true,“appium:ignoreHiddenApiPolicyError”:true,“appium:deviceName”:“Nexus\_5X\_API\_34”,“goog:chromeOptions”:{“args”:["–disable-popup-blocking","–start-maximized"],“extensions”:[]},“appium:uiautomator2ServerLaunchTimeout”:400000,“appium:avdLaunchTimeout”:400000,“appium:clearDeviceLogsOnStart”:true,“appium:autoGrantPermissions”:true,“appium:automationName”:“UIAutomator2”,“appium:avdReadyTimeout”:400000,“appium:resetKeyboard”:true,“appium:androidInstallTimeout”:120000,“browserName”:“chrome”,“platformName”:“ANDROID”,“appium:newCommandTimeout”:5000,“appium:avd”:“Nexus\_5X\_API\_34”}}}  
2024-02-08 12:52:42:509 [AppiumDriver@e14a] Calling AppiumDriver.createSession() with args: [null,null,{“firstMatch”:[{}],“alwaysMatch”:{“appium:unicodeKeyboard”:true,“appium:nativeWebScreenshot”:true,“appium:ignoreHiddenApiPolicyError”:true,“appium:deviceName”:“Nexus\_5X\_API\_34”,“goog:chromeOptions”:{“args”:["–disable-popup-blocking","–start-maximized"],“extensions”:[]},“appium:uiautomator2ServerLaunchTimeout”:400000,“appium:avdLaunchTimeout”:400000,“appium:clearDeviceLogsOnStart”:true,“appium:autoGrantPermissions”:true,“appium:automationName”:“UIAutomator2”,“appium:avdReadyTimeout”:400000,“appium:resetKeyboard”:true,“appium:androidInstallTimeout”:120000,“browserName”:“chrome”,“platformName”:“ANDROID”,“appium:newCommandTimeout”:5000,“appium:avd”:“Nexus\_5X\_API\_34”}}]  
2024-02-08 12:52:42:510 [AppiumDriver@e14a] Event ‘newSessionRequested’ logged at 1707396762510 (18:22:42 GMT+0530 (country Standard Time))  
2024-02-08 12:52:42:511 [Appium] Attempting to find matching driver for automationName ‘UIAutomator2’ and platformName ‘ANDROID’  
2024-02-08 12:52:42:511 [Appium] The ‘uiautomator2’ driver was installed and matched caps.  
2024-02-08 12:52:42:511 [Appium] Will require it at /Users/user/.appium/node\_modules/appium-uiautomator2-driver  
2024-02-08 12:52:42:512 [Appium] Requiring driver at /Users/user/.appium/node\_modules/appium-uiautomator2-driver/build/index.js  
2024-02-08 12:52:42:512 [AppiumDriver@e14a] Appium v2.4.1 creating new AndroidUiautomator2Driver (v2.44.3) session  
2024-02-08 12:52:42:512 [AppiumDriver@e14a] Checking BaseDriver versions for Appium and AndroidUiautomator2Driver  
2024-02-08 12:52:42:513 [AppiumDriver@e14a] Appium’s BaseDriver version is 9.5.0  
2024-02-08 12:52:42:513 [AppiumDriver@e14a] AndroidUiautomator2Driver’s BaseDriver version is 9.5.0  
2024-02-08 12:52:42:513 [AppiumDriver@e14a] There are no active sessions for cleanup  
2024-02-08 12:52:42:514 [AppiumDriver@e14a] Applying relaxed security to ‘AndroidUiautomator2Driver’ as per server command line argument. All insecure features will be enabled unless explicitly disabled by --deny-insecure  
2024-02-08 12:52:42:514 [AppiumDriver@e14a] Explicitly enabling use of insecure features:  
2024-02-08 12:52:42:515 [AppiumDriver@e14a] chromedriver\_autodownload  
2024-02-08 12:52:42:515 [AndroidUiautomator2Driver@cf3b] Creating session with W3C capabilities: {  
2024-02-08 12:52:42:515 [AndroidUiautomator2Driver@cf3b] “alwaysMatch”: {  
2024-02-08 12:52:42:515 [AndroidUiautomator2Driver@cf3b] “goog:chromeOptions”: {  
2024-02-08 12:52:42:515 [AndroidUiautomator2Driver@cf3b] “args”: [  
2024-02-08 12:52:42:515 [AndroidUiautomator2Driver@cf3b] “–disable-popup-blocking”,  
2024-02-08 12:52:42:515 [AndroidUiautomator2Driver@cf3b] “–start-maximized”  
2024-02-08 12:52:42:515 [AndroidUiautomator2Driver@cf3b] ],  
2024-02-08 12:52:42:515 [AndroidUiautomator2Driver@cf3b] “extensions”: []  
2024-02-08 12:52:42:515 [AndroidUiautomator2Driver@cf3b] },  
2024-02-08 12:52:42:515 [AndroidUiautomator2Driver@cf3b] “browserName”: “chrome”,  
2024-02-08 12:52:42:515 [AndroidUiautomator2Driver@cf3b] “platformName”: “ANDROID”,  
2024-02-08 12:52:42:515 [AndroidUiautomator2Driver@cf3b] “appium:unicodeKeyboard”: true,  
2024-02-08 12:52:42:515 [AndroidUiautomator2Driver@cf3b] “appium:nativeWebScreenshot”: true,  
2024-02-08 12:52:42:515 [AndroidUiautomator2Driver@cf3b] “appium:ignoreHiddenApiPolicyError”: true,  
2024-02-08 12:52:42:515 [AndroidUiautomator2Driver@cf3b] “appium:deviceName”: “Nexus\_5X\_API\_34”,  
2024-02-08 12:52:42:515 [AndroidUiautomator2Driver@cf3b] “appium:uiautomator2ServerLaunchTimeout”: 400000,  
2024-02-08 12:52:42:515 [AndroidUiautomator2Driver@cf3b] “appium:avdLaunchTimeout”: 400000,  
2024-02-08 12:52:42:515 [AndroidUiautomator2Driver@cf3b] “appium:clearDeviceLogsOnStart”: true,  
2024-02-08 12:52:42:515 [AndroidUiautomator2Driver@cf3b] “appium:autoGrantPermissions”: true,  
2024-02-08 12:52:42:515 [AndroidUiautomator2Driver@cf3b] “appium:automationName”: “UIAutomator2”,  
2024-02-08 12:52:42:515 [AndroidUiautomator2Driver@cf3b] “appium:avdReadyTimeout”: 400000,  
2024-02-08 12:52:42:515 [AndroidUiautomator2Driver@cf3b] “appium:resetKeyboard”: true,  
2024-02-08 12:52:42:515 [AndroidUiautomator2Driver@cf3b] “appium:androidInstallTimeout”: 120000,  
2024-02-08 12:52:42:515 [AndroidUiautomator2Driver@cf3b] “appium:newCommandTimeout”: 5000,  
2024-02-08 12:52:42:515 [AndroidUiautomator2Driver@cf3b] “appium:avd”: “Nexus\_5X\_API\_34”  
2024-02-08 12:52:42:515 [AndroidUiautomator2Driver@cf3b] },  
2024-02-08 12:52:42:515 [AndroidUiautomator2Driver@cf3b] “firstMatch”: [  
2024-02-08 12:52:42:516 [AndroidUiautomator2Driver@cf3b] {}  
2024-02-08 12:52:42:516 [AndroidUiautomator2Driver@cf3b] ]  
2024-02-08 12:52:42:516 [AndroidUiautomator2Driver@cf3b] }  
2024-02-08 12:52:42:518 [AndroidUiautomator2Driver@cf3b] The following provided capabilities were not recognized by this driver:  
2024-02-08 12:52:42:518 [AndroidUiautomator2Driver@cf3b] goog:chromeOptions  
2024-02-08 12:52:42:518 [AndroidUiautomator2Driver@cf3b] resetKeyboard  
2024-02-08 12:52:42:518 [AndroidUiautomator2Driver@cf3b (c9f62022)] Session created with session id: c9f62022-a696-4f70-bf34-2a5da83062b7  
2024-02-08 12:52:42:524 [ADB] Found 5 ‘build-tools’ folders under ‘/Users/user/Library/Android/sdk’ (newest first):  
2024-02-08 12:52:42:524 [ADB] /Users/user/Library/Android/sdk/build-tools/34.0.0  
2024-02-08 12:52:42:524 [ADB] /Users/user/Library/Android/sdk/build-tools/33.0.2  
2024-02-08 12:52:42:524 [ADB] /Users/user/Library/Android/sdk/build-tools/33.0.0  
2024-02-08 12:52:42:524 [ADB] /Users/user/Library/Android/sdk/build-tools/30.0.3  
2024-02-08 12:52:42:524 [ADB] /Users/user/Library/Android/sdk/build-tools/28.0.3  
2024-02-08 12:52:42:525 [ADB] Using ‘adb’ from ‘/Users/user/Library/Android/sdk/platform-tools/adb’  
2024-02-08 12:52:42:525 [ADB] Running ‘/Users/user/Library/Android/sdk/platform-tools/adb -P 5037 start-server’  
2024-02-08 12:52:42:550 [ADB] Trying to find ‘Nexus\_5X\_API\_34’ emulator  
2024-02-08 12:52:42:550 [ADB] Getting connected emulators  
2024-02-08 12:52:42:550 [ADB] Getting connected devices  
2024-02-08 12:52:42:570 [ADB] Connected devices: [{“udid”:“emulator-5554”,“state”:“device”}]  
2024-02-08 12:52:42:571 [ADB] 1 emulator connected  
2024-02-08 12:52:42:571 [ADB] Overriding /Users/user/.emulator\_console\_auth\_token with an empty string to avoid telnet authentication for emulator commands  
2024-02-08 12:52:42:579 [ADB] Executing Emulator console command: avd name  
2024-02-08 12:52:42:580 [ADB] Found emulator ‘Nexus\_5X\_API\_34’ on port 5554  
2024-02-08 12:52:42:580 [ADB] Setting device id to emulator-5554  
2024-02-08 12:52:42:580 [AndroidUiautomator2Driver@cf3b (c9f62022)] Not launching AVD because it is already running.  
2024-02-08 12:52:42:580 [AndroidUiautomator2Driver@cf3b (c9f62022)] Using device: emulator-5554  
2024-02-08 12:52:42:581 [ADB] Using ‘adb’ from ‘/Users/user/Library/Android/sdk/platform-tools/adb’  
2024-02-08 12:52:42:581 [ADB] Running ‘/Users/user/Library/Android/sdk/platform-tools/adb -P 5037 start-server’  
2024-02-08 12:52:42:604 [ADB] Setting device id to emulator-5554  
2024-02-08 12:52:42:604 [AndroidUiautomator2Driver@cf3b (c9f62022)] We’re going to run a Chrome-based session  
2024-02-08 12:52:42:604 [ADB] Running ‘/Users/user/Library/Android/sdk/platform-tools/adb -P 5037 -s emulator-5554 shell getprop ro.build.version.sdk’  
2024-02-08 12:52:42:715 [ADB] Current device property ‘ro.build.version.sdk’: 34  
2024-02-08 12:52:42:715 [ADB] Getting device platform version  
2024-02-08 12:52:42:715 [ADB] Running ‘/Users/user/Library/Android/sdk/platform-tools/adb -P 5037 -s emulator-5554 shell getprop ro.build.version.release’  
2024-02-08 12:52:42:793 [ADB] Current device property ‘ro.build.version.release’: 14  
2024-02-08 12:52:42:793 [ADB] Device API level: 34  
2024-02-08 12:52:42:794 [ADB] Running ‘/Users/user/Library/Android/sdk/platform-tools/adb -P 5037 -s emulator-5554 shell cmd package resolve-activity --brief com.android.chrome’  
2024-02-08 12:52:43:059 [AndroidUiautomator2Driver@cf3b (c9f62022)] Chrome-type package and activity are com.android.chrome and com.android.chrome/com.google.android.apps.chrome.Main  
2024-02-08 12:52:43:060 [AndroidUiautomator2Driver@cf3b (c9f62022)] Starting ‘com.android.chrome’ directly on the device  
2024-02-08 12:52:43:061 [AndroidUiautomator2Driver@cf3b (c9f62022)] Relaxing hidden api policy  
2024-02-08 12:52:43:061 [ADB] Running ‘/Users/user/Library/Android/sdk/platform-tools/adb -P 5037 -s emulator-5554 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’’  
2024-02-08 12:52:43:066 [AndroidUiautomator2Driver@cf3b (c9f62022)] No app sent in, not parsing package/activity  
2024-02-08 12:52:43:066 [ADB] Running ‘/Users/user/Library/Android/sdk/platform-tools/adb -P 5037 -s emulator-5554 wait-for-device’  
2024-02-08 12:52:43:105 [ADB] Running ‘/Users/user/Library/Android/sdk/platform-tools/adb -P 5037 -s emulator-5554 shell echo ping’  
2024-02-08 12:52:43:180 [AndroidUiautomator2Driver@cf3b (c9f62022)] Pushing settings apk to the device…  
2024-02-08 12:52:43:181 [ADB] Getting package info for ‘io.appium.settings’  
2024-02-08 12:52:43:181 [ADB] Running ‘/Users/user/Library/Android/sdk/platform-tools/adb -P 5037 -s emulator-5554 shell dumpsys package io.appium.settings’  
2024-02-08 12:52:43:777 [ADB] The version name of the installed ‘io.appium.settings’ is greater or equal to the application version name (‘5.7.5’ \>= ‘5.7.5’)  
2024-02-08 12:52:43:779 [ADB] There is no need to install/upgrade ‘/Users/user/.appium/node\_modules/appium-uiautomator2-driver/node\_modules/io.appium.settings/apks/settings\_apk-debug.apk’  
2024-02-08 12:52:43:779 [ADB] Running ‘/Users/user/Library/Android/sdk/platform-tools/adb -P 5037 -s emulator-5554 shell dumpsys activity services io.appium.settings’  
2024-02-08 12:52:43:902 [ADB] Running ‘/Users/user/Library/Android/sdk/platform-tools/adb -P 5037 -s emulator-5554 shell cmd notification allow\_listener io.appium.settings/.NLService’  
2024-02-08 12:52:43:903 [ADB] Running ‘/Users/user/Library/Android/sdk/platform-tools/adb -P 5037 -s emulator-5554 shell appops set io.appium.settings PROJECT\_MEDIA allow’  
2024-02-08 12:52:44:051 [ADB] Running ‘/Users/user/Library/Android/sdk/platform-tools/adb -P 5037 -s emulator-5554 shell dumpsys activity services io.appium.settings’  
2024-02-08 12:52:44:191 [SettingsApp] Starting Appium Settings app  
2024-02-08 12:52:44:192 [ADB] Running ‘/Users/user/Library/Android/sdk/platform-tools/adb -P 5037 -s emulator-5554 shell am start -n io.appium.settings/.Settings -a android.intent.action.MAIN -c android.intent.category.LAUNCHER’  
2024-02-08 12:52:44:487 [ADB] Running ‘/Users/user/Library/Android/sdk/platform-tools/adb -P 5037 -s emulator-5554 shell dumpsys activity services io.appium.settings’  
2024-02-08 12:52:45:125 [ADB] Running ‘/Users/user/Library/Android/sdk/platform-tools/adb -P 5037 -s emulator-5554 shell dumpsys activity services io.appium.settings’  
2024-02-08 12:52:45:829 [ADB] Running ‘/Users/user/Library/Android/sdk/platform-tools/adb -P 5037 -s emulator-5554 shell dumpsys activity services io.appium.settings’  
2024-02-08 12:52:46:562 [ADB] Running ‘/Users/user/Library/Android/sdk/platform-tools/adb -P 5037 -s emulator-5554 shell dumpsys activity services io.appium.settings’  
2024-02-08 12:52:47:266 [ADB] Running ‘/Users/user/Library/Android/sdk/platform-tools/adb -P 5037 -s emulator-5554 shell dumpsys activity services io.appium.settings’  
2024-02-08 12:52:47:420 [Logcat] Clearing logcat logs from device  
2024-02-08 12:52:47:439 [AndroidUiautomator2Driver@cf3b (c9f62022)] The ‘unicodeKeyboard’ capability has been deprecated and will be removed. Set the ‘hideKeyboard’ capability to ‘true’ in order to make the on-screen keyboard invisible.  
2024-02-08 12:52:47:439 [AndroidUiautomator2Driver@cf3b (c9f62022)] Enabling Unicode keyboard support  
2024-02-08 12:52:47:439 [ADB] Running ‘/Users/user/Library/Android/sdk/platform-tools/adb -P 5037 -s emulator-5554 shell settings get secure default\_input\_method’  
2024-02-08 12:52:47:825 [Logcat] Starting logs capture with command: /Users/user/Library/Android/sdk/platform-tools/adb -P 5037 -s emulator-5554 logcat -v threadtime  
2024-02-08 12:52:47:964 [AndroidUiautomator2Driver@cf3b (c9f62022)] Unsetting previous IME com.google.android.inputmethod.latin/com.android.inputmethod.latin.LatinIME  
2024-02-08 12:52:47:965 [AndroidUiautomator2Driver@cf3b (c9f62022)] Setting IME to ‘io.appium.settings/.UnicodeIME’  
2024-02-08 12:52:47:965 [ADB] Running ‘/Users/user/Library/Android/sdk/platform-tools/adb -P 5037 -s emulator-5554 shell ime enable io.appium.settings/.UnicodeIME’  
2024-02-08 12:52:48:402 [ADB] Running ‘/Users/user/Library/Android/sdk/platform-tools/adb -P 5037 -s emulator-5554 shell ime set io.appium.settings/.UnicodeIME’  
2024-02-08 12:52:48:985 [AndroidUiautomator2Driver@cf3b (c9f62022)] Forwarding UiAutomator2 Server port 6790 to local port 8200  
2024-02-08 12:52:48:986 [ADB] Forwarding system: 8200 to device: 6790  
2024-02-08 12:52:48:986 [ADB] Running ‘/Users/user/Library/Android/sdk/platform-tools/adb -P 5037 -s emulator-5554 forward tcp:8200 tcp:6790’  
2024-02-08 12:52:49:039 [AndroidUiautomator2Driver@cf3b (c9f62022)] No app capability. Assuming it is already on the device  
2024-02-08 12:52:49:040 [ADB] Getting install status for com.android.chrome  
2024-02-08 12:52:49:040 [ADB] Running ‘/Users/user/Library/Android/sdk/platform-tools/adb -P 5037 -s emulator-5554 shell pm path com.android.chrome’  
2024-02-08 12:52:49:042 [ADB] Checking app cert for /Users/user/.appium/node\_modules/appium-uiautomator2-driver/node\_modules/appium-uiautomator2-server/apks/appium-uiautomator2-server-v6.0.7.apk  
2024-02-08 12:52:49:042 [ADB] Checking app cert for /Users/user/.appium/node\_modules/appium-uiautomator2-driver/node\_modules/appium-uiautomator2-server/apks/appium-uiautomator2-server-debug-androidTest.apk  
2024-02-08 12:52:49:051 [ADB] Using ‘apksigner.jar’ from ‘/Users/user/Library/Android/sdk/build-tools/34.0.0/lib/apksigner.jar’  
2024-02-08 12:52:49:054 [ADB] Starting apksigner: /Library/Java/JavaVirtualMachines/jdk-17.jdk/Contents/Home/bin/java -Xmx1024M -Xss1m -jar /Users/user/Library/Android/sdk/build-tools/34.0.0/lib/apksigner.jar verify --print-certs /Users/user/.appium/node\_modules/appium-uiautomator2-driver/node\_modules/appium-uiautomator2-server/apks/appium-uiautomator2-server-debug-androidTest.apk  
2024-02-08 12:52:49:091 [ADB] Starting apksigner: /Library/Java/JavaVirtualMachines/jdk-17.jdk/Contents/Home/bin/java -Xmx1024M -Xss1m -jar /Users/user/Library/Android/sdk/build-tools/34.0.0/lib/apksigner.jar verify --print-certs /Users/user/.appium/node\_modules/appium-uiautomator2-driver/node\_modules/appium-uiautomator2-server/apks/appium-uiautomator2-server-v6.0.7.apk  
2024-02-08 12:52:49:255 [ADB] apksigner stdout: Signer #1 certificate DN: [EMAILADDRESS=android@android.com](mailto:EMAILADDRESS=android@android.com), CN=Android, OU=Android, O=Android, L=Mountain View, ST=California, C=US  
2024-02-08 12:52:49:255 [ADB] Signer #1 certificate SHA-256 digest: a40da80a59d170caa950cf15c18c454d47a39b26989d8b640ecd745ba71bf5dc  
2024-02-08 12:52:49:255 [ADB] Signer #1 certificate SHA-1 digest: 61ed377e85d386a8dfee6b864bd85b0bfaa5af81  
2024-02-08 12:52:49:255 [ADB] Signer #1 certificate MD5 digest: e89b158e4bcf988ebd09eb83f5378e87  
2024-02-08 12:52:49:255 [ADB]  
2024-02-08 12:52:49:255 [ADB] sha256 hash did match for ‘appium-uiautomator2-server-debug-androidTest.apk’  
2024-02-08 12:52:49:255 [ADB] ‘/Users/user/.appium/node\_modules/appium-uiautomator2-driver/node\_modules/appium-uiautomator2-server/apks/appium-uiautomator2-server-debug-androidTest.apk’ is signed with the default certificate  
2024-02-08 12:52:49:255 [ADB] Getting install status for io.appium.uiautomator2.server.test  
2024-02-08 12:52:49:255 [ADB] Running ‘/Users/user/Library/Android/sdk/platform-tools/adb -P 5037 -s emulator-5554 shell pm path io.appium.uiautomator2.server.test’  
2024-02-08 12:52:49:755 [ADB] ‘com.android.chrome’ is installed  
2024-02-08 12:52:49:755 [ADB] Running ‘/Users/user/Library/Android/sdk/platform-tools/adb -P 5037 -s emulator-5554 shell am force-stop com.android.chrome’  
2024-02-08 12:52:49:803 [ADB] apksigner stdout: Signer #1 certificate DN: [EMAILADDRESS=android@android.com](mailto:EMAILADDRESS=android@android.com), CN=Android, OU=Android, O=Android, L=Mountain View, ST=California, C=US  
2024-02-08 12:52:49:803 [ADB] Signer #1 certificate SHA-256 digest: a40da80a59d170caa950cf15c18c454d47a39b26989d8b640ecd745ba71bf5dc  
2024-02-08 12:52:49:803 [ADB] Signer #1 certificate SHA-1 digest: 61ed377e85d386a8dfee6b864bd85b0bfaa5af81  
2024-02-08 12:52:49:803 [ADB] Signer #1 certificate MD5 digest: e89b158e4bcf988ebd09eb83f5378e87  
2024-02-08 12:52:49:803 [ADB]  
2024-02-08 12:52:49:803 [ADB] sha256 hash did match for ‘appium-uiautomator2-server-v6.0.7.apk’  
2024-02-08 12:52:49:803 [ADB] ‘/Users/user/.appium/node\_modules/appium-uiautomator2-driver/node\_modules/appium-uiautomator2-server/apks/appium-uiautomator2-server-v6.0.7.apk’ is signed with the default certificate  
2024-02-08 12:52:49:803 [ADB] Getting package info for ‘io.appium.uiautomator2.server’  
2024-02-08 12:52:49:803 [ADB] Running ‘/Users/user/Library/Android/sdk/platform-tools/adb -P 5037 -s emulator-5554 shell dumpsys package io.appium.uiautomator2.server’  
2024-02-08 12:52:50:286 [ADB] ‘io.appium.uiautomator2.server.test’ is installed  
2024-02-08 12:52:50:810 [ADB] The version name of the installed ‘io.appium.uiautomator2.server’ is greater or equal to the application version name (‘6.0.7’ \>= ‘6.0.7’)  
2024-02-08 12:52:50:810 [AndroidUiautomator2Driver@cf3b (c9f62022)] Server packages status: [{“wasSigned”:true,“installState”:“sameVersionInstalled”,“appPath”:"/Users/user/.appium/node\_modules/appium-uiautomator2-driver/node\_modules/appium-uiautomator2-server/apks/appium-uiautomator2-server-v6.0.7.apk",“appId”:“io.appium.uiautomator2.server”},{“wasSigned”:true,“installState”:“sameVersionInstalled”,“appPath”:"/Users/user/.appium/node\_modules/appium-uiautomator2-driver/node\_modules/appium-uiautomator2-server/apks/appium-uiautomator2-server-debug-androidTest.apk",“appId”:“io.appium.uiautomator2.server.test”}]  
2024-02-08 12:52:50:810 [AndroidUiautomator2Driver@cf3b (c9f62022)] Server packages are not going to be (re)installed  
2024-02-08 12:52:50:812 [AndroidUiautomator2Driver@cf3b (c9f62022)] Waiting up to 30000ms for services to be available  
2024-02-08 12:52:50:812 [ADB] Running ‘/Users/user/Library/Android/sdk/platform-tools/adb -P 5037 -s emulator-5554 shell pm list instrumentation’  
2024-02-08 12:52:51:015 [ADB] Running ‘/Users/user/Library/Android/sdk/platform-tools/adb -P 5037 -s emulator-5554 shell pm clear com.android.chrome’  
2024-02-08 12:52:51:756 [AndroidUiautomator2Driver@cf3b (c9f62022)] Instrumentation target ‘io.appium.uiautomator2.server.test/androidx.test.runner.AndroidJUnitRunner’ is available  
2024-02-08 12:52:51:764 [ADB] Adding packages [“io.appium.settings”,“io.appium.uiautomator2.server”,“io.appium.uiautomator2.server.test”] to Doze whitelist  
2024-02-08 12:52:51:765 [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",";"]]  
2024-02-08 12:52:51:765 [ADB] Running ‘/Users/user/Library/Android/sdk/platform-tools/adb -P 5037 -s emulator-5554 shell dumpsys deviceidle whitelist +io.appium.settings ; dumpsys deviceidle whitelist +io.appium.uiautomator2.server ; dumpsys deviceidle whitelist +io.appium.uiautomator2.server.test ;’  
2024-02-08 12:52:56:187 [ADB] Running ‘/Users/user/Library/Android/sdk/platform-tools/adb -P 5037 -s emulator-5554 shell dumpsys package com.android.chrome’  
2024-02-08 12:52:56:665 [ADB] Retrieving requested permissions  
2024-02-08 12:52:56:667 [ADB] Retrieved 46 permissions from requested group  
2024-02-08 12:52:56:667 [ADB] Retrieving granted permissions  
2024-02-08 12:52:56:668 [ADB] Retrieved 31 permissions from install,runtime groups  
2024-02-08 12:52:56:668 [ADB] Granting permissions [“android.permission.BLUETOOTH\_CONNECT”,“android.permission.BLUETOOTH\_ADVERTISE”,“android.permission.BLUETOOTH\_SCAN”,“android.permission.READ\_CONTACTS”,“android.permission.REQUEST\_INSTALL\_PACKAGES”,“android.permission.CAMERA”,“android.permission.GET\_ACCOUNTS”,“android.permission.POST\_NOTIFICATIONS”,“android.permission.READ\_EXTERNAL\_STORAGE”,“android.permission.READ\_MEDIA\_AUDIO”,“android.permission.READ\_MEDIA\_IMAGES”,“android.permission.READ\_MEDIA\_VIDEO”,“android.permission.RECORD\_AUDIO”,“android.permission.WRITE\_EXTERNAL\_STORAGE”,“android.permission.READ\_MEDIA\_VISUAL\_USER\_SELECTED”] to ‘com.android.chrome’  
2024-02-08 12:52:56:668 [ADB] Got the following command chunks to execute: [[“pm”,“grant”,“com.android.chrome”,“android.permission.BLUETOOTH\_CONNECT”,";",“pm”,“grant”,“com.android.chrome”,“android.permission.BLUETOOTH\_ADVERTISE”,";",“pm”,“grant”,“com.android.chrome”,“android.permission.BLUETOOTH\_SCAN”,";",“pm”,“grant”,“com.android.chrome”,“android.permission.READ\_CONTACTS”,";",“pm”,“grant”,“com.android.chrome”,“android.permission.REQUEST\_INSTALL\_PACKAGES”,";",“pm”,“grant”,“com.android.chrome”,“android.permission.CAMERA”,";",“pm”,“grant”,“com.android.chrome”,“android.permission.GET\_ACCOUNTS”,";",“pm”,“grant”,“com.android.chrome”,“android.permission.POST\_NOTIFICATIONS”,";",“pm”,“grant”,“com.android.chrome”,“android.permission.READ\_EXTERNAL\_STORAGE”,";",“pm”,“grant”,“com.android.chrome”,“android.permission.READ\_MEDIA\_AUDIO”,";",“pm”,“grant”,“com.android.chrome”,“android.permission.READ\_MEDIA\_IMAGES”,";",“pm”,“grant”,“com.android.chrome”,“android.permission.READ\_MEDIA\_VIDEO”,";",“pm”,“grant”,“com.android.chrome”,“android.permission.RECORD\_AUDIO”,";",“pm”,“grant”,“com.android.chrome”,“android.permission.WRITE\_EXTERNAL\_STORAGE”,";"],[“pm”,“grant”,“com.android.chrome”,“android.permission.READ\_MEDIA\_VISUAL\_USER\_SELECTED”,";"]]  
2024-02-08 12:52:56:668 [ADB] Running ‘/Users/user/Library/Android/sdk/platform-tools/adb -P 5037 -s emulator-5554 shell pm grant com.android.chrome android.permission.BLUETOOTH\_CONNECT ; pm grant com.android.chrome android.permission.BLUETOOTH\_ADVERTISE ; pm grant com.android.chrome android.permission.BLUETOOTH\_SCAN ; pm grant com.android.chrome android.permission.READ\_CONTACTS ; pm grant com.android.chrome android.permission.REQUEST\_INSTALL\_PACKAGES ; pm grant com.android.chrome android.permission.CAMERA ; pm grant com.android.chrome android.permission.GET\_ACCOUNTS ; pm grant com.android.chrome android.permission.POST\_NOTIFICATIONS ; pm grant com.android.chrome android.permission.READ\_EXTERNAL\_STORAGE ; pm grant com.android.chrome android.permission.READ\_MEDIA\_AUDIO ; pm grant com.android.chrome android.permission.READ\_MEDIA\_IMAGES ; pm grant com.android.chrome android.permission.READ\_MEDIA\_VIDEO ; pm grant com.android.chrome android.permission.RECORD\_AUDIO ; pm grant com.android.chrome android.permission.WRITE\_EXTERNAL\_STORAGE ;’  
2024-02-08 12:52:56:912 [ADB] Running ‘/Users/user/Library/Android/sdk/platform-tools/adb -P 5037 -s emulator-5554 shell pm grant com.android.chrome android.permission.READ\_MEDIA\_VISUAL\_USER\_SELECTED ;’  
2024-02-08 12:52:56:947 [AndroidUiautomator2Driver@cf3b (c9f62022)] Performed fast reset on the installed ‘com.android.chrome’ application (stop and clear)  
2024-02-08 12:52:56:948 [AndroidUiautomator2Driver@cf3b (c9f62022)] Performing shallow cleanup of automation leftovers  
2024-02-08 12:52:56:988 [AndroidUiautomator2Driver@cf3b (c9f62022)] No obsolete sessions have been detected (socket hang up)  
2024-02-08 12:52:56:988 [ADB] Running ‘/Users/user/Library/Android/sdk/platform-tools/adb -P 5037 -s emulator-5554 shell am force-stop io.appium.uiautomator2.server.test’  
2024-02-08 12:52:57:040 [AndroidUiautomator2Driver@cf3b (c9f62022)] Starting UIAutomator2 server 6.0.7  
2024-02-08 12:52:57:040 [AndroidUiautomator2Driver@cf3b (c9f62022)] Using UIAutomator2 server from ‘/Users/user/.appium/node\_modules/appium-uiautomator2-driver/node\_modules/appium-uiautomator2-server/apks/appium-uiautomator2-server-v6.0.7.apk’ and test from ‘/Users/user/.appium/node\_modules/appium-uiautomator2-driver/node\_modules/appium-uiautomator2-server/apks/appium-uiautomator2-server-debug-androidTest.apk’  
2024-02-08 12:52:57:040 [AndroidUiautomator2Driver@cf3b (c9f62022)] Waiting up to 400000ms for UiAutomator2 to be online…  
2024-02-08 12:52:57:040 [ADB] Creating ADB subprocess with args: ["-P",“5037”,"-s",“emulator-5554”,“shell”,“am”,“instrument”,"-w","-e",“disableAnalytics”,“true”,“io.appium.uiautomator2.server.test/androidx.test.runner.AndroidJUnitRunner”]  
2024-02-08 12:52:57:043 [AndroidUiautomator2Driver@cf3b (c9f62022)] Matched ‘/status’ to command name ‘getStatus’  
2024-02-08 12:52:57:044 [AndroidUiautomator2Driver@cf3b (c9f62022)] Proxying [GET /status] to [GET [http://127.0.0.1:8200/status](http://127.0.0.1:8200/status)] with no body  
2024-02-08 12:52:57:048 [AndroidUiautomator2Driver@cf3b (c9f62022)] socket hang up  
2024-02-08 12:52:57:676 [Instrumentation] io.appium.uiautomator2.server.test.AppiumUiAutomator2Server:  
2024-02-08 12:52:58:051 [AndroidUiautomator2Driver@cf3b (c9f62022)] Matched ‘/status’ to command name ‘getStatus’  
2024-02-08 12:52:58:052 [AndroidUiautomator2Driver@cf3b (c9f62022)] Proxying [GET /status] to [GET [http://127.0.0.1:8200/status](http://127.0.0.1:8200/status)] with no body  
2024-02-08 12:52:58:068 [AndroidUiautomator2Driver@cf3b (c9f62022)] socket hang up  
2024-02-08 12:52:59:069 [AndroidUiautomator2Driver@cf3b (c9f62022)] Matched ‘/status’ to command name ‘getStatus’  
2024-02-08 12:52:59:070 [AndroidUiautomator2Driver@cf3b (c9f62022)] Proxying [GET /status] to [GET [http://127.0.0.1:8200/status](http://127.0.0.1:8200/status)] with no body  
2024-02-08 12:52:59:093 [AndroidUiautomator2Driver@cf3b (c9f62022)] Got response with status 200: {“sessionId”:“None”,“value”:{“message”:“UiAutomator2 Server is ready to accept commands”,“ready”:true}}  
2024-02-08 12:52:59:093 [AndroidUiautomator2Driver@cf3b (c9f62022)] The initialization of the instrumentation process took 2053ms  
2024-02-08 12:52:59:093 [AndroidUiautomator2Driver@cf3b (c9f62022)] Matched ‘/session’ to command name ‘createSession’  
2024-02-08 12:52:59:093 [AndroidUiautomator2Driver@cf3b (c9f62022)] Proxying [POST /session] to [POST [http://127.0.0.1:8200/session](http://127.0.0.1:8200/session)] with body: {“capabilities”:{“firstMatch”:[{“goog:chromeOptions”:{“args”:["–disable-popup-blocking","–start-maximized"],“extensions”:[]},“browserName”:“chrome”,“platformName”:“ANDROID”,“unicodeKeyboard”:true,“nativeWebScreenshot”:true,“ignoreHiddenApiPolicyError”:true,“deviceName”:“emulator-5554”,“uiautomator2ServerLaunchTimeout”:400000,“avdLaunchTimeout”:400000,“clearDeviceLogsOnStart”:true,“autoGrantPermissions”:true,“automationName”:“UIAutomator2”,“avdReadyTimeout”:400000,“resetKeyboard”:true,“androidInstallTimeout”:120000,“newCommandTimeout”:5000,“avd”:“Nexus\_5X\_API\_34”,“platform”:“LINUX”,“webStorageEnabled”:false,“takesScreenshot”:true,“javascriptEnabled”:true,“databaseEnabled”:false,“networkConnectionEnabled”:true,“locationContextEnabled”:false,“warnings”:{},“desired”:{“goog:chromeOptions”:{“args”:["–disable-popup-blocking","–start-maximized"],“extensions”:[]},“browserName”:“chrome”,“platformName”:“ANDROID”,“unicodeKeyboard”:true,“nativeWebScreenshot”:true,“ignoreHiddenApiPolicyError”:true,“deviceName”:“Nexu…  
2024-02-08 12:52:59:124 [AndroidUiautomator2Driver@cf3b (c9f62022)] Got response with status 200: {“sessionId”:“e2cd1334-9bd0-4415-b705-229b6f47259b”,“value”:{“capabilities”:{“firstMatch”:[{“goog:chromeOptions”:{“args”:[”–disable-popup-blocking","–start-maximized"],“extensions”:[]},“browserName”:“chrome”,“platformName”:“ANDROID”,“unicodeKeyboard”:true,“nativeWebScreenshot”:true,“ignoreHiddenApiPolicyError”:true,“deviceName”:“emulator-5554”,“uiautomator2ServerLaunchTimeout”:400000,“avdLaunchTimeout”:400000,“clearDeviceLogsOnStart”:true,“autoGrantPermissions”:true,“automationName”:“UIAutomator2”,“avdReadyTimeout”:400000,“resetKeyboard”:true,“androidInstallTimeout”:120000,“newCommandTimeout”:5000,“avd”:“Nexus\_5X\_API\_34”,“platform”:“LINUX”,“webStorageEnabled”:false,“takesScreenshot”:true,“javascriptEnabled”:true,“databaseEnabled”:false,“networkConnectionEnabled”:true,“locationContextEnabled”:false,“warnings”:{},“desired”:{“goog:chromeOptions”:{“args”:["–disable-popup-blocking","–start-maximized"],“extensions”:[]},“browserName”:“chrome”,“platformName”:“ANDROID”,“unicodeKeyboard”:true,“nativeWebScreensho…  
2024-02-08 12:52:59:124 [AndroidUiautomator2Driver@cf3b (c9f62022)] Determined the downstream protocol as ‘W3C’  
2024-02-08 12:52:59:130 [AndroidUiautomator2Driver@cf3b (c9f62022)] Proxying [GET /appium/device/pixel\_ratio] to [GET [http://127.0.0.1:8200/session/e2cd1334-9bd0-4415-b705-229b6f47259b/appium/device/pixel\_ratio](http://127.0.0.1:8200/session/e2cd1334-9bd0-4415-b705-229b6f47259b/appium/device/pixel_ratio)] with no body  
2024-02-08 12:52:59:131 [AndroidUiautomator2Driver@cf3b (c9f62022)] Matched ‘/appium/device/system\_bars’ to command name ‘getSystemBars’  
2024-02-08 12:52:59:131 [AndroidUiautomator2Driver@cf3b (c9f62022)] Proxying [GET /appium/device/system\_bars] to [GET [http://127.0.0.1:8200/session/e2cd1334-9bd0-4415-b705-229b6f47259b/appium/device/system\_bars](http://127.0.0.1:8200/session/e2cd1334-9bd0-4415-b705-229b6f47259b/appium/device/system_bars)] with no body  
2024-02-08 12:52:59:131 [AndroidUiautomator2Driver@cf3b (c9f62022)] Matched ‘/window/current/size’ to command name ‘getWindowSize’  
2024-02-08 12:52:59:131 [AndroidUiautomator2Driver@cf3b (c9f62022)] Proxying [GET /window/current/size] to [GET [http://127.0.0.1:8200/session/e2cd1334-9bd0-4415-b705-229b6f47259b/window/current/size](http://127.0.0.1:8200/session/e2cd1334-9bd0-4415-b705-229b6f47259b/window/current/size)] with no body  
2024-02-08 12:52:59:132 [AndroidUiautomator2Driver@cf3b (c9f62022)] Proxying [GET /appium/device/info] to [GET [http://127.0.0.1:8200/session/e2cd1334-9bd0-4415-b705-229b6f47259b/appium/device/info](http://127.0.0.1:8200/session/e2cd1334-9bd0-4415-b705-229b6f47259b/appium/device/info)] with no body  
2024-02-08 12:52:59:132 [ADB] Running ‘/Users/user/Library/Android/sdk/platform-tools/adb -P 5037 -s emulator-5554 shell dumpsys window’  
2024-02-08 12:52:59:142 [AndroidUiautomator2Driver@cf3b (c9f62022)] Got response with status 200: {“sessionId”:“e2cd1334-9bd0-4415-b705-229b6f47259b”,“value”:2.625}  
2024-02-08 12:52:59:152 [AndroidUiautomator2Driver@cf3b (c9f62022)] Got response with status 200: {“sessionId”:“e2cd1334-9bd0-4415-b705-229b6f47259b”,“value”:{“height”:1920,“width”:1080}}  
2024-02-08 12:52:59:155 [AndroidUiautomator2Driver@cf3b (c9f62022)] Got response with status 200: {“sessionId”:“e2cd1334-9bd0-4415-b705-229b6f47259b”,“value”:{“statusBar”:63}}  
2024-02-08 12:52:59:189 [AndroidUiautomator2Driver@cf3b (c9f62022)] Got response with status 200: {“sessionId”:“e2cd1334-9bd0-4415-b705-229b6f47259b”,“value”:{“androidId”:“e743f45f5e7e3311”,“apiVersion”:“34”,“bluetooth”:{“state”:“ON”},“brand”:“google”,“carrierName”:“T-Mobile”,“displayDensity”:420,“locale”:“en\_US”,“manufacturer”:“Google”,“model”:“sdk\_gphone64\_arm64”,“networks”:[{“capabilities”:{“SSID”:null,“linkDownBandwidthKbps”:30000,“linkUpstreamBandwidthKbps”:15000,“networkCapabilities”:“NET\_CAPABILITY\_MMS,NET\_CAPABILITY\_SUPL,NET\_CAPABILITY\_DUN,NET\_CAPABILITY\_FOTA,NET\_CAPABILITY\_IMS,NET\_CAPABILITY\_CBS,NET\_CAPABILITY\_INTERNET,NET\_CAPABILITY\_NOT\_RESTRICTED,NET\_CAPABILITY\_TRUSTED,NET\_CAPABILITY\_NOT\_VPN,NET\_CAPABILITY\_VALIDATED,NET\_CAPABILITY\_NOT\_ROAMING,NET\_CAPABILITY\_NOT\_CONGESTED,NET\_CAPABILITY\_NOT\_SUSPENDED”,“signalStrength”:-2147483648,“transportTypes”:“TRANSPORT\_CELLULAR”},“detailedState”:“CONNECTED”,“extraInfo”:“[epc.tmobile.com](http://epc.tmobile.com)”,“isAvailable”:true,“isConnected”:true,“isFailover”:false,“isRoaming”:false,“state”:“CONNECTED”,“subtype”:10,“subtypeName”:“HSPA”,“type”:0,“typeName”:“MOBILE”},{“capabilit…  
2024-02-08 12:52:59:222 [AndroidUiautomator2Driver@cf3b (c9f62022)] Screen already unlocked, doing nothing  
2024-02-08 12:52:59:222 [AndroidUiautomator2Driver@cf3b (c9f62022)] Starting a chrome-based browser session  
2024-02-08 12:52:59:223 [AndroidUiautomator2Driver@cf3b (c9f62022)] A port was not given, using random free port: 63648  
2024-02-08 12:52:59:224 [AndroidUiautomator2Driver@cf3b (c9f62022)] Merging ‘goog:chromeOptions’ into ‘chromeOptions’. This may cause unexpected behavior  
2024-02-08 12:52:59:224 [AndroidUiautomator2Driver@cf3b (c9f62022)] Precalculated Chromedriver capabilities: {  
2024-02-08 12:52:59:224 [AndroidUiautomator2Driver@cf3b (c9f62022)] “androidPackage”: “com.android.chrome”,  
2024-02-08 12:52:59:224 [AndroidUiautomator2Driver@cf3b (c9f62022)] “androidDeviceSerial”: “emulator-5554”  
2024-02-08 12:52:59:224 [AndroidUiautomator2Driver@cf3b (c9f62022)] }  
2024-02-08 12:52:59:224 [AndroidUiautomator2Driver@cf3b (c9f62022)] Before starting chromedriver, androidPackage is ‘com.android.chrome’  
2024-02-08 12:52:59:225 [Chromedriver@ad4a] Changed state to ‘starting’  
2024-02-08 12:52:59:225 [Chromedriver@ad4a] Using the static Chromedriver-\>Chrome mapping  
2024-02-08 12:52:59:226 [Chromedriver@ad4a] The most recent known Chrome version: 121.0.6167  
2024-02-08 12:52:59:229 [Chromedriver@ad4a] Found 1 executable in ‘/Users/user/.appium/node\_modules/appium-uiautomator2-driver/node\_modules/appium-chromedriver/chromedriver/mac’  
2024-02-08 12:52:59:255 [Chromedriver@ad4a] The following Chromedriver executables were found:  
2024-02-08 12:52:59:255 [Chromedriver@ad4a] ‘/Users/user/.appium/node\_modules/appium-uiautomator2-driver/node\_modules/appium-chromedriver/chromedriver/mac/chromedriver-mac-arm64\_v121.0.6167.85’ (version ‘121.0.6167.85’, minimum Chrome version ‘121.0.6167’)  
2024-02-08 12:52:59:255 [ADB] Getting package info for ‘com.android.chrome’  
2024-02-08 12:52:59:255 [ADB] Running ‘/Users/user/Library/Android/sdk/platform-tools/adb -P 5037 -s emulator-5554 shell dumpsys package com.android.chrome’  
2024-02-08 12:52:59:320 [Chromedriver@ad4a] Found Chrome bundle ‘com.android.chrome’ version ‘121.0.6167’  
2024-02-08 12:52:59:321 [Chromedriver@ad4a] Found 1 executable capable of automating Chrome ‘121.0.6167’.  
2024-02-08 12:52:59:321 [Chromedriver@ad4a] Choosing the most recent, ‘/Users/user/.appium/node\_modules/appium-uiautomator2-driver/node\_modules/appium-chromedriver/chromedriver/mac/chromedriver-mac-arm64\_v121.0.6167.85’.  
2024-02-08 12:52:59:321 [Chromedriver@ad4a] If a specific version is required, specify it with the `chromedriverExecutable`desired capability.  
2024-02-08 12:52:59:321 [Chromedriver@ad4a] Set chromedriver binary as: /Users/user/.appium/node\_modules/appium-uiautomator2-driver/node\_modules/appium-chromedriver/chromedriver/mac/chromedriver-mac-arm64\_v121.0.6167.85  
2024-02-08 12:52:59:321 [Chromedriver@ad4a] Killing any old chromedrivers, running: pkill -15 -f “/Users/user/.appium/node\_modules/appium-uiautomator2-driver/node\_modules/appium-chromedriver/chromedriver/mac/chromedriver-mac-arm64\_v121.0.6167.85.\*–port=63648”  
2024-02-08 12:52:59:370 [Chromedriver@ad4a] No old chromedrivers seem to exist  
2024-02-08 12:52:59:370 [Chromedriver@ad4a] Cleaning this device’s adb forwarded port socket connections: emulator-5554  
2024-02-08 12:52:59:370 [ADB] List forwarding ports  
2024-02-08 12:52:59:370 [ADB] Running ‘/Users/user/Library/Android/sdk/platform-tools/adb -P 5037 -s emulator-5554 forward --list’  
2024-02-08 12:52:59:397 [Chromedriver@ad4a] Spawning chromedriver with: /Users/user/.appium/node\_modules/appium-uiautomator2-driver/node\_modules/appium-chromedriver/chromedriver/mac/chromedriver-mac-arm64\_v121.0.6167.85 --port=63648 --adb-port=5037 --verbose  
2024-02-08 12:52:59:411 [Chromedriver@ad4a] ChromeDriver version: ‘121.0.6167.85’  
2024-02-08 12:52:59:411 [Chromedriver@ad4a] Matched ‘/status’ to command name ‘getStatus’  
2024-02-08 12:52:59:412 [Chromedriver@ad4a] Proxying [GET /status] to [GET [http://127.0.0.1:63648/status](http://127.0.0.1:63648/status)] with no body  
2024-02-08 12:52:59:442 [Chromedriver@ad4a] connect ECONNREFUSED 127.0.0.1:63648  
2024-02-08 12:52:59:645 [Chromedriver@ad4a] Matched ‘/status’ to command name ‘getStatus’  
2024-02-08 12:52:59:645 [Chromedriver@ad4a] Proxying [GET /status] to [GET [http://127.0.0.1:63648/status](http://127.0.0.1:63648/status)] with no body  
2024-02-08 12:52:59:657 [Chromedriver@ad4a] Got response with status 200: {“value”:{“build”:{“version”:“121.0.6167.85 (3f98d690ad7e59242ef110144c757b2ac4eef1a2-refs/branch-heads/6167@{#1539})”},“message”:“ChromeDriver ready for new sessions.”,“os”:{“arch”:“arm64”,“name”:“Mac OS X”,“version”:“14.2.1”},“ready”:true}}  
2024-02-08 12:52:59:657 [Chromedriver@ad4a] Starting W3C Chromedriver session with capabilities: {  
2024-02-08 12:52:59:657 [Chromedriver@ad4a] “capabilities”: {  
2024-02-08 12:52:59:657 [Chromedriver@ad4a] “alwaysMatch”: {  
2024-02-08 12:52:59:658 [Chromedriver@ad4a] “goog:chromeOptions”: {  
2024-02-08 12:52:59:658 [Chromedriver@ad4a] “androidPackage”: “com.android.chrome”,  
2024-02-08 12:52:59:658 [Chromedriver@ad4a] “androidDeviceSerial”: “emulator-5554”,  
2024-02-08 12:52:59:658 [Chromedriver@ad4a] “args”: [  
2024-02-08 12:52:59:658 [Chromedriver@ad4a] “–disable-popup-blocking”,  
2024-02-08 12:52:59:658 [Chromedriver@ad4a] “–start-maximized”  
2024-02-08 12:52:59:658 [Chromedriver@ad4a] ],  
2024-02-08 12:52:59:658 [Chromedriver@ad4a] “extensions”: []  
2024-02-08 12:52:59:658 [Chromedriver@ad4a] },  
2024-02-08 12:52:59:658 [Chromedriver@ad4a] “goog:loggingPrefs”: {  
2024-02-08 12:52:59:658 [Chromedriver@ad4a] “browser”: “ALL”  
2024-02-08 12:52:59:658 [Chromedriver@ad4a] }  
2024-02-08 12:52:59:658 [Chromedriver@ad4a] }  
2024-02-08 12:52:59:658 [Chromedriver@ad4a] }  
2024-02-08 12:52:59:658 [Chromedriver@ad4a] }  
2024-02-08 12:52:59:658 [Chromedriver@ad4a] Matched ‘/session’ to command name ‘createSession’  
2024-02-08 12:52:59:658 [Chromedriver@ad4a] Proxying [POST /session] to [POST [http://127.0.0.1:63648/session](http://127.0.0.1:63648/session)] with body: {“capabilities”:{“alwaysMatch”:{“goog:chromeOptions”:{“androidPackage”:“com.android.chrome”,“androidDeviceSerial”:“emulator-5554”,“args”:[”–disable-popup-blocking”,"–start-maximized"],“extensions”:[]},“goog:loggingPrefs”:{“browser”:“ALL”}}}}  
2024-02-08 12:53:01:402 [Chromedriver@ad4a] Webview version: ‘Chrome/121.0.6167.143’  
2024-02-08 12:53:01:456 [Chromedriver@ad4a] Got response with status 200: {“value”:{“capabilities”:{“acceptInsecureCerts”:false,“browserName”:“chrome”,“browserVersion”:“121.0.6167.143”,“chrome”:{“chromedriverVersion”:“121.0.6167.85 (3f98d690ad7e59242ef110144c757b2ac4eef1a2-refs/branch-heads/6167@{#1539})”},“fedcm:accounts”:true,“goog:chromeOptions”:{“debuggerAddress”:“localhost:63676”},“pageLoadStrategy”:“normal”,“platformName”:“android”,“proxy”:{},“setWindowRect”:false,“strictFileInteractability”:false,“timeouts”:{“implicit”:0,“pageLoad”:300000,“script”:30000},“unhandledPromptBehavior”:“dismiss and notify”,“webauthn:extension:credBlob”:false,“webauthn:extension:largeBlob”:false,“webauthn:extension:minPinLength”:false,“webauthn:extension:prf”:false,“webauthn:virtualAuthenticators”:false},“sessionId”:“8a425e7d7d4123b0830052cbbd80eb62”}}  
2024-02-08 12:53:01:456 [Chromedriver@ad4a] Determined the downstream protocol as ‘W3C’  
2024-02-08 12:53:01:456 [Chromedriver@ad4a (8a425e7d)] Changed state to ‘online’  
2024-02-08 12:53:01:456 [AppiumDriver@e14a] New AndroidUiautomator2Driver session created successfully, session c9f62022-a696-4f70-bf34-2a5da83062b7 added to master session list  
2024-02-08 12:53:01:457 [AppiumDriver@e14a] Event ‘newSessionStarted’ logged at 1707396781457 (18:23:01 GMT+0530 (country Standard Time))  
2024-02-08 12:53:01:457 [AndroidUiautomator2Driver@cf3b (c9f62022)] Cached the protocol value ‘W3C’ for the new session c9f62022-a696-4f70-bf34-2a5da83062b7  
2024-02-08 12:53:01:457 [AndroidUiautomator2Driver@cf3b (c9f62022)] Responding to client with driver.createSession() result: {“capabilities”:{“goog:chromeOptions”:{“args”:["–disable-popup-blocking","–start-maximized"],“extensions”:[]},“browserName”:“chrome”,“platformName”:“ANDROID”,“unicodeKeyboard”:true,“nativeWebScreenshot”:true,“ignoreHiddenApiPolicyError”:true,“deviceName”:“emulator-5554”,“uiautomator2ServerLaunchTimeout”:400000,“avdLaunchTimeout”:400000,“clearDeviceLogsOnStart”:true,“autoGrantPermissions”:true,“automationName”:“UIAutomator2”,“avdReadyTimeout”:400000,“resetKeyboard”:true,“androidInstallTimeout”:120000,“newCommandTimeout”:5000,“avd”:“Nexus\_5X\_API\_34”,“platform”:“LINUX”,“webStorageEnabled”:false,“takesScreenshot”:true,“javascriptEnabled”:true,“databaseEnabled”:false,“networkConnectionEnabled”:true,“locationContextEnabled”:false,“warnings”:{},“desired”:{“goog:chromeOptions”:{“args”:["–disable-popup-blocking","–start-maximized"],“extensions”:[]},“browserName”:“chrome”,“platformName”:“ANDROID”,“unicodeKeyboard”:true,“nativeWebScreenshot”:true,“ignoreHiddenApiPolicyError”:true,“deviceName”:“Nexus\_5X\_API\_34”,"u…  
2024-02-08 12:53:01:458 [HTTP] \<-- POST /session 200 18949 ms - 1766  
2024-02-08 12:53:01:458 [HTTP]  
2024-02-08 12:53:01:506 [HTTP] --\> POST /session/c9f62022-a696-4f70-bf34-2a5da83062b7/timeouts  
2024-02-08 12:53:01:506 [HTTP] {“implicit”:60000}  
2024-02-08 12:53:01:507 [AndroidUiautomator2Driver@cf3b (c9f62022)] Driver proxy active, passing request on via HTTP proxy  
2024-02-08 12:53:01:507 [Chromedriver@ad4a (8a425e7d)] Matched ‘/session/c9f62022-a696-4f70-bf34-2a5da83062b7/timeouts’ to command name ‘timeouts’  
2024-02-08 12:53:01:507 [Chromedriver@ad4a (8a425e7d)] Will send the following request bodies to /timeouts: [{“implicit”:60000}]  
2024-02-08 12:53:01:507 [Chromedriver@ad4a (8a425e7d)] Proxying [POST /session/c9f62022-a696-4f70-bf34-2a5da83062b7/timeouts] to [POST [http://127.0.0.1:63648/session/8a425e7d7d4123b0830052cbbd80eb62/timeouts](http://127.0.0.1:63648/session/8a425e7d7d4123b0830052cbbd80eb62/timeouts)] with body: {“implicit”:60000}  
2024-02-08 12:53:01:509 [Chromedriver@ad4a (8a425e7d)] Got response with status 200: {“value”:null}  
2024-02-08 12:53:01:509 [HTTP] \<-- POST /session/c9f62022-a696-4f70-bf34-2a5da83062b7/timeouts 200 3 ms - 14  
2024-02-08 12:53:01:509 [HTTP]  
2024-02-08 12:53:01:515 [HTTP] --\> POST /session/c9f62022-a696-4f70-bf34-2a5da83062b7/timeouts  
2024-02-08 12:53:01:515 [HTTP] {“implicit”:30000}  
2024-02-08 12:53:01:515 [AndroidUiautomator2Driver@cf3b (c9f62022)] Driver proxy active, passing request on via HTTP proxy  
2024-02-08 12:53:01:515 [Chromedriver@ad4a (8a425e7d)] Matched ‘/session/c9f62022-a696-4f70-bf34-2a5da83062b7/timeouts’ to command name ‘timeouts’  
2024-02-08 12:53:01:515 [Chromedriver@ad4a (8a425e7d)] Will send the following request bodies to /timeouts: [{“implicit”:30000}]  
2024-02-08 12:53:01:516 [Chromedriver@ad4a (8a425e7d)] Proxying [POST /session/c9f62022-a696-4f70-bf34-2a5da83062b7/timeouts] to [POST [http://127.0.0.1:63648/session/8a425e7d7d4123b0830052cbbd80eb62/timeouts](http://127.0.0.1:63648/session/8a425e7d7d4123b0830052cbbd80eb62/timeouts)] with body: {“implicit”:30000}  
2024-02-08 12:53:01:517 [Chromedriver@ad4a (8a425e7d)] Got response with status 200: {“value”:null}  
2024-02-08 12:53:01:517 [HTTP] \<-- POST /session/c9f62022-a696-4f70-bf34-2a5da83062b7/timeouts 200 2 ms - 14  
2024-02-08 12:53:01:517 [HTTP]  
2024-02-08 12:53:01:520 [HTTP] --\> GET /session/c9f62022-a696-4f70-bf34-2a5da83062b7/se/log/types  
2024-02-08 12:53:01:520 [HTTP] {}  
2024-02-08 12:53:01:522 [AndroidUiautomator2Driver@cf3b (c9f62022)] Calling AppiumDriver.getLogTypes() with args: [“c9f62022-a696-4f70-bf34-2a5da83062b7”]  
2024-02-08 12:53:01:522 [AndroidUiautomator2Driver@cf3b (c9f62022)] Retrieving supported log types  
2024-02-08 12:53:01:523 [Chromedriver@ad4a (8a425e7d)] Matched ‘/log/types’ to command name ‘getLogTypes’  
2024-02-08 12:53:01:523 [Chromedriver@ad4a (8a425e7d)] Proxying [GET /log/types] to [GET [http://127.0.0.1:63648/session/8a425e7d7d4123b0830052cbbd80eb62/log/types](http://127.0.0.1:63648/session/8a425e7d7d4123b0830052cbbd80eb62/log/types)] with no body  
2024-02-08 12:53:01:526 [Chromedriver@ad4a (8a425e7d)] Got response with status 404: {“value”:{“error”:“unknown command”,“message”:“unknown command: Cannot call non W3C standard command while in W3C mode”,“stacktrace”:"0 chromedriver-mac-arm64\_v121.0.6167. 0x0000000104dee7dc chromedriver-mac-arm64\_v121.0.6167. + 4040668\n1 chromedriver-mac-arm64\_v121.0.6167. 0x0000000104de69e0 chromedriver-mac-arm64\_v121.0.6167. + 4008416\n2 chromedriver-mac-arm64\_v121.0.6167. 0x0000000104a59870 chromedriver-mac-arm64\_v121.0.6167. + 284784\n3 chromedriver-mac-arm64\_v121.0.6167. 0x0000000104a90f6c chromedriver-mac-arm64\_v121.0.6167. + 511852\n4 chromedriver-mac-arm64\_v121.0.6167. 0x0000000104a92044 chromedriver-mac-arm64\_v121.0.6167. + 516164\n5 chromedriver-mac-arm64\_v121.0.6167. 0x0000000104db3a04 chromedriver-mac-arm64\_v121.0.6167. + 3799556\n6 chromedriver-mac-arm64\_v121.0.6167. 0x0000000104db7ee4 chromedriver-mac-arm64\_v121.0.6167. + 3817188\n7 chromedriver-mac-arm64\_v121.0.6167. 0x0000000104d9c260 chromedriver-mac-arm64\_v121.0.6167. + 3703392\n8 chromedriver-mac-arm64\_v121.0.6167. 0x…  
2024-02-08 12:53:01:526 [W3C] Matched W3C error code ‘unknown command’ to UnknownCommandError  
2024-02-08 12:53:01:531 [AndroidUiautomator2Driver@cf3b (c9f62022)] Encountered internal error running command: unknown command: Cannot call non W3C standard command while in W3C mode  
2024-02-08 12:53:01:531 [AndroidUiautomator2Driver@cf3b (c9f62022)] 0 chromedriver-mac-arm64\_v121.0.6167. 0x0000000104dee7dc chromedriver-mac-arm64\_v121.0.6167. + 4040668  
2024-02-08 12:53:01:531 [AndroidUiautomator2Driver@cf3b (c9f62022)] 1 chromedriver-mac-arm64\_v121.0.6167. 0x0000000104de69e0 chromedriver-mac-arm64\_v121.0.6167. + 4008416  
2024-02-08 12:53:01:531 [AndroidUiautomator2Driver@cf3b (c9f62022)] 2 chromedriver-mac-arm64\_v121.0.6167. 0x0000000104a59870 chromedriver-mac-arm64\_v121.0.6167. + 284784  
2024-02-08 12:53:01:531 [AndroidUiautomator2Driver@cf3b (c9f62022)] 3 chromedriver-mac-arm64\_v121.0.6167. 0x0000000104a90f6c chromedriver-mac-arm64\_v121.0.6167. + 511852  
2024-02-08 12:53:01:531 [AndroidUiautomator2Driver@cf3b (c9f62022)] 4 chromedriver-mac-arm64\_v121.0.6167. 0x0000000104a92044 chromedriver-mac-arm64\_v121.0.6167. + 516164  
2024-02-08 12:53:01:531 [AndroidUiautomator2Driver@cf3b (c9f62022)] 5 chromedriver-mac-arm64\_v121.0.6167. 0x0000000104db3a04 chromedriver-mac-arm64\_v121.0.6167. + 3799556  
2024-02-08 12:53:01:531 [AndroidUiautomator2Driver@cf3b (c9f62022)] 6 chromedriver-mac-arm64\_v121.0.6167. 0x0000000104db7ee4 chromedriver-mac-arm64\_v121.0.6167. + 3817188  
2024-02-08 12:53:01:531 [AndroidUiautomator2Driver@cf3b (c9f62022)] 7 chromedriver-mac-arm64\_v121.0.6167. 0x0000000104d9c260 chromedriver-mac-arm64\_v121.0.6167. + 3703392  
2024-02-08 12:53:01:531 [AndroidUiautomator2Driver@cf3b (c9f62022)] 8 chromedriver-mac-arm64\_v121.0.6167. 0x0000000104db8a2c chromedriver-mac-arm64\_v121.0.6167. + 3820076  
2024-02-08 12:53:01:531 [AndroidUiautomator2Driver@cf3b (c9f62022)] 9 chromedriver-mac-arm64\_v121.0.6167. 0x0000000104d8f01c chromedriver-mac-arm64\_v121.0.6167. + 3649564  
2024-02-08 12:53:01:531 [AndroidUiautomator2Driver@cf3b (c9f62022)] 10 chromedriver-mac-arm64\_v121.0.6167. 0x0000000104dd5e3c chromedriver-mac-arm64\_v121.0.6167. + 3939900  
2024-02-08 12:53:01:531 [AndroidUiautomator2Driver@cf3b (c9f62022)] 11 chromedriver-mac-arm64\_v121.0.6167. 0x0000000104dd5fb4 chromedriver-mac-arm64\_v121.0.6167. + 3940276  
2024-02-08 12:53:01:532 [AndroidUiautomator2Driver@cf3b (c9f62022)] 12 chromedriver-mac-arm64\_v121.0.6167. 0x0000000104de6660 chromedriver-mac-arm64\_v121.0.6167. + 4007520  
2024-02-08 12:53:01:532 [AndroidUiautomator2Driver@cf3b (c9f62022)] 13 libsystem\_pthread.dylib 0x00000001890e2034 \_pthread\_start + 136  
2024-02-08 12:53:01:532 [AndroidUiautomator2Driver@cf3b (c9f62022)] 14 libsystem\_pthread.dylib 0x00000001890dce3c thread\_start + 8  
2024-02-08 12:53:01:532 [AndroidUiautomator2Driver@cf3b (c9f62022)]  
2024-02-08 12:53:01:533 [HTTP] \<-- GET /session/c9f62022-a696-4f70-bf34-2a5da83062b7/se/log/types 404 12 ms - 1670  
2024-02-08 12:53:01:533 [HTTP]  
2024-02-08 12:53:01:655 [HTTP] --\> DELETE /session/c9f62022-a696-4f70-bf34-2a5da83062b7  
2024-02-08 12:53:01:655 [HTTP] {}  
2024-02-08 12:53:01:655 [AndroidUiautomator2Driver@cf3b (c9f62022)] Calling AppiumDriver.deleteSession() with args: [“c9f62022-a696-4f70-bf34-2a5da83062b7”]  
2024-02-08 12:53:01:655 [AppiumDriver@e14a] Event ‘quitSessionRequested’ logged at 1707396781655 (18:23:01 GMT+0530 (country Standard Time))  
2024-02-08 12:53:01:655 [AppiumDriver@e14a] Removing session c9f62022-a696-4f70-bf34-2a5da83062b7 from our master session list  
2024-02-08 12:53:01:655 [AndroidUiautomator2Driver@cf3b (c9f62022)] Deleting UiAutomator2 session  
2024-02-08 12:53:01:655 [AndroidUiautomator2Driver@cf3b (c9f62022)] Stopping chromedriver for context CHROMIUM  
2024-02-08 12:53:01:655 [Chromedriver@ad4a (8a425e7d)] Changed state to ‘stopping’  
2024-02-08 12:53:01:656 [Chromedriver@ad4a (8a425e7d)] Proxying [DELETE /] to [DELETE [http://127.0.0.1:63648/session/8a425e7d7d4123b0830052cbbd80eb62](http://127.0.0.1:63648/session/8a425e7d7d4123b0830052cbbd80eb62)] with no body  
2024-02-08 12:53:01:767 [Chromedriver@ad4a (8a425e7d)] Got response with status 200: {“value”:null}  
2024-02-08 12:53:01:770 [Chromedriver@ad4a] Changed state to ‘stopped’  
2024-02-08 12:53:01:770 [AndroidUiautomator2Driver@cf3b (c9f62022)] Deleting UiAutomator2 server session  
2024-02-08 12:53:01:770 [AndroidUiautomator2Driver@cf3b (c9f62022)] Matched ‘/’ to command name ‘deleteSession’  
2024-02-08 12:53:01:770 [AndroidUiautomator2Driver@cf3b (c9f62022)] Proxying [DELETE /] to [DELETE [http://127.0.0.1:8200/session/e2cd1334-9bd0-4415-b705-229b6f47259b](http://127.0.0.1:8200/session/e2cd1334-9bd0-4415-b705-229b6f47259b)] with no body  
2024-02-08 12:53:01:801 [AndroidUiautomator2Driver@cf3b (c9f62022)] Got response with status 200: {“sessionId”:“e2cd1334-9bd0-4415-b705-229b6f47259b”,“value”:null}  
2024-02-08 12:53:01:802 [ADB] Running ‘/Users/user/Library/Android/sdk/platform-tools/adb -P 5037 -s emulator-5554 shell dumpsys activity services io.appium.settings/.recorder.RecorderService’  
2024-02-08 12:53:01:802 [Logcat] Stopping logcat capture  
2024-02-08 12:53:01:810 [ADB] Removing forwarded port socket connection: 8200  
2024-02-08 12:53:01:810 [ADB] Running ‘/Users/user/Library/Android/sdk/platform-tools/adb -P 5037 -s emulator-5554 forward --remove tcp:8200’  
2024-02-08 12:53:01:835 [AndroidUiautomator2Driver@cf3b (c9f62022)] Restoring hidden api policy to the device default configuration  
2024-02-08 12:53:01:835 [ADB] Running ‘/Users/user/Library/Android/sdk/platform-tools/adb -P 5037 -s emulator-5554 shell ‘settings delete global hidden\_api\_policy\_pre\_p\_apps;settings delete global hidden\_api\_policy\_p\_apps;settings delete global hidden\_api\_policy’’  
2024-02-08 12:53:01:916 [AppiumDriver@e14a] Event ‘quitSessionFinished’ logged at 1707396781915 (18:23:01 GMT+0530 (country Standard Time))  
2024-02-08 12:53:01:916 [AppiumDriver@e14a] Received response: null  
2024-02-08 12:53:01:916 [AppiumDriver@e14a] But deleting session, so not returning  
2024-02-08 12:53:01:916 [AppiumDriver@e14a] Responding to client with driver.deleteSession() result: null  
2024-02-08 12:53:01:916 [HTTP] \<-- DELETE /session/c9f62022-a696-4f70-bf34-2a5da83062b7 200 261 ms - 14  
2024-02-08 12:53:01:916 [HTTP]  
2024-02-08 12:53:02:143 [Appium] Received SIGTERM - shutting down

---

<div class="post-metadata">

**Author:** ![Aleksei](https://discuss.appium.io/user_avatar/discuss.appium.io/aleksei/32/6267_2.png) [@Aleksei](https://discuss.appium.io/u/Aleksei)\
**Post date:** [February 29, 2024, 1:50pm UTC](https://discuss.appium.io/t/i-cant-get-any-command-working-on-android-chrome-browser/41586/8 "2024-02-29T13:50:40Z")

</div>

> [@roboMaker](#):
>
> Unable to stop ChromeDriver proxies: Cannot read properties of undefined (reading ‘proxyReqRes’)

Met this issue while trying to use SAME phone with different projects and thus different appium server ports where used to start it. As workaround made appium server to use same port in both projects to switch between them using same phone smoothly.

Not sure if it helps you but in case …
