Skip to content

Instantly share code, notes, and snippets.

@DianPermana
Created September 18, 2024 00:27
Show Gist options
  • Save DianPermana/60b012f6ce1b02ace9c397e708e99f3c to your computer and use it in GitHub Desktop.
Save DianPermana/60b012f6ce1b02ace9c397e708e99f3c to your computer and use it in GitHub Desktop.
Appium LOG
[98887adf][AndroidUiautomator2Driver@2774] Proxying [POST /session] to [POST http://127.0.0.1:8212/session] with body: {"capabilities":{"firstMatch":[{"platformName":"Android","platformVersion":"14","deviceName":"emulator-5554","noReset":true,"appActivity":"com.Advantage.aShopping.SplashActivity","appPackage":"com.Advantage.aShopping","automationName":"uiautomator2","ensureWebviewsHavePages":true,"nativeWebScreenshot":true,"newCommandTimeout":3600,"connectHardwareKeyboard":true,"platform":"LINUX","webStorageEnabled":false,"takesScreenshot":true,"javascriptEnabled":true,"databaseEnabled":false,"networkConnectionEnabled":true,"locationContextEnabled":false,"warnings":{},"desired":{"platformName":"Android","platformVersion":"14","deviceName":"Emulator_test_123","noReset":true,"appActivity":"com.Advantage.aShopping.SplashActivity","appPackage":"com.Advantage.aShopping","automationName":"uiautomator2","ensureWebviewsHavePages":true,"nativeWebScreenshot":true,"newCommandTimeout":3600,"connectHardwareKeyboard":true},"deviceUDID":"emulator-5554"}],"alwaysMatch":{}}}
[98887adf][AndroidUiautomator2Driver@2774] Got response with status 200: {"sessionId":"830e312a-694d-4820-876a-86b1194ff09b","value":{"capabilities":{"firstMatch":[{"platformName":"Android","platformVersion":"14","deviceName":"emulator-5554","noReset":true,"appActivity":"com.Advantage.aShopping.SplashActivity","appPackage":"com.Advantage.aShopping","automationName":"uiautomator2","ensureWebviewsHavePages":true,"nativeWebScreenshot":true,"newCommandTimeout":3600,"connectHardwareKeyboard":true,"platform":"LINUX","webStorageEnabled":false,"takesScreenshot":true,"javascriptEnabled":true,"databaseEnabled":false,"networkConnectionEnabled":true,"locationContextEnabled":false,"warnings":{},"desired":{"platformName":"Android","platformVersion":"14","deviceName":"Emulator_test_123","noReset":true,"appActivity":"com.Advantage.aShopping.SplashActivity","appPackage":"com.Advantage.aShopping","automationName":"uiautomator2","ensureWebviewsHavePages":true,"nativeWebScreenshot":true,"newCommandTimeout":3600,"connectHardwareKeyboard":true},"deviceUDID":"emulator-5554"}],"alwaysMatch":{}},"sessi...
[98887adf][AndroidUiautomator2Driver@2774] Determined the downstream protocol as 'W3C'
[98887adf][AndroidUiautomator2Driver@2774] Proxying [GET /appium/device/pixel_ratio] to [GET http://127.0.0.1:8212/session/830e312a-694d-4820-876a-86b1194ff09b/appium/device/pixel_ratio] with no body
[98887adf][AndroidUiautomator2Driver@2774] Matched '/appium/device/system_bars' to command name 'getSystemBars'
[98887adf][AndroidUiautomator2Driver@2774] Proxying [GET /appium/device/system_bars] to [GET http://127.0.0.1:8212/session/830e312a-694d-4820-876a-86b1194ff09b/appium/device/system_bars] with no body
[98887adf][AndroidUiautomator2Driver@2774] Matched '/window/current/size' to command name 'getWindowSize'
[98887adf][AndroidUiautomator2Driver@2774] Proxying [GET /window/current/size] to [GET http://127.0.0.1:8212/session/830e312a-694d-4820-876a-86b1194ff09b/window/current/size] with no body
[98887adf][AndroidUiautomator2Driver@2774] Proxying [GET /appium/device/info] to [GET http://127.0.0.1:8212/session/830e312a-694d-4820-876a-86b1194ff09b/appium/device/info] with no body
[98887adf][ADB] Running 'C:\Users\User\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s emulator-5554 shell dumpsys window'
[98887adf][ADB] Running 'C:\Users\User\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s emulator-5554 shell dumpsys power'
[98887adf][AndroidUiautomator2Driver@2774] Got response with status 200: {"sessionId":"830e312a-694d-4820-876a-86b1194ff09b","value":2.75}
[98887adf][AndroidUiautomator2Driver@2774] Got response with status 200: {"sessionId":"830e312a-694d-4820-876a-86b1194ff09b","value":{"height":2280,"width":1080}}
[98887adf][AndroidUiautomator2Driver@2774] Got response with status 200: {"sessionId":"830e312a-694d-4820-876a-86b1194ff09b","value":{"statusBar":83}}
[98887adf][AndroidUiautomator2Driver@2774] Got response with status 200: {"sessionId":"830e312a-694d-4820-876a-86b1194ff09b","value":{"androidId":"0c4366abb8f3e683","apiVersion":"34","bluetooth":{"state":"ON"},"brand":"google","carrierName":"","displayDensity":440,"locale":"en_US","manufacturer":"Google","model":"sdk_gphone64_x86_64","networks":[{"capabilities":{"SSID":null,"linkDownBandwidthKbps":30000,"linkUpstreamBandwidthKbps":12000,"networkCapabilities":"NET_CAPABILITY_NOT_METERED,NET_CAPABILITY_INTERNET,NET_CAPABILITY_NOT_RESTRICTED,NET_CAPABILITY_TRUSTED,NET_CAPABILITY_NOT_VPN,NET_CAPABILITY_VALIDATED,NET_CAPABILITY_NOT_ROAMING,NET_CAPABILITY_FOREGROUND,NET_CAPABILITY_NOT_CONGESTED,NET_CAPABILITY_NOT_SUSPENDED","signalStrength":-50,"transportTypes":"TRANSPORT_WIFI"},"detailedState":"CONNECTED","extraInfo":"","isAvailable":true,"isConnected":true,"isFailover":false,"isRoaming":false,"state":"CONNECTED","subtype":-1,"subtypeName":"","type":1,"typeName":"WIFI"}],"platformVersion":"14","realDisplaySize":"1080x2280","timeZone":"Asia/Bangkok"}}
[98887adf][AndroidUiautomator2Driver@2774] Screen already unlocked, doing nothing
[98887adf][AndroidUiautomator2Driver@2774] Starting 'com.Advantage.aShopping/com.Advantage.aShopping.SplashActivity and waiting for 'com.Advantage.aShopping/com.Advantage.aShopping.SplashActivity'
[98887adf][ADB] Getting IDs of all 'com.Advantage.aShopping' processes
[98887adf][ADB] Running 'C:\Users\User\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s emulator-5554 shell 'pgrep --help; echo $?''
[98887adf][ADB] Running 'C:\Users\User\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s emulator-5554 shell pgrep -f \(\[\[:blank:\]\]\|\^\)com\.Advantage\.aShopping\(\[\[:blank:\]\]\|\$\)'
[98887adf][AndroidUiautomator2Driver@2774] 'com.Advantage.aShopping' is already running and noReset is enabled. Set forceAppLaunch capability to true if the app must be forcefully restarted on session startup.
[98887adf][AppiumDriver@592b] New AndroidUiautomator2Driver session created successfully, session 98887adf-ea74-4b2a-ad43-83ea78c4fa2d added to master session list
[98887adf][AppiumDriver@592b] Event 'newSessionStarted' logged at 1726126727566 (14:38:47 GMT+0700 (Western Indonesia Time))
[98887adf][AndroidUiautomator2Driver@2774] Cached the protocol value 'W3C' for the new session 98887adf-ea74-4b2a-ad43-83ea78c4fa2d
[98887adf][AndroidUiautomator2Driver@2774] Responding to client with driver.createSession() result: {"capabilities":{"platformName":"Android","platformVersion":"14","deviceName":"emulator-5554","noReset":true,"appActivity":"com.Advantage.aShopping.SplashActivity","appPackage":"com.Advantage.aShopping","automationName":"uiautomator2","ensureWebviewsHavePages":true,"nativeWebScreenshot":true,"newCommandTimeout":3600,"connectHardwareKeyboard":true,"platform":"LINUX","webStorageEnabled":false,"takesScreenshot":true,"javascriptEnabled":true,"databaseEnabled":false,"networkConnectionEnabled":true,"locationContextEnabled":false,"warnings":{},"desired":{"platformName":"Android","platformVersion":"14","deviceName":"Emulator_test_123","noReset":true,"appActivity":"com.Advantage.aShopping.SplashActivity","appPackage":"com.Advantage.aShopping","automationName":"uiautomator2","ensureWebviewsHavePages":true,"nativeWebScreenshot":true,"newCommandTimeout":3600,"connectHardwareKeyboard":true},"deviceUDID":"emulator-5554","pixelRatio":"2.75","statBarHeight":83,"viewportRect":{"left":0,"top":83,"width":1080,"height":2197},...
[98887adf][HTTP] <-- POST /session 200 3004 ms - 1226
[98887adf][HTTP] --> POST /session/98887adf-ea74-4b2a-ad43-83ea78c4fa2d/element {"using":"id","value":"com.Advantage.aShopping:id/imageViewMenu"}
[98887adf][AndroidUiautomator2Driver@2774] Calling AppiumDriver.findElement() with args: ["id","com.Advantage.aShopping:id/imageViewMenu","98887adf-ea74-4b2a-ad43-83ea78c4fa2d"]
[98887adf][AndroidUiautomator2Driver@2774] Valid locator strategies for this request: xpath, id, class name, accessibility id, css selector, -android uiautomator
[98887adf][AndroidUiautomator2Driver@2774] Waiting up to 0 ms for condition
[98887adf][AndroidUiautomator2Driver@2774] Matched '/element' to command name 'findElement'
[98887adf][AndroidUiautomator2Driver@2774] Proxying [POST /element] to [POST http://127.0.0.1:8212/session/830e312a-694d-4820-876a-86b1194ff09b/element] with body: {"strategy":"id","selector":"com.Advantage.aShopping:id/imageViewMenu","context":"","multiple":false}
[98887adf][AndroidUiautomator2Driver@2774] Got response with status 404: {"sessionId":"830e312a-694d-4820-876a-86b1194ff09b","value":{"error":"no such element","message":"An element could not be located on the page using the given search parameters","stacktrace":"io.appium.uiautomator2.common.exceptions.ElementNotFoundException: An element could not be located on the page using the given search parameters\n\tat io.appium.uiautomator2.handler.FindElement.safeHandle(FindElement.java:63)\n\tat io.appium.uiautomator2.handler.request.SafeRequestHandler.handle(SafeRequestHandler.java:59)\n\tat io.appium.uiautomator2.server.AppiumServlet.handleRequest(AppiumServlet.java:259)\n\tat io.appium.uiautomator2.server.AppiumServlet.handleHttpRequest(AppiumServlet.java:253)\n\tat io.appium.uiautomator2.http.ServerHandler.channelRead(ServerHandler.java:77)\n\tat io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:366)\n\tat io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:352)\n\tat io.netty.chann...
[98887adf][W3C] Matched W3C error code 'no such element' to NoSuchElementError
[98887adf][AndroidUiautomator2Driver@2774] Encountered internal error running command: NoSuchElementError: An element could not be located on the page using the given search parameters.
at AndroidUiautomator2Driver.findElOrEls (C:\Users\User\.appium\node_modules\appium-uiautomator2-driver\node_modules\appium-android-driver\lib\commands\find.ts:86:11)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
at AndroidUiautomator2Driver.findElOrElsWithProcessing (C:\Users\User\AppData\Roaming\npm\node_modules\appium\node_modules\@appium\base-driver\lib\basedriver\commands\find.ts:60:12)
at AndroidUiautomator2Driver.findElement (C:\Users\User\AppData\Roaming\npm\node_modules\appium\node_modules\@appium\base-driver\lib\basedriver\commands\find.ts:75:12)
[98887adf][HTTP] <-- POST /session/98887adf-ea74-4b2a-ad43-83ea78c4fa2d/element 404 48 ms - 887
[2433a1ae][HTTP] --> GET /session/2433a1ae-b90a-458b-a520-10f8951faeb4/timeouts {}
[2433a1ae][AppiumDriver@592b] Encountered internal error running command: NoSuchDriverError: A session is either terminated or not started
at asyncHandler (C:\Users\User\AppData\Roaming\npm\node_modules\appium\node_modules\@appium\base-driver\lib\protocol\protocol.js:309:15)
at C:\Users\User\AppData\Roaming\npm\node_modules\appium\node_modules\@appium\base-driver\lib\protocol\protocol.js:512:15
at Layer.handle [as handle_request] (C:\Users\User\AppData\Roaming\npm\node_modules\appium\node_modules\express\lib\router\layer.js:95:5)
at next (C:\Users\User\AppData\Roaming\npm\node_modules\appium\node_modules\express\lib\router\route.js:149:13)
at Route.dispatch (C:\Users\User\AppData\Roaming\npm\node_modules\appium\node_modules\express\lib\router\route.js:119:3)
at Layer.handle [as handle_request] (C:\Users\User\AppData\Roaming\npm\node_modules\appium\node_modules\express\lib\router\layer.js:95:5)
at C:\Users\User\AppData\Roaming\npm\node_modules\appium\node_modules\express\lib\router\index.js:284:15
at param (C:\Users\User\AppData\Roaming\npm\node_modules\appium\node_modules\express\lib\router\index.js:365:14)
at param (C:\Users\User\AppData\Roaming\npm\node_modules\appium\node_modules\express\lib\router\index.js:376:14)
at Function.process_params (C:\Users\User\AppData\Roaming\npm\node_modules\appium\node_modules\express\lib\router\index.js:421:3)
at next (C:\Users\User\AppData\Roaming\npm\node_modules\appium\node_modules\express\lib\router\index.js:280:10)
at logger (C:\Users\User\AppData\Roaming\npm\node_modules\appium\node_modules\morgan\index.js:144:5)
at Layer.handle [as handle_request] (C:\Users\User\AppData\Roaming\npm\node_modules\appium\node_modules\express\lib\router\layer.js:95:5)
at trim_prefix (C:\Users\User\AppData\Roaming\npm\node_modules\appium\node_modules\express\lib\router\index.js:328:13)
at C:\Users\User\AppData\Roaming\npm\node_modules\appium\node_modules\express\lib\router\index.js:286:9
at Function.process_params (C:\Users\User\AppData\Roaming\npm\node_modules\appium\node_modules\express\lib\router\index.js:346:12)
at next (C:\Users\User\AppData\Roaming\npm\node_modules\appium\node_modules\express\lib\router\index.js:280:10)
at jsonParser (C:\Users\User\AppData\Roaming\npm\node_modules\appium\node_modules\body-parser\lib\types\json.js:113:7)
at Layer.handle [as handle_request] (C:\Users\User\AppData\Roaming\npm\node_modules\appium\node_modules\express\lib\router\layer.js:95:5)
at trim_prefix (C:\Users\User\AppData\Roaming\npm\node_modules\appium\node_modules\express\lib\router\index.js:328:13)
at C:\Users\User\AppData\Roaming\npm\node_modules\appium\node_modules\express\lib\router\index.js:286:9
at Function.process_params (C:\Users\User\AppData\Roaming\npm\node_modules\appium\node_modules\express\lib\router\index.js:346:12)
at next (C:\Users\User\AppData\Roaming\npm\node_modules\appium\node_modules\express\lib\router\index.js:280:10)
at Layer.handle [as handle_request] (C:\Users\User\AppData\Roaming\npm\node_modules\appium\node_modules\express\lib\router\layer.js:91:12)
at trim_prefix (C:\Users\User\AppData\Roaming\npm\node_modules\appium\node_modules\express\lib\router\index.js:328:13)
at C:\Users\User\AppData\Roaming\npm\node_modules\appium\node_modules\express\lib\router\index.js:286:9
at Function.process_params (C:\Users\User\AppData\Roaming\npm\node_modules\appium\node_modules\express\lib\router\index.js:346:12)
at next (C:\Users\User\AppData\Roaming\npm\node_modules\appium\node_modules\express\lib\router\index.js:280:10)
at methodOverride (C:\Users\User\AppData\Roaming\npm\node_modules\appium\node_modules\method-override\index.js:65:14)
at Layer.handle [as handle_request] (C:\Users\User\AppData\Roaming\npm\node_modules\appium\node_modules\express\lib\router\layer.js:95:5)
at trim_prefix (C:\Users\User\AppData\Roaming\npm\node_modules\appium\node_modules\express\lib\router\index.js:328:13)
at C:\Users\User\AppData\Roaming\npm\node_modules\appium\node_modules\express\lib\router\index.js:286:9
at Function.process_params (C:\Users\User\AppData\Roaming\npm\node_modules\appium\node_modules\express\lib\router\index.js:346:12)
at next (C:\Users\User\AppData\Roaming\npm\node_modules\appium\node_modules\express\lib\router\index.js:280:10)
at urlencodedParser (C:\Users\User\AppData\Roaming\npm\node_modules\appium\node_modules\body-parser\lib\types\urlencoded.js:91:7)
at Layer.handle [as handle_request] (C:\Users\User\AppData\Roaming\npm\node_modules\appium\node_modules\express\lib\router\layer.js:95:5)
at trim_prefix (C:\Users\User\AppData\Roaming\npm\node_modules\appium\node_modules\express\lib\router\index.js:328:13)
at C:\Users\User\AppData\Roaming\npm\node_modules\appium\node_modules\express\lib\router\index.js:286:9
at Function.process_params (C:\Users\User\AppData\Roaming\npm\node_modules\appium\node_modules\express\lib\router\index.js:346:12)
at next (C:\Users\User\AppData\Roaming\npm\node_modules\appium\node_modules\express\lib\router\index.js:280:10)
at defaultToJSONContentType (C:\Users\User\AppData\Roaming\npm\node_modules\appium\node_modules\@appium\base-driver\lib\express\middleware.js:102:3)
at Layer.handle [as handle_request] (C:\Users\User\AppData\Roaming\npm\node_modules\appium\node_modules\express\lib\router\layer.js:95:5)
at trim_prefix (C:\Users\User\AppData\Roaming\npm\node_modules\appium\node_modules\express\lib\router\index.js:328:13)
at C:\Users\User\AppData\Roaming\npm\node_modules\appium\node_modules\express\lib\router\index.js:286:9
at Function.process_params (C:\Users\User\AppData\Roaming\npm\node_modules\appium\node_modules\express\lib\router\index.js:346:12)
at next (C:\Users\User\AppData\Roaming\npm\node_modules\appium\node_modules\express\lib\router\index.js:280:10)
at C:\Users\User\AppData\Roaming\npm\node_modules\appium\node_modules\@appium\base-driver\lib\express\middleware.js:69:5
at Layer.handle [as handle_request] (C:\Users\User\AppData\Roaming\npm\node_modules\appium\node_modules\express\lib\router\layer.js:95:5)
at trim_prefix (C:\Users\User\AppData\Roaming\npm\node_modules\appium\node_modules\express\lib\router\index.js:328:13)
at C:\Users\User\AppData\Roaming\npm\node_modules\appium\node_modules\express\lib\router\index.js:286:9
at Function.process_params (C:\Users\User\AppData\Roaming\npm\node_modules\appium\node_modules\express\lib\router\index.js:346:12)
at next (C:\Users\User\AppData\Roaming\npm\node_modules\appium\node_modules\express\lib\router\index.js:280:10)
[2433a1ae][HTTP] <-- GET /session/2433a1ae-b90a-458b-a520-10f8951faeb4/timeouts 404 3 ms - 7370
[HTTP] Request idempotency key: 55fd05b1-c756-4c6c-bec8-fb0667d28410
[HTTP] --> POST /session {"capabilities":{"firstMatch":[{}],"alwaysMatch":{"platformName":"Android","appium:platformVersion":"14","appium:deviceName":"Emulator_test_123","appium:noReset":"true","appium:appActivity":"com.Advantage.aShopping.SplashActivity","appium:appPackage":"com.Advantage.aShopping","appium:automationName":"uiautomator2","appium:ensureWebviewsHavePages":true,"appium:nativeWebScreenshot":true,"appium:newCommandTimeout":3600,"appium:connectHardwareKeyboard":true}}}
[AppiumDriver@592b] Calling AppiumDriver.createSession() with args: [null,null,{"firstMatch":[{}],"alwaysMatch":{"platformName":"Android","appium:platformVersion":"14","appium:deviceName":"Emulator_test_123","appium:noReset":"true","appium:appActivity":"com.Advantage.aShopping.SplashActivity","appium:appPackage":"com.Advantage.aShopping","appium:automationName":"uiautomator2","appium:ensureWebviewsHavePages":true,"appium:nativeWebScreenshot":true,"appium:newCommandTimeout":3600,"appium:connectHardwareKeyboard":true}}]
[AppiumDriver@592b] Event 'newSessionRequested' logged at 1726126746679 (14:39:06 GMT+0700 (Western Indonesia Time))
[Appium] Attempting to find matching driver for automationName 'uiautomator2' and platformName 'Android'
[Appium] The 'uiautomator2' driver was installed and matched caps.
[Appium] Will require it at C:\Users\User\.appium\node_modules\appium-uiautomator2-driver
[Appium] Requiring driver at C:\Users\User\.appium\node_modules\appium-uiautomator2-driver\build\index.js
[AppiumDriver@592b] Appium v2.11.3 creating new AndroidUiautomator2Driver (v3.7.9) session
[AppiumDriver@592b] Checking BaseDriver versions for Appium and AndroidUiautomator2Driver
[AppiumDriver@592b] Appium's BaseDriver version is 9.11.3
[AppiumDriver@592b] AndroidUiautomator2Driver's BaseDriver version is 9.11.3
[AndroidUiautomator2Driver@3c6e]
[AndroidUiautomator2Driver@3c6e] Creating session with W3C capabilities: {
"alwaysMatch": {
"platformName": "Android",
"appium:platformVersion": "14",
"appium:deviceName": "Emulator_test_123",
"appium:noReset": "true",
"appium:appActivity": "com.Advantage.aShopping.SplashActivity",
"appium:appPackage": "com.Advantage.aShopping",
"appium:automationName": "uiautomator2",
"appium:ensureWebviewsHavePages": true,
"appium:nativeWebScreenshot": true,
"appium:newCommandTimeout": 3600,
"appium:connectHardwareKeyboard": true
},
"firstMatch": [
{}
]
}
[AndroidUiautomator2Driver@3c6e] Capability 'noReset' changed from string to boolean. This may cause unexpected behavior
[AndroidUiautomator2Driver@3c6e] The following provided capabilities were not recognized by this driver:
[AndroidUiautomator2Driver@3c6e] connectHardwareKeyboard
[ca6c5ee1][AndroidUiautomator2Driver@3c6e] Session created with session id: ca6c5ee1-d700-4d0e-aea0-bce519f9bec3
[ca6c5ee1][ADB] Using 'adb.exe' from 'C:\Users\User\AppData\Local\Android\Sdk\platform-tools\adb.exe'
[ca6c5ee1][ADB] Running 'C:\Users\User\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 start-server'
[ca6c5ee1][AndroidUiautomator2Driver@3c6e] Retrieving device list
[ca6c5ee1][ADB] Trying to find connected Android devices
[ca6c5ee1][ADB] Getting connected devices
[ca6c5ee1][ADB] Connected devices: [{"udid":"emulator-5554","state":"device"}]
[ca6c5ee1][AndroidUiautomator2Driver@3c6e] Looking for a device with Android '14.0.0'
[ca6c5ee1][ADB] Setting device id to emulator-5554
[ca6c5ee1][ADB] Getting device platform version
[ca6c5ee1][ADB] Running 'C:\Users\User\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s emulator-5554 shell getprop ro.build.version.release'
[ca6c5ee1][ADB] Current device property 'ro.build.version.release': 14
[ca6c5ee1][AndroidUiautomator2Driver@3c6e] Using device: emulator-5554
[ca6c5ee1][ADB] Using 'adb.exe' from 'C:\Users\User\AppData\Local\Android\Sdk\platform-tools\adb.exe'
[ca6c5ee1][ADB] Running 'C:\Users\User\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 start-server'
[ca6c5ee1][ADB] Setting device id to emulator-5554
[ca6c5ee1][AndroidUiautomator2Driver@3c6e] Starting 'com.Advantage.aShopping' directly on the device
[ca6c5ee1][ADB] Running 'C:\Users\User\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s emulator-5554 shell getprop ro.build.version.sdk'
[ca6c5ee1][ADB] Current device property 'ro.build.version.sdk': 34
[ca6c5ee1][ADB] Getting device platform version
[ca6c5ee1][ADB] Running 'C:\Users\User\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s emulator-5554 shell getprop ro.build.version.release'
[ca6c5ee1][ADB] Current device property 'ro.build.version.release': 14
[ca6c5ee1][ADB] Device API level: 34
[ca6c5ee1][AndroidUiautomator2Driver@3c6e] Relaxing hidden api policy
[ca6c5ee1][ADB] Running 'C:\Users\User\AppData\Local\Android\Sdk\platform-tools\adb.exe -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''
[ca6c5ee1][AndroidUiautomator2Driver@3c6e] No app sent in, not parsing package/activity
[ca6c5ee1][ADB] Running 'C:\Users\User\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s emulator-5554 wait-for-device'
[ca6c5ee1][ADB] Running 'C:\Users\User\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s emulator-5554 shell echo ping'
[ca6c5ee1][AndroidUiautomator2Driver@3c6e] Pushing settings apk to the device...
[ca6c5ee1][ADB] Getting package info for 'io.appium.settings'
[ca6c5ee1][ADB] Running 'C:\Users\User\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s emulator-5554 shell dumpsys package io.appium.settings'
[ca6c5ee1][ADB] Using 'aapt2.exe' from 'C:\Users\User\AppData\Local\Android\Sdk\build-tools\33.0.0\aapt2.exe'
[ca6c5ee1][ADB] Reading package manifest: 'C:\\Users\\User\\AppData\\Local\\Android\\Sdk\\build-tools\\33.0.0\\aapt2.exe dump badging C:\\Users\\User\\.appium\\node_modules\\appium-uiautomator2-driver\\node_modules\\io.appium.settings\\apks\\settings_apk-debug.apk'
[ca6c5ee1][ADB] The version name of the installed 'io.appium.settings' is greater or equal to the application version name ('5.12.13' >= '5.12.13')
[ca6c5ee1][ADB] There is no need to install/upgrade 'C:\Users\User\.appium\node_modules\appium-uiautomator2-driver\node_modules\io.appium.settings\apks\settings_apk-debug.apk'
[ca6c5ee1][ADB] Running 'C:\Users\User\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s emulator-5554 shell dumpsys activity services io.appium.settings'
[ca6c5ee1][AndroidUiautomator2Driver@3c6e] io.appium.settings is already running. There is no need to reset its permissions.
[ca6c5ee1][Logcat] Starting logs capture with command: C:\\Users\\User\\AppData\\Local\\Android\\Sdk\\platform-tools\\adb.exe -P 5037 -s emulator-5554 logcat -v threadtime
[ca6c5ee1][AndroidUiautomator2Driver@3c6e] Forwarding UiAutomator2 Server port 6790 to local port 8213
[ca6c5ee1][ADB] Forwarding system: 8213 to device: 6790
[ca6c5ee1][ADB] Running 'C:\Users\User\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s emulator-5554 forward tcp:8213 tcp:6790'
[ca6c5ee1][ADB] Getting package info for 'io.appium.uiautomator2.server'
[ca6c5ee1][ADB] Running 'C:\Users\User\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s emulator-5554 shell dumpsys package io.appium.uiautomator2.server'
[ca6c5ee1][ADB] Getting install status for io.appium.uiautomator2.server.test
[ca6c5ee1][AndroidUiautomator2Driver@3c6e] No app capability. Assuming it is already on the device
[ca6c5ee1][ADB] Running 'C:\Users\User\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s emulator-5554 shell cmd package list packages'
[ca6c5ee1][ADB] Reading package manifest: 'C:\\Users\\User\\AppData\\Local\\Android\\Sdk\\build-tools\\33.0.0\\aapt2.exe dump badging C:\\Users\\User\\.appium\\node_modules\\appium-uiautomator2-driver\\node_modules\\appium-uiautomator2-server\\apks\\appium-uiautomator2-server-v7.0.24.apk'
[ca6c5ee1][ADB] 'io.appium.uiautomator2.server.test' is installed
[ca6c5ee1][ADB] The version name of the installed 'io.appium.uiautomator2.server' is greater or equal to the application version name ('7.0.24' >= '7.0.24')
[ca6c5ee1][AndroidUiautomator2Driver@3c6e] Server packages status: [{"installState":"sameVersionInstalled","appPath":"C:\\Users\\User\\.appium\\node_modules\\appium-uiautomator2-driver\\node_modules\\appium-uiautomator2-server\\apks\\appium-uiautomator2-server-v7.0.24.apk","appId":"io.appium.uiautomator2.server"},{"installState":"sameVersionInstalled","appPath":"C:\\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"}]
[ca6c5ee1][AndroidUiautomator2Driver@3c6e] Server packages are not going to be (re)installed
[ca6c5ee1][AndroidUiautomator2Driver@3c6e] Waiting up to 30000ms for services to be available
[ca6c5ee1][ADB] Running 'C:\Users\User\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s emulator-5554 shell pm list instrumentation'
[ca6c5ee1][AndroidUiautomator2Driver@3c6e] Instrumentation target 'io.appium.uiautomator2.server.test/androidx.test.runner.AndroidJUnitRunner' is available
[ca6c5ee1][ADB] Adding packages ["io.appium.settings","io.appium.uiautomator2.server","io.appium.uiautomator2.server.test"] to Doze whitelist
[ca6c5ee1][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",";"]]
[ca6c5ee1][ADB] Running 'C:\Users\User\AppData\Local\Android\Sdk\platform-tools\adb.exe -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 ;'
[ca6c5ee1][AndroidUiautomator2Driver@3c6e] Performing shallow cleanup of automation leftovers
[ca6c5ee1][AndroidUiautomator2Driver@3c6e] The following obsolete sessions are still running: ["830e312a-694d-4820-876a-86b1194ff09b"]
[ca6c5ee1][AndroidUiautomator2Driver@3c6e] Cleaning up 1 obsolete session
[98887adf][AndroidUiautomator2Driver@2774] [Instrumentation] io.appium.uiautomator2.server.test.AppiumUiAutomator2Server:.
[98887adf][AndroidUiautomator2Driver@2774] [Instrumentation]
[98887adf][AndroidUiautomator2Driver@2774] [Instrumentation] Time: 22.08
[98887adf][AndroidUiautomator2Driver@2774] [Instrumentation]
[98887adf][AndroidUiautomator2Driver@2774] [Instrumentation] OK (1 test)
[98887adf][AndroidUiautomator2Driver@2774] [Instrumentation]
[98887adf][AndroidUiautomator2Driver@2774] [Instrumentation]
[98887adf][AndroidUiautomator2Driver@2774] [Instrumentation] The process has exited with code 0, signal null
[ca6c5ee1][ADB] Running 'C:\Users\User\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s emulator-5554 shell am force-stop io.appium.uiautomator2.server'
[ca6c5ee1][ADB] Running 'C:\Users\User\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s emulator-5554 shell am force-stop io.appium.uiautomator2.server.test'
[ca6c5ee1][AndroidUiautomator2Driver@3c6e] Starting UIAutomator2 server 7.0.24
[ca6c5ee1][AndroidUiautomator2Driver@3c6e] Using UIAutomator2 server from 'C:\Users\User\.appium\node_modules\appium-uiautomator2-driver\node_modules\appium-uiautomator2-server\apks\appium-uiautomator2-server-v7.0.24.apk' and test from 'C:\Users\User\.appium\node_modules\appium-uiautomator2-driver\node_modules\appium-uiautomator2-server\apks\appium-uiautomator2-server-debug-androidTest.apk'
[ca6c5ee1][AndroidUiautomator2Driver@3c6e] Waiting up to 30000ms for UiAutomator2 to be online...
[ca6c5ee1][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"]
[ca6c5ee1][AndroidUiautomator2Driver@3c6e] Matched '/status' to command name 'getStatus'
[ca6c5ee1][AndroidUiautomator2Driver@3c6e] Proxying [GET /status] to [GET http://127.0.0.1:8213/status] with no body
[ca6c5ee1][AndroidUiautomator2Driver@3c6e] socket hang up
[ca6c5ee1][AndroidUiautomator2Driver@3c6e] [Instrumentation]
[ca6c5ee1][AndroidUiautomator2Driver@3c6e] Matched '/status' to command name 'getStatus'
[ca6c5ee1][AndroidUiautomator2Driver@3c6e] Proxying [GET /status] to [GET http://127.0.0.1:8213/status] with no body
[ca6c5ee1][AndroidUiautomator2Driver@3c6e] socket hang up
[ca6c5ee1][AndroidUiautomator2Driver@3c6e] Matched '/status' to command name 'getStatus'
[ca6c5ee1][AndroidUiautomator2Driver@3c6e] Proxying [GET /status] to [GET http://127.0.0.1:8213/status] with no body
[ca6c5ee1][AndroidUiautomator2Driver@3c6e] Got response with status 200: {"sessionId":"None","value":{"message":"UiAutomator2 Server is ready to accept commands","ready":true}}
[ca6c5ee1][AndroidUiautomator2Driver@3c6e] The initialization of the instrumentation process took 2145ms
[ca6c5ee1][AndroidUiautomator2Driver@3c6e] Matched '/session' to command name 'createSession'
[ca6c5ee1][AndroidUiautomator2Driver@3c6e] Proxying [POST /session] to [POST http://127.0.0.1:8213/session] with body: {"capabilities":{"firstMatch":[{"platformName":"Android","platformVersion":"14","deviceName":"emulator-5554","noReset":true,"appActivity":"com.Advantage.aShopping.SplashActivity","appPackage":"com.Advantage.aShopping","automationName":"uiautomator2","ensureWebviewsHavePages":true,"nativeWebScreenshot":true,"newCommandTimeout":3600,"connectHardwareKeyboard":true,"platform":"LINUX","webStorageEnabled":false,"takesScreenshot":true,"javascriptEnabled":true,"databaseEnabled":false,"networkConnectionEnabled":true,"locationContextEnabled":false,"warnings":{},"desired":{"platformName":"Android","platformVersion":"14","deviceName":"Emulator_test_123","noReset":true,"appActivity":"com.Advantage.aShopping.SplashActivity","appPackage":"com.Advantage.aShopping","automationName":"uiautomator2","ensureWebviewsHavePages":true,"nativeWebScreenshot":true,"newCommandTimeout":3600,"connectHardwareKeyboard":true},"deviceUDID":"emulator-5554"}],"alwaysMatch":{}}}
[ca6c5ee1][AndroidUiautomator2Driver@3c6e] Got response with status 200: {"sessionId":"25a0fcad-c357-4922-bf98-edf0875414bc","value":{"capabilities":{"firstMatch":[{"platformName":"Android","platformVersion":"14","deviceName":"emulator-5554","noReset":true,"appActivity":"com.Advantage.aShopping.SplashActivity","appPackage":"com.Advantage.aShopping","automationName":"uiautomator2","ensureWebviewsHavePages":true,"nativeWebScreenshot":true,"newCommandTimeout":3600,"connectHardwareKeyboard":true,"platform":"LINUX","webStorageEnabled":false,"takesScreenshot":true,"javascriptEnabled":true,"databaseEnabled":false,"networkConnectionEnabled":true,"locationContextEnabled":false,"warnings":{},"desired":{"platformName":"Android","platformVersion":"14","deviceName":"Emulator_test_123","noReset":true,"appActivity":"com.Advantage.aShopping.SplashActivity","appPackage":"com.Advantage.aShopping","automationName":"uiautomator2","ensureWebviewsHavePages":true,"nativeWebScreenshot":true,"newCommandTimeout":3600,"connectHardwareKeyboard":true},"deviceUDID":"emulator-5554"}],"alwaysMatch":{}},"sessi...
[ca6c5ee1][AndroidUiautomator2Driver@3c6e] Determined the downstream protocol as 'W3C'
[ca6c5ee1][AndroidUiautomator2Driver@3c6e] Proxying [GET /appium/device/pixel_ratio] to [GET http://127.0.0.1:8213/session/25a0fcad-c357-4922-bf98-edf0875414bc/appium/device/pixel_ratio] with no body
[ca6c5ee1][AndroidUiautomator2Driver@3c6e] Matched '/appium/device/system_bars' to command name 'getSystemBars'
[ca6c5ee1][AndroidUiautomator2Driver@3c6e] Proxying [GET /appium/device/system_bars] to [GET http://127.0.0.1:8213/session/25a0fcad-c357-4922-bf98-edf0875414bc/appium/device/system_bars] with no body
[ca6c5ee1][AndroidUiautomator2Driver@3c6e] Matched '/window/current/size' to command name 'getWindowSize'
[ca6c5ee1][AndroidUiautomator2Driver@3c6e] Proxying [GET /window/current/size] to [GET http://127.0.0.1:8213/session/25a0fcad-c357-4922-bf98-edf0875414bc/window/current/size] with no body
[ca6c5ee1][AndroidUiautomator2Driver@3c6e] Proxying [GET /appium/device/info] to [GET http://127.0.0.1:8213/session/25a0fcad-c357-4922-bf98-edf0875414bc/appium/device/info] with no body
[ca6c5ee1][ADB] Running 'C:\Users\User\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s emulator-5554 shell dumpsys window'
[ca6c5ee1][ADB] Running 'C:\Users\User\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s emulator-5554 shell dumpsys power'
[ca6c5ee1][AndroidUiautomator2Driver@3c6e] Got response with status 200: {"sessionId":"25a0fcad-c357-4922-bf98-edf0875414bc","value":2.75}
[ca6c5ee1][AndroidUiautomator2Driver@3c6e] Got response with status 200: {"sessionId":"25a0fcad-c357-4922-bf98-edf0875414bc","value":{"statusBar":83}}
[ca6c5ee1][AndroidUiautomator2Driver@3c6e] Got response with status 200: {"sessionId":"25a0fcad-c357-4922-bf98-edf0875414bc","value":{"height":2280,"width":1080}}
[ca6c5ee1][AndroidUiautomator2Driver@3c6e] Screen already unlocked, doing nothing
[ca6c5ee1][AndroidUiautomator2Driver@3c6e] Starting 'com.Advantage.aShopping/com.Advantage.aShopping.SplashActivity and waiting for 'com.Advantage.aShopping/com.Advantage.aShopping.SplashActivity'
[ca6c5ee1][ADB] Getting IDs of all 'com.Advantage.aShopping' processes
[ca6c5ee1][ADB] Running 'C:\Users\User\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s emulator-5554 shell 'pgrep --help; echo $?''
[ca6c5ee1][AndroidUiautomator2Driver@3c6e] Got response with status 200: {"sessionId":"25a0fcad-c357-4922-bf98-edf0875414bc","value":{"androidId":"0c4366abb8f3e683","apiVersion":"34","bluetooth":{"state":"ON"},"brand":"google","carrierName":"","displayDensity":440,"locale":"en_US","manufacturer":"Google","model":"sdk_gphone64_x86_64","networks":[{"capabilities":{"SSID":null,"linkDownBandwidthKbps":30000,"linkUpstreamBandwidthKbps":12000,"networkCapabilities":"NET_CAPABILITY_NOT_METERED,NET_CAPABILITY_INTERNET,NET_CAPABILITY_NOT_RESTRICTED,NET_CAPABILITY_TRUSTED,NET_CAPABILITY_NOT_VPN,NET_CAPABILITY_VALIDATED,NET_CAPABILITY_NOT_ROAMING,NET_CAPABILITY_FOREGROUND,NET_CAPABILITY_NOT_CONGESTED,NET_CAPABILITY_NOT_SUSPENDED","signalStrength":-50,"transportTypes":"TRANSPORT_WIFI"},"detailedState":"CONNECTED","extraInfo":"","isAvailable":true,"isConnected":true,"isFailover":false,"isRoaming":false,"state":"CONNECTED","subtype":-1,"subtypeName":"","type":1,"typeName":"WIFI"}],"platformVersion":"14","realDisplaySize":"1080x2280","timeZone":"Asia/Bangkok"}}
[ca6c5ee1][ADB] Running 'C:\Users\User\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s emulator-5554 shell pgrep -f \(\[\[:blank:\]\]\|\^\)com\.Advantage\.aShopping\(\[\[:blank:\]\]\|\$\)'
[ca6c5ee1][AndroidUiautomator2Driver@3c6e] 'com.Advantage.aShopping' is already running and noReset is enabled. Set forceAppLaunch capability to true if the app must be forcefully restarted on session startup.
[ca6c5ee1][AppiumDriver@592b] New AndroidUiautomator2Driver session created successfully, session ca6c5ee1-d700-4d0e-aea0-bce519f9bec3 added to master session list
[ca6c5ee1][AppiumDriver@592b] Event 'newSessionStarted' logged at 1726126750729 (14:39:10 GMT+0700 (Western Indonesia Time))
[ca6c5ee1][AndroidUiautomator2Driver@3c6e] Cached the protocol value 'W3C' for the new session ca6c5ee1-d700-4d0e-aea0-bce519f9bec3
[ca6c5ee1][AndroidUiautomator2Driver@3c6e] Responding to client with driver.createSession() result: {"capabilities":{"platformName":"Android","platformVersion":"14","deviceName":"emulator-5554","noReset":true,"appActivity":"com.Advantage.aShopping.SplashActivity","appPackage":"com.Advantage.aShopping","automationName":"uiautomator2","ensureWebviewsHavePages":true,"nativeWebScreenshot":true,"newCommandTimeout":3600,"connectHardwareKeyboard":true,"platform":"LINUX","webStorageEnabled":false,"takesScreenshot":true,"javascriptEnabled":true,"databaseEnabled":false,"networkConnectionEnabled":true,"locationContextEnabled":false,"warnings":{},"desired":{"platformName":"Android","platformVersion":"14","deviceName":"Emulator_test_123","noReset":true,"appActivity":"com.Advantage.aShopping.SplashActivity","appPackage":"com.Advantage.aShopping","automationName":"uiautomator2","ensureWebviewsHavePages":true,"nativeWebScreenshot":true,"newCommandTimeout":3600,"connectHardwareKeyboard":true},"deviceUDID":"emulator-5554","pixelRatio":"2.75","statBarHeight":83,"viewportRect":{"left":0,"top":83,"width":1080,"height":2197},...
[ca6c5ee1][HTTP] <-- POST /session 200 4061 ms - 1226
[ca6c5ee1][HTTP] --> POST /session/ca6c5ee1-d700-4d0e-aea0-bce519f9bec3/element {"using":"id","value":"com.Advantage.aShopping:id/imageViewMenu"}
[ca6c5ee1][AndroidUiautomator2Driver@3c6e] Calling AppiumDriver.findElement() with args: ["id","com.Advantage.aShopping:id/imageViewMenu","ca6c5ee1-d700-4d0e-aea0-bce519f9bec3"]
[ca6c5ee1][AndroidUiautomator2Driver@3c6e] Valid locator strategies for this request: xpath, id, class name, accessibility id, css selector, -android uiautomator
[ca6c5ee1][AndroidUiautomator2Driver@3c6e] Waiting up to 0 ms for condition
[ca6c5ee1][AndroidUiautomator2Driver@3c6e] Matched '/element' to command name 'findElement'
[ca6c5ee1][AndroidUiautomator2Driver@3c6e] Proxying [POST /element] to [POST http://127.0.0.1:8213/session/25a0fcad-c357-4922-bf98-edf0875414bc/element] with body: {"strategy":"id","selector":"com.Advantage.aShopping:id/imageViewMenu","context":"","multiple":false}
[ca6c5ee1][AndroidUiautomator2Driver@3c6e] Got response with status 404: {"sessionId":"25a0fcad-c357-4922-bf98-edf0875414bc","value":{"error":"no such element","message":"An element could not be located on the page using the given search parameters","stacktrace":"io.appium.uiautomator2.common.exceptions.ElementNotFoundException: An element could not be located on the page using the given search parameters\n\tat io.appium.uiautomator2.handler.FindElement.safeHandle(FindElement.java:63)\n\tat io.appium.uiautomator2.handler.request.SafeRequestHandler.handle(SafeRequestHandler.java:59)\n\tat io.appium.uiautomator2.server.AppiumServlet.handleRequest(AppiumServlet.java:259)\n\tat io.appium.uiautomator2.server.AppiumServlet.handleHttpRequest(AppiumServlet.java:253)\n\tat io.appium.uiautomator2.http.ServerHandler.channelRead(ServerHandler.java:77)\n\tat io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:366)\n\tat io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:352)\n\tat io.netty.chann...
[ca6c5ee1][W3C] Matched W3C error code 'no such element' to NoSuchElementError
[ca6c5ee1][AndroidUiautomator2Driver@3c6e] Encountered internal error running command: NoSuchElementError: An element could not be located on the page using the given search parameters.
at AndroidUiautomator2Driver.findElOrEls (C:\Users\User\.appium\node_modules\appium-uiautomator2-driver\node_modules\appium-android-driver\lib\commands\find.ts:86:11)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
at AndroidUiautomator2Driver.findElOrElsWithProcessing (C:\Users\User\AppData\Roaming\npm\node_modules\appium\node_modules\@appium\base-driver\lib\basedriver\commands\find.ts:60:12)
at AndroidUiautomator2Driver.findElement (C:\Users\User\AppData\Roaming\npm\node_modules\appium\node_modules\@appium\base-driver\lib\basedriver\commands\find.ts:75:12)
[ca6c5ee1][HTTP] <-- POST /session/ca6c5ee1-d700-4d0e-aea0-bce519f9bec3/element 404 41 ms - 887
[2433a1ae][HTTP] --> GET /session/2433a1ae-b90a-458b-a520-10f8951faeb4/timeouts {}
[2433a1ae][AppiumDriver@592b] Encountered internal error running command: NoSuchDriverError: A session is either terminated or not started
at asyncHandler (C:\Users\User\AppData\Roaming\npm\node_modules\appium\node_modules\@appium\base-driver\lib\protocol\protocol.js:309:15)
at C:\Users\User\AppData\Roaming\npm\node_modules\appium\node_modules\@appium\base-driver\lib\protocol\protocol.js:512:15
at Layer.handle [as handle_request] (C:\Users\User\AppData\Roaming\npm\node_modules\appium\node_modules\express\lib\router\layer.js:95:5)
at next (C:\Users\User\AppData\Roaming\npm\node_modules\appium\node_modules\express\lib\router\route.js:149:13)
at Route.dispatch (C:\Users\User\AppData\Roaming\npm\node_modules\appium\node_modules\express\lib\router\route.js:119:3)
at Layer.handle [as handle_request] (C:\Users\User\AppData\Roaming\npm\node_modules\appium\node_modules\express\lib\router\layer.js:95:5)
at C:\Users\User\AppData\Roaming\npm\node_modules\appium\node_modules\express\lib\router\index.js:284:15
at param (C:\Users\User\AppData\Roaming\npm\node_modules\appium\node_modules\express\lib\router\index.js:365:14)
at param (C:\Users\User\AppData\Roaming\npm\node_modules\appium\node_modules\express\lib\router\index.js:376:14)
at Function.process_params (C:\Users\User\AppData\Roaming\npm\node_modules\appium\node_modules\express\lib\router\index.js:421:3)
at next (C:\Users\User\AppData\Roaming\npm\node_modules\appium\node_modules\express\lib\router\index.js:280:10)
at logger (C:\Users\User\AppData\Roaming\npm\node_modules\appium\node_modules\morgan\index.js:144:5)
at Layer.handle [as handle_request] (C:\Users\User\AppData\Roaming\npm\node_modules\appium\node_modules\express\lib\router\layer.js:95:5)
at trim_prefix (C:\Users\User\AppData\Roaming\npm\node_modules\appium\node_modules\express\lib\router\index.js:328:13)
at C:\Users\User\AppData\Roaming\npm\node_modules\appium\node_modules\express\lib\router\index.js:286:9
at Function.process_params (C:\Users\User\AppData\Roaming\npm\node_modules\appium\node_modules\express\lib\router\index.js:346:12)
at next (C:\Users\User\AppData\Roaming\npm\node_modules\appium\node_modules\express\lib\router\index.js:280:10)
at jsonParser (C:\Users\User\AppData\Roaming\npm\node_modules\appium\node_modules\body-parser\lib\types\json.js:113:7)
at Layer.handle [as handle_request] (C:\Users\User\AppData\Roaming\npm\node_modules\appium\node_modules\express\lib\router\layer.js:95:5)
at trim_prefix (C:\Users\User\AppData\Roaming\npm\node_modules\appium\node_modules\express\lib\router\index.js:328:13)
at C:\Users\User\AppData\Roaming\npm\node_modules\appium\node_modules\express\lib\router\index.js:286:9
at Function.process_params (C:\Users\User\AppData\Roaming\npm\node_modules\appium\node_modules\express\lib\router\index.js:346:12)
at next (C:\Users\User\AppData\Roaming\npm\node_modules\appium\node_modules\express\lib\router\index.js:280:10)
at Layer.handle [as handle_request] (C:\Users\User\AppData\Roaming\npm\node_modules\appium\node_modules\express\lib\router\layer.js:91:12)
at trim_prefix (C:\Users\User\AppData\Roaming\npm\node_modules\appium\node_modules\express\lib\router\index.js:328:13)
at C:\Users\User\AppData\Roaming\npm\node_modules\appium\node_modules\express\lib\router\index.js:286:9
at Function.process_params (C:\Users\User\AppData\Roaming\npm\node_modules\appium\node_modules\express\lib\router\index.js:346:12)
at next (C:\Users\User\AppData\Roaming\npm\node_modules\appium\node_modules\express\lib\router\index.js:280:10)
at methodOverride (C:\Users\User\AppData\Roaming\npm\node_modules\appium\node_modules\method-override\index.js:65:14)
at Layer.handle [as handle_request] (C:\Users\User\AppData\Roaming\npm\node_modules\appium\node_modules\express\lib\router\layer.js:95:5)
at trim_prefix (C:\Users\User\AppData\Roaming\npm\node_modules\appium\node_modules\express\lib\router\index.js:328:13)
at C:\Users\User\AppData\Roaming\npm\node_modules\appium\node_modules\express\lib\router\index.js:286:9
at Function.process_params (C:\Users\User\AppData\Roaming\npm\node_modules\appium\node_modules\express\lib\router\index.js:346:12)
at next (C:\Users\User\AppData\Roaming\npm\node_modules\appium\node_modules\express\lib\router\index.js:280:10)
at urlencodedParser (C:\Users\User\AppData\Roaming\npm\node_modules\appium\node_modules\body-parser\lib\types\urlencoded.js:91:7)
at Layer.handle [as handle_request] (C:\Users\User\AppData\Roaming\npm\node_modules\appium\node_modules\express\lib\router\layer.js:95:5)
at trim_prefix (C:\Users\User\AppData\Roaming\npm\node_modules\appium\node_modules\express\lib\router\index.js:328:13)
at C:\Users\User\AppData\Roaming\npm\node_modules\appium\node_modules\express\lib\router\index.js:286:9
at Function.process_params (C:\Users\User\AppData\Roaming\npm\node_modules\appium\node_modules\express\lib\router\index.js:346:12)
at next (C:\Users\User\AppData\Roaming\npm\node_modules\appium\node_modules\express\lib\router\index.js:280:10)
at defaultToJSONContentType (C:\Users\User\AppData\Roaming\npm\node_modules\appium\node_modules\@appium\base-driver\lib\express\middleware.js:102:3)
at Layer.handle [as handle_request] (C:\Users\User\AppData\Roaming\npm\node_modules\appium\node_modules\express\lib\router\layer.js:95:5)
at trim_prefix (C:\Users\User\AppData\Roaming\npm\node_modules\appium\node_modules\express\lib\router\index.js:328:13)
at C:\Users\User\AppData\Roaming\npm\node_modules\appium\node_modules\express\lib\router\index.js:286:9
at Function.process_params (C:\Users\User\AppData\Roaming\npm\node_modules\appium\node_modules\express\lib\router\index.js:346:12)
at next (C:\Users\User\AppData\Roaming\npm\node_modules\appium\node_modules\express\lib\router\index.js:280:10)
at C:\Users\User\AppData\Roaming\npm\node_modules\appium\node_modules\@appium\base-driver\lib\express\middleware.js:69:5
at Layer.handle [as handle_request] (C:\Users\User\AppData\Roaming\npm\node_modules\appium\node_modules\express\lib\router\layer.js:95:5)
at trim_prefix (C:\Users\User\AppData\Roaming\npm\node_modules\appium\node_modules\express\lib\router\index.js:328:13)
at C:\Users\User\AppData\Roaming\npm\node_modules\appium\node_modules\express\lib\router\index.js:286:9
at Function.process_params (C:\Users\User\AppData\Roaming\npm\node_modules\appium\node_modules\express\lib\router\index.js:346:12)
at next (C:\Users\User\AppData\Roaming\npm\node_modules\appium\node_modules\express\lib\router\index.js:280:10)
[2433a1ae][HTTP] <-- GET /session/2433a1ae-b90a-458b-a520-10f8951faeb4/timeouts 404 4 ms - 7370
[2433a1ae][HTTP] --> DELETE /session/2433a1ae-b90a-458b-a520-10f8951faeb4 {}
[2433a1ae][AppiumDriver@592b] Encountered internal error running command: NoSuchDriverError: A session is either terminated or not started
at asyncHandler (C:\Users\User\AppData\Roaming\npm\node_modules\appium\node_modules\@appium\base-driver\lib\protocol\protocol.js:309:15)
at C:\Users\User\AppData\Roaming\npm\node_modules\appium\node_modules\@appium\base-driver\lib\protocol\protocol.js:512:15
at Layer.handle [as handle_request] (C:\Users\User\AppData\Roaming\npm\node_modules\appium\node_modules\express\lib\router\layer.js:95:5)
at next (C:\Users\User\AppData\Roaming\npm\node_modules\appium\node_modules\express\lib\router\route.js:149:13)
at Route.dispatch (C:\Users\User\AppData\Roaming\npm\node_modules\appium\node_modules\express\lib\router\route.js:119:3)
at Layer.handle [as handle_request] (C:\Users\User\AppData\Roaming\npm\node_modules\appium\node_modules\express\lib\router\layer.js:95:5)
at C:\Users\User\AppData\Roaming\npm\node_modules\appium\node_modules\express\lib\router\index.js:284:15
at param (C:\Users\User\AppData\Roaming\npm\node_modules\appium\node_modules\express\lib\router\index.js:365:14)
at param (C:\Users\User\AppData\Roaming\npm\node_modules\appium\node_modules\express\lib\router\index.js:376:14)
at Function.process_params (C:\Users\User\AppData\Roaming\npm\node_modules\appium\node_modules\express\lib\router\index.js:421:3)
at next (C:\Users\User\AppData\Roaming\npm\node_modules\appium\node_modules\express\lib\router\index.js:280:10)
at logger (C:\Users\User\AppData\Roaming\npm\node_modules\appium\node_modules\morgan\index.js:144:5)
at Layer.handle [as handle_request] (C:\Users\User\AppData\Roaming\npm\node_modules\appium\node_modules\express\lib\router\layer.js:95:5)
at trim_prefix (C:\Users\User\AppData\Roaming\npm\node_modules\appium\node_modules\express\lib\router\index.js:328:13)
at C:\Users\User\AppData\Roaming\npm\node_modules\appium\node_modules\express\lib\router\index.js:286:9
at Function.process_params (C:\Users\User\AppData\Roaming\npm\node_modules\appium\node_modules\express\lib\router\index.js:346:12)
at next (C:\Users\User\AppData\Roaming\npm\node_modules\appium\node_modules\express\lib\router\index.js:280:10)
at jsonParser (C:\Users\User\AppData\Roaming\npm\node_modules\appium\node_modules\body-parser\lib\types\json.js:113:7)
at Layer.handle [as handle_request] (C:\Users\User\AppData\Roaming\npm\node_modules\appium\node_modules\express\lib\router\layer.js:95:5)
at trim_prefix (C:\Users\User\AppData\Roaming\npm\node_modules\appium\node_modules\express\lib\router\index.js:328:13)
at C:\Users\User\AppData\Roaming\npm\node_modules\appium\node_modules\express\lib\router\index.js:286:9
at Function.process_params (C:\Users\User\AppData\Roaming\npm\node_modules\appium\node_modules\express\lib\router\index.js:346:12)
at next (C:\Users\User\AppData\Roaming\npm\node_modules\appium\node_modules\express\lib\router\index.js:280:10)
at Layer.handle [as handle_request] (C:\Users\User\AppData\Roaming\npm\node_modules\appium\node_modules\express\lib\router\layer.js:91:12)
at trim_prefix (C:\Users\User\AppData\Roaming\npm\node_modules\appium\node_modules\express\lib\router\index.js:328:13)
at C:\Users\User\AppData\Roaming\npm\node_modules\appium\node_modules\express\lib\router\index.js:286:9
at Function.process_params (C:\Users\User\AppData\Roaming\npm\node_modules\appium\node_modules\express\lib\router\index.js:346:12)
at next (C:\Users\User\AppData\Roaming\npm\node_modules\appium\node_modules\express\lib\router\index.js:280:10)
at methodOverride (C:\Users\User\AppData\Roaming\npm\node_modules\appium\node_modules\method-override\index.js:65:14)
at Layer.handle [as handle_request] (C:\Users\User\AppData\Roaming\npm\node_modules\appium\node_modules\express\lib\router\layer.js:95:5)
at trim_prefix (C:\Users\User\AppData\Roaming\npm\node_modules\appium\node_modules\express\lib\router\index.js:328:13)
at C:\Users\User\AppData\Roaming\npm\node_modules\appium\node_modules\express\lib\router\index.js:286:9
at Function.process_params (C:\Users\User\AppData\Roaming\npm\node_modules\appium\node_modules\express\lib\router\index.js:346:12)
at next (C:\Users\User\AppData\Roaming\npm\node_modules\appium\node_modules\express\lib\router\index.js:280:10)
at urlencodedParser (C:\Users\User\AppData\Roaming\npm\node_modules\appium\node_modules\body-parser\lib\types\urlencoded.js:91:7)
at Layer.handle [as handle_request] (C:\Users\User\AppData\Roaming\npm\node_modules\appium\node_modules\express\lib\router\layer.js:95:5)
at trim_prefix (C:\Users\User\AppData\Roaming\npm\node_modules\appium\node_modules\express\lib\router\index.js:328:13)
at C:\Users\User\AppData\Roaming\npm\node_modules\appium\node_modules\express\lib\router\index.js:286:9
at Function.process_params (C:\Users\User\AppData\Roaming\npm\node_modules\appium\node_modules\express\lib\router\index.js:346:12)
at next (C:\Users\User\AppData\Roaming\npm\node_modules\appium\node_modules\express\lib\router\index.js:280:10)
at defaultToJSONContentType (C:\Users\User\AppData\Roaming\npm\node_modules\appium\node_modules\@appium\base-driver\lib\express\middleware.js:102:3)
at Layer.handle [as handle_request] (C:\Users\User\AppData\Roaming\npm\node_modules\appium\node_modules\express\lib\router\layer.js:95:5)
at trim_prefix (C:\Users\User\AppData\Roaming\npm\node_modules\appium\node_modules\express\lib\router\index.js:328:13)
at C:\Users\User\AppData\Roaming\npm\node_modules\appium\node_modules\express\lib\router\index.js:286:9
at Function.process_params (C:\Users\User\AppData\Roaming\npm\node_modules\appium\node_modules\express\lib\router\index.js:346:12)
at next (C:\Users\User\AppData\Roaming\npm\node_modules\appium\node_modules\express\lib\router\index.js:280:10)
at C:\Users\User\AppData\Roaming\npm\node_modules\appium\node_modules\@appium\base-driver\lib\express\middleware.js:69:5
at Layer.handle [as handle_request] (C:\Users\User\AppData\Roaming\npm\node_modules\appium\node_modules\express\lib\router\layer.js:95:5)
at trim_prefix (C:\Users\User\AppData\Roaming\npm\node_modules\appium\node_modules\express\lib\router\index.js:328:13)
at C:\Users\User\AppData\Roaming\npm\node_modules\appium\node_modules\express\lib\router\index.js:286:9
at Function.process_params (C:\Users\User\AppData\Roaming\npm\node_modules\appium\node_modules\express\lib\router\index.js:346:12)
at next (C:\Users\User\AppData\Roaming\npm\node_modules\appium\node_modules\express\lib\router\index.js:280:10)
[2433a1ae][HTTP] <-- DELETE /session/2433a1ae-b90a-458b-a520-10f8951faeb4 404 5 ms - 7370
[HTTP] --> POST /session {"capabilities":{"alwaysMatch":{"platformName":"Android","appium:platformVersion":"14","appium:deviceName":"Emulator_test_123","appium:noReset":"true","appium:appActivity":"com.Advantage.aShopping.SplashActivity","appium:appPackage":"com.Advantage.aShopping","appium:automationName":"uiautomator2","appium:ensureWebviewsHavePages":true,"appium:nativeWebScreenshot":true,"appium:newCommandTimeout":3600,"appium:connectHardwareKeyboard":true},"firstMatch":[{}]},"desiredCapabilities":{"platformName":"Android","appium:platformVersion":"14","appium:deviceName":"Emulator_test_123","appium:noReset":"true","appium:appActivity":"com.Advantage.aShopping.SplashActivity","appium:appPackage":"com.Advantage.aShopping","appium:automationName":"uiautomator2","appium:ensureWebviewsHavePages":true,"appium:nativeWebScreenshot":true,"appium:newCommandTimeout":3600,"appium:connectHardwareKeyboard":true}}
[AppiumDriver@592b] Calling AppiumDriver.createSession() with args: [{"platformName":"Android","appium:platformVersion":"14","appium:deviceName":"Emulator_test_123","appium:noReset":"true","appium:appActivity":"com.Advantage.aShopping.SplashActivity","appium:appPackage":"com.Advantage.aShopping","appium:automationName":"uiautomator2","appium:ensureWebviewsHavePages":true,"appium:nativeWebScreenshot":true,"appium:newCommandTimeout":3600,"appium:connectHardwareKeyboard":true},null,{"alwaysMatch":{"platformName":"Android","appium:platformVersion":"14","appium:deviceName":"Emulator_test_123","appium:noReset":"true","appium:appActivity":"com.Advantage.aShopping.SplashActivity","appium:appPackage":"com.Advantage.aShopping","appium:automationName":"uiautomator2","appium:ensureWebviewsHavePages":true,"appium:nativeWebScreenshot":true,"appium:newCommandTimeout":3600,"appium:connectHardwareKeyboard":true},"firstMatch":[{}]}]
[AppiumDriver@592b] Event 'newSessionRequested' logged at 1726126789950 (14:39:49 GMT+0700 (Western Indonesia Time))
[Appium] Attempting to find matching driver for automationName 'uiautomator2' and platformName 'Android'
[Appium] The 'uiautomator2' driver was installed and matched caps.
[Appium] Will require it at C:\Users\User\.appium\node_modules\appium-uiautomator2-driver
[Appium] Requiring driver at C:\Users\User\.appium\node_modules\appium-uiautomator2-driver\build\index.js
[AppiumDriver@592b] Appium v2.11.3 creating new AndroidUiautomator2Driver (v3.7.9) session
[AppiumDriver@592b] Checking BaseDriver versions for Appium and AndroidUiautomator2Driver
[AppiumDriver@592b] Appium's BaseDriver version is 9.11.3
[AppiumDriver@592b] AndroidUiautomator2Driver's BaseDriver version is 9.11.3
[AndroidUiautomator2Driver@86a1]
[AndroidUiautomator2Driver@86a1] Creating session with W3C capabilities: {
"alwaysMatch": {
"platformName": "Android",
"appium:platformVersion": "14",
"appium:deviceName": "Emulator_test_123",
"appium:noReset": "true",
"appium:appActivity": "com.Advantage.aShopping.SplashActivity",
"appium:appPackage": "com.Advantage.aShopping",
"appium:automationName": "uiautomator2",
"appium:ensureWebviewsHavePages": true,
"appium:nativeWebScreenshot": true,
"appium:newCommandTimeout": 3600,
"appium:connectHardwareKeyboard": true
},
"firstMatch": [
{}
]
}
[AndroidUiautomator2Driver@86a1] Capability 'noReset' changed from string to boolean. This may cause unexpected behavior
[AndroidUiautomator2Driver@86a1] The following provided capabilities were not recognized by this driver:
[AndroidUiautomator2Driver@86a1] connectHardwareKeyboard
[fbe6a63f][AndroidUiautomator2Driver@86a1] Session created with session id: fbe6a63f-ac53-44aa-b201-9d76b98f2554
[fbe6a63f][ADB] Using 'adb.exe' from 'C:\Users\User\AppData\Local\Android\Sdk\platform-tools\adb.exe'
[fbe6a63f][ADB] Running 'C:\Users\User\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 start-server'
[fbe6a63f][AndroidUiautomator2Driver@86a1] Retrieving device list
[fbe6a63f][ADB] Trying to find connected Android devices
[fbe6a63f][ADB] Getting connected devices
[fbe6a63f][ADB] Connected devices: [{"udid":"emulator-5554","state":"device"}]
[fbe6a63f][AndroidUiautomator2Driver@86a1] Looking for a device with Android '14.0.0'
[fbe6a63f][ADB] Setting device id to emulator-5554
[fbe6a63f][ADB] Getting device platform version
[fbe6a63f][ADB] Running 'C:\Users\User\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s emulator-5554 shell getprop ro.build.version.release'
[fbe6a63f][ADB] Current device property 'ro.build.version.release': 14
[fbe6a63f][AndroidUiautomator2Driver@86a1] Using device: emulator-5554
[fbe6a63f][ADB] Using 'adb.exe' from 'C:\Users\User\AppData\Local\Android\Sdk\platform-tools\adb.exe'
[fbe6a63f][ADB] Running 'C:\Users\User\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 start-server'
[fbe6a63f][ADB] Setting device id to emulator-5554
[fbe6a63f][AndroidUiautomator2Driver@86a1] Starting 'com.Advantage.aShopping' directly on the device
[fbe6a63f][ADB] Running 'C:\Users\User\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s emulator-5554 shell getprop ro.build.version.sdk'
[fbe6a63f][ADB] Current device property 'ro.build.version.sdk': 34
[fbe6a63f][ADB] Getting device platform version
[fbe6a63f][ADB] Running 'C:\Users\User\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s emulator-5554 shell getprop ro.build.version.release'
[fbe6a63f][ADB] Current device property 'ro.build.version.release': 14
[fbe6a63f][ADB] Device API level: 34
[fbe6a63f][AndroidUiautomator2Driver@86a1] Relaxing hidden api policy
[fbe6a63f][ADB] Running 'C:\Users\User\AppData\Local\Android\Sdk\platform-tools\adb.exe -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''
[fbe6a63f][AndroidUiautomator2Driver@86a1] No app sent in, not parsing package/activity
[fbe6a63f][ADB] Running 'C:\Users\User\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s emulator-5554 wait-for-device'
[fbe6a63f][ADB] Running 'C:\Users\User\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s emulator-5554 shell echo ping'
[fbe6a63f][AndroidUiautomator2Driver@86a1] Pushing settings apk to the device...
[fbe6a63f][ADB] Getting package info for 'io.appium.settings'
[fbe6a63f][ADB] Running 'C:\Users\User\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s emulator-5554 shell dumpsys package io.appium.settings'
[fbe6a63f][ADB] Using 'aapt2.exe' from 'C:\Users\User\AppData\Local\Android\Sdk\build-tools\33.0.0\aapt2.exe'
[fbe6a63f][ADB] Reading package manifest: 'C:\\Users\\User\\AppData\\Local\\Android\\Sdk\\build-tools\\33.0.0\\aapt2.exe dump badging C:\\Users\\User\\.appium\\node_modules\\appium-uiautomator2-driver\\node_modules\\io.appium.settings\\apks\\settings_apk-debug.apk'
[fbe6a63f][ADB] The version name of the installed 'io.appium.settings' is greater or equal to the application version name ('5.12.13' >= '5.12.13')
[fbe6a63f][ADB] There is no need to install/upgrade 'C:\Users\User\.appium\node_modules\appium-uiautomator2-driver\node_modules\io.appium.settings\apks\settings_apk-debug.apk'
[fbe6a63f][ADB] Running 'C:\Users\User\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s emulator-5554 shell dumpsys activity services io.appium.settings'
[fbe6a63f][AndroidUiautomator2Driver@86a1] io.appium.settings is already running. There is no need to reset its permissions.
[fbe6a63f][Logcat] Starting logs capture with command: C:\\Users\\User\\AppData\\Local\\Android\\Sdk\\platform-tools\\adb.exe -P 5037 -s emulator-5554 logcat -v threadtime
[fbe6a63f][AndroidUiautomator2Driver@86a1] Forwarding UiAutomator2 Server port 6790 to local port 8214
[fbe6a63f][ADB] Forwarding system: 8214 to device: 6790
[fbe6a63f][ADB] Running 'C:\Users\User\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s emulator-5554 forward tcp:8214 tcp:6790'
[fbe6a63f][ADB] Getting package info for 'io.appium.uiautomator2.server'
[fbe6a63f][ADB] Running 'C:\Users\User\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s emulator-5554 shell dumpsys package io.appium.uiautomator2.server'
[fbe6a63f][ADB] Getting install status for io.appium.uiautomator2.server.test
[fbe6a63f][AndroidUiautomator2Driver@86a1] No app capability. Assuming it is already on the device
[fbe6a63f][ADB] Running 'C:\Users\User\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s emulator-5554 shell cmd package list packages'
[fbe6a63f][ADB] 'io.appium.uiautomator2.server.test' is installed
[fbe6a63f][ADB] Reading package manifest: 'C:\\Users\\User\\AppData\\Local\\Android\\Sdk\\build-tools\\33.0.0\\aapt2.exe dump badging C:\\Users\\User\\.appium\\node_modules\\appium-uiautomator2-driver\\node_modules\\appium-uiautomator2-server\\apks\\appium-uiautomator2-server-v7.0.24.apk'
[fbe6a63f][ADB] The version name of the installed 'io.appium.uiautomator2.server' is greater or equal to the application version name ('7.0.24' >= '7.0.24')
[fbe6a63f][AndroidUiautomator2Driver@86a1] Server packages status: [{"installState":"sameVersionInstalled","appPath":"C:\\Users\\User\\.appium\\node_modules\\appium-uiautomator2-driver\\node_modules\\appium-uiautomator2-server\\apks\\appium-uiautomator2-server-v7.0.24.apk","appId":"io.appium.uiautomator2.server"},{"installState":"sameVersionInstalled","appPath":"C:\\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"}]
[fbe6a63f][AndroidUiautomator2Driver@86a1] Server packages are not going to be (re)installed
[fbe6a63f][AndroidUiautomator2Driver@86a1] Waiting up to 30000ms for services to be available
[fbe6a63f][ADB] Running 'C:\Users\User\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s emulator-5554 shell pm list instrumentation'
[fbe6a63f][AndroidUiautomator2Driver@86a1] Instrumentation target 'io.appium.uiautomator2.server.test/androidx.test.runner.AndroidJUnitRunner' is available
[fbe6a63f][ADB] Adding packages ["io.appium.settings","io.appium.uiautomator2.server","io.appium.uiautomator2.server.test"] to Doze whitelist
[fbe6a63f][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",";"]]
[fbe6a63f][ADB] Running 'C:\Users\User\AppData\Local\Android\Sdk\platform-tools\adb.exe -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 ;'
[fbe6a63f][AndroidUiautomator2Driver@86a1] Performing shallow cleanup of automation leftovers
[fbe6a63f][AndroidUiautomator2Driver@86a1] The following obsolete sessions are still running: ["25a0fcad-c357-4922-bf98-edf0875414bc"]
[fbe6a63f][AndroidUiautomator2Driver@86a1] Cleaning up 1 obsolete session
[ca6c5ee1][AndroidUiautomator2Driver@3c6e] [Instrumentation] io.appium.uiautomator2.server.test.AppiumUiAutomator2Server:.
[ca6c5ee1][AndroidUiautomator2Driver@3c6e] [Instrumentation]
[ca6c5ee1][AndroidUiautomator2Driver@3c6e] [Instrumentation] Time: 42.096
[ca6c5ee1][AndroidUiautomator2Driver@3c6e] [Instrumentation]
[ca6c5ee1][AndroidUiautomator2Driver@3c6e] [Instrumentation] OK (1 test)
[ca6c5ee1][AndroidUiautomator2Driver@3c6e] [Instrumentation]
[ca6c5ee1][AndroidUiautomator2Driver@3c6e] [Instrumentation]
[ca6c5ee1][AndroidUiautomator2Driver@3c6e] [Instrumentation] The process has exited with code 0, signal null
[fbe6a63f][ADB] Running 'C:\Users\User\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s emulator-5554 shell am force-stop io.appium.uiautomator2.server'
[fbe6a63f][ADB] Running 'C:\Users\User\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s emulator-5554 shell am force-stop io.appium.uiautomator2.server.test'
[fbe6a63f][AndroidUiautomator2Driver@86a1] Starting UIAutomator2 server 7.0.24
[fbe6a63f][AndroidUiautomator2Driver@86a1] Using UIAutomator2 server from 'C:\Users\User\.appium\node_modules\appium-uiautomator2-driver\node_modules\appium-uiautomator2-server\apks\appium-uiautomator2-server-v7.0.24.apk' and test from 'C:\Users\User\.appium\node_modules\appium-uiautomator2-driver\node_modules\appium-uiautomator2-server\apks\appium-uiautomator2-server-debug-androidTest.apk'
[fbe6a63f][AndroidUiautomator2Driver@86a1] Waiting up to 30000ms for UiAutomator2 to be online...
[fbe6a63f][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"]
[fbe6a63f][AndroidUiautomator2Driver@86a1] Matched '/status' to command name 'getStatus'
[fbe6a63f][AndroidUiautomator2Driver@86a1] Proxying [GET /status] to [GET http://127.0.0.1:8214/status] with no body
[fbe6a63f][AndroidUiautomator2Driver@86a1] socket hang up
[fbe6a63f][AndroidUiautomator2Driver@86a1] [Instrumentation]
[fbe6a63f][AndroidUiautomator2Driver@86a1] Matched '/status' to command name 'getStatus'
[fbe6a63f][AndroidUiautomator2Driver@86a1] Proxying [GET /status] to [GET http://127.0.0.1:8214/status] with no body
[fbe6a63f][AndroidUiautomator2Driver@86a1] socket hang up
[fbe6a63f][AndroidUiautomator2Driver@86a1] Matched '/status' to command name 'getStatus'
[fbe6a63f][AndroidUiautomator2Driver@86a1] Proxying [GET /status] to [GET http://127.0.0.1:8214/status] with no body
[fbe6a63f][AndroidUiautomator2Driver@86a1] Got response with status 200: {"sessionId":"None","value":{"message":"UiAutomator2 Server is ready to accept commands","ready":true}}
[fbe6a63f][AndroidUiautomator2Driver@86a1] The initialization of the instrumentation process took 2136ms
[fbe6a63f][AndroidUiautomator2Driver@86a1] Matched '/session' to command name 'createSession'
[fbe6a63f][AndroidUiautomator2Driver@86a1] Proxying [POST /session] to [POST http://127.0.0.1:8214/session] with body: {"capabilities":{"firstMatch":[{"platformName":"Android","platformVersion":"14","deviceName":"emulator-5554","noReset":true,"appActivity":"com.Advantage.aShopping.SplashActivity","appPackage":"com.Advantage.aShopping","automationName":"uiautomator2","ensureWebviewsHavePages":true,"nativeWebScreenshot":true,"newCommandTimeout":3600,"connectHardwareKeyboard":true,"platform":"LINUX","webStorageEnabled":false,"takesScreenshot":true,"javascriptEnabled":true,"databaseEnabled":false,"networkConnectionEnabled":true,"locationContextEnabled":false,"warnings":{},"desired":{"platformName":"Android","platformVersion":"14","deviceName":"Emulator_test_123","noReset":true,"appActivity":"com.Advantage.aShopping.SplashActivity","appPackage":"com.Advantage.aShopping","automationName":"uiautomator2","ensureWebviewsHavePages":true,"nativeWebScreenshot":true,"newCommandTimeout":3600,"connectHardwareKeyboard":true},"deviceUDID":"emulator-5554"}],"alwaysMatch":{}}}
[fbe6a63f][AndroidUiautomator2Driver@86a1] Got response with status 200: {"sessionId":"cb011c85-c63b-4f76-96d4-87175e26de3e","value":{"capabilities":{"firstMatch":[{"platformName":"Android","platformVersion":"14","deviceName":"emulator-5554","noReset":true,"appActivity":"com.Advantage.aShopping.SplashActivity","appPackage":"com.Advantage.aShopping","automationName":"uiautomator2","ensureWebviewsHavePages":true,"nativeWebScreenshot":true,"newCommandTimeout":3600,"connectHardwareKeyboard":true,"platform":"LINUX","webStorageEnabled":false,"takesScreenshot":true,"javascriptEnabled":true,"databaseEnabled":false,"networkConnectionEnabled":true,"locationContextEnabled":false,"warnings":{},"desired":{"platformName":"Android","platformVersion":"14","deviceName":"Emulator_test_123","noReset":true,"appActivity":"com.Advantage.aShopping.SplashActivity","appPackage":"com.Advantage.aShopping","automationName":"uiautomator2","ensureWebviewsHavePages":true,"nativeWebScreenshot":true,"newCommandTimeout":3600,"connectHardwareKeyboard":true},"deviceUDID":"emulator-5554"}],"alwaysMatch":{}},"sessi...
[fbe6a63f][AndroidUiautomator2Driver@86a1] Determined the downstream protocol as 'W3C'
[fbe6a63f][AndroidUiautomator2Driver@86a1] Proxying [GET /appium/device/pixel_ratio] to [GET http://127.0.0.1:8214/session/cb011c85-c63b-4f76-96d4-87175e26de3e/appium/device/pixel_ratio] with no body
[fbe6a63f][AndroidUiautomator2Driver@86a1] Matched '/appium/device/system_bars' to command name 'getSystemBars'
[fbe6a63f][AndroidUiautomator2Driver@86a1] Proxying [GET /appium/device/system_bars] to [GET http://127.0.0.1:8214/session/cb011c85-c63b-4f76-96d4-87175e26de3e/appium/device/system_bars] with no body
[fbe6a63f][AndroidUiautomator2Driver@86a1] Matched '/window/current/size' to command name 'getWindowSize'
[fbe6a63f][AndroidUiautomator2Driver@86a1] Proxying [GET /window/current/size] to [GET http://127.0.0.1:8214/session/cb011c85-c63b-4f76-96d4-87175e26de3e/window/current/size] with no body
[fbe6a63f][AndroidUiautomator2Driver@86a1] Proxying [GET /appium/device/info] to [GET http://127.0.0.1:8214/session/cb011c85-c63b-4f76-96d4-87175e26de3e/appium/device/info] with no body
[fbe6a63f][ADB] Running 'C:\Users\User\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s emulator-5554 shell dumpsys window'
[fbe6a63f][ADB] Running 'C:\Users\User\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s emulator-5554 shell dumpsys power'
[fbe6a63f][AndroidUiautomator2Driver@86a1] Got response with status 200: {"sessionId":"cb011c85-c63b-4f76-96d4-87175e26de3e","value":2.75}
[fbe6a63f][AndroidUiautomator2Driver@86a1] Got response with status 200: {"sessionId":"cb011c85-c63b-4f76-96d4-87175e26de3e","value":{"height":2280,"width":1080}}
[fbe6a63f][AndroidUiautomator2Driver@86a1] Got response with status 200: {"sessionId":"cb011c85-c63b-4f76-96d4-87175e26de3e","value":{"statusBar":83}}
[fbe6a63f][AndroidUiautomator2Driver@86a1] Got response with status 200: {"sessionId":"cb011c85-c63b-4f76-96d4-87175e26de3e","value":{"androidId":"0c4366abb8f3e683","apiVersion":"34","bluetooth":{"state":"ON"},"brand":"google","carrierName":"","displayDensity":440,"locale":"en_US","manufacturer":"Google","model":"sdk_gphone64_x86_64","networks":[{"capabilities":{"SSID":null,"linkDownBandwidthKbps":30000,"linkUpstreamBandwidthKbps":12000,"networkCapabilities":"NET_CAPABILITY_NOT_METERED,NET_CAPABILITY_INTERNET,NET_CAPABILITY_NOT_RESTRICTED,NET_CAPABILITY_TRUSTED,NET_CAPABILITY_NOT_VPN,NET_CAPABILITY_VALIDATED,NET_CAPABILITY_NOT_ROAMING,NET_CAPABILITY_FOREGROUND,NET_CAPABILITY_NOT_CONGESTED,NET_CAPABILITY_NOT_SUSPENDED","signalStrength":-50,"transportTypes":"TRANSPORT_WIFI"},"detailedState":"CONNECTED","extraInfo":"","isAvailable":true,"isConnected":true,"isFailover":false,"isRoaming":false,"state":"CONNECTED","subtype":-1,"subtypeName":"","type":1,"typeName":"WIFI"}],"platformVersion":"14","realDisplaySize":"1080x2280","timeZone":"Asia/Bangkok"}}
[fbe6a63f][AndroidUiautomator2Driver@86a1] Screen already unlocked, doing nothing
[fbe6a63f][AndroidUiautomator2Driver@86a1] Starting 'com.Advantage.aShopping/com.Advantage.aShopping.SplashActivity and waiting for 'com.Advantage.aShopping/com.Advantage.aShopping.SplashActivity'
[fbe6a63f][ADB] Getting IDs of all 'com.Advantage.aShopping' processes
[fbe6a63f][ADB] Running 'C:\Users\User\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s emulator-5554 shell 'pgrep --help; echo $?''
[fbe6a63f][ADB] Running 'C:\Users\User\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s emulator-5554 shell pgrep -f \(\[\[:blank:\]\]\|\^\)com\.Advantage\.aShopping\(\[\[:blank:\]\]\|\$\)'
[fbe6a63f][AndroidUiautomator2Driver@86a1] 'com.Advantage.aShopping' is already running and noReset is enabled. Set forceAppLaunch capability to true if the app must be forcefully restarted on session startup.
[fbe6a63f][AppiumDriver@592b] New AndroidUiautomator2Driver session created successfully, session fbe6a63f-ac53-44aa-b201-9d76b98f2554 added to master session list
[fbe6a63f][AppiumDriver@592b] Event 'newSessionStarted' logged at 1726126793930 (14:39:53 GMT+0700 (Western Indonesia Time))
[fbe6a63f][AndroidUiautomator2Driver@86a1] Cached the protocol value 'W3C' for the new session fbe6a63f-ac53-44aa-b201-9d76b98f2554
[fbe6a63f][AndroidUiautomator2Driver@86a1] Responding to client with driver.createSession() result: {"capabilities":{"platformName":"Android","platformVersion":"14","deviceName":"emulator-5554","noReset":true,"appActivity":"com.Advantage.aShopping.SplashActivity","appPackage":"com.Advantage.aShopping","automationName":"uiautomator2","ensureWebviewsHavePages":true,"nativeWebScreenshot":true,"newCommandTimeout":3600,"connectHardwareKeyboard":true,"platform":"LINUX","webStorageEnabled":false,"takesScreenshot":true,"javascriptEnabled":true,"databaseEnabled":false,"networkConnectionEnabled":true,"locationContextEnabled":false,"warnings":{},"desired":{"platformName":"Android","platformVersion":"14","deviceName":"Emulator_test_123","noReset":true,"appActivity":"com.Advantage.aShopping.SplashActivity","appPackage":"com.Advantage.aShopping","automationName":"uiautomator2","ensureWebviewsHavePages":true,"nativeWebScreenshot":true,"newCommandTimeout":3600,"connectHardwareKeyboard":true},"deviceUDID":"emulator-5554","pixelRatio":"2.75","statBarHeight":83,"viewportRect":{"left":0,"top":83,"width":1080,"height":2197},...
[fbe6a63f][HTTP] <-- POST /session 200 3984 ms - 1226
[fbe6a63f][HTTP] --> GET /session/fbe6a63f-ac53-44aa-b201-9d76b98f2554/appium/settings {}
[fbe6a63f][AndroidUiautomator2Driver@86a1] Calling AppiumDriver.getSettings() with args: ["fbe6a63f-ac53-44aa-b201-9d76b98f2554"]
[fbe6a63f][AndroidUiautomator2Driver@86a1] Matched '/appium/settings' to command name 'getSettings'
[fbe6a63f][AndroidUiautomator2Driver@86a1] Proxying [GET /appium/settings] to [GET http://127.0.0.1:8214/session/cb011c85-c63b-4f76-96d4-87175e26de3e/appium/settings] with no body
[fbe6a63f][AndroidUiautomator2Driver@86a1] Got response with status 200: {"sessionId":"cb011c85-c63b-4f76-96d4-87175e26de3e","value":{"allowInvisibleElements":false,"elementResponseAttributes":"name,text","snapshotMaxDepth":70,"mjpegBilinearFiltering":false,"waitForSelectorTimeout":10000,"serverPort":6790,"ignoreUnimportantViews":false,"simpleBoundsCalculation":false,"enableNotificationListener":true,"limitXPathContextScope":true,"includeExtrasInPageSource":false,"normalizeTagNames":false,"trackScrollEvents":true,"scrollAcknowledgmentTimeout":200,"enableTopmostWindowFromActivePackage":false,"enableMultiWindows":false,"useResourcesForOrientationDetection":false,"shouldUseCompactResponses":true,"wakeLockTimeout":86399259,"shutdownOnPowerDisconnect":true,"mjpegServerPort":7810,"mjpegScalingFactor":50,"disableIdLocatorAutocompletion":false,"enforceXPath1":false,"actionAcknowledgmentTimeout":3000,"mjpegServerScreenshotQuality":50,"keyInjectionDelay":0,"waitForIdleTimeout":10000,"mjpegServerFramerate":10}}
[fbe6a63f][AndroidUiautomator2Driver@86a1] Responding to client with driver.getSettings() result: {"ignoreUnimportantViews":false,"allowInvisibleElements":false,"elementResponseAttributes":"name,text","snapshotMaxDepth":70,"mjpegBilinearFiltering":false,"waitForSelectorTimeout":10000,"serverPort":6790,"simpleBoundsCalculation":false,"enableNotificationListener":true,"limitXPathContextScope":true,"includeExtrasInPageSource":false,"normalizeTagNames":false,"trackScrollEvents":true,"scrollAcknowledgmentTimeout":200,"enableTopmostWindowFromActivePackage":false,"enableMultiWindows":false,"useResourcesForOrientationDetection":false,"shouldUseCompactResponses":true,"wakeLockTimeout":86399259,"shutdownOnPowerDisconnect":true,"mjpegServerPort":7810,"mjpegScalingFactor":50,"disableIdLocatorAutocompletion":false,"enforceXPath1":false,"actionAcknowledgmentTimeout":3000,"mjpegServerScreenshotQuality":50,"keyInjectionDelay":0,"waitForIdleTimeout":10000,"mjpegServerFramerate":10}
[fbe6a63f][HTTP] <-- GET /session/fbe6a63f-ac53-44aa-b201-9d76b98f2554/appium/settings 200 15 ms - 891
[fbe6a63f][HTTP] --> GET /session/fbe6a63f-ac53-44aa-b201-9d76b98f2554/screenshot {}
[fbe6a63f][AndroidUiautomator2Driver@86a1] Calling AppiumDriver.getScreenshot() with args: ["fbe6a63f-ac53-44aa-b201-9d76b98f2554"]
[fbe6a63f][AndroidUiautomator2Driver@86a1] Matched '/screenshot' to command name 'getScreenshot'
[fbe6a63f][AndroidUiautomator2Driver@86a1] Proxying [GET /screenshot] to [GET http://127.0.0.1:8214/session/cb011c85-c63b-4f76-96d4-87175e26de3e/screenshot] with no body
[fbe6a63f][AndroidUiautomator2Driver@86a1] Got response with status 200: {"sessionId":"cb011c85-c63b-4f76-96d4-87175e26de3e","value":"iVBORw0KGgoAAAANSUhEUgAABDgAAAjoCAYAAAA5jhrUAAAAAXNSR0IArs4c6QAAAARzQklUCAgICHwIZIgAACAASURBVHiczL1Zs123kS6YuXk4SeI8aTBlarY1y0NZrnK7XOW4vn+gH7t/2H3qiK64Dx3dv+DGrY7btjXY1EDJmiyJEksjSYkURYqUeMiz0Q9rAcjhSwD7HFrXUIhnbSCRmUjkBKy1sPi//Jf/IxERMTHlklKaLmqV/SFKKq3JwaTcPKOIcFDpXbG1SnI17FqZkqtPCrpNJcFfVU5JXGmsSVCyfTJftc2PxfItf/EMkUx7EpzgvknUeCx+fCTmgyp+wxzPPSQ/FZeVocQt9YYoKSEysdKHzK3on+yoBE9gYiGcnriwqL6JBfzMkUXOvp/oUuUD6Ho9FrKhIh7MpzHbgC1i1jglvqhP3Fapeb3N7ULThMx7Vq4I9+bUjIfF71SElrAiWHZDIgYmwjUysJagTTuegwYC1jWOzS5ugSPlH9bnNIqgnyDxQEDt8OD8zDA72R4DnY9YgfARHyN6M/OibUHaTewQWv6uyUfQSfqRZGCURTNlAxpALGNBz0hiPWiZ3Kpl0MUPwPkoV2YuCYUnIdvNKGvEU+QDgY5uVlae8owtGV6i+GN+8bDUBa1Blkaw9bDaHMrnYjYwigyyEY9sthZx1tW50s1kQt7Viwbsp5l79ohpQUZDxnWMtXxWPzMFf5bJU6rtrJQsnlWVv+bcR6VnDPmQwxq3FWsEBhuQibNf0T4aiqxNVfg253I9ICmN0OJO7Wpy85g8jUaPRNjYMGu+nYfBQvStviOlSX/QLNu5dwRV4UQaV2C3LRa0WLD63yVsnTV7IqaUiNKSaGO5pI3lkigRLV3ih+xH/mitNLJ3xkLy69mKa80vT9A2RZSI2EW+VZVppZFKdVLDsXgrexXzyKIJ5xKp0piRtJQY...
[fbe6a63f][AndroidUiautomator2Driver@86a1] Responding to client with driver.getScreenshot() result: "iVBORw0KGgoAAAANSUhEUgAABDgAAAjoCAYAAAA5jhrUAAAAAXNSR0IArs4c6QAAAARzQklUCAgICHwIZIgAACAASURBVHiczL1Zs123kS6YuXk4SeI8aTBlarY1y0NZrnK7XOW4vn+gH7t/2H3qiK64Dx3dv+DGrY7btjXY1EDJmiyJEksjSYkURYqUeMiz0Q9rAcjhSwD7HFrXUIhnbSCRmUjkBKy1sPi//Jf/IxERMTHlklKaLmqV/SFKKq3JwaTcPKOIcFDpXbG1SnI17FqZkqtPCrpNJcFfVU5JXGmsSVCyfTJftc2PxfItf/EMkUx7EpzgvknUeCx+fCTmgyp+wxzPPSQ/FZeVocQt9YYoKSEysdKHzK3on+yoBE9gYiGcnriwqL6JBfzMkUXOvp/oUuUD6Ho9FrKhIh7MpzHbgC1i1jglvqhP3Fapeb3N7ULThMx7Vq4I9+bUjIfF71SElrAiWHZDIgYmwjUysJagTTuegwYC1jWOzS5ugSPlH9bnNIqgnyDxQEDt8OD8zDA72R4DnY9YgfARHyN6M/OibUHaTewQWv6uyUfQSfqRZGCURTNlAxpALGNBz0hiPWiZ3Kpl0MUPwPkoV2YuCYUnIdvNKGvEU+QDgY5uVlae8owtGV6i+GN+8bDUBa1Blkaw9bDaHMrnYjYwigyyEY9sthZx1tW50s1kQt7Viwbsp5l79ohpQUZDxnWMtXxWPzMFf5bJU6rtrJQsnlWVv+bcR6VnDPmQwxq3FWsEBhuQibNf0T4aiqxNVfg253I9ICmN0OJO7Wpy85g8jUaPRNjYMGu+nYfBQvStviOlSX/QLNu5dwRV4UQaV2C3LRa0WLD63yVsnTV7IqaUiNKSaGO5pI3lkigRLV3ih+xH/mitNLJ3xkLy69mKa80vT9A2RZSI2EW+VZVppZFKdVLDsXgrexXzyKIJ5xKp0piRtJQYc6Ip2prMgZVBceTFmc1wafqHxdhUGpAS4NPT8VzqUWiZIcnUOjbwVh61PemG...
[fbe6a63f][HTTP] <-- GET /session/fbe6a63f-ac53-44aa-b201-9d76b98f2554/screenshot 200 776 ms - 1782388
[fbe6a63f][HTTP] --> GET /session/fbe6a63f-ac53-44aa-b201-9d76b98f2554/window/rect {}
[fbe6a63f][AndroidUiautomator2Driver@86a1] Calling AppiumDriver.getWindowRect() with args: ["fbe6a63f-ac53-44aa-b201-9d76b98f2554"]
[fbe6a63f][AndroidUiautomator2Driver@86a1] Matched '/window/current/size' to command name 'getWindowSize'
[fbe6a63f][AndroidUiautomator2Driver@86a1] Proxying [GET /window/current/size] to [GET http://127.0.0.1:8214/session/cb011c85-c63b-4f76-96d4-87175e26de3e/window/current/size] with no body
[fbe6a63f][AndroidUiautomator2Driver@86a1] Got response with status 200: {"sessionId":"cb011c85-c63b-4f76-96d4-87175e26de3e","value":{"height":2280,"width":1080}}
[fbe6a63f][AndroidUiautomator2Driver@86a1] Responding to client with driver.getWindowRect() result: {"width":1080,"height":2280,"x":0,"y":0}
[fbe6a63f][HTTP] <-- GET /session/fbe6a63f-ac53-44aa-b201-9d76b98f2554/window/rect 200 14 ms - 50
[fbe6a63f][HTTP] --> GET /session/fbe6a63f-ac53-44aa-b201-9d76b98f2554/source {}
[fbe6a63f][AndroidUiautomator2Driver@86a1] Driver proxy active, passing request on via HTTP proxy
[fbe6a63f][AndroidUiautomator2Driver@86a1] Matched '/session/fbe6a63f-ac53-44aa-b201-9d76b98f2554/source' to command name 'getPageSource'
[fbe6a63f][AndroidUiautomator2Driver@86a1] Proxying [GET /session/fbe6a63f-ac53-44aa-b201-9d76b98f2554/source] to [GET http://127.0.0.1:8214/session/cb011c85-c63b-4f76-96d4-87175e26de3e/source] with no body
[fbe6a63f][AndroidUiautomator2Driver@86a1] Got response with status 200: {"sessionId":"cb011c85-c63b-4f76-96d4-87175e26de3e","value":"<?xml version='1.0' encoding='UTF-8' standalone='yes' ?>\r\n<hierarchy index=\"0\" class=\"hierarchy\" rotation=\"0\" width=\"1080\" height=\"2214\">\r\n <android.widget.FrameLayout index=\"0\" package=\"com.google.android.apps.nexuslauncher\" class=\"android.widget.FrameLayout\" text=\"\" checkable=\"false\" checked=\"false\" clickable=\"false\" enabled=\"true\" focusable=\"false\" focused=\"false\" long-clickable=\"false\" password=\"false\" scrollable=\"false\" selected=\"false\" bounds=\"[0,0][1080,2280]\" displayed=\"true\">\r\n <android.widget.LinearLayout index=\"0\" package=\"com.google.android.apps.nexuslauncher\" class=\"android.widget.LinearLayout\" text=\"\" checkable=\"false\" checked=\"false\" clickable=\"false\" enabled=\"true\" focusable=\"false\" focused=\"false\" long-clickable=\"false\" password=\"false\" scrollable=\"false\" selected=\"false\" bounds=\"[0,0][1080,2280]\" displayed=\"true\">\r\n <android.widget.FrameLa...
[fbe6a63f][AndroidUiautomator2Driver@86a1] Replacing sessionId cb011c85-c63b-4f76-96d4-87175e26de3e with fbe6a63f-ac53-44aa-b201-9d76b98f2554
[fbe6a63f][HTTP] <-- GET /session/fbe6a63f-ac53-44aa-b201-9d76b98f2554/source 200 65 ms - 15031
[fbe6a63f][HTTP] --> DELETE /session/fbe6a63f-ac53-44aa-b201-9d76b98f2554 {}
[fbe6a63f][AndroidUiautomator2Driver@86a1] Calling AppiumDriver.deleteSession() with args: ["fbe6a63f-ac53-44aa-b201-9d76b98f2554"]
[fbe6a63f][AppiumDriver@592b] Event 'quitSessionRequested' logged at 1726126812877 (14:40:12 GMT+0700 (Western Indonesia Time))
[fbe6a63f][AppiumDriver@592b] Removing session fbe6a63f-ac53-44aa-b201-9d76b98f2554 from our master session list
[fbe6a63f][AndroidUiautomator2Driver@86a1] Deleting UiAutomator2 session
[fbe6a63f][AndroidUiautomator2Driver@86a1] Deleting UiAutomator2 server session
[fbe6a63f][AndroidUiautomator2Driver@86a1] Matched '/' to command name 'deleteSession'
[fbe6a63f][AndroidUiautomator2Driver@86a1] Proxying [DELETE /] to [DELETE http://127.0.0.1:8214/session/cb011c85-c63b-4f76-96d4-87175e26de3e] with no body
[fbe6a63f][AndroidUiautomator2Driver@86a1] Got response with status 200: {"sessionId":"cb011c85-c63b-4f76-96d4-87175e26de3e","value":null}
[fbe6a63f][AndroidUiautomator2Driver@86a1] [Instrumentation] io.appium.uiautomator2.server.test.AppiumUiAutomator2Server:
[fbe6a63f][AndroidUiautomator2Driver@86a1] [Instrumentation] The process has exited with code null, signal SIGTERM
[fbe6a63f][ADB] Running 'C:\Users\User\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s emulator-5554 shell dumpsys activity services io.appium.settings/.recorder.RecorderService'
[fbe6a63f][ADB] Removing forwarded port socket connection: 8214
[fbe6a63f][ADB] Running 'C:\Users\User\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s emulator-5554 forward --remove tcp:8214'
[fbe6a63f][AndroidUiautomator2Driver@86a1] Restoring hidden api policy to the device default configuration
[fbe6a63f][ADB] Running 'C:\Users\User\AppData\Local\Android\Sdk\platform-tools\adb.exe -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''
[fbe6a63f][Logcat] Stopping logcat capture
[fbe6a63f][AppiumDriver@592b] Event 'quitSessionFinished' logged at 1726126813050 (14:40:13 GMT+0700 (Western Indonesia Time))
[fbe6a63f][AppiumDriver@592b] Received response: null
[fbe6a63f][AppiumDriver@592b] But deleting session, so not returning
[fbe6a63f][AppiumDriver@592b] Responding to client with driver.deleteSession() result: null
[fbe6a63f][HTTP] <-- DELETE /session/fbe6a63f-ac53-44aa-b201-9d76b98f2554 200 176 ms - 14
[ebc61227][Logcat] Logcat terminated with code 0, signal null
[98887adf][Logcat] Logcat terminated with code 0, signal null
[ca6c5ee1][Logcat] Logcat terminated with code 0, signal null
[HTTP] --> POST /session {"capabilities":{"alwaysMatch":{"platformName":"Android","appium:platformVersion":"14","appium:deviceName":"Emulator_test_123","appium:noReset":"true","appium:appActivity":"com.Advantage.aShopping.SplashActivity","appium:appPackage":"com.Advantage.aShopping","appium:automationName":"uiautomator2","appium:ensureWebviewsHavePages":true,"appium:nativeWebScreenshot":true,"appium:newCommandTimeout":3600,"appium:connectHardwareKeyboard":true},"firstMatch":[{}]},"desiredCapabilities":{"platformName":"Android","appium:platformVersion":"14","appium:deviceName":"Emulator_test_123","appium:noReset":"true","appium:appActivity":"com.Advantage.aShopping.SplashActivity","appium:appPackage":"com.Advantage.aShopping","appium:automationName":"uiautomator2","appium:ensureWebviewsHavePages":true,"appium:nativeWebScreenshot":true,"appium:newCommandTimeout":3600,"appium:connectHardwareKeyboard":true}}
[AppiumDriver@592b] Calling AppiumDriver.createSession() with args: [{"platformName":"Android","appium:platformVersion":"14","appium:deviceName":"Emulator_test_123","appium:noReset":"true","appium:appActivity":"com.Advantage.aShopping.SplashActivity","appium:appPackage":"com.Advantage.aShopping","appium:automationName":"uiautomator2","appium:ensureWebviewsHavePages":true,"appium:nativeWebScreenshot":true,"appium:newCommandTimeout":3600,"appium:connectHardwareKeyboard":true},null,{"alwaysMatch":{"platformName":"Android","appium:platformVersion":"14","appium:deviceName":"Emulator_test_123","appium:noReset":"true","appium:appActivity":"com.Advantage.aShopping.SplashActivity","appium:appPackage":"com.Advantage.aShopping","appium:automationName":"uiautomator2","appium:ensureWebviewsHavePages":true,"appium:nativeWebScreenshot":true,"appium:newCommandTimeout":3600,"appium:connectHardwareKeyboard":true},"firstMatch":[{}]}]
[AppiumDriver@592b] Event 'newSessionRequested' logged at 1726129878389 (15:31:18 GMT+0700 (Western Indonesia Time))
[Appium] Attempting to find matching driver for automationName 'uiautomator2' and platformName 'Android'
[Appium] The 'uiautomator2' driver was installed and matched caps.
[Appium] Will require it at C:\Users\User\.appium\node_modules\appium-uiautomator2-driver
[Appium] Requiring driver at C:\Users\User\.appium\node_modules\appium-uiautomator2-driver\build\index.js
[AppiumDriver@592b] Appium v2.11.3 creating new AndroidUiautomator2Driver (v3.7.9) session
[AppiumDriver@592b] Checking BaseDriver versions for Appium and AndroidUiautomator2Driver
[AppiumDriver@592b] Appium's BaseDriver version is 9.11.3
[AppiumDriver@592b] AndroidUiautomator2Driver's BaseDriver version is 9.11.3
[AndroidUiautomator2Driver@ee04]
[AndroidUiautomator2Driver@ee04] Creating session with W3C capabilities: {
"alwaysMatch": {
"platformName": "Android",
"appium:platformVersion": "14",
"appium:deviceName": "Emulator_test_123",
"appium:noReset": "true",
"appium:appActivity": "com.Advantage.aShopping.SplashActivity",
"appium:appPackage": "com.Advantage.aShopping",
"appium:automationName": "uiautomator2",
"appium:ensureWebviewsHavePages": true,
"appium:nativeWebScreenshot": true,
"appium:newCommandTimeout": 3600,
"appium:connectHardwareKeyboard": true
},
"firstMatch": [
{}
]
}
[AndroidUiautomator2Driver@ee04] Capability 'noReset' changed from string to boolean. This may cause unexpected behavior
[AndroidUiautomator2Driver@ee04] The following provided capabilities were not recognized by this driver:
[AndroidUiautomator2Driver@ee04] connectHardwareKeyboard
[f3ef638c][AndroidUiautomator2Driver@ee04] Session created with session id: f3ef638c-f042-42a1-818b-56694553cb88
[f3ef638c][ADB] Using 'adb.exe' from 'C:\Users\User\AppData\Local\Android\Sdk\platform-tools\adb.exe'
[f3ef638c][ADB] Running 'C:\Users\User\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 start-server'
[f3ef638c][AndroidUiautomator2Driver@ee04] Retrieving device list
[f3ef638c][ADB] Trying to find connected Android devices
[f3ef638c][ADB] Getting connected devices
[f3ef638c][ADB] Connected devices: [{"udid":"emulator-5554","state":"device"}]
[f3ef638c][AndroidUiautomator2Driver@ee04] Looking for a device with Android '14.0.0'
[f3ef638c][ADB] Setting device id to emulator-5554
[f3ef638c][ADB] Getting device platform version
[f3ef638c][ADB] Running 'C:\Users\User\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s emulator-5554 shell getprop ro.build.version.release'
[f3ef638c][ADB] Current device property 'ro.build.version.release': 14
[f3ef638c][AndroidUiautomator2Driver@ee04] Using device: emulator-5554
[f3ef638c][ADB] Using 'adb.exe' from 'C:\Users\User\AppData\Local\Android\Sdk\platform-tools\adb.exe'
[f3ef638c][ADB] Running 'C:\Users\User\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 start-server'
[f3ef638c][ADB] Setting device id to emulator-5554
[f3ef638c][AndroidUiautomator2Driver@ee04] Starting 'com.Advantage.aShopping' directly on the device
[f3ef638c][ADB] Running 'C:\Users\User\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s emulator-5554 shell getprop ro.build.version.sdk'
[f3ef638c][ADB] Current device property 'ro.build.version.sdk': 34
[f3ef638c][ADB] Getting device platform version
[f3ef638c][ADB] Running 'C:\Users\User\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s emulator-5554 shell getprop ro.build.version.release'
[f3ef638c][ADB] Current device property 'ro.build.version.release': 14
[f3ef638c][ADB] Device API level: 34
[f3ef638c][AndroidUiautomator2Driver@ee04] Relaxing hidden api policy
[f3ef638c][ADB] Running 'C:\Users\User\AppData\Local\Android\Sdk\platform-tools\adb.exe -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''
[f3ef638c][AndroidUiautomator2Driver@ee04] No app sent in, not parsing package/activity
[f3ef638c][ADB] Running 'C:\Users\User\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s emulator-5554 wait-for-device'
[f3ef638c][ADB] Running 'C:\Users\User\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s emulator-5554 shell echo ping'
[f3ef638c][AndroidUiautomator2Driver@ee04] Pushing settings apk to the device...
[f3ef638c][ADB] Getting package info for 'io.appium.settings'
[f3ef638c][ADB] Running 'C:\Users\User\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s emulator-5554 shell dumpsys package io.appium.settings'
[f3ef638c][ADB] Using 'aapt2.exe' from 'C:\Users\User\AppData\Local\Android\Sdk\build-tools\33.0.0\aapt2.exe'
[f3ef638c][ADB] Reading package manifest: 'C:\\Users\\User\\AppData\\Local\\Android\\Sdk\\build-tools\\33.0.0\\aapt2.exe dump badging C:\\Users\\User\\.appium\\node_modules\\appium-uiautomator2-driver\\node_modules\\io.appium.settings\\apks\\settings_apk-debug.apk'
[f3ef638c][ADB] The version name of the installed 'io.appium.settings' is greater or equal to the application version name ('5.12.13' >= '5.12.13')
[f3ef638c][ADB] There is no need to install/upgrade 'C:\Users\User\.appium\node_modules\appium-uiautomator2-driver\node_modules\io.appium.settings\apks\settings_apk-debug.apk'
[f3ef638c][ADB] Running 'C:\Users\User\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s emulator-5554 shell dumpsys activity services io.appium.settings'
[f3ef638c][ADB] Running 'C:\Users\User\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s emulator-5554 shell cmd notification allow_listener io.appium.settings/.NLService'
[f3ef638c][ADB] Running 'C:\Users\User\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s emulator-5554 shell appops set io.appium.settings PROJECT_MEDIA allow'
[f3ef638c][ADB] Running 'C:\Users\User\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s emulator-5554 shell dumpsys activity services io.appium.settings'
[f3ef638c][SettingsApp] Starting Appium Settings app
[f3ef638c][ADB] Running 'C:\Users\User\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s emulator-5554 shell am start -n io.appium.settings/.Settings -a android.intent.action.MAIN -c android.intent.category.LAUNCHER'
[f3ef638c][ADB] Running 'C:\Users\User\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s emulator-5554 shell dumpsys activity services io.appium.settings'
[f3ef638c][ADB] Running 'C:\Users\User\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s emulator-5554 shell dumpsys activity services io.appium.settings'
[f3ef638c][ADB] Running 'C:\Users\User\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s emulator-5554 shell dumpsys activity services io.appium.settings'
[f3ef638c][Logcat] Starting logs capture with command: C:\\Users\\User\\AppData\\Local\\Android\\Sdk\\platform-tools\\adb.exe -P 5037 -s emulator-5554 logcat -v threadtime
[f3ef638c][AndroidUiautomator2Driver@ee04] Forwarding UiAutomator2 Server port 6790 to local port 8200
[f3ef638c][ADB] Forwarding system: 8200 to device: 6790
[f3ef638c][ADB] Running 'C:\Users\User\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s emulator-5554 forward tcp:8200 tcp:6790'
[f3ef638c][ADB] Getting package info for 'io.appium.uiautomator2.server'
[f3ef638c][ADB] Running 'C:\Users\User\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s emulator-5554 shell dumpsys package io.appium.uiautomator2.server'
[f3ef638c][ADB] Getting install status for io.appium.uiautomator2.server.test
[f3ef638c][AndroidUiautomator2Driver@ee04] No app capability. Assuming it is already on the device
[f3ef638c][ADB] Running 'C:\Users\User\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s emulator-5554 shell cmd package list packages'
[f3ef638c][ADB] 'io.appium.uiautomator2.server.test' is installed
[f3ef638c][ADB] Reading package manifest: 'C:\\Users\\User\\AppData\\Local\\Android\\Sdk\\build-tools\\33.0.0\\aapt2.exe dump badging C:\\Users\\User\\.appium\\node_modules\\appium-uiautomator2-driver\\node_modules\\appium-uiautomator2-server\\apks\\appium-uiautomator2-server-v7.0.24.apk'
[f3ef638c][ADB] The version name of the installed 'io.appium.uiautomator2.server' is greater or equal to the application version name ('7.0.24' >= '7.0.24')
[f3ef638c][AndroidUiautomator2Driver@ee04] Server packages status: [{"installState":"sameVersionInstalled","appPath":"C:\\Users\\User\\.appium\\node_modules\\appium-uiautomator2-driver\\node_modules\\appium-uiautomator2-server\\apks\\appium-uiautomator2-server-v7.0.24.apk","appId":"io.appium.uiautomator2.server"},{"installState":"sameVersionInstalled","appPath":"C:\\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"}]
[f3ef638c][AndroidUiautomator2Driver@ee04] Server packages are not going to be (re)installed
[f3ef638c][AndroidUiautomator2Driver@ee04] Waiting up to 30000ms for services to be available
[f3ef638c][ADB] Running 'C:\Users\User\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s emulator-5554 shell pm list instrumentation'
[f3ef638c][AndroidUiautomator2Driver@ee04] Instrumentation target 'io.appium.uiautomator2.server.test/androidx.test.runner.AndroidJUnitRunner' is available
[f3ef638c][ADB] Adding packages ["io.appium.settings","io.appium.uiautomator2.server","io.appium.uiautomator2.server.test"] to Doze whitelist
[f3ef638c][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",";"]]
[f3ef638c][ADB] Running 'C:\Users\User\AppData\Local\Android\Sdk\platform-tools\adb.exe -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 ;'
[f3ef638c][AndroidUiautomator2Driver@ee04] Performing shallow cleanup of automation leftovers
[f3ef638c][AndroidUiautomator2Driver@ee04] No obsolete sessions have been detected (socket hang up)
[f3ef638c][ADB] Running 'C:\Users\User\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s emulator-5554 shell am force-stop io.appium.uiautomator2.server'
[f3ef638c][ADB] Running 'C:\Users\User\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s emulator-5554 shell am force-stop io.appium.uiautomator2.server.test'
[f3ef638c][AndroidUiautomator2Driver@ee04] Starting UIAutomator2 server 7.0.24
[f3ef638c][AndroidUiautomator2Driver@ee04] Using UIAutomator2 server from 'C:\Users\User\.appium\node_modules\appium-uiautomator2-driver\node_modules\appium-uiautomator2-server\apks\appium-uiautomator2-server-v7.0.24.apk' and test from 'C:\Users\User\.appium\node_modules\appium-uiautomator2-driver\node_modules\appium-uiautomator2-server\apks\appium-uiautomator2-server-debug-androidTest.apk'
[f3ef638c][AndroidUiautomator2Driver@ee04] Waiting up to 30000ms for UiAutomator2 to be online...
[f3ef638c][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"]
[f3ef638c][AndroidUiautomator2Driver@ee04] Matched '/status' to command name 'getStatus'
[f3ef638c][AndroidUiautomator2Driver@ee04] Proxying [GET /status] to [GET http://127.0.0.1:8200/status] with no body
[f3ef638c][AndroidUiautomator2Driver@ee04] socket hang up
[f3ef638c][AndroidUiautomator2Driver@ee04] Matched '/status' to command name 'getStatus'
[f3ef638c][AndroidUiautomator2Driver@ee04] Proxying [GET /status] to [GET http://127.0.0.1:8200/status] with no body
[f3ef638c][AndroidUiautomator2Driver@ee04] socket hang up
[f3ef638c][AndroidUiautomator2Driver@ee04] Matched '/status' to command name 'getStatus'
[f3ef638c][AndroidUiautomator2Driver@ee04] Proxying [GET /status] to [GET http://127.0.0.1:8200/status] with no body
[f3ef638c][AndroidUiautomator2Driver@ee04] socket hang up
[f3ef638c][AndroidUiautomator2Driver@ee04] [Instrumentation]
[f3ef638c][AndroidUiautomator2Driver@ee04] Matched '/status' to command name 'getStatus'
[f3ef638c][AndroidUiautomator2Driver@ee04] Proxying [GET /status] to [GET http://127.0.0.1:8200/status] with no body
[f3ef638c][AndroidUiautomator2Driver@ee04] socket hang up
[f3ef638c][AndroidUiautomator2Driver@ee04] Matched '/status' to command name 'getStatus'
[f3ef638c][AndroidUiautomator2Driver@ee04] Proxying [GET /status] to [GET http://127.0.0.1:8200/status] with no body
[f3ef638c][AndroidUiautomator2Driver@ee04] socket hang up
[f3ef638c][AndroidUiautomator2Driver@ee04] Matched '/status' to command name 'getStatus'
[f3ef638c][AndroidUiautomator2Driver@ee04] Proxying [GET /status] to [GET http://127.0.0.1:8200/status] with no body
[f3ef638c][AndroidUiautomator2Driver@ee04] Got response with status 200: {"sessionId":"None","value":{"message":"UiAutomator2 Server is ready to accept commands","ready":true}}
[f3ef638c][AndroidUiautomator2Driver@ee04] The initialization of the instrumentation process took 5181ms
[f3ef638c][AndroidUiautomator2Driver@ee04] Matched '/session' to command name 'createSession'
[f3ef638c][AndroidUiautomator2Driver@ee04] Proxying [POST /session] to [POST http://127.0.0.1:8200/session] with body: {"capabilities":{"firstMatch":[{"platformName":"Android","platformVersion":"14","deviceName":"emulator-5554","noReset":true,"appActivity":"com.Advantage.aShopping.SplashActivity","appPackage":"com.Advantage.aShopping","automationName":"uiautomator2","ensureWebviewsHavePages":true,"nativeWebScreenshot":true,"newCommandTimeout":3600,"connectHardwareKeyboard":true,"platform":"LINUX","webStorageEnabled":false,"takesScreenshot":true,"javascriptEnabled":true,"databaseEnabled":false,"networkConnectionEnabled":true,"locationContextEnabled":false,"warnings":{},"desired":{"platformName":"Android","platformVersion":"14","deviceName":"Emulator_test_123","noReset":true,"appActivity":"com.Advantage.aShopping.SplashActivity","appPackage":"com.Advantage.aShopping","automationName":"uiautomator2","ensureWebviewsHavePages":true,"nativeWebScreenshot":true,"newCommandTimeout":3600,"connectHardwareKeyboard":true},"deviceUDID":"emulator-5554"}],"alwaysMatch":{}}}
[f3ef638c][AndroidUiautomator2Driver@ee04] Got response with status 200: {"sessionId":"8e009f68-4f09-4688-9057-42e24ce90169","value":{"capabilities":{"firstMatch":[{"platformName":"Android","platformVersion":"14","deviceName":"emulator-5554","noReset":true,"appActivity":"com.Advantage.aShopping.SplashActivity","appPackage":"com.Advantage.aShopping","automationName":"uiautomator2","ensureWebviewsHavePages":true,"nativeWebScreenshot":true,"newCommandTimeout":3600,"connectHardwareKeyboard":true,"platform":"LINUX","webStorageEnabled":false,"takesScreenshot":true,"javascriptEnabled":true,"databaseEnabled":false,"networkConnectionEnabled":true,"locationContextEnabled":false,"warnings":{},"desired":{"platformName":"Android","platformVersion":"14","deviceName":"Emulator_test_123","noReset":true,"appActivity":"com.Advantage.aShopping.SplashActivity","appPackage":"com.Advantage.aShopping","automationName":"uiautomator2","ensureWebviewsHavePages":true,"nativeWebScreenshot":true,"newCommandTimeout":3600,"connectHardwareKeyboard":true},"deviceUDID":"emulator-5554"}],"alwaysMatch":{}},"sessi...
[f3ef638c][AndroidUiautomator2Driver@ee04] Determined the downstream protocol as 'W3C'
[f3ef638c][AndroidUiautomator2Driver@ee04] Proxying [GET /appium/device/pixel_ratio] to [GET http://127.0.0.1:8200/session/8e009f68-4f09-4688-9057-42e24ce90169/appium/device/pixel_ratio] with no body
[f3ef638c][AndroidUiautomator2Driver@ee04] Matched '/appium/device/system_bars' to command name 'getSystemBars'
[f3ef638c][AndroidUiautomator2Driver@ee04] Proxying [GET /appium/device/system_bars] to [GET http://127.0.0.1:8200/session/8e009f68-4f09-4688-9057-42e24ce90169/appium/device/system_bars] with no body
[f3ef638c][AndroidUiautomator2Driver@ee04] Matched '/window/current/size' to command name 'getWindowSize'
[f3ef638c][AndroidUiautomator2Driver@ee04] Proxying [GET /window/current/size] to [GET http://127.0.0.1:8200/session/8e009f68-4f09-4688-9057-42e24ce90169/window/current/size] with no body
[f3ef638c][AndroidUiautomator2Driver@ee04] Proxying [GET /appium/device/info] to [GET http://127.0.0.1:8200/session/8e009f68-4f09-4688-9057-42e24ce90169/appium/device/info] with no body
[f3ef638c][ADB] Running 'C:\Users\User\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s emulator-5554 shell dumpsys window'
[f3ef638c][ADB] Running 'C:\Users\User\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s emulator-5554 shell dumpsys power'
[f3ef638c][AndroidUiautomator2Driver@ee04] Got response with status 200: {"sessionId":"8e009f68-4f09-4688-9057-42e24ce90169","value":2.75}
[f3ef638c][AndroidUiautomator2Driver@ee04] Got response with status 200: {"sessionId":"8e009f68-4f09-4688-9057-42e24ce90169","value":{"height":2280,"width":1080}}
[f3ef638c][AndroidUiautomator2Driver@ee04] Got response with status 200: {"sessionId":"8e009f68-4f09-4688-9057-42e24ce90169","value":{"statusBar":83}}
[f3ef638c][AndroidUiautomator2Driver@ee04] Got response with status 200: {"sessionId":"8e009f68-4f09-4688-9057-42e24ce90169","value":{"androidId":"0c4366abb8f3e683","apiVersion":"34","bluetooth":{"state":"ON"},"brand":"google","carrierName":"","displayDensity":440,"locale":"en_US","manufacturer":"Google","model":"sdk_gphone64_x86_64","networks":[{"capabilities":{"SSID":null,"linkDownBandwidthKbps":30000,"linkUpstreamBandwidthKbps":12000,"networkCapabilities":"NET_CAPABILITY_NOT_METERED,NET_CAPABILITY_INTERNET,NET_CAPABILITY_NOT_RESTRICTED,NET_CAPABILITY_TRUSTED,NET_CAPABILITY_NOT_VPN,NET_CAPABILITY_VALIDATED,NET_CAPABILITY_NOT_ROAMING,NET_CAPABILITY_FOREGROUND,NET_CAPABILITY_NOT_CONGESTED,NET_CAPABILITY_NOT_SUSPENDED","signalStrength":-50,"transportTypes":"TRANSPORT_WIFI"},"detailedState":"CONNECTED","extraInfo":"","isAvailable":true,"isConnected":true,"isFailover":false,"isRoaming":false,"state":"CONNECTED","subtype":-1,"subtypeName":"","type":1,"typeName":"WIFI"}],"platformVersion":"14","realDisplaySize":"1080x2280","timeZone":"Asia/Bangkok"}}
[f3ef638c][AndroidUiautomator2Driver@ee04] Screen already unlocked, doing nothing
[f3ef638c][AndroidUiautomator2Driver@ee04] Starting 'com.Advantage.aShopping/com.Advantage.aShopping.SplashActivity and waiting for 'com.Advantage.aShopping/com.Advantage.aShopping.SplashActivity'
[f3ef638c][ADB] Getting IDs of all 'com.Advantage.aShopping' processes
[f3ef638c][ADB] Running 'C:\Users\User\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s emulator-5554 shell 'pgrep --help; echo $?''
[f3ef638c][ADB] Running 'C:\Users\User\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s emulator-5554 shell pgrep -f \(\[\[:blank:\]\]\|\^\)com\.Advantage\.aShopping\(\[\[:blank:\]\]\|\$\)'
[f3ef638c][ADB] Running 'C:\Users\User\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s emulator-5554 shell am start -W -n com.Advantage.aShopping/com.Advantage.aShopping.SplashActivity -S -a android.intent.action.MAIN -c android.intent.category.LAUNCHER -f 0x10200000'
[f3ef638c][AppiumDriver@592b] New AndroidUiautomator2Driver session created successfully, session f3ef638c-f042-42a1-818b-56694553cb88 added to master session list
[f3ef638c][AppiumDriver@592b] Event 'newSessionStarted' logged at 1726129889764 (15:31:29 GMT+0700 (Western Indonesia Time))
[f3ef638c][AndroidUiautomator2Driver@ee04] Cached the protocol value 'W3C' for the new session f3ef638c-f042-42a1-818b-56694553cb88
[f3ef638c][AndroidUiautomator2Driver@ee04] Responding to client with driver.createSession() result: {"capabilities":{"platformName":"Android","platformVersion":"14","deviceName":"emulator-5554","noReset":true,"appActivity":"com.Advantage.aShopping.SplashActivity","appPackage":"com.Advantage.aShopping","automationName":"uiautomator2","ensureWebviewsHavePages":true,"nativeWebScreenshot":true,"newCommandTimeout":3600,"connectHardwareKeyboard":true,"platform":"LINUX","webStorageEnabled":false,"takesScreenshot":true,"javascriptEnabled":true,"databaseEnabled":false,"networkConnectionEnabled":true,"locationContextEnabled":false,"warnings":{},"desired":{"platformName":"Android","platformVersion":"14","deviceName":"Emulator_test_123","noReset":true,"appActivity":"com.Advantage.aShopping.SplashActivity","appPackage":"com.Advantage.aShopping","automationName":"uiautomator2","ensureWebviewsHavePages":true,"nativeWebScreenshot":true,"newCommandTimeout":3600,"connectHardwareKeyboard":true},"deviceUDID":"emulator-5554","pixelRatio":"2.75","statBarHeight":83,"viewportRect":{"left":0,"top":83,"width":1080,"height":2197},...
[f3ef638c][HTTP] <-- POST /session 200 11397 ms - 1226
[f3ef638c][HTTP] --> GET /session/f3ef638c-f042-42a1-818b-56694553cb88/appium/settings {}
[f3ef638c][AndroidUiautomator2Driver@ee04] Calling AppiumDriver.getSettings() with args: ["f3ef638c-f042-42a1-818b-56694553cb88"]
[f3ef638c][AndroidUiautomator2Driver@ee04] Matched '/appium/settings' to command name 'getSettings'
[f3ef638c][AndroidUiautomator2Driver@ee04] Proxying [GET /appium/settings] to [GET http://127.0.0.1:8200/session/8e009f68-4f09-4688-9057-42e24ce90169/appium/settings] with no body
[f3ef638c][AndroidUiautomator2Driver@ee04] Got response with status 200: {"sessionId":"8e009f68-4f09-4688-9057-42e24ce90169","value":{"allowInvisibleElements":false,"elementResponseAttributes":"name,text","snapshotMaxDepth":70,"mjpegBilinearFiltering":false,"waitForSelectorTimeout":10000,"serverPort":6790,"ignoreUnimportantViews":false,"simpleBoundsCalculation":false,"enableNotificationListener":true,"limitXPathContextScope":true,"includeExtrasInPageSource":false,"normalizeTagNames":false,"trackScrollEvents":true,"scrollAcknowledgmentTimeout":200,"enableTopmostWindowFromActivePackage":false,"enableMultiWindows":false,"useResourcesForOrientationDetection":false,"shouldUseCompactResponses":true,"wakeLockTimeout":86396928,"shutdownOnPowerDisconnect":true,"mjpegServerPort":7810,"mjpegScalingFactor":50,"disableIdLocatorAutocompletion":false,"enforceXPath1":false,"actionAcknowledgmentTimeout":3000,"mjpegServerScreenshotQuality":50,"keyInjectionDelay":0,"waitForIdleTimeout":10000,"mjpegServerFramerate":10}}
[f3ef638c][AndroidUiautomator2Driver@ee04] Responding to client with driver.getSettings() result: {"ignoreUnimportantViews":false,"allowInvisibleElements":false,"elementResponseAttributes":"name,text","snapshotMaxDepth":70,"mjpegBilinearFiltering":false,"waitForSelectorTimeout":10000,"serverPort":6790,"simpleBoundsCalculation":false,"enableNotificationListener":true,"limitXPathContextScope":true,"includeExtrasInPageSource":false,"normalizeTagNames":false,"trackScrollEvents":true,"scrollAcknowledgmentTimeout":200,"enableTopmostWindowFromActivePackage":false,"enableMultiWindows":false,"useResourcesForOrientationDetection":false,"shouldUseCompactResponses":true,"wakeLockTimeout":86396928,"shutdownOnPowerDisconnect":true,"mjpegServerPort":7810,"mjpegScalingFactor":50,"disableIdLocatorAutocompletion":false,"enforceXPath1":false,"actionAcknowledgmentTimeout":3000,"mjpegServerScreenshotQuality":50,"keyInjectionDelay":0,"waitForIdleTimeout":10000,"mjpegServerFramerate":10}
[f3ef638c][HTTP] <-- GET /session/f3ef638c-f042-42a1-818b-56694553cb88/appium/settings 200 10 ms - 891
[f3ef638c][HTTP] --> GET /session/f3ef638c-f042-42a1-818b-56694553cb88/screenshot {}
[f3ef638c][AndroidUiautomator2Driver@ee04] Calling AppiumDriver.getScreenshot() with args: ["f3ef638c-f042-42a1-818b-56694553cb88"]
[f3ef638c][AndroidUiautomator2Driver@ee04] Matched '/screenshot' to command name 'getScreenshot'
[f3ef638c][AndroidUiautomator2Driver@ee04] Proxying [GET /screenshot] to [GET http://127.0.0.1:8200/session/8e009f68-4f09-4688-9057-42e24ce90169/screenshot] with no body
[f3ef638c][AndroidUiautomator2Driver@ee04] Got response with status 200: {"sessionId":"8e009f68-4f09-4688-9057-42e24ce90169","value":"iVBORw0KGgoAAAANSUhEUgAABDgAAAjoCAYAAAA5jhrUAAAAAXNSR0IArs4c6QAAAARzQklUCAgICHwIZIgAACAASURBVHic1L3pjiw5ci5o9Fgy81RVd6vVVy0IdzDv/yKDwbzDABcQpNvqparOmpmxOOcHaeRnG50RmaenxUKdjHAazYyk0TbSGen/+r//n5wSERFRzpmI6pf2vX6ufxN/zrn8L+p6W6JMK7RPlChXyJQSgnWSmcSH3rrykpw2tY5x4mfdB+QFKXkwhc8C4NcOimpQeGKEFWflk2mLMbEMd7yJiHImj+WUEqXE8zPgzyMFY6qnI+Fn1bbMq4VzGZTMAu0yt3reyvhYtjPlNocZULGINFnAyUty3vHTSqsYLy2e/EHLbwKOeBwkb5mSGuxkRrfLIOJPFVKvMImr0OD57nyptcN4BU4yFJCzwnuFATklBZdApldaRR+1PtCf7FgkgTyTlSG3TVj6eBo1k/mz1BdledV2yxLqhiaYqXIEQogthF7SfdRrYKagsDt0mBY+93QM8qXhRkXrV4/+vaXoeL1ibH+851wX6VM9bMEwDul6fMzAeCUlNqE5HFOXF2d8LO6x/dO8Yl9Gdomfe/OEbYwNZhiK5xJ5LXbM2oKtz6Nx8IrXJpaf1PwepjuivVWitlsyU1mYljOvrdWdyqGaKJ7M8vhYfoRGdPiZpqq+z/E8WgOz7UcyN5rLtl7UM5Yf3WYkSzP8Gv60wiMy0z2l++uanypqclNKzexFfuuAcCWdmj/OXVhYh1LXp5qFBszPFxLij0MkqKq5jUx1JAMj3RaVdV039Uqp0namfbI6GPT0to60PtW2zbPjHonSkrrvM4IT9FQM2tjN/twzCQ91k79k6a9r7jJG5C4bXUqbjj1X3y8xMer+qtYDrX/cHSdu3bJzkYxxnZFN6Ng9/totfpjXtj2vExTZC7a1LW4m...
[f3ef638c][AndroidUiautomator2Driver@ee04] Responding to client with driver.getScreenshot() result: "iVBORw0KGgoAAAANSUhEUgAABDgAAAjoCAYAAAA5jhrUAAAAAXNSR0IArs4c6QAAAARzQklUCAgICHwIZIgAACAASURBVHic1L3pjiw5ci5o9Fgy81RVd6vVVy0IdzDv/yKDwbzDABcQpNvqparOmpmxOOcHaeRnG50RmaenxUKdjHAazYyk0TbSGen/+r//n5wSERFRzpmI6pf2vX6ufxN/zrn8L+p6W6JMK7RPlChXyJQSgnWSmcSH3rrykpw2tY5x4mfdB+QFKXkwhc8C4NcOimpQeGKEFWflk2mLMbEMd7yJiHImj+WUEqXE8zPgzyMFY6qnI+Fn1bbMq4VzGZTMAu0yt3reyvhYtjPlNocZULGINFnAyUty3vHTSqsYLy2e/EHLbwKOeBwkb5mSGuxkRrfLIOJPFVKvMImr0OD57nyptcN4BU4yFJCzwnuFATklBZdApldaRR+1PtCf7FgkgTyTlSG3TVj6eBo1k/mz1BdledV2yxLqhiaYqXIEQogthF7SfdRrYKagsDt0mBY+93QM8qXhRkXrV4/+vaXoeL1ibH+851wX6VM9bMEwDul6fMzAeCUlNqE5HFOXF2d8LO6x/dO8Yl9Gdomfe/OEbYwNZhiK5xJ5LXbM2oKtz6Nx8IrXJpaf1PwepjuivVWitlsyU1mYljOvrdWdyqGaKJ7M8vhYfoRGdPiZpqq+z/E8WgOz7UcyN5rLtl7UM5Yf3WYkSzP8Gv60wiMy0z2l++uanypqclNKzexFfuuAcCWdmj/OXVhYh1LXp5qFBszPFxLij0MkqKq5jUx1JAMj3RaVdV039Uqp0namfbI6GPT0to60PtW2zbPjHonSkrrvM4IT9FQM2tjN/twzCQ91k79k6a9r7jJG5C4bXUqbjj1X3y8xMer+qtYDrX/cHSdu3bJzkYxxnZFN6Ng9/totfpjXtj2vExTZC7a1LW4mHUvMl32lMSxbNigi3QXNC3jGBG53GVTjifHACX9zyTFRPyCI63z8Hl7Lfg5g...
[f3ef638c][HTTP] <-- GET /session/f3ef638c-f042-42a1-818b-56694553cb88/screenshot 200 1690 ms - 2935248
[f3ef638c][HTTP] --> GET /session/f3ef638c-f042-42a1-818b-56694553cb88/window/rect {}
[f3ef638c][AndroidUiautomator2Driver@ee04] Calling AppiumDriver.getWindowRect() with args: ["f3ef638c-f042-42a1-818b-56694553cb88"]
[f3ef638c][AndroidUiautomator2Driver@ee04] Matched '/window/current/size' to command name 'getWindowSize'
[f3ef638c][AndroidUiautomator2Driver@ee04] Proxying [GET /window/current/size] to [GET http://127.0.0.1:8200/session/8e009f68-4f09-4688-9057-42e24ce90169/window/current/size] with no body
[f3ef638c][AndroidUiautomator2Driver@ee04] Got response with status 200: {"sessionId":"8e009f68-4f09-4688-9057-42e24ce90169","value":{"height":2280,"width":1080}}
[f3ef638c][AndroidUiautomator2Driver@ee04] Responding to client with driver.getWindowRect() result: {"width":1080,"height":2280,"x":0,"y":0}
[f3ef638c][HTTP] <-- GET /session/f3ef638c-f042-42a1-818b-56694553cb88/window/rect 200 13 ms - 50
[f3ef638c][HTTP] --> GET /session/f3ef638c-f042-42a1-818b-56694553cb88/source {}
[f3ef638c][AndroidUiautomator2Driver@ee04] Driver proxy active, passing request on via HTTP proxy
[f3ef638c][AndroidUiautomator2Driver@ee04] Matched '/session/f3ef638c-f042-42a1-818b-56694553cb88/source' to command name 'getPageSource'
[f3ef638c][AndroidUiautomator2Driver@ee04] Proxying [GET /session/f3ef638c-f042-42a1-818b-56694553cb88/source] to [GET http://127.0.0.1:8200/session/8e009f68-4f09-4688-9057-42e24ce90169/source] with no body
[f3ef638c][AndroidUiautomator2Driver@ee04] Got response with status 200: {"sessionId":"8e009f68-4f09-4688-9057-42e24ce90169","value":"<?xml version='1.0' encoding='UTF-8' standalone='yes' ?>\r\n<hierarchy index=\"0\" class=\"hierarchy\" rotation=\"0\" width=\"1080\" height=\"2214\">\r\n <android.widget.FrameLayout index=\"0\" package=\"com.Advantage.aShopping\" class=\"android.widget.FrameLayout\" text=\"\" checkable=\"false\" checked=\"false\" clickable=\"false\" enabled=\"true\" focusable=\"false\" focused=\"false\" long-clickable=\"false\" password=\"false\" scrollable=\"false\" selected=\"false\" bounds=\"[0,0][1080,2280]\" displayed=\"true\">\r\n <android.widget.LinearLayout index=\"0\" package=\"com.Advantage.aShopping\" class=\"android.widget.LinearLayout\" text=\"\" checkable=\"false\" checked=\"false\" clickable=\"false\" enabled=\"true\" focusable=\"false\" focused=\"false\" long-clickable=\"false\" password=\"false\" scrollable=\"false\" selected=\"false\" bounds=\"[0,0][1080,2214]\" displayed=\"true\">\r\n <android.widget.FrameLayout index=\"0\" package=\"c...
[f3ef638c][AndroidUiautomator2Driver@ee04] Replacing sessionId 8e009f68-4f09-4688-9057-42e24ce90169 with f3ef638c-f042-42a1-818b-56694553cb88
[f3ef638c][HTTP] <-- GET /session/f3ef638c-f042-42a1-818b-56694553cb88/source 200 645 ms - 15552
[f3ef638c][HTTP] --> GET /session/f3ef638c-f042-42a1-818b-56694553cb88/timeouts {}
[f3ef638c][AndroidUiautomator2Driver@ee04] Calling AppiumDriver.getTimeouts() with args: ["f3ef638c-f042-42a1-818b-56694553cb88"]
[f3ef638c][AndroidUiautomator2Driver@ee04] Responding to client with driver.getTimeouts() result: {"command":3600000,"implicit":0}
[f3ef638c][HTTP] <-- GET /session/f3ef638c-f042-42a1-818b-56694553cb88/timeouts 200 11 ms - 42
[HTTP] Request idempotency key: c61aa665-4ab7-4f7d-be1b-36bc8268b602
[HTTP] --> POST /session {"capabilities":{"firstMatch":[{}],"alwaysMatch":{"platformName":"Android","appium:platformVersion":"14","appium:deviceName":"Emulator_test_123","appium:noReset":"true","appium:appActivity":"com.Advantage.aShopping.SplashActivity","appium:appPackage":"com.Advantage.aShopping","appium:automationName":"uiautomator2","appium:ensureWebviewsHavePages":true,"appium:nativeWebScreenshot":true,"appium:newCommandTimeout":3600,"appium:connectHardwareKeyboard":true}}}
[AppiumDriver@592b] Calling AppiumDriver.createSession() with args: [null,null,{"firstMatch":[{}],"alwaysMatch":{"platformName":"Android","appium:platformVersion":"14","appium:deviceName":"Emulator_test_123","appium:noReset":"true","appium:appActivity":"com.Advantage.aShopping.SplashActivity","appium:appPackage":"com.Advantage.aShopping","appium:automationName":"uiautomator2","appium:ensureWebviewsHavePages":true,"appium:nativeWebScreenshot":true,"appium:newCommandTimeout":3600,"appium:connectHardwareKeyboard":true}}]
[AppiumDriver@592b] Event 'newSessionRequested' logged at 1726129916747 (15:31:56 GMT+0700 (Western Indonesia Time))
[Appium] Attempting to find matching driver for automationName 'uiautomator2' and platformName 'Android'
[Appium] The 'uiautomator2' driver was installed and matched caps.
[Appium] Will require it at C:\Users\User\.appium\node_modules\appium-uiautomator2-driver
[Appium] Requiring driver at C:\Users\User\.appium\node_modules\appium-uiautomator2-driver\build\index.js
[AppiumDriver@592b] Appium v2.11.3 creating new AndroidUiautomator2Driver (v3.7.9) session
[AppiumDriver@592b] Checking BaseDriver versions for Appium and AndroidUiautomator2Driver
[AppiumDriver@592b] Appium's BaseDriver version is 9.11.3
[AppiumDriver@592b] AndroidUiautomator2Driver's BaseDriver version is 9.11.3
[AndroidUiautomator2Driver@7992]
[AndroidUiautomator2Driver@7992] Creating session with W3C capabilities: {
"alwaysMatch": {
"platformName": "Android",
"appium:platformVersion": "14",
"appium:deviceName": "Emulator_test_123",
"appium:noReset": "true",
"appium:appActivity": "com.Advantage.aShopping.SplashActivity",
"appium:appPackage": "com.Advantage.aShopping",
"appium:automationName": "uiautomator2",
"appium:ensureWebviewsHavePages": true,
"appium:nativeWebScreenshot": true,
"appium:newCommandTimeout": 3600,
"appium:connectHardwareKeyboard": true
},
"firstMatch": [
{}
]
}
[AndroidUiautomator2Driver@7992] Capability 'noReset' changed from string to boolean. This may cause unexpected behavior
[AndroidUiautomator2Driver@7992] The following provided capabilities were not recognized by this driver:
[AndroidUiautomator2Driver@7992] connectHardwareKeyboard
[a2244e96][AndroidUiautomator2Driver@7992] Session created with session id: a2244e96-d0b5-420c-98fc-b98246bc59fd
[a2244e96][ADB] Using 'adb.exe' from 'C:\Users\User\AppData\Local\Android\Sdk\platform-tools\adb.exe'
[a2244e96][ADB] Running 'C:\Users\User\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 start-server'
[a2244e96][AndroidUiautomator2Driver@7992] Retrieving device list
[a2244e96][ADB] Trying to find connected Android devices
[a2244e96][ADB] Getting connected devices
[a2244e96][ADB] Connected devices: [{"udid":"emulator-5554","state":"device"}]
[a2244e96][AndroidUiautomator2Driver@7992] Looking for a device with Android '14.0.0'
[a2244e96][ADB] Setting device id to emulator-5554
[a2244e96][ADB] Getting device platform version
[a2244e96][ADB] Running 'C:\Users\User\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s emulator-5554 shell getprop ro.build.version.release'
[a2244e96][ADB] Current device property 'ro.build.version.release': 14
[a2244e96][AndroidUiautomator2Driver@7992] Using device: emulator-5554
[a2244e96][ADB] Using 'adb.exe' from 'C:\Users\User\AppData\Local\Android\Sdk\platform-tools\adb.exe'
[a2244e96][ADB] Running 'C:\Users\User\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 start-server'
[a2244e96][ADB] Setting device id to emulator-5554
[a2244e96][AndroidUiautomator2Driver@7992] Starting 'com.Advantage.aShopping' directly on the device
[a2244e96][ADB] Running 'C:\Users\User\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s emulator-5554 shell getprop ro.build.version.sdk'
[a2244e96][ADB] Current device property 'ro.build.version.sdk': 34
[a2244e96][ADB] Getting device platform version
[a2244e96][ADB] Running 'C:\Users\User\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s emulator-5554 shell getprop ro.build.version.release'
[a2244e96][ADB] Current device property 'ro.build.version.release': 14
[a2244e96][ADB] Device API level: 34
[a2244e96][AndroidUiautomator2Driver@7992] Relaxing hidden api policy
[a2244e96][ADB] Running 'C:\Users\User\AppData\Local\Android\Sdk\platform-tools\adb.exe -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''
[a2244e96][AndroidUiautomator2Driver@7992] No app sent in, not parsing package/activity
[a2244e96][ADB] Running 'C:\Users\User\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s emulator-5554 wait-for-device'
[a2244e96][ADB] Running 'C:\Users\User\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s emulator-5554 shell echo ping'
[a2244e96][AndroidUiautomator2Driver@7992] Pushing settings apk to the device...
[a2244e96][ADB] Getting package info for 'io.appium.settings'
[a2244e96][ADB] Running 'C:\Users\User\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s emulator-5554 shell dumpsys package io.appium.settings'
[a2244e96][ADB] Using 'aapt2.exe' from 'C:\Users\User\AppData\Local\Android\Sdk\build-tools\33.0.0\aapt2.exe'
[a2244e96][ADB] Reading package manifest: 'C:\\Users\\User\\AppData\\Local\\Android\\Sdk\\build-tools\\33.0.0\\aapt2.exe dump badging C:\\Users\\User\\.appium\\node_modules\\appium-uiautomator2-driver\\node_modules\\io.appium.settings\\apks\\settings_apk-debug.apk'
[a2244e96][ADB] The version name of the installed 'io.appium.settings' is greater or equal to the application version name ('5.12.13' >= '5.12.13')
[a2244e96][ADB] There is no need to install/upgrade 'C:\Users\User\.appium\node_modules\appium-uiautomator2-driver\node_modules\io.appium.settings\apks\settings_apk-debug.apk'
[a2244e96][ADB] Running 'C:\Users\User\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s emulator-5554 shell dumpsys activity services io.appium.settings'
[a2244e96][AndroidUiautomator2Driver@7992] io.appium.settings is already running. There is no need to reset its permissions.
[a2244e96][Logcat] Starting logs capture with command: C:\\Users\\User\\AppData\\Local\\Android\\Sdk\\platform-tools\\adb.exe -P 5037 -s emulator-5554 logcat -v threadtime
[a2244e96][AndroidUiautomator2Driver@7992] Forwarding UiAutomator2 Server port 6790 to local port 8201
[a2244e96][ADB] Forwarding system: 8201 to device: 6790
[a2244e96][ADB] Running 'C:\Users\User\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s emulator-5554 forward tcp:8201 tcp:6790'
[a2244e96][ADB] Getting package info for 'io.appium.uiautomator2.server'
[a2244e96][ADB] Running 'C:\Users\User\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s emulator-5554 shell dumpsys package io.appium.uiautomator2.server'
[a2244e96][ADB] Getting install status for io.appium.uiautomator2.server.test
[a2244e96][AndroidUiautomator2Driver@7992] No app capability. Assuming it is already on the device
[a2244e96][ADB] Running 'C:\Users\User\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s emulator-5554 shell cmd package list packages'
[a2244e96][ADB] 'io.appium.uiautomator2.server.test' is installed
[a2244e96][ADB] Reading package manifest: 'C:\\Users\\User\\AppData\\Local\\Android\\Sdk\\build-tools\\33.0.0\\aapt2.exe dump badging C:\\Users\\User\\.appium\\node_modules\\appium-uiautomator2-driver\\node_modules\\appium-uiautomator2-server\\apks\\appium-uiautomator2-server-v7.0.24.apk'
[a2244e96][ADB] The version name of the installed 'io.appium.uiautomator2.server' is greater or equal to the application version name ('7.0.24' >= '7.0.24')
[a2244e96][AndroidUiautomator2Driver@7992] Server packages status: [{"installState":"sameVersionInstalled","appPath":"C:\\Users\\User\\.appium\\node_modules\\appium-uiautomator2-driver\\node_modules\\appium-uiautomator2-server\\apks\\appium-uiautomator2-server-v7.0.24.apk","appId":"io.appium.uiautomator2.server"},{"installState":"sameVersionInstalled","appPath":"C:\\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"}]
[a2244e96][AndroidUiautomator2Driver@7992] Server packages are not going to be (re)installed
[a2244e96][AndroidUiautomator2Driver@7992] Waiting up to 30000ms for services to be available
[a2244e96][ADB] Running 'C:\Users\User\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s emulator-5554 shell pm list instrumentation'
[a2244e96][AndroidUiautomator2Driver@7992] Instrumentation target 'io.appium.uiautomator2.server.test/androidx.test.runner.AndroidJUnitRunner' is available
[a2244e96][ADB] Adding packages ["io.appium.settings","io.appium.uiautomator2.server","io.appium.uiautomator2.server.test"] to Doze whitelist
[a2244e96][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",";"]]
[a2244e96][ADB] Running 'C:\Users\User\AppData\Local\Android\Sdk\platform-tools\adb.exe -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 ;'
[a2244e96][AndroidUiautomator2Driver@7992] Performing shallow cleanup of automation leftovers
[a2244e96][AndroidUiautomator2Driver@7992] The following obsolete sessions are still running: ["8e009f68-4f09-4688-9057-42e24ce90169"]
[a2244e96][AndroidUiautomator2Driver@7992] Cleaning up 1 obsolete session
[f3ef638c][AndroidUiautomator2Driver@ee04] [Instrumentation] io.appium.uiautomator2.server.test.AppiumUiAutomator2Server:.
[f3ef638c][AndroidUiautomator2Driver@ee04] [Instrumentation]
[f3ef638c][AndroidUiautomator2Driver@ee04] [Instrumentation] Time: 32.093
[f3ef638c][AndroidUiautomator2Driver@ee04] [Instrumentation]
[f3ef638c][AndroidUiautomator2Driver@ee04] [Instrumentation] OK (1 test)
[f3ef638c][AndroidUiautomator2Driver@ee04] [Instrumentation]
[f3ef638c][AndroidUiautomator2Driver@ee04] [Instrumentation]
[f3ef638c][AndroidUiautomator2Driver@ee04] [Instrumentation] The process has exited with code 0, signal null
[a2244e96][ADB] Running 'C:\Users\User\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s emulator-5554 shell am force-stop io.appium.uiautomator2.server'
[a2244e96][ADB] Running 'C:\Users\User\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s emulator-5554 shell am force-stop io.appium.uiautomator2.server.test'
[a2244e96][AndroidUiautomator2Driver@7992] Starting UIAutomator2 server 7.0.24
[a2244e96][AndroidUiautomator2Driver@7992] Using UIAutomator2 server from 'C:\Users\User\.appium\node_modules\appium-uiautomator2-driver\node_modules\appium-uiautomator2-server\apks\appium-uiautomator2-server-v7.0.24.apk' and test from 'C:\Users\User\.appium\node_modules\appium-uiautomator2-driver\node_modules\appium-uiautomator2-server\apks\appium-uiautomator2-server-debug-androidTest.apk'
[a2244e96][AndroidUiautomator2Driver@7992] Waiting up to 30000ms for UiAutomator2 to be online...
[a2244e96][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"]
[a2244e96][AndroidUiautomator2Driver@7992] Matched '/status' to command name 'getStatus'
[a2244e96][AndroidUiautomator2Driver@7992] Proxying [GET /status] to [GET http://127.0.0.1:8201/status] with no body
[a2244e96][AndroidUiautomator2Driver@7992] socket hang up
[a2244e96][AndroidUiautomator2Driver@7992] Matched '/status' to command name 'getStatus'
[a2244e96][AndroidUiautomator2Driver@7992] Proxying [GET /status] to [GET http://127.0.0.1:8201/status] with no body
[a2244e96][AndroidUiautomator2Driver@7992] socket hang up
[a2244e96][AndroidUiautomator2Driver@7992] [Instrumentation]
[a2244e96][AndroidUiautomator2Driver@7992] Matched '/status' to command name 'getStatus'
[a2244e96][AndroidUiautomator2Driver@7992] Proxying [GET /status] to [GET http://127.0.0.1:8201/status] with no body
[a2244e96][AndroidUiautomator2Driver@7992] socket hang up
[a2244e96][AndroidUiautomator2Driver@7992] Matched '/status' to command name 'getStatus'
[a2244e96][AndroidUiautomator2Driver@7992] Proxying [GET /status] to [GET http://127.0.0.1:8201/status] with no body
[a2244e96][AndroidUiautomator2Driver@7992] Got response with status 200: {"sessionId":"None","value":{"message":"UiAutomator2 Server is ready to accept commands","ready":true}}
[a2244e96][AndroidUiautomator2Driver@7992] The initialization of the instrumentation process took 3142ms
[a2244e96][AndroidUiautomator2Driver@7992] Matched '/session' to command name 'createSession'
[a2244e96][AndroidUiautomator2Driver@7992] Proxying [POST /session] to [POST http://127.0.0.1:8201/session] with body: {"capabilities":{"firstMatch":[{"platformName":"Android","platformVersion":"14","deviceName":"emulator-5554","noReset":true,"appActivity":"com.Advantage.aShopping.SplashActivity","appPackage":"com.Advantage.aShopping","automationName":"uiautomator2","ensureWebviewsHavePages":true,"nativeWebScreenshot":true,"newCommandTimeout":3600,"connectHardwareKeyboard":true,"platform":"LINUX","webStorageEnabled":false,"takesScreenshot":true,"javascriptEnabled":true,"databaseEnabled":false,"networkConnectionEnabled":true,"locationContextEnabled":false,"warnings":{},"desired":{"platformName":"Android","platformVersion":"14","deviceName":"Emulator_test_123","noReset":true,"appActivity":"com.Advantage.aShopping.SplashActivity","appPackage":"com.Advantage.aShopping","automationName":"uiautomator2","ensureWebviewsHavePages":true,"nativeWebScreenshot":true,"newCommandTimeout":3600,"connectHardwareKeyboard":true},"deviceUDID":"emulator-5554"}],"alwaysMatch":{}}}
[a2244e96][AndroidUiautomator2Driver@7992] Got response with status 200: {"sessionId":"363f6695-fd62-4b55-a92c-c2fa0a641e01","value":{"capabilities":{"firstMatch":[{"platformName":"Android","platformVersion":"14","deviceName":"emulator-5554","noReset":true,"appActivity":"com.Advantage.aShopping.SplashActivity","appPackage":"com.Advantage.aShopping","automationName":"uiautomator2","ensureWebviewsHavePages":true,"nativeWebScreenshot":true,"newCommandTimeout":3600,"connectHardwareKeyboard":true,"platform":"LINUX","webStorageEnabled":false,"takesScreenshot":true,"javascriptEnabled":true,"databaseEnabled":false,"networkConnectionEnabled":true,"locationContextEnabled":false,"warnings":{},"desired":{"platformName":"Android","platformVersion":"14","deviceName":"Emulator_test_123","noReset":true,"appActivity":"com.Advantage.aShopping.SplashActivity","appPackage":"com.Advantage.aShopping","automationName":"uiautomator2","ensureWebviewsHavePages":true,"nativeWebScreenshot":true,"newCommandTimeout":3600,"connectHardwareKeyboard":true},"deviceUDID":"emulator-5554"}],"alwaysMatch":{}},"sessi...
[a2244e96][AndroidUiautomator2Driver@7992] Determined the downstream protocol as 'W3C'
[a2244e96][AndroidUiautomator2Driver@7992] Proxying [GET /appium/device/pixel_ratio] to [GET http://127.0.0.1:8201/session/363f6695-fd62-4b55-a92c-c2fa0a641e01/appium/device/pixel_ratio] with no body
[a2244e96][AndroidUiautomator2Driver@7992] Matched '/appium/device/system_bars' to command name 'getSystemBars'
[a2244e96][AndroidUiautomator2Driver@7992] Proxying [GET /appium/device/system_bars] to [GET http://127.0.0.1:8201/session/363f6695-fd62-4b55-a92c-c2fa0a641e01/appium/device/system_bars] with no body
[a2244e96][AndroidUiautomator2Driver@7992] Matched '/window/current/size' to command name 'getWindowSize'
[a2244e96][AndroidUiautomator2Driver@7992] Proxying [GET /window/current/size] to [GET http://127.0.0.1:8201/session/363f6695-fd62-4b55-a92c-c2fa0a641e01/window/current/size] with no body
[a2244e96][AndroidUiautomator2Driver@7992] Proxying [GET /appium/device/info] to [GET http://127.0.0.1:8201/session/363f6695-fd62-4b55-a92c-c2fa0a641e01/appium/device/info] with no body
[a2244e96][ADB] Running 'C:\Users\User\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s emulator-5554 shell dumpsys window'
[a2244e96][ADB] Running 'C:\Users\User\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s emulator-5554 shell dumpsys power'
[a2244e96][AndroidUiautomator2Driver@7992] Got response with status 200: {"sessionId":"363f6695-fd62-4b55-a92c-c2fa0a641e01","value":2.75}
[a2244e96][AndroidUiautomator2Driver@7992] Got response with status 200: {"sessionId":"363f6695-fd62-4b55-a92c-c2fa0a641e01","value":{"height":2280,"width":1080}}
[a2244e96][AndroidUiautomator2Driver@7992] Got response with status 200: {"sessionId":"363f6695-fd62-4b55-a92c-c2fa0a641e01","value":{"statusBar":83}}
[a2244e96][AndroidUiautomator2Driver@7992] Got response with status 200: {"sessionId":"363f6695-fd62-4b55-a92c-c2fa0a641e01","value":{"androidId":"0c4366abb8f3e683","apiVersion":"34","bluetooth":{"state":"ON"},"brand":"google","carrierName":"","displayDensity":440,"locale":"en_US","manufacturer":"Google","model":"sdk_gphone64_x86_64","networks":[{"capabilities":{"SSID":null,"linkDownBandwidthKbps":30000,"linkUpstreamBandwidthKbps":12000,"networkCapabilities":"NET_CAPABILITY_NOT_METERED,NET_CAPABILITY_INTERNET,NET_CAPABILITY_NOT_RESTRICTED,NET_CAPABILITY_TRUSTED,NET_CAPABILITY_NOT_VPN,NET_CAPABILITY_VALIDATED,NET_CAPABILITY_NOT_ROAMING,NET_CAPABILITY_FOREGROUND,NET_CAPABILITY_NOT_CONGESTED,NET_CAPABILITY_NOT_SUSPENDED","signalStrength":-50,"transportTypes":"TRANSPORT_WIFI"},"detailedState":"CONNECTED","extraInfo":"","isAvailable":true,"isConnected":true,"isFailover":false,"isRoaming":false,"state":"CONNECTED","subtype":-1,"subtypeName":"","type":1,"typeName":"WIFI"}],"platformVersion":"14","realDisplaySize":"1080x2280","timeZone":"Asia/Bangkok"}}
[a2244e96][AndroidUiautomator2Driver@7992] Screen already unlocked, doing nothing
[a2244e96][AndroidUiautomator2Driver@7992] Starting 'com.Advantage.aShopping/com.Advantage.aShopping.SplashActivity and waiting for 'com.Advantage.aShopping/com.Advantage.aShopping.SplashActivity'
[a2244e96][ADB] Getting IDs of all 'com.Advantage.aShopping' processes
[a2244e96][ADB] Running 'C:\Users\User\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s emulator-5554 shell 'pgrep --help; echo $?''
[a2244e96][ADB] Running 'C:\Users\User\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s emulator-5554 shell pgrep -f \(\[\[:blank:\]\]\|\^\)com\.Advantage\.aShopping\(\[\[:blank:\]\]\|\$\)'
[a2244e96][AndroidUiautomator2Driver@7992] 'com.Advantage.aShopping' is already running and noReset is enabled. Set forceAppLaunch capability to true if the app must be forcefully restarted on session startup.
[a2244e96][AppiumDriver@592b] New AndroidUiautomator2Driver session created successfully, session a2244e96-d0b5-420c-98fc-b98246bc59fd added to master session list
[a2244e96][AppiumDriver@592b] Event 'newSessionStarted' logged at 1726129922119 (15:32:02 GMT+0700 (Western Indonesia Time))
[a2244e96][AndroidUiautomator2Driver@7992] Cached the protocol value 'W3C' for the new session a2244e96-d0b5-420c-98fc-b98246bc59fd
[a2244e96][AndroidUiautomator2Driver@7992] Responding to client with driver.createSession() result: {"capabilities":{"platformName":"Android","platformVersion":"14","deviceName":"emulator-5554","noReset":true,"appActivity":"com.Advantage.aShopping.SplashActivity","appPackage":"com.Advantage.aShopping","automationName":"uiautomator2","ensureWebviewsHavePages":true,"nativeWebScreenshot":true,"newCommandTimeout":3600,"connectHardwareKeyboard":true,"platform":"LINUX","webStorageEnabled":false,"takesScreenshot":true,"javascriptEnabled":true,"databaseEnabled":false,"networkConnectionEnabled":true,"locationContextEnabled":false,"warnings":{},"desired":{"platformName":"Android","platformVersion":"14","deviceName":"Emulator_test_123","noReset":true,"appActivity":"com.Advantage.aShopping.SplashActivity","appPackage":"com.Advantage.aShopping","automationName":"uiautomator2","ensureWebviewsHavePages":true,"nativeWebScreenshot":true,"newCommandTimeout":3600,"connectHardwareKeyboard":true},"deviceUDID":"emulator-5554","pixelRatio":"2.75","statBarHeight":83,"viewportRect":{"left":0,"top":83,"width":1080,"height":2197},...
[a2244e96][HTTP] <-- POST /session 200 5378 ms - 1226
[a2244e96][HTTP] --> POST /session/a2244e96-d0b5-420c-98fc-b98246bc59fd/element {"using":"id","value":"com.Advantage.aShopping:id/imageViewMenu"}
[a2244e96][AndroidUiautomator2Driver@7992] Calling AppiumDriver.findElement() with args: ["id","com.Advantage.aShopping:id/imageViewMenu","a2244e96-d0b5-420c-98fc-b98246bc59fd"]
[a2244e96][AndroidUiautomator2Driver@7992] Valid locator strategies for this request: xpath, id, class name, accessibility id, css selector, -android uiautomator
[a2244e96][AndroidUiautomator2Driver@7992] Waiting up to 0 ms for condition
[a2244e96][AndroidUiautomator2Driver@7992] Matched '/element' to command name 'findElement'
[a2244e96][AndroidUiautomator2Driver@7992] Proxying [POST /element] to [POST http://127.0.0.1:8201/session/363f6695-fd62-4b55-a92c-c2fa0a641e01/element] with body: {"strategy":"id","selector":"com.Advantage.aShopping:id/imageViewMenu","context":"","multiple":false}
[a2244e96][AndroidUiautomator2Driver@7992] Got response with status 200: {"sessionId":"363f6695-fd62-4b55-a92c-c2fa0a641e01","value":{"ELEMENT":"00000000-0000-0010-ffff-ffff00000018","element-6066-11e4-a52e-4f735466cecf":"00000000-0000-0010-ffff-ffff00000018"}}
[a2244e96][AndroidUiautomator2Driver@7992] Responding to client with driver.findElement() result: {"element-6066-11e4-a52e-4f735466cecf":"00000000-0000-0010-ffff-ffff00000018","ELEMENT":"00000000-0000-0010-ffff-ffff00000018"}
[a2244e96][HTTP] <-- POST /session/a2244e96-d0b5-420c-98fc-b98246bc59fd/element 200 1377 ms - 137
[a2244e96][HTTP] --> POST /session/a2244e96-d0b5-420c-98fc-b98246bc59fd/element/00000000-0000-0010-ffff-ffff00000018/click {}
[a2244e96][AndroidUiautomator2Driver@7992] Calling AppiumDriver.click() with args: ["00000000-0000-0010-ffff-ffff00000018","a2244e96-d0b5-420c-98fc-b98246bc59fd"]
[a2244e96][AndroidUiautomator2Driver@7992] Matched '/element/00000000-0000-0010-ffff-ffff00000018/click' to command name 'click'
[a2244e96][AndroidUiautomator2Driver@7992] Proxying [POST /element/00000000-0000-0010-ffff-ffff00000018/click] to [POST http://127.0.0.1:8201/session/363f6695-fd62-4b55-a92c-c2fa0a641e01/element/00000000-0000-0010-ffff-ffff00000018/click] with body: {"element":"00000000-0000-0010-ffff-ffff00000018"}
[a2244e96][AndroidUiautomator2Driver@7992] Got response with status 200: {"sessionId":"363f6695-fd62-4b55-a92c-c2fa0a641e01","value":null}
[a2244e96][AndroidUiautomator2Driver@7992] Responding to client with driver.click() result: null
[a2244e96][HTTP] <-- POST /session/a2244e96-d0b5-420c-98fc-b98246bc59fd/element/00000000-0000-0010-ffff-ffff00000018/click 200 1050 ms - 14
[f3ef638c][HTTP] --> GET /session/f3ef638c-f042-42a1-818b-56694553cb88/timeouts {}
[f3ef638c][AndroidUiautomator2Driver@ee04] Calling AppiumDriver.getTimeouts() with args: ["f3ef638c-f042-42a1-818b-56694553cb88"]
[f3ef638c][AndroidUiautomator2Driver@ee04] Responding to client with driver.getTimeouts() result: {"command":3600000,"implicit":0}
[f3ef638c][HTTP] <-- GET /session/f3ef638c-f042-42a1-818b-56694553cb88/timeouts 304 4 ms - -
[a2244e96][HTTP] --> POST /session/a2244e96-d0b5-420c-98fc-b98246bc59fd/element {"using":"id","value":"com.Advantage.aShopping:id/textViewMenuLaptops"}
[a2244e96][AndroidUiautomator2Driver@7992] Calling AppiumDriver.findElement() with args: ["id","com.Advantage.aShopping:id/textViewMenuLaptops","a2244e96-d0b5-420c-98fc-b98246bc59fd"]
[a2244e96][AndroidUiautomator2Driver@7992] Valid locator strategies for this request: xpath, id, class name, accessibility id, css selector, -android uiautomator
[a2244e96][AndroidUiautomator2Driver@7992] Waiting up to 0 ms for condition
[a2244e96][AndroidUiautomator2Driver@7992] Matched '/element' to command name 'findElement'
[a2244e96][AndroidUiautomator2Driver@7992] Proxying [POST /element] to [POST http://127.0.0.1:8201/session/363f6695-fd62-4b55-a92c-c2fa0a641e01/element] with body: {"strategy":"id","selector":"com.Advantage.aShopping:id/textViewMenuLaptops","context":"","multiple":false}[a2244e96][AndroidUiautomator2Driver@7992] Got response with status 200: {"sessionId":"363f6695-fd62-4b55-a92c-c2fa0a641e01","value":{"ELEMENT":"00000000-0000-0010-ffff-ffff0000004d","element-6066-11e4-a52e-4f735466cecf":"00000000-0000-0010-ffff-ffff0000004d"}}
[a2244e96][AndroidUiautomator2Driver@7992] Responding to client with driver.findElement() result: {"element-6066-11e4-a52e-4f735466cecf":"00000000-0000-0010-ffff-ffff0000004d","ELEMENT":"00000000-0000-0010-ffff-ffff0000004d"}
[a2244e96][HTTP] <-- POST /session/a2244e96-d0b5-420c-98fc-b98246bc59fd/element 200 45 ms - 137
[a2244e96][HTTP] --> POST /session/a2244e96-d0b5-420c-98fc-b98246bc59fd/element/00000000-0000-0010-ffff-ffff0000004d/click {}
[a2244e96][AndroidUiautomator2Driver@7992] Calling AppiumDriver.click() with args: ["00000000-0000-0010-ffff-ffff0000004d","a2244e96-d0b5-420c-98fc-b98246bc59fd"]
[a2244e96][AndroidUiautomator2Driver@7992] Matched '/element/00000000-0000-0010-ffff-ffff0000004d/click' to command name 'click'
[a2244e96][AndroidUiautomator2Driver@7992] Proxying [POST /element/00000000-0000-0010-ffff-ffff0000004d/click] to [POST http://127.0.0.1:8201/session/363f6695-fd62-4b55-a92c-c2fa0a641e01/element/00000000-0000-0010-ffff-ffff0000004d/click] with body: {"element":"00000000-0000-0010-ffff-ffff0000004d"}
[a2244e96][AndroidUiautomator2Driver@7992] Got response with status 200: {"sessionId":"363f6695-fd62-4b55-a92c-c2fa0a641e01","value":null}
[a2244e96][AndroidUiautomator2Driver@7992] Responding to client with driver.click() result: null
[a2244e96][HTTP] <-- POST /session/a2244e96-d0b5-420c-98fc-b98246bc59fd/element/00000000-0000-0010-ffff-ffff0000004d/click 200 64 ms - 14
[a2244e96][HTTP] --> DELETE /session/a2244e96-d0b5-420c-98fc-b98246bc59fd {}
[a2244e96][AndroidUiautomator2Driver@7992] Calling AppiumDriver.deleteSession() with args: ["a2244e96-d0b5-420c-98fc-b98246bc59fd"]
[a2244e96][AppiumDriver@592b] Event 'quitSessionRequested' logged at 1726129934677 (15:32:14 GMT+0700 (Western Indonesia Time))
[a2244e96][AppiumDriver@592b] Removing session a2244e96-d0b5-420c-98fc-b98246bc59fd from our master session list
[a2244e96][AndroidUiautomator2Driver@7992] Deleting UiAutomator2 session
[a2244e96][AndroidUiautomator2Driver@7992] Deleting UiAutomator2 server session
[a2244e96][AndroidUiautomator2Driver@7992] Matched '/' to command name 'deleteSession'
[a2244e96][AndroidUiautomator2Driver@7992] Proxying [DELETE /] to [DELETE http://127.0.0.1:8201/session/363f6695-fd62-4b55-a92c-c2fa0a641e01] with no body
[a2244e96][AndroidUiautomator2Driver@7992] Got response with status 200: {"sessionId":"363f6695-fd62-4b55-a92c-c2fa0a641e01","value":null}
[a2244e96][AndroidUiautomator2Driver@7992] [Instrumentation] io.appium.uiautomator2.server.test.AppiumUiAutomator2Server:
[a2244e96][AndroidUiautomator2Driver@7992] [Instrumentation] The process has exited with code null, signal SIGTERM
[a2244e96][ADB] Running 'C:\Users\User\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s emulator-5554 shell dumpsys activity services io.appium.settings/.recorder.RecorderService'
[a2244e96][ADB] Removing forwarded port socket connection: 8201
[a2244e96][ADB] Running 'C:\Users\User\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s emulator-5554 forward --remove tcp:8201'
[a2244e96][AndroidUiautomator2Driver@7992] Restoring hidden api policy to the device default configuration
[a2244e96][ADB] Running 'C:\Users\User\AppData\Local\Android\Sdk\platform-tools\adb.exe -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''
[a2244e96][Logcat] Stopping logcat capture
[a2244e96][AppiumDriver@592b] Event 'quitSessionFinished' logged at 1726129934842 (15:32:14 GMT+0700 (Western Indonesia Time))
[a2244e96][AppiumDriver@592b] Received response: null
[a2244e96][AppiumDriver@592b] But deleting session, so not returning
[a2244e96][AppiumDriver@592b] Responding to client with driver.deleteSession() result: null
[a2244e96][HTTP] <-- DELETE /session/a2244e96-d0b5-420c-98fc-b98246bc59fd 200 169 ms - 14
[f3ef638c][HTTP] --> GET /session/f3ef638c-f042-42a1-818b-56694553cb88/timeouts {}
[f3ef638c][AndroidUiautomator2Driver@ee04] Calling AppiumDriver.getTimeouts() with args: ["f3ef638c-f042-42a1-818b-56694553cb88"]
[f3ef638c][AndroidUiautomator2Driver@ee04] Responding to client with driver.getTimeouts() result: {"command":3600000,"implicit":0}
[f3ef638c][HTTP] <-- GET /session/f3ef638c-f042-42a1-818b-56694553cb88/timeouts 304 6 ms - -
[HTTP] Request idempotency key: a0f1ae95-9ff1-4cd4-9a45-f3cf7bca62b5
[HTTP] --> POST /session {"capabilities":{"firstMatch":[{}],"alwaysMatch":{"platformName":"Android","appium:platformVersion":"14","appium:deviceName":"Emulator_test_123","appium:noReset":"true","appium:appActivity":"com.Advantage.aShopping.SplashActivity","appium:appPackage":"com.Advantage.aShopping","appium:automationName":"uiautomator2","appium:ensureWebviewsHavePages":true,"appium:nativeWebScreenshot":true,"appium:newCommandTimeout":3600,"appium:connectHardwareKeyboard":true}}}
[AppiumDriver@592b] Calling AppiumDriver.createSession() with args: [null,null,{"firstMatch":[{}],"alwaysMatch":{"platformName":"Android","appium:platformVersion":"14","appium:deviceName":"Emulator_test_123","appium:noReset":"true","appium:appActivity":"com.Advantage.aShopping.SplashActivity","appium:appPackage":"com.Advantage.aShopping","appium:automationName":"uiautomator2","appium:ensureWebviewsHavePages":true,"appium:nativeWebScreenshot":true,"appium:newCommandTimeout":3600,"appium:connectHardwareKeyboard":true}}]
[AppiumDriver@592b] Event 'newSessionRequested' logged at 1726129965869 (15:32:45 GMT+0700 (Western Indonesia Time))
[Appium] Attempting to find matching driver for automationName 'uiautomator2' and platformName 'Android'
[Appium] The 'uiautomator2' driver was installed and matched caps.
[Appium] Will require it at C:\Users\User\.appium\node_modules\appium-uiautomator2-driver
[Appium] Requiring driver at C:\Users\User\.appium\node_modules\appium-uiautomator2-driver\build\index.js
[AppiumDriver@592b] Appium v2.11.3 creating new AndroidUiautomator2Driver (v3.7.9) session
[AppiumDriver@592b] Checking BaseDriver versions for Appium and AndroidUiautomator2Driver
[AppiumDriver@592b] Appium's BaseDriver version is 9.11.3
[AppiumDriver@592b] AndroidUiautomator2Driver's BaseDriver version is 9.11.3
[AndroidUiautomator2Driver@7fd3]
[AndroidUiautomator2Driver@7fd3] Creating session with W3C capabilities: {
"alwaysMatch": {
"platformName": "Android",
"appium:platformVersion": "14",
"appium:deviceName": "Emulator_test_123",
"appium:noReset": "true",
"appium:appActivity": "com.Advantage.aShopping.SplashActivity",
"appium:appPackage": "com.Advantage.aShopping",
"appium:automationName": "uiautomator2",
"appium:ensureWebviewsHavePages": true,
"appium:nativeWebScreenshot": true,
"appium:newCommandTimeout": 3600,
"appium:connectHardwareKeyboard": true
},
"firstMatch": [
{}
]
}
[AndroidUiautomator2Driver@7fd3] Capability 'noReset' changed from string to boolean. This may cause unexpected behavior
[AndroidUiautomator2Driver@7fd3] The following provided capabilities were not recognized by this driver:
[AndroidUiautomator2Driver@7fd3] connectHardwareKeyboard
[6411eccf][AndroidUiautomator2Driver@7fd3] Session created with session id: 6411eccf-378a-47df-8cb3-2bb2c6693562
[6411eccf][ADB] Using 'adb.exe' from 'C:\Users\User\AppData\Local\Android\Sdk\platform-tools\adb.exe'
[6411eccf][ADB] Running 'C:\Users\User\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 start-server'
[6411eccf][AndroidUiautomator2Driver@7fd3] Retrieving device list
[6411eccf][ADB] Trying to find connected Android devices
[6411eccf][ADB] Getting connected devices
[6411eccf][ADB] Connected devices: [{"udid":"emulator-5554","state":"device"}]
[6411eccf][AndroidUiautomator2Driver@7fd3] Looking for a device with Android '14.0.0'
[6411eccf][ADB] Setting device id to emulator-5554
[6411eccf][ADB] Getting device platform version
[6411eccf][ADB] Running 'C:\Users\User\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s emulator-5554 shell getprop ro.build.version.release'
[6411eccf][ADB] Current device property 'ro.build.version.release': 14
[6411eccf][AndroidUiautomator2Driver@7fd3] Using device: emulator-5554
[6411eccf][ADB] Using 'adb.exe' from 'C:\Users\User\AppData\Local\Android\Sdk\platform-tools\adb.exe'
[6411eccf][ADB] Running 'C:\Users\User\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 start-server'
[6411eccf][ADB] Setting device id to emulator-5554
[6411eccf][AndroidUiautomator2Driver@7fd3] Starting 'com.Advantage.aShopping' directly on the device
[6411eccf][ADB] Running 'C:\Users\User\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s emulator-5554 shell getprop ro.build.version.sdk'
[6411eccf][ADB] Current device property 'ro.build.version.sdk': 34
[6411eccf][ADB] Getting device platform version
[6411eccf][ADB] Running 'C:\Users\User\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s emulator-5554 shell getprop ro.build.version.release'
[6411eccf][ADB] Current device property 'ro.build.version.release': 14
[6411eccf][ADB] Device API level: 34
[6411eccf][AndroidUiautomator2Driver@7fd3] Relaxing hidden api policy
[6411eccf][ADB] Running 'C:\Users\User\AppData\Local\Android\Sdk\platform-tools\adb.exe -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''
[6411eccf][AndroidUiautomator2Driver@7fd3] No app sent in, not parsing package/activity
[6411eccf][ADB] Running 'C:\Users\User\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s emulator-5554 wait-for-device'
[6411eccf][ADB] Running 'C:\Users\User\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s emulator-5554 shell echo ping'
[6411eccf][AndroidUiautomator2Driver@7fd3] Pushing settings apk to the device...
[6411eccf][ADB] Getting package info for 'io.appium.settings'
[6411eccf][ADB] Running 'C:\Users\User\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s emulator-5554 shell dumpsys package io.appium.settings'
[6411eccf][ADB] Using 'aapt2.exe' from 'C:\Users\User\AppData\Local\Android\Sdk\build-tools\33.0.0\aapt2.exe'
[6411eccf][ADB] Reading package manifest: 'C:\\Users\\User\\AppData\\Local\\Android\\Sdk\\build-tools\\33.0.0\\aapt2.exe dump badging C:\\Users\\User\\.appium\\node_modules\\appium-uiautomator2-driver\\node_modules\\io.appium.settings\\apks\\settings_apk-debug.apk'
[6411eccf][ADB] The version name of the installed 'io.appium.settings' is greater or equal to the application version name ('5.12.13' >= '5.12.13')
[6411eccf][ADB] There is no need to install/upgrade 'C:\Users\User\.appium\node_modules\appium-uiautomator2-driver\node_modules\io.appium.settings\apks\settings_apk-debug.apk'
[6411eccf][ADB] Running 'C:\Users\User\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s emulator-5554 shell dumpsys activity services io.appium.settings'
[6411eccf][AndroidUiautomator2Driver@7fd3] io.appium.settings is already running. There is no need to reset its permissions.
[6411eccf][Logcat] Starting logs capture with command: C:\\Users\\User\\AppData\\Local\\Android\\Sdk\\platform-tools\\adb.exe -P 5037 -s emulator-5554 logcat -v threadtime
[6411eccf][AndroidUiautomator2Driver@7fd3] Forwarding UiAutomator2 Server port 6790 to local port 8201
[6411eccf][ADB] Forwarding system: 8201 to device: 6790
[6411eccf][ADB] Running 'C:\Users\User\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s emulator-5554 forward tcp:8201 tcp:6790'
[6411eccf][ADB] Getting package info for 'io.appium.uiautomator2.server'
[6411eccf][ADB] Running 'C:\Users\User\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s emulator-5554 shell dumpsys package io.appium.uiautomator2.server'
[6411eccf][ADB] Getting install status for io.appium.uiautomator2.server.test
[6411eccf][AndroidUiautomator2Driver@7fd3] No app capability. Assuming it is already on the device
[6411eccf][ADB] Running 'C:\Users\User\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s emulator-5554 shell cmd package list packages'
[6411eccf][ADB] 'io.appium.uiautomator2.server.test' is installed
[6411eccf][ADB] Reading package manifest: 'C:\\Users\\User\\AppData\\Local\\Android\\Sdk\\build-tools\\33.0.0\\aapt2.exe dump badging C:\\Users\\User\\.appium\\node_modules\\appium-uiautomator2-driver\\node_modules\\appium-uiautomator2-server\\apks\\appium-uiautomator2-server-v7.0.24.apk'
[6411eccf][ADB] The version name of the installed 'io.appium.uiautomator2.server' is greater or equal to the application version name ('7.0.24' >= '7.0.24')
[6411eccf][AndroidUiautomator2Driver@7fd3] Server packages status: [{"installState":"sameVersionInstalled","appPath":"C:\\Users\\User\\.appium\\node_modules\\appium-uiautomator2-driver\\node_modules\\appium-uiautomator2-server\\apks\\appium-uiautomator2-server-v7.0.24.apk","appId":"io.appium.uiautomator2.server"},{"installState":"sameVersionInstalled","appPath":"C:\\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"}]
[6411eccf][AndroidUiautomator2Driver@7fd3] Server packages are not going to be (re)installed
[6411eccf][AndroidUiautomator2Driver@7fd3] Waiting up to 30000ms for services to be available
[6411eccf][ADB] Running 'C:\Users\User\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s emulator-5554 shell pm list instrumentation'
[6411eccf][AndroidUiautomator2Driver@7fd3] Instrumentation target 'io.appium.uiautomator2.server.test/androidx.test.runner.AndroidJUnitRunner' is available
[6411eccf][ADB] Adding packages ["io.appium.settings","io.appium.uiautomator2.server","io.appium.uiautomator2.server.test"] to Doze whitelist
[6411eccf][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",";"]]
[6411eccf][ADB] Running 'C:\Users\User\AppData\Local\Android\Sdk\platform-tools\adb.exe -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 ;'
[6411eccf][AndroidUiautomator2Driver@7fd3] Performing shallow cleanup of automation leftovers
[6411eccf][AndroidUiautomator2Driver@7fd3] No obsolete sessions have been detected (socket hang up)
[6411eccf][ADB] Running 'C:\Users\User\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s emulator-5554 shell am force-stop io.appium.uiautomator2.server'
[6411eccf][ADB] Running 'C:\Users\User\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s emulator-5554 shell am force-stop io.appium.uiautomator2.server.test'
[6411eccf][AndroidUiautomator2Driver@7fd3] Starting UIAutomator2 server 7.0.24
[6411eccf][AndroidUiautomator2Driver@7fd3] Using UIAutomator2 server from 'C:\Users\User\.appium\node_modules\appium-uiautomator2-driver\node_modules\appium-uiautomator2-server\apks\appium-uiautomator2-server-v7.0.24.apk' and test from 'C:\Users\User\.appium\node_modules\appium-uiautomator2-driver\node_modules\appium-uiautomator2-server\apks\appium-uiautomator2-server-debug-androidTest.apk'
[6411eccf][AndroidUiautomator2Driver@7fd3] Waiting up to 30000ms for UiAutomator2 to be online...
[6411eccf][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"]
[6411eccf][AndroidUiautomator2Driver@7fd3] Matched '/status' to command name 'getStatus'
[6411eccf][AndroidUiautomator2Driver@7fd3] Proxying [GET /status] to [GET http://127.0.0.1:8201/status] with no body
[6411eccf][AndroidUiautomator2Driver@7fd3] socket hang up
[6411eccf][AndroidUiautomator2Driver@7fd3] Matched '/status' to command name 'getStatus'
[6411eccf][AndroidUiautomator2Driver@7fd3] Proxying [GET /status] to [GET http://127.0.0.1:8201/status] with no body
[6411eccf][AndroidUiautomator2Driver@7fd3] socket hang up
[6411eccf][AndroidUiautomator2Driver@7fd3] [Instrumentation]
[6411eccf][AndroidUiautomator2Driver@7fd3] Matched '/status' to command name 'getStatus'
[6411eccf][AndroidUiautomator2Driver@7fd3] Proxying [GET /status] to [GET http://127.0.0.1:8201/status] with no body
[6411eccf][AndroidUiautomator2Driver@7fd3] socket hang up
[6411eccf][AndroidUiautomator2Driver@7fd3] Matched '/status' to command name 'getStatus'
[6411eccf][AndroidUiautomator2Driver@7fd3] Proxying [GET /status] to [GET http://127.0.0.1:8201/status] with no body
[6411eccf][AndroidUiautomator2Driver@7fd3] Got response with status 200: {"sessionId":"None","value":{"message":"UiAutomator2 Server is ready to accept commands","ready":true}}
[6411eccf][AndroidUiautomator2Driver@7fd3] The initialization of the instrumentation process took 3143ms
[6411eccf][AndroidUiautomator2Driver@7fd3] Matched '/session' to command name 'createSession'
[6411eccf][AndroidUiautomator2Driver@7fd3] Proxying [POST /session] to [POST http://127.0.0.1:8201/session] with body: {"capabilities":{"firstMatch":[{"platformName":"Android","platformVersion":"14","deviceName":"emulator-5554","noReset":true,"appActivity":"com.Advantage.aShopping.SplashActivity","appPackage":"com.Advantage.aShopping","automationName":"uiautomator2","ensureWebviewsHavePages":true,"nativeWebScreenshot":true,"newCommandTimeout":3600,"connectHardwareKeyboard":true,"platform":"LINUX","webStorageEnabled":false,"takesScreenshot":true,"javascriptEnabled":true,"databaseEnabled":false,"networkConnectionEnabled":true,"locationContextEnabled":false,"warnings":{},"desired":{"platformName":"Android","platformVersion":"14","deviceName":"Emulator_test_123","noReset":true,"appActivity":"com.Advantage.aShopping.SplashActivity","appPackage":"com.Advantage.aShopping","automationName":"uiautomator2","ensureWebviewsHavePages":true,"nativeWebScreenshot":true,"newCommandTimeout":3600,"connectHardwareKeyboard":true},"deviceUDID":"emulator-5554"}],"alwaysMatch":{}}}
[6411eccf][AndroidUiautomator2Driver@7fd3] Got response with status 200: {"sessionId":"25c4c487-75d4-4e93-82e0-1197eb63ed69","value":{"capabilities":{"firstMatch":[{"platformName":"Android","platformVersion":"14","deviceName":"emulator-5554","noReset":true,"appActivity":"com.Advantage.aShopping.SplashActivity","appPackage":"com.Advantage.aShopping","automationName":"uiautomator2","ensureWebviewsHavePages":true,"nativeWebScreenshot":true,"newCommandTimeout":3600,"connectHardwareKeyboard":true,"platform":"LINUX","webStorageEnabled":false,"takesScreenshot":true,"javascriptEnabled":true,"databaseEnabled":false,"networkConnectionEnabled":true,"locationContextEnabled":false,"warnings":{},"desired":{"platformName":"Android","platformVersion":"14","deviceName":"Emulator_test_123","noReset":true,"appActivity":"com.Advantage.aShopping.SplashActivity","appPackage":"com.Advantage.aShopping","automationName":"uiautomator2","ensureWebviewsHavePages":true,"nativeWebScreenshot":true,"newCommandTimeout":3600,"connectHardwareKeyboard":true},"deviceUDID":"emulator-5554"}],"alwaysMatch":{}},"sessi...
[6411eccf][AndroidUiautomator2Driver@7fd3] Determined the downstream protocol as 'W3C'
[6411eccf][AndroidUiautomator2Driver@7fd3] Proxying [GET /appium/device/pixel_ratio] to [GET http://127.0.0.1:8201/session/25c4c487-75d4-4e93-82e0-1197eb63ed69/appium/device/pixel_ratio] with no body
[6411eccf][AndroidUiautomator2Driver@7fd3] Matched '/appium/device/system_bars' to command name 'getSystemBars'
[6411eccf][AndroidUiautomator2Driver@7fd3] Proxying [GET /appium/device/system_bars] to [GET http://127.0.0.1:8201/session/25c4c487-75d4-4e93-82e0-1197eb63ed69/appium/device/system_bars] with no body
[6411eccf][AndroidUiautomator2Driver@7fd3] Matched '/window/current/size' to command name 'getWindowSize'
[6411eccf][AndroidUiautomator2Driver@7fd3] Proxying [GET /window/current/size] to [GET http://127.0.0.1:8201/session/25c4c487-75d4-4e93-82e0-1197eb63ed69/window/current/size] with no body
[6411eccf][AndroidUiautomator2Driver@7fd3] Proxying [GET /appium/device/info] to [GET http://127.0.0.1:8201/session/25c4c487-75d4-4e93-82e0-1197eb63ed69/appium/device/info] with no body
[6411eccf][ADB] Running 'C:\Users\User\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s emulator-5554 shell dumpsys window'
[6411eccf][ADB] Running 'C:\Users\User\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s emulator-5554 shell dumpsys power'
[f3ef638c][HTTP] --> GET /session/f3ef638c-f042-42a1-818b-56694553cb88/timeouts {}
[f3ef638c][AndroidUiautomator2Driver@ee04] Calling AppiumDriver.getTimeouts() with args: ["f3ef638c-f042-42a1-818b-56694553cb88"]
[f3ef638c][AndroidUiautomator2Driver@ee04] Responding to client with driver.getTimeouts() result: {"command":3600000,"implicit":0}
[f3ef638c][HTTP] <-- GET /session/f3ef638c-f042-42a1-818b-56694553cb88/timeouts 304 5 ms - -
[6411eccf][AndroidUiautomator2Driver@7fd3] Got response with status 200: {"sessionId":"25c4c487-75d4-4e93-82e0-1197eb63ed69","value":2.75}
[6411eccf][AndroidUiautomator2Driver@7fd3] Got response with status 200: {"sessionId":"25c4c487-75d4-4e93-82e0-1197eb63ed69","value":{"height":2280,"width":1080}}
[6411eccf][AndroidUiautomator2Driver@7fd3] Got response with status 200: {"sessionId":"25c4c487-75d4-4e93-82e0-1197eb63ed69","value":{"statusBar":83}}
[6411eccf][AndroidUiautomator2Driver@7fd3] Got response with status 200: {"sessionId":"25c4c487-75d4-4e93-82e0-1197eb63ed69","value":{"androidId":"0c4366abb8f3e683","apiVersion":"34","bluetooth":{"state":"ON"},"brand":"google","carrierName":"","displayDensity":440,"locale":"en_US","manufacturer":"Google","model":"sdk_gphone64_x86_64","networks":[{"capabilities":{"SSID":null,"linkDownBandwidthKbps":30000,"linkUpstreamBandwidthKbps":12000,"networkCapabilities":"NET_CAPABILITY_NOT_METERED,NET_CAPABILITY_INTERNET,NET_CAPABILITY_NOT_RESTRICTED,NET_CAPABILITY_TRUSTED,NET_CAPABILITY_NOT_VPN,NET_CAPABILITY_VALIDATED,NET_CAPABILITY_NOT_ROAMING,NET_CAPABILITY_FOREGROUND,NET_CAPABILITY_NOT_CONGESTED,NET_CAPABILITY_NOT_SUSPENDED","signalStrength":-50,"transportTypes":"TRANSPORT_WIFI"},"detailedState":"CONNECTED","extraInfo":"","isAvailable":true,"isConnected":true,"isFailover":false,"isRoaming":false,"state":"CONNECTED","subtype":-1,"subtypeName":"","type":1,"typeName":"WIFI"}],"platformVersion":"14","realDisplaySize":"1080x2280","timeZone":"Asia/Bangkok"}}
[6411eccf][AndroidUiautomator2Driver@7fd3] Screen already unlocked, doing nothing
[6411eccf][AndroidUiautomator2Driver@7fd3] Starting 'com.Advantage.aShopping/com.Advantage.aShopping.SplashActivity and waiting for 'com.Advantage.aShopping/com.Advantage.aShopping.SplashActivity'
[6411eccf][ADB] Getting IDs of all 'com.Advantage.aShopping' processes
[6411eccf][ADB] Running 'C:\Users\User\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s emulator-5554 shell 'pgrep --help; echo $?''
[6411eccf][ADB] Running 'C:\Users\User\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s emulator-5554 shell pgrep -f \(\[\[:blank:\]\]\|\^\)com\.Advantage\.aShopping\(\[\[:blank:\]\]\|\$\)'
[6411eccf][AndroidUiautomator2Driver@7fd3] 'com.Advantage.aShopping' is already running and noReset is enabled. Set forceAppLaunch capability to true if the app must be forcefully restarted on session startup.
[6411eccf][AppiumDriver@592b] New AndroidUiautomator2Driver session created successfully, session 6411eccf-378a-47df-8cb3-2bb2c6693562 added to master session list
[6411eccf][AppiumDriver@592b] Event 'newSessionStarted' logged at 1726129970080 (15:32:50 GMT+0700 (Western Indonesia Time))
[6411eccf][AndroidUiautomator2Driver@7fd3] Cached the protocol value 'W3C' for the new session 6411eccf-378a-47df-8cb3-2bb2c6693562
[6411eccf][AndroidUiautomator2Driver@7fd3] Responding to client with driver.createSession() result: {"capabilities":{"platformName":"Android","platformVersion":"14","deviceName":"emulator-5554","noReset":true,"appActivity":"com.Advantage.aShopping.SplashActivity","appPackage":"com.Advantage.aShopping","automationName":"uiautomator2","ensureWebviewsHavePages":true,"nativeWebScreenshot":true,"newCommandTimeout":3600,"connectHardwareKeyboard":true,"platform":"LINUX","webStorageEnabled":false,"takesScreenshot":true,"javascriptEnabled":true,"databaseEnabled":false,"networkConnectionEnabled":true,"locationContextEnabled":false,"warnings":{},"desired":{"platformName":"Android","platformVersion":"14","deviceName":"Emulator_test_123","noReset":true,"appActivity":"com.Advantage.aShopping.SplashActivity","appPackage":"com.Advantage.aShopping","automationName":"uiautomator2","ensureWebviewsHavePages":true,"nativeWebScreenshot":true,"newCommandTimeout":3600,"connectHardwareKeyboard":true},"deviceUDID":"emulator-5554","pixelRatio":"2.75","statBarHeight":83,"viewportRect":{"left":0,"top":83,"width":1080,"height":2197},...
[6411eccf][HTTP] <-- POST /session 200 4217 ms - 1226
[6411eccf][HTTP] --> POST /session/6411eccf-378a-47df-8cb3-2bb2c6693562/element {"using":"id","value":"com.Advantage.aShopping:id/imageViewMenu"}
[6411eccf][AndroidUiautomator2Driver@7fd3] Calling AppiumDriver.findElement() with args: ["id","com.Advantage.aShopping:id/imageViewMenu","6411eccf-378a-47df-8cb3-2bb2c6693562"]
[6411eccf][AndroidUiautomator2Driver@7fd3] Valid locator strategies for this request: xpath, id, class name, accessibility id, css selector, -android uiautomator
[6411eccf][AndroidUiautomator2Driver@7fd3] Waiting up to 0 ms for condition
[6411eccf][AndroidUiautomator2Driver@7fd3] Matched '/element' to command name 'findElement'
[6411eccf][AndroidUiautomator2Driver@7fd3] Proxying [POST /element] to [POST http://127.0.0.1:8201/session/25c4c487-75d4-4e93-82e0-1197eb63ed69/element] with body: {"strategy":"id","selector":"com.Advantage.aShopping:id/imageViewMenu","context":"","multiple":false}
[6411eccf][AndroidUiautomator2Driver@7fd3] Got response with status 404: {"sessionId":"25c4c487-75d4-4e93-82e0-1197eb63ed69","value":{"error":"no such element","message":"An element could not be located on the page using the given search parameters","stacktrace":"io.appium.uiautomator2.common.exceptions.ElementNotFoundException: An element could not be located on the page using the given search parameters\n\tat io.appium.uiautomator2.handler.FindElement.safeHandle(FindElement.java:63)\n\tat io.appium.uiautomator2.handler.request.SafeRequestHandler.handle(SafeRequestHandler.java:59)\n\tat io.appium.uiautomator2.server.AppiumServlet.handleRequest(AppiumServlet.java:259)\n\tat io.appium.uiautomator2.server.AppiumServlet.handleHttpRequest(AppiumServlet.java:253)\n\tat io.appium.uiautomator2.http.ServerHandler.channelRead(ServerHandler.java:77)\n\tat io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:366)\n\tat io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:352)\n\tat io.netty.chann...
[6411eccf][W3C] Matched W3C error code 'no such element' to NoSuchElementError
[6411eccf][AndroidUiautomator2Driver@7fd3] Encountered internal error running command: NoSuchElementError: An element could not be located on the page using the given search parameters.
at AndroidUiautomator2Driver.findElOrEls (C:\Users\User\.appium\node_modules\appium-uiautomator2-driver\node_modules\appium-android-driver\lib\commands\find.ts:86:11)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
at AndroidUiautomator2Driver.findElOrElsWithProcessing (C:\Users\User\AppData\Roaming\npm\node_modules\appium\node_modules\@appium\base-driver\lib\basedriver\commands\find.ts:60:12)
at AndroidUiautomator2Driver.findElement (C:\Users\User\AppData\Roaming\npm\node_modules\appium\node_modules\@appium\base-driver\lib\basedriver\commands\find.ts:75:12)
[6411eccf][HTTP] <-- POST /session/6411eccf-378a-47df-8cb3-2bb2c6693562/element 404 79 ms - 887
[HTTP] Request idempotency key: 4e636bb5-34c6-416c-96ed-daee00ce2e07
[HTTP] --> POST /session {"capabilities":{"firstMatch":[{}],"alwaysMatch":{"platformName":"Android","appium:platformVersion":"14","appium:deviceName":"Emulator_test_123","appium:noReset":"false","appium:appActivity":"com.Advantage.aShopping.SplashActivity","appium:appPackage":"com.Advantage.aShopping","appium:automationName":"uiautomator2","appium:ensureWebviewsHavePages":true,"appium:nativeWebScreenshot":true,"appium:newCommandTimeout":3600,"appium:connectHardwareKeyboard":true}}}
[AppiumDriver@592b] Calling AppiumDriver.createSession() with args: [null,null,{"firstMatch":[{}],"alwaysMatch":{"platformName":"Android","appium:platformVersion":"14","appium:deviceName":"Emulator_test_123","appium:noReset":"false","appium:appActivity":"com.Advantage.aShopping.SplashActivity","appium:appPackage":"com.Advantage.aShopping","appium:automationName":"uiautomator2","appium:ensureWebviewsHavePages":true,"appium:nativeWebScreenshot":true,"appium:newCommandTimeout":3600,"appium:connectHardwareKeyboard":true}}]
[AppiumDriver@592b] Event 'newSessionRequested' logged at 1726129982445 (15:33:02 GMT+0700 (Western Indonesia Time))
[Appium] Attempting to find matching driver for automationName 'uiautomator2' and platformName 'Android'
[Appium] The 'uiautomator2' driver was installed and matched caps.
[Appium] Will require it at C:\Users\User\.appium\node_modules\appium-uiautomator2-driver
[Appium] Requiring driver at C:\Users\User\.appium\node_modules\appium-uiautomator2-driver\build\index.js
[AppiumDriver@592b] Appium v2.11.3 creating new AndroidUiautomator2Driver (v3.7.9) session
[AppiumDriver@592b] Checking BaseDriver versions for Appium and AndroidUiautomator2Driver
[AppiumDriver@592b] Appium's BaseDriver version is 9.11.3
[AppiumDriver@592b] AndroidUiautomator2Driver's BaseDriver version is 9.11.3
[AndroidUiautomator2Driver@58fa]
[AndroidUiautomator2Driver@58fa] Creating session with W3C capabilities: {
"alwaysMatch": {
"platformName": "Android",
"appium:platformVersion": "14",
"appium:deviceName": "Emulator_test_123",
"appium:noReset": "false",
"appium:appActivity": "com.Advantage.aShopping.SplashActivity",
"appium:appPackage": "com.Advantage.aShopping",
"appium:automationName": "uiautomator2",
"appium:ensureWebviewsHavePages": true,
"appium:nativeWebScreenshot": true,
"appium:newCommandTimeout": 3600,
"appium:connectHardwareKeyboard": true
},
"firstMatch": [
{}
]
}
[AndroidUiautomator2Driver@58fa] Capability 'noReset' changed from string to boolean. This may cause unexpected behavior
[AndroidUiautomator2Driver@58fa] The following provided capabilities were not recognized by this driver:
[AndroidUiautomator2Driver@58fa] connectHardwareKeyboard
[25eec11b][AndroidUiautomator2Driver@58fa] Session created with session id: 25eec11b-8515-4700-836e-df1095e39993
[25eec11b][ADB] Using 'adb.exe' from 'C:\Users\User\AppData\Local\Android\Sdk\platform-tools\adb.exe'
[25eec11b][ADB] Running 'C:\Users\User\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 start-server'
[25eec11b][AndroidUiautomator2Driver@58fa] Retrieving device list
[25eec11b][ADB] Trying to find connected Android devices
[25eec11b][ADB] Getting connected devices
[25eec11b][ADB] Connected devices: [{"udid":"emulator-5554","state":"device"}]
[25eec11b][AndroidUiautomator2Driver@58fa] Looking for a device with Android '14.0.0'
[25eec11b][ADB] Setting device id to emulator-5554
[25eec11b][ADB] Getting device platform version
[25eec11b][ADB] Running 'C:\Users\User\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s emulator-5554 shell getprop ro.build.version.release'
[25eec11b][ADB] Current device property 'ro.build.version.release': 14
[25eec11b][AndroidUiautomator2Driver@58fa] Using device: emulator-5554
[25eec11b][ADB] Using 'adb.exe' from 'C:\Users\User\AppData\Local\Android\Sdk\platform-tools\adb.exe'
[25eec11b][ADB] Running 'C:\Users\User\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 start-server'
[25eec11b][ADB] Setting device id to emulator-5554
[25eec11b][AndroidUiautomator2Driver@58fa] Starting 'com.Advantage.aShopping' directly on the device
[25eec11b][ADB] Running 'C:\Users\User\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s emulator-5554 shell getprop ro.build.version.sdk'
[25eec11b][ADB] Current device property 'ro.build.version.sdk': 34
[25eec11b][ADB] Getting device platform version
[25eec11b][ADB] Running 'C:\Users\User\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s emulator-5554 shell getprop ro.build.version.release'
[25eec11b][ADB] Current device property 'ro.build.version.release': 14
[25eec11b][ADB] Device API level: 34
[25eec11b][AndroidUiautomator2Driver@58fa] Relaxing hidden api policy
[25eec11b][ADB] Running 'C:\Users\User\AppData\Local\Android\Sdk\platform-tools\adb.exe -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''
[25eec11b][AndroidUiautomator2Driver@58fa] No app sent in, not parsing package/activity
[25eec11b][ADB] Running 'C:\Users\User\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s emulator-5554 wait-for-device'
[25eec11b][ADB] Running 'C:\Users\User\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s emulator-5554 shell echo ping'
[25eec11b][AndroidUiautomator2Driver@58fa] Pushing settings apk to the device...
[25eec11b][ADB] Getting package info for 'io.appium.settings'
[25eec11b][ADB] Running 'C:\Users\User\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s emulator-5554 shell dumpsys package io.appium.settings'
[25eec11b][ADB] Using 'aapt2.exe' from 'C:\Users\User\AppData\Local\Android\Sdk\build-tools\33.0.0\aapt2.exe'
[25eec11b][ADB] Reading package manifest: 'C:\\Users\\User\\AppData\\Local\\Android\\Sdk\\build-tools\\33.0.0\\aapt2.exe dump badging C:\\Users\\User\\.appium\\node_modules\\appium-uiautomator2-driver\\node_modules\\io.appium.settings\\apks\\settings_apk-debug.apk'
[25eec11b][ADB] The version name of the installed 'io.appium.settings' is greater or equal to the application version name ('5.12.13' >= '5.12.13')
[25eec11b][ADB] There is no need to install/upgrade 'C:\Users\User\.appium\node_modules\appium-uiautomator2-driver\node_modules\io.appium.settings\apks\settings_apk-debug.apk'
[25eec11b][ADB] Running 'C:\Users\User\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s emulator-5554 shell dumpsys activity services io.appium.settings'
[25eec11b][AndroidUiautomator2Driver@58fa] io.appium.settings is already running. There is no need to reset its permissions.
[25eec11b][Logcat] Starting logs capture with command: C:\\Users\\User\\AppData\\Local\\Android\\Sdk\\platform-tools\\adb.exe -P 5037 -s emulator-5554 logcat -v threadtime
[25eec11b][AndroidUiautomator2Driver@58fa] Forwarding UiAutomator2 Server port 6790 to local port 8202
[25eec11b][ADB] Forwarding system: 8202 to device: 6790
[25eec11b][ADB] Running 'C:\Users\User\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s emulator-5554 forward tcp:8202 tcp:6790'
[25eec11b][ADB] Getting package info for 'io.appium.uiautomator2.server'
[25eec11b][ADB] Running 'C:\Users\User\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s emulator-5554 shell dumpsys package io.appium.uiautomator2.server'
[25eec11b][ADB] Getting install status for io.appium.uiautomator2.server.test
[25eec11b][AndroidUiautomator2Driver@58fa] No app capability. Assuming it is already on the device
[25eec11b][ADB] Getting install status for com.Advantage.aShopping
[25eec11b][ADB] Running 'C:\Users\User\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s emulator-5554 shell cmd package list packages'
[25eec11b][ADB] Running 'C:\Users\User\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s emulator-5554 shell cmd package list packages'
[25eec11b][ADB] Reading package manifest: 'C:\\Users\\User\\AppData\\Local\\Android\\Sdk\\build-tools\\33.0.0\\aapt2.exe dump badging C:\\Users\\User\\.appium\\node_modules\\appium-uiautomator2-driver\\node_modules\\appium-uiautomator2-server\\apks\\appium-uiautomator2-server-v7.0.24.apk'
[25eec11b][ADB] 'io.appium.uiautomator2.server.test' is installed
[25eec11b][ADB] 'com.Advantage.aShopping' is installed
[25eec11b][ADB] Running 'C:\Users\User\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s emulator-5554 shell am force-stop com.Advantage.aShopping'
[25eec11b][ADB] The version name of the installed 'io.appium.uiautomator2.server' is greater or equal to the application version name ('7.0.24' >= '7.0.24')
[25eec11b][AndroidUiautomator2Driver@58fa] Server packages status: [{"installState":"sameVersionInstalled","appPath":"C:\\Users\\User\\.appium\\node_modules\\appium-uiautomator2-driver\\node_modules\\appium-uiautomator2-server\\apks\\appium-uiautomator2-server-v7.0.24.apk","appId":"io.appium.uiautomator2.server"},{"installState":"sameVersionInstalled","appPath":"C:\\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"}]
[25eec11b][AndroidUiautomator2Driver@58fa] Server packages are not going to be (re)installed
[25eec11b][AndroidUiautomator2Driver@58fa] Waiting up to 30000ms for services to be available
[25eec11b][ADB] Running 'C:\Users\User\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s emulator-5554 shell pm list instrumentation'
[25eec11b][ADB] Running 'C:\Users\User\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s emulator-5554 shell pm clear com.Advantage.aShopping'
[25eec11b][AndroidUiautomator2Driver@58fa] Instrumentation target 'io.appium.uiautomator2.server.test/androidx.test.runner.AndroidJUnitRunner' is available
[25eec11b][ADB] Adding packages ["io.appium.settings","io.appium.uiautomator2.server","io.appium.uiautomator2.server.test"] to Doze whitelist
[25eec11b][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",";"]]
[25eec11b][ADB] Running 'C:\Users\User\AppData\Local\Android\Sdk\platform-tools\adb.exe -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 ;'
[25eec11b][AndroidUiautomator2Driver@58fa] Performed fast reset on the installed 'com.Advantage.aShopping' application (stop and clear)
[25eec11b][AndroidUiautomator2Driver@58fa] Performing shallow cleanup of automation leftovers
[25eec11b][AndroidUiautomator2Driver@58fa] The following obsolete sessions are still running: ["25c4c487-75d4-4e93-82e0-1197eb63ed69"]
[25eec11b][AndroidUiautomator2Driver@58fa] Cleaning up 1 obsolete session
[6411eccf][AndroidUiautomator2Driver@7fd3] [Instrumentation] io.appium.uiautomator2.server.test.AppiumUiAutomator2Server:.
[6411eccf][AndroidUiautomator2Driver@7fd3] [Instrumentation]
[6411eccf][AndroidUiautomator2Driver@7fd3] [Instrumentation] Time: 16.064
[6411eccf][AndroidUiautomator2Driver@7fd3] [Instrumentation]
[6411eccf][AndroidUiautomator2Driver@7fd3] [Instrumentation] OK (1 test)
[6411eccf][AndroidUiautomator2Driver@7fd3] [Instrumentation]
[6411eccf][AndroidUiautomator2Driver@7fd3] [Instrumentation]
[6411eccf][AndroidUiautomator2Driver@7fd3] [Instrumentation] The process has exited with code 0, signal null
[25eec11b][ADB] Running 'C:\Users\User\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s emulator-5554 shell am force-stop io.appium.uiautomator2.server'
[25eec11b][ADB] Running 'C:\Users\User\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s emulator-5554 shell am force-stop io.appium.uiautomator2.server.test'
[25eec11b][AndroidUiautomator2Driver@58fa] Starting UIAutomator2 server 7.0.24
[25eec11b][AndroidUiautomator2Driver@58fa] Using UIAutomator2 server from 'C:\Users\User\.appium\node_modules\appium-uiautomator2-driver\node_modules\appium-uiautomator2-server\apks\appium-uiautomator2-server-v7.0.24.apk' and test from 'C:\Users\User\.appium\node_modules\appium-uiautomator2-driver\node_modules\appium-uiautomator2-server\apks\appium-uiautomator2-server-debug-androidTest.apk'
[25eec11b][AndroidUiautomator2Driver@58fa] Waiting up to 30000ms for UiAutomator2 to be online...
[25eec11b][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"]
[25eec11b][AndroidUiautomator2Driver@58fa] Matched '/status' to command name 'getStatus'
[25eec11b][AndroidUiautomator2Driver@58fa] Proxying [GET /status] to [GET http://127.0.0.1:8202/status] with no body
[25eec11b][AndroidUiautomator2Driver@58fa] socket hang up
[25eec11b][AndroidUiautomator2Driver@58fa] Matched '/status' to command name 'getStatus'
[25eec11b][AndroidUiautomator2Driver@58fa] Proxying [GET /status] to [GET http://127.0.0.1:8202/status] with no body
[25eec11b][AndroidUiautomator2Driver@58fa] socket hang up
[f3ef638c][HTTP] --> DELETE /session/f3ef638c-f042-42a1-818b-56694553cb88 {}
[f3ef638c][AndroidUiautomator2Driver@ee04] Calling AppiumDriver.deleteSession() with args: ["f3ef638c-f042-42a1-818b-56694553cb88"]
[f3ef638c][AppiumDriver@592b] Event 'quitSessionRequested' logged at 1726129985297 (15:33:05 GMT+0700 (Western Indonesia Time))
[f3ef638c][AppiumDriver@592b] Removing session f3ef638c-f042-42a1-818b-56694553cb88 from our master session list
[f3ef638c][AndroidUiautomator2Driver@ee04] Deleting UiAutomator2 session
[f3ef638c][AndroidUiautomator2Driver@ee04] Deleting UiAutomator2 server session
[f3ef638c][AndroidUiautomator2Driver@ee04] Did not get confirmation UiAutomator2 deleteSession worked; Error was: UnknownError: An unknown server-side error occurred while processing the command. Original error: 'DELETE /' cannot be proxied to UiAutomator2 server because the instrumentation process is not running (probably crashed). Check the server log and/or the logcat output for more details
[f3ef638c][ADB] Running 'C:\Users\User\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s emulator-5554 shell dumpsys activity services io.appium.settings/.recorder.RecorderService'
[f3ef638c][ADB] Removing forwarded port socket connection: 8200
[f3ef638c][ADB] Running 'C:\Users\User\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s emulator-5554 forward --remove tcp:8200'
[f3ef638c][AndroidUiautomator2Driver@ee04] Restoring hidden api policy to the device default configuration
[f3ef638c][ADB] Running 'C:\Users\User\AppData\Local\Android\Sdk\platform-tools\adb.exe -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''
[25eec11b][AndroidUiautomator2Driver@58fa] [Instrumentation]
[f3ef638c][Logcat] Stopping logcat capture
[f3ef638c][AppiumDriver@592b] Event 'quitSessionFinished' logged at 1726129985435 (15:33:05 GMT+0700 (Western Indonesia Time))
[f3ef638c][AppiumDriver@592b] Received response: null
[f3ef638c][AppiumDriver@592b] But deleting session, so not returning
[f3ef638c][AppiumDriver@592b] Responding to client with driver.deleteSession() result: null
[f3ef638c][HTTP] <-- DELETE /session/f3ef638c-f042-42a1-818b-56694553cb88 200 142 ms - 14
[25eec11b][AndroidUiautomator2Driver@58fa] Matched '/status' to command name 'getStatus'
[25eec11b][AndroidUiautomator2Driver@58fa] Proxying [GET /status] to [GET http://127.0.0.1:8202/status] with no body
[25eec11b][AndroidUiautomator2Driver@58fa] socket hang up
[25eec11b][AndroidUiautomator2Driver@58fa] Matched '/status' to command name 'getStatus'
[25eec11b][AndroidUiautomator2Driver@58fa] Proxying [GET /status] to [GET http://127.0.0.1:8202/status] with no body
[25eec11b][AndroidUiautomator2Driver@58fa] Got response with status 200: {"sessionId":"None","value":{"message":"UiAutomator2 Server is ready to accept commands","ready":true}}
[25eec11b][AndroidUiautomator2Driver@58fa] The initialization of the instrumentation process took 3131ms
[25eec11b][AndroidUiautomator2Driver@58fa] Matched '/session' to command name 'createSession'
[25eec11b][AndroidUiautomator2Driver@58fa] Proxying [POST /session] to [POST http://127.0.0.1:8202/session] with body: {"capabilities":{"firstMatch":[{"platformName":"Android","platformVersion":"14","deviceName":"emulator-5554","noReset":false,"appActivity":"com.Advantage.aShopping.SplashActivity","appPackage":"com.Advantage.aShopping","automationName":"uiautomator2","ensureWebviewsHavePages":true,"nativeWebScreenshot":true,"newCommandTimeout":3600,"connectHardwareKeyboard":true,"platform":"LINUX","webStorageEnabled":false,"takesScreenshot":true,"javascriptEnabled":true,"databaseEnabled":false,"networkConnectionEnabled":true,"locationContextEnabled":false,"warnings":{},"desired":{"platformName":"Android","platformVersion":"14","deviceName":"Emulator_test_123","noReset":false,"appActivity":"com.Advantage.aShopping.SplashActivity","appPackage":"com.Advantage.aShopping","automationName":"uiautomator2","ensureWebviewsHavePages":true,"nativeWebScreenshot":true,"newCommandTimeout":3600,"connectHardwareKeyboard":true},"deviceUDID":"emulator-5554"}],"alwaysMatch":{}}}
[25eec11b][AndroidUiautomator2Driver@58fa] Got response with status 200: {"sessionId":"a450afa2-9585-4e1c-b987-e2a17990389c","value":{"capabilities":{"firstMatch":[{"platformName":"Android","platformVersion":"14","deviceName":"emulator-5554","noReset":false,"appActivity":"com.Advantage.aShopping.SplashActivity","appPackage":"com.Advantage.aShopping","automationName":"uiautomator2","ensureWebviewsHavePages":true,"nativeWebScreenshot":true,"newCommandTimeout":3600,"connectHardwareKeyboard":true,"platform":"LINUX","webStorageEnabled":false,"takesScreenshot":true,"javascriptEnabled":true,"databaseEnabled":false,"networkConnectionEnabled":true,"locationContextEnabled":false,"warnings":{},"desired":{"platformName":"Android","platformVersion":"14","deviceName":"Emulator_test_123","noReset":false,"appActivity":"com.Advantage.aShopping.SplashActivity","appPackage":"com.Advantage.aShopping","automationName":"uiautomator2","ensureWebviewsHavePages":true,"nativeWebScreenshot":true,"newCommandTimeout":3600,"connectHardwareKeyboard":true},"deviceUDID":"emulator-5554"}],"alwaysMatch":{}},"ses...
[25eec11b][AndroidUiautomator2Driver@58fa] Determined the downstream protocol as 'W3C'
[25eec11b][AndroidUiautomator2Driver@58fa] Proxying [GET /appium/device/pixel_ratio] to [GET http://127.0.0.1:8202/session/a450afa2-9585-4e1c-b987-e2a17990389c/appium/device/pixel_ratio] with no body
[25eec11b][AndroidUiautomator2Driver@58fa] Matched '/appium/device/system_bars' to command name 'getSystemBars'
[25eec11b][AndroidUiautomator2Driver@58fa] Proxying [GET /appium/device/system_bars] to [GET http://127.0.0.1:8202/session/a450afa2-9585-4e1c-b987-e2a17990389c/appium/device/system_bars] with no body
[25eec11b][AndroidUiautomator2Driver@58fa] Matched '/window/current/size' to command name 'getWindowSize'
[25eec11b][AndroidUiautomator2Driver@58fa] Proxying [GET /window/current/size] to [GET http://127.0.0.1:8202/session/a450afa2-9585-4e1c-b987-e2a17990389c/window/current/size] with no body
[25eec11b][AndroidUiautomator2Driver@58fa] Proxying [GET /appium/device/info] to [GET http://127.0.0.1:8202/session/a450afa2-9585-4e1c-b987-e2a17990389c/appium/device/info] with no body
[25eec11b][ADB] Running 'C:\Users\User\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s emulator-5554 shell dumpsys window'
[25eec11b][ADB] Running 'C:\Users\User\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s emulator-5554 shell dumpsys power'
[25eec11b][AndroidUiautomator2Driver@58fa] Got response with status 200: {"sessionId":"a450afa2-9585-4e1c-b987-e2a17990389c","value":2.75}
[25eec11b][AndroidUiautomator2Driver@58fa] Got response with status 200: {"sessionId":"a450afa2-9585-4e1c-b987-e2a17990389c","value":{"statusBar":83}}
[25eec11b][AndroidUiautomator2Driver@58fa] Got response with status 200: {"sessionId":"a450afa2-9585-4e1c-b987-e2a17990389c","value":{"height":2280,"width":1080}}
[25eec11b][AndroidUiautomator2Driver@58fa] Screen already unlocked, doing nothing
[25eec11b][AndroidUiautomator2Driver@58fa] Starting 'com.Advantage.aShopping/com.Advantage.aShopping.SplashActivity and waiting for 'com.Advantage.aShopping/com.Advantage.aShopping.SplashActivity'
[25eec11b][ADB] Running 'C:\Users\User\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s emulator-5554 shell am start -W -n com.Advantage.aShopping/com.Advantage.aShopping.SplashActivity -S -a android.intent.action.MAIN -c android.intent.category.LAUNCHER -f 0x10200000'
[25eec11b][AndroidUiautomator2Driver@58fa] Got response with status 200: {"sessionId":"a450afa2-9585-4e1c-b987-e2a17990389c","value":{"androidId":"0c4366abb8f3e683","apiVersion":"34","bluetooth":{"state":"ON"},"brand":"google","carrierName":"","displayDensity":440,"locale":"en_US","manufacturer":"Google","model":"sdk_gphone64_x86_64","networks":[{"capabilities":{"SSID":null,"linkDownBandwidthKbps":30000,"linkUpstreamBandwidthKbps":12000,"networkCapabilities":"NET_CAPABILITY_NOT_METERED,NET_CAPABILITY_INTERNET,NET_CAPABILITY_NOT_RESTRICTED,NET_CAPABILITY_TRUSTED,NET_CAPABILITY_NOT_VPN,NET_CAPABILITY_VALIDATED,NET_CAPABILITY_NOT_ROAMING,NET_CAPABILITY_FOREGROUND,NET_CAPABILITY_NOT_CONGESTED,NET_CAPABILITY_NOT_SUSPENDED","signalStrength":-50,"transportTypes":"TRANSPORT_WIFI"},"detailedState":"CONNECTED","extraInfo":"","isAvailable":true,"isConnected":true,"isFailover":false,"isRoaming":false,"state":"CONNECTED","subtype":-1,"subtypeName":"","type":1,"typeName":"WIFI"}],"platformVersion":"14","realDisplaySize":"1080x2280","timeZone":"Asia/Bangkok"}}
[25eec11b][AppiumDriver@592b] New AndroidUiautomator2Driver session created successfully, session 25eec11b-8515-4700-836e-df1095e39993 added to master session list
[25eec11b][AppiumDriver@592b] Event 'newSessionStarted' logged at 1726129988647 (15:33:08 GMT+0700 (Western Indonesia Time))
[25eec11b][AndroidUiautomator2Driver@58fa] Cached the protocol value 'W3C' for the new session 25eec11b-8515-4700-836e-df1095e39993
[25eec11b][AndroidUiautomator2Driver@58fa] Responding to client with driver.createSession() result: {"capabilities":{"platformName":"Android","platformVersion":"14","deviceName":"emulator-5554","noReset":false,"appActivity":"com.Advantage.aShopping.SplashActivity","appPackage":"com.Advantage.aShopping","automationName":"uiautomator2","ensureWebviewsHavePages":true,"nativeWebScreenshot":true,"newCommandTimeout":3600,"connectHardwareKeyboard":true,"platform":"LINUX","webStorageEnabled":false,"takesScreenshot":true,"javascriptEnabled":true,"databaseEnabled":false,"networkConnectionEnabled":true,"locationContextEnabled":false,"warnings":{},"desired":{"platformName":"Android","platformVersion":"14","deviceName":"Emulator_test_123","noReset":false,"appActivity":"com.Advantage.aShopping.SplashActivity","appPackage":"com.Advantage.aShopping","automationName":"uiautomator2","ensureWebviewsHavePages":true,"nativeWebScreenshot":true,"newCommandTimeout":3600,"connectHardwareKeyboard":true},"deviceUDID":"emulator-5554","pixelRatio":"2.75","statBarHeight":83,"viewportRect":{"left":0,"top":83,"width":1080,"height":2197...
[25eec11b][HTTP] <-- POST /session 200 6209 ms - 1228
[25eec11b][HTTP] --> POST /session/25eec11b-8515-4700-836e-df1095e39993/element {"using":"id","value":"com.Advantage.aShopping:id/imageViewMenu"}
[25eec11b][AndroidUiautomator2Driver@58fa] Calling AppiumDriver.findElement() with args: ["id","com.Advantage.aShopping:id/imageViewMenu","25eec11b-8515-4700-836e-df1095e39993"]
[25eec11b][AndroidUiautomator2Driver@58fa] Valid locator strategies for this request: xpath, id, class name, accessibility id, css selector, -android uiautomator
[25eec11b][AndroidUiautomator2Driver@58fa] Waiting up to 0 ms for condition
[25eec11b][AndroidUiautomator2Driver@58fa] Matched '/element' to command name 'findElement'
[25eec11b][AndroidUiautomator2Driver@58fa] Proxying [POST /element] to [POST http://127.0.0.1:8202/session/a450afa2-9585-4e1c-b987-e2a17990389c/element] with body: {"strategy":"id","selector":"com.Advantage.aShopping:id/imageViewMenu","context":"","multiple":false}
[25eec11b][AndroidUiautomator2Driver@58fa] Got response with status 200: {"sessionId":"a450afa2-9585-4e1c-b987-e2a17990389c","value":{"ELEMENT":"00000000-0000-0032-ffff-ffff00000018","element-6066-11e4-a52e-4f735466cecf":"00000000-0000-0032-ffff-ffff00000018"}}
[25eec11b][AndroidUiautomator2Driver@58fa] Responding to client with driver.findElement() result: {"element-6066-11e4-a52e-4f735466cecf":"00000000-0000-0032-ffff-ffff00000018","ELEMENT":"00000000-0000-0032-ffff-ffff00000018"}
[25eec11b][HTTP] <-- POST /session/25eec11b-8515-4700-836e-df1095e39993/element 200 68 ms - 137
[25eec11b][HTTP] --> POST /session/25eec11b-8515-4700-836e-df1095e39993/element/00000000-0000-0032-ffff-ffff00000018/click {}
[25eec11b][AndroidUiautomator2Driver@58fa] Calling AppiumDriver.click() with args: ["00000000-0000-0032-ffff-ffff00000018","25eec11b-8515-4700-836e-df1095e39993"]
[25eec11b][AndroidUiautomator2Driver@58fa] Matched '/element/00000000-0000-0032-ffff-ffff00000018/click' to command name 'click'
[25eec11b][AndroidUiautomator2Driver@58fa] Proxying [POST /element/00000000-0000-0032-ffff-ffff00000018/click] to [POST http://127.0.0.1:8202/session/a450afa2-9585-4e1c-b987-e2a17990389c/element/00000000-0000-0032-ffff-ffff00000018/click] with body: {"element":"00000000-0000-0032-ffff-ffff00000018"}
[25eec11b][AndroidUiautomator2Driver@58fa] Got response with status 200: {"sessionId":"a450afa2-9585-4e1c-b987-e2a17990389c","value":null}
[25eec11b][AndroidUiautomator2Driver@58fa] Responding to client with driver.click() result: null
[25eec11b][HTTP] <-- POST /session/25eec11b-8515-4700-836e-df1095e39993/element/00000000-0000-0032-ffff-ffff00000018/click 200 84 ms - 14
[25eec11b][HTTP] --> POST /session/25eec11b-8515-4700-836e-df1095e39993/element {"using":"id","value":"com.Advantage.aShopping:id/textViewMenuLaptops"}
[25eec11b][AndroidUiautomator2Driver@58fa] Calling AppiumDriver.findElement() with args: ["id","com.Advantage.aShopping:id/textViewMenuLaptops","25eec11b-8515-4700-836e-df1095e39993"]
[25eec11b][AndroidUiautomator2Driver@58fa] Valid locator strategies for this request: xpath, id, class name, accessibility id, css selector, -android uiautomator
[25eec11b][AndroidUiautomator2Driver@58fa] Waiting up to 0 ms for condition
[25eec11b][AndroidUiautomator2Driver@58fa] Matched '/element' to command name 'findElement'
[25eec11b][AndroidUiautomator2Driver@58fa] Proxying [POST /element] to [POST http://127.0.0.1:8202/session/a450afa2-9585-4e1c-b987-e2a17990389c/element] with body: {"strategy":"id","selector":"com.Advantage.aShopping:id/textViewMenuLaptops","context":"","multiple":false}[25eec11b][AndroidUiautomator2Driver@58fa] Got response with status 200: {"sessionId":"a450afa2-9585-4e1c-b987-e2a17990389c","value":{"ELEMENT":"00000000-0000-0032-ffff-ffff0000004d","element-6066-11e4-a52e-4f735466cecf":"00000000-0000-0032-ffff-ffff0000004d"}}
[25eec11b][AndroidUiautomator2Driver@58fa] Responding to client with driver.findElement() result: {"element-6066-11e4-a52e-4f735466cecf":"00000000-0000-0032-ffff-ffff0000004d","ELEMENT":"00000000-0000-0032-ffff-ffff0000004d"}
[25eec11b][HTTP] <-- POST /session/25eec11b-8515-4700-836e-df1095e39993/element 200 55 ms - 137
[25eec11b][HTTP] --> POST /session/25eec11b-8515-4700-836e-df1095e39993/element/00000000-0000-0032-ffff-ffff0000004d/click {}
[25eec11b][AndroidUiautomator2Driver@58fa] Calling AppiumDriver.click() with args: ["00000000-0000-0032-ffff-ffff0000004d","25eec11b-8515-4700-836e-df1095e39993"]
[25eec11b][AndroidUiautomator2Driver@58fa] Matched '/element/00000000-0000-0032-ffff-ffff0000004d/click' to command name 'click'
[25eec11b][AndroidUiautomator2Driver@58fa] Proxying [POST /element/00000000-0000-0032-ffff-ffff0000004d/click] to [POST http://127.0.0.1:8202/session/a450afa2-9585-4e1c-b987-e2a17990389c/element/00000000-0000-0032-ffff-ffff0000004d/click] with body: {"element":"00000000-0000-0032-ffff-ffff0000004d"}
[25eec11b][AndroidUiautomator2Driver@58fa] Got response with status 200: {"sessionId":"a450afa2-9585-4e1c-b987-e2a17990389c","value":null}
[25eec11b][AndroidUiautomator2Driver@58fa] Responding to client with driver.click() result: null
[25eec11b][HTTP] <-- POST /session/25eec11b-8515-4700-836e-df1095e39993/element/00000000-0000-0032-ffff-ffff0000004d/click 200 68 ms - 14
[25eec11b][HTTP] --> DELETE /session/25eec11b-8515-4700-836e-df1095e39993 {}
[25eec11b][AndroidUiautomator2Driver@58fa] Calling AppiumDriver.deleteSession() with args: ["25eec11b-8515-4700-836e-df1095e39993"]
[25eec11b][AppiumDriver@592b] Event 'quitSessionRequested' logged at 1726129998944 (15:33:18 GMT+0700 (Western Indonesia Time))
[25eec11b][AppiumDriver@592b] Removing session 25eec11b-8515-4700-836e-df1095e39993 from our master session list
[25eec11b][AndroidUiautomator2Driver@58fa] Deleting UiAutomator2 session
[25eec11b][AndroidUiautomator2Driver@58fa] Deleting UiAutomator2 server session
[25eec11b][AndroidUiautomator2Driver@58fa] Matched '/' to command name 'deleteSession'
[25eec11b][AndroidUiautomator2Driver@58fa] Proxying [DELETE /] to [DELETE http://127.0.0.1:8202/session/a450afa2-9585-4e1c-b987-e2a17990389c] with no body
[25eec11b][AndroidUiautomator2Driver@58fa] Got response with status 200: {"sessionId":"a450afa2-9585-4e1c-b987-e2a17990389c","value":null}
[25eec11b][AndroidUiautomator2Driver@58fa] [Instrumentation] io.appium.uiautomator2.server.test.AppiumUiAutomator2Server:
[25eec11b][AndroidUiautomator2Driver@58fa] [Instrumentation] The process has exited with code null, signal SIGTERM
[25eec11b][ADB] Running 'C:\Users\User\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s emulator-5554 shell dumpsys activity services io.appium.settings/.recorder.RecorderService'
[25eec11b][ADB] Running 'C:\Users\User\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s emulator-5554 shell am force-stop com.Advantage.aShopping'
[25eec11b][ADB] Removing forwarded port socket connection: 8202
[25eec11b][ADB] Running 'C:\Users\User\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s emulator-5554 forward --remove tcp:8202'
[25eec11b][AndroidUiautomator2Driver@58fa] Restoring hidden api policy to the device default configuration
[25eec11b][ADB] Running 'C:\Users\User\AppData\Local\Android\Sdk\platform-tools\adb.exe -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''
[25eec11b][Logcat] Stopping logcat capture
[25eec11b][AppiumDriver@592b] Event 'quitSessionFinished' logged at 1726129999231 (15:33:19 GMT+0700 (Western Indonesia Time))
[25eec11b][AppiumDriver@592b] Received response: null
[25eec11b][AppiumDriver@592b] But deleting session, so not returning
[25eec11b][AppiumDriver@592b] Responding to client with driver.deleteSession() result: null
[25eec11b][HTTP] <-- DELETE /session/25eec11b-8515-4700-836e-df1095e39993 200 292 ms - 14
[HTTP] Request idempotency key: a7ae19af-b555-4eb9-b039-db6c085911d8
[HTTP] --> POST /session {"capabilities":{"firstMatch":[{}],"alwaysMatch":{"platformName":"Android","appium:platformVersion":"14","appium:deviceName":"Emulator_test_123","appium:noReset":"false","appium:appActivity":"com.Advantage.aShopping.SplashActivity","appium:appPackage":"com.Advantage.aShopping","appium:automationName":"uiautomator2","appium:ensureWebviewsHavePages":true,"appium:nativeWebScreenshot":true,"appium:newCommandTimeout":3600,"appium:connectHardwareKeyboard":true}}}
[AppiumDriver@592b] Calling AppiumDriver.createSession() with args: [null,null,{"firstMatch":[{}],"alwaysMatch":{"platformName":"Android","appium:platformVersion":"14","appium:deviceName":"Emulator_test_123","appium:noReset":"false","appium:appActivity":"com.Advantage.aShopping.SplashActivity","appium:appPackage":"com.Advantage.aShopping","appium:automationName":"uiautomator2","appium:ensureWebviewsHavePages":true,"appium:nativeWebScreenshot":true,"appium:newCommandTimeout":3600,"appium:connectHardwareKeyboard":true}}]
[AppiumDriver@592b] Event 'newSessionRequested' logged at 1726130008166 (15:33:28 GMT+0700 (Western Indonesia Time))
[Appium] Attempting to find matching driver for automationName 'uiautomator2' and platformName 'Android'
[Appium] The 'uiautomator2' driver was installed and matched caps.
[Appium] Will require it at C:\Users\User\.appium\node_modules\appium-uiautomator2-driver
[Appium] Requiring driver at C:\Users\User\.appium\node_modules\appium-uiautomator2-driver\build\index.js
[AppiumDriver@592b] Appium v2.11.3 creating new AndroidUiautomator2Driver (v3.7.9) session
[AppiumDriver@592b] Checking BaseDriver versions for Appium and AndroidUiautomator2Driver
[AppiumDriver@592b] Appium's BaseDriver version is 9.11.3
[AppiumDriver@592b] AndroidUiautomator2Driver's BaseDriver version is 9.11.3
[AndroidUiautomator2Driver@60bb]
[AndroidUiautomator2Driver@60bb] Creating session with W3C capabilities: {
"alwaysMatch": {
"platformName": "Android",
"appium:platformVersion": "14",
"appium:deviceName": "Emulator_test_123",
"appium:noReset": "false",
"appium:appActivity": "com.Advantage.aShopping.SplashActivity",
"appium:appPackage": "com.Advantage.aShopping",
"appium:automationName": "uiautomator2",
"appium:ensureWebviewsHavePages": true,
"appium:nativeWebScreenshot": true,
"appium:newCommandTimeout": 3600,
"appium:connectHardwareKeyboard": true
},
"firstMatch": [
{}
]
}
[AndroidUiautomator2Driver@60bb] Capability 'noReset' changed from string to boolean. This may cause unexpected behavior
[AndroidUiautomator2Driver@60bb] The following provided capabilities were not recognized by this driver:
[AndroidUiautomator2Driver@60bb] connectHardwareKeyboard
[d95b7afc][AndroidUiautomator2Driver@60bb] Session created with session id: d95b7afc-dede-449c-bb99-331a9bc7b447
[d95b7afc][ADB] Using 'adb.exe' from 'C:\Users\User\AppData\Local\Android\Sdk\platform-tools\adb.exe'
[d95b7afc][ADB] Running 'C:\Users\User\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 start-server'
[d95b7afc][AndroidUiautomator2Driver@60bb] Retrieving device list
[d95b7afc][ADB] Trying to find connected Android devices
[d95b7afc][ADB] Getting connected devices
[d95b7afc][ADB] Connected devices: [{"udid":"emulator-5554","state":"device"}]
[d95b7afc][AndroidUiautomator2Driver@60bb] Looking for a device with Android '14.0.0'
[d95b7afc][ADB] Setting device id to emulator-5554
[d95b7afc][ADB] Getting device platform version
[d95b7afc][ADB] Running 'C:\Users\User\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s emulator-5554 shell getprop ro.build.version.release'
[d95b7afc][ADB] Current device property 'ro.build.version.release': 14
[d95b7afc][AndroidUiautomator2Driver@60bb] Using device: emulator-5554
[d95b7afc][ADB] Using 'adb.exe' from 'C:\Users\User\AppData\Local\Android\Sdk\platform-tools\adb.exe'
[d95b7afc][ADB] Running 'C:\Users\User\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 start-server'
[d95b7afc][ADB] Setting device id to emulator-5554
[d95b7afc][AndroidUiautomator2Driver@60bb] Starting 'com.Advantage.aShopping' directly on the device
[d95b7afc][ADB] Running 'C:\Users\User\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s emulator-5554 shell getprop ro.build.version.sdk'
[d95b7afc][ADB] Current device property 'ro.build.version.sdk': 34
[d95b7afc][ADB] Getting device platform version
[d95b7afc][ADB] Running 'C:\Users\User\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s emulator-5554 shell getprop ro.build.version.release'
[d95b7afc][ADB] Current device property 'ro.build.version.release': 14
[d95b7afc][ADB] Device API level: 34
[d95b7afc][AndroidUiautomator2Driver@60bb] Relaxing hidden api policy
[d95b7afc][ADB] Running 'C:\Users\User\AppData\Local\Android\Sdk\platform-tools\adb.exe -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''
[d95b7afc][AndroidUiautomator2Driver@60bb] No app sent in, not parsing package/activity
[d95b7afc][ADB] Running 'C:\Users\User\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s emulator-5554 wait-for-device'
[d95b7afc][ADB] Running 'C:\Users\User\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s emulator-5554 shell echo ping'
[d95b7afc][AndroidUiautomator2Driver@60bb] Pushing settings apk to the device...
[d95b7afc][ADB] Getting package info for 'io.appium.settings'
[d95b7afc][ADB] Running 'C:\Users\User\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s emulator-5554 shell dumpsys package io.appium.settings'
[d95b7afc][ADB] Using 'aapt2.exe' from 'C:\Users\User\AppData\Local\Android\Sdk\build-tools\33.0.0\aapt2.exe'
[d95b7afc][ADB] Reading package manifest: 'C:\\Users\\User\\AppData\\Local\\Android\\Sdk\\build-tools\\33.0.0\\aapt2.exe dump badging C:\\Users\\User\\.appium\\node_modules\\appium-uiautomator2-driver\\node_modules\\io.appium.settings\\apks\\settings_apk-debug.apk'
[d95b7afc][ADB] The version name of the installed 'io.appium.settings' is greater or equal to the application version name ('5.12.13' >= '5.12.13')
[d95b7afc][ADB] There is no need to install/upgrade 'C:\Users\User\.appium\node_modules\appium-uiautomator2-driver\node_modules\io.appium.settings\apks\settings_apk-debug.apk'
[d95b7afc][ADB] Running 'C:\Users\User\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s emulator-5554 shell dumpsys activity services io.appium.settings'
[d95b7afc][AndroidUiautomator2Driver@60bb] io.appium.settings is already running. There is no need to reset its permissions.
[d95b7afc][Logcat] Starting logs capture with command: C:\\Users\\User\\AppData\\Local\\Android\\Sdk\\platform-tools\\adb.exe -P 5037 -s emulator-5554 logcat -v threadtime
[d95b7afc][AndroidUiautomator2Driver@60bb] Forwarding UiAutomator2 Server port 6790 to local port 8200
[d95b7afc][ADB] Forwarding system: 8200 to device: 6790
[d95b7afc][ADB] Running 'C:\Users\User\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s emulator-5554 forward tcp:8200 tcp:6790'
[d95b7afc][ADB] Getting package info for 'io.appium.uiautomator2.server'
[d95b7afc][ADB] Running 'C:\Users\User\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s emulator-5554 shell dumpsys package io.appium.uiautomator2.server'
[d95b7afc][ADB] Getting install status for io.appium.uiautomator2.server.test
[d95b7afc][AndroidUiautomator2Driver@60bb] No app capability. Assuming it is already on the device
[d95b7afc][ADB] Getting install status for com.Advantage.aShopping
[d95b7afc][ADB] Running 'C:\Users\User\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s emulator-5554 shell cmd package list packages'
[d95b7afc][ADB] Running 'C:\Users\User\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s emulator-5554 shell cmd package list packages'
[d95b7afc][ADB] Reading package manifest: 'C:\\Users\\User\\AppData\\Local\\Android\\Sdk\\build-tools\\33.0.0\\aapt2.exe dump badging C:\\Users\\User\\.appium\\node_modules\\appium-uiautomator2-driver\\node_modules\\appium-uiautomator2-server\\apks\\appium-uiautomator2-server-v7.0.24.apk'
[d95b7afc][ADB] 'com.Advantage.aShopping' is installed
[d95b7afc][ADB] Running 'C:\Users\User\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s emulator-5554 shell am force-stop com.Advantage.aShopping'
[d95b7afc][ADB] 'io.appium.uiautomator2.server.test' is installed
[d95b7afc][ADB] Running 'C:\Users\User\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s emulator-5554 shell pm clear com.Advantage.aShopping'
[d95b7afc][ADB] The version name of the installed 'io.appium.uiautomator2.server' is greater or equal to the application version name ('7.0.24' >= '7.0.24')
[d95b7afc][AndroidUiautomator2Driver@60bb] Server packages status: [{"installState":"sameVersionInstalled","appPath":"C:\\Users\\User\\.appium\\node_modules\\appium-uiautomator2-driver\\node_modules\\appium-uiautomator2-server\\apks\\appium-uiautomator2-server-v7.0.24.apk","appId":"io.appium.uiautomator2.server"},{"installState":"sameVersionInstalled","appPath":"C:\\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"}]
[d95b7afc][AndroidUiautomator2Driver@60bb] Server packages are not going to be (re)installed
[d95b7afc][AndroidUiautomator2Driver@60bb] Waiting up to 30000ms for services to be available
[d95b7afc][ADB] Running 'C:\Users\User\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s emulator-5554 shell pm list instrumentation'
[d95b7afc][AndroidUiautomator2Driver@60bb] Performed fast reset on the installed 'com.Advantage.aShopping' application (stop and clear)
[d95b7afc][AndroidUiautomator2Driver@60bb] Instrumentation target 'io.appium.uiautomator2.server.test/androidx.test.runner.AndroidJUnitRunner' is available
[d95b7afc][ADB] Adding packages ["io.appium.settings","io.appium.uiautomator2.server","io.appium.uiautomator2.server.test"] to Doze whitelist
[d95b7afc][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",";"]]
[d95b7afc][ADB] Running 'C:\Users\User\AppData\Local\Android\Sdk\platform-tools\adb.exe -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 ;'
[d95b7afc][AndroidUiautomator2Driver@60bb] Performing shallow cleanup of automation leftovers
[d95b7afc][AndroidUiautomator2Driver@60bb] No obsolete sessions have been detected (socket hang up)
[d95b7afc][ADB] Running 'C:\Users\User\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s emulator-5554 shell am force-stop io.appium.uiautomator2.server'
[d95b7afc][ADB] Running 'C:\Users\User\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s emulator-5554 shell am force-stop io.appium.uiautomator2.server.test'
[d95b7afc][AndroidUiautomator2Driver@60bb] Starting UIAutomator2 server 7.0.24
[d95b7afc][AndroidUiautomator2Driver@60bb] Using UIAutomator2 server from 'C:\Users\User\.appium\node_modules\appium-uiautomator2-driver\node_modules\appium-uiautomator2-server\apks\appium-uiautomator2-server-v7.0.24.apk' and test from 'C:\Users\User\.appium\node_modules\appium-uiautomator2-driver\node_modules\appium-uiautomator2-server\apks\appium-uiautomator2-server-debug-androidTest.apk'
[d95b7afc][AndroidUiautomator2Driver@60bb] Waiting up to 30000ms for UiAutomator2 to be online...
[d95b7afc][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"]
[d95b7afc][AndroidUiautomator2Driver@60bb] Matched '/status' to command name 'getStatus'
[d95b7afc][AndroidUiautomator2Driver@60bb] Proxying [GET /status] to [GET http://127.0.0.1:8200/status] with no body
[d95b7afc][AndroidUiautomator2Driver@60bb] socket hang up
[d95b7afc][AndroidUiautomator2Driver@60bb] Matched '/status' to command name 'getStatus'
[d95b7afc][AndroidUiautomator2Driver@60bb] Proxying [GET /status] to [GET http://127.0.0.1:8200/status] with no body
[d95b7afc][AndroidUiautomator2Driver@60bb] socket hang up
[d95b7afc][AndroidUiautomator2Driver@60bb] [Instrumentation]
[d95b7afc][AndroidUiautomator2Driver@60bb] Matched '/status' to command name 'getStatus'
[d95b7afc][AndroidUiautomator2Driver@60bb] Proxying [GET /status] to [GET http://127.0.0.1:8200/status] with no body
[d95b7afc][AndroidUiautomator2Driver@60bb] socket hang up
[d95b7afc][AndroidUiautomator2Driver@60bb] Matched '/status' to command name 'getStatus'
[d95b7afc][AndroidUiautomator2Driver@60bb] Proxying [GET /status] to [GET http://127.0.0.1:8200/status] with no body
[d95b7afc][AndroidUiautomator2Driver@60bb] Got response with status 200: {"sessionId":"None","value":{"message":"UiAutomator2 Server is ready to accept commands","ready":true}}
[d95b7afc][AndroidUiautomator2Driver@60bb] The initialization of the instrumentation process took 3132ms
[d95b7afc][AndroidUiautomator2Driver@60bb] Matched '/session' to command name 'createSession'
[d95b7afc][AndroidUiautomator2Driver@60bb] Proxying [POST /session] to [POST http://127.0.0.1:8200/session] with body: {"capabilities":{"firstMatch":[{"platformName":"Android","platformVersion":"14","deviceName":"emulator-5554","noReset":false,"appActivity":"com.Advantage.aShopping.SplashActivity","appPackage":"com.Advantage.aShopping","automationName":"uiautomator2","ensureWebviewsHavePages":true,"nativeWebScreenshot":true,"newCommandTimeout":3600,"connectHardwareKeyboard":true,"platform":"LINUX","webStorageEnabled":false,"takesScreenshot":true,"javascriptEnabled":true,"databaseEnabled":false,"networkConnectionEnabled":true,"locationContextEnabled":false,"warnings":{},"desired":{"platformName":"Android","platformVersion":"14","deviceName":"Emulator_test_123","noReset":false,"appActivity":"com.Advantage.aShopping.SplashActivity","appPackage":"com.Advantage.aShopping","automationName":"uiautomator2","ensureWebviewsHavePages":true,"nativeWebScreenshot":true,"newCommandTimeout":3600,"connectHardwareKeyboard":true},"deviceUDID":"emulator-5554"}],"alwaysMatch":{}}}
[d95b7afc][AndroidUiautomator2Driver@60bb] Got response with status 200: {"sessionId":"3262879a-8636-40a3-b7a5-8983ae4c410b","value":{"capabilities":{"firstMatch":[{"platformName":"Android","platformVersion":"14","deviceName":"emulator-5554","noReset":false,"appActivity":"com.Advantage.aShopping.SplashActivity","appPackage":"com.Advantage.aShopping","automationName":"uiautomator2","ensureWebviewsHavePages":true,"nativeWebScreenshot":true,"newCommandTimeout":3600,"connectHardwareKeyboard":true,"platform":"LINUX","webStorageEnabled":false,"takesScreenshot":true,"javascriptEnabled":true,"databaseEnabled":false,"networkConnectionEnabled":true,"locationContextEnabled":false,"warnings":{},"desired":{"platformName":"Android","platformVersion":"14","deviceName":"Emulator_test_123","noReset":false,"appActivity":"com.Advantage.aShopping.SplashActivity","appPackage":"com.Advantage.aShopping","automationName":"uiautomator2","ensureWebviewsHavePages":true,"nativeWebScreenshot":true,"newCommandTimeout":3600,"connectHardwareKeyboard":true},"deviceUDID":"emulator-5554"}],"alwaysMatch":{}},"ses...
[d95b7afc][AndroidUiautomator2Driver@60bb] Determined the downstream protocol as 'W3C'
[d95b7afc][AndroidUiautomator2Driver@60bb] Proxying [GET /appium/device/pixel_ratio] to [GET http://127.0.0.1:8200/session/3262879a-8636-40a3-b7a5-8983ae4c410b/appium/device/pixel_ratio] with no body
[d95b7afc][AndroidUiautomator2Driver@60bb] Matched '/appium/device/system_bars' to command name 'getSystemBars'
[d95b7afc][AndroidUiautomator2Driver@60bb] Proxying [GET /appium/device/system_bars] to [GET http://127.0.0.1:8200/session/3262879a-8636-40a3-b7a5-8983ae4c410b/appium/device/system_bars] with no body
[d95b7afc][AndroidUiautomator2Driver@60bb] Matched '/window/current/size' to command name 'getWindowSize'
[d95b7afc][AndroidUiautomator2Driver@60bb] Proxying [GET /window/current/size] to [GET http://127.0.0.1:8200/session/3262879a-8636-40a3-b7a5-8983ae4c410b/window/current/size] with no body
[d95b7afc][AndroidUiautomator2Driver@60bb] Proxying [GET /appium/device/info] to [GET http://127.0.0.1:8200/session/3262879a-8636-40a3-b7a5-8983ae4c410b/appium/device/info] with no body
[d95b7afc][ADB] Running 'C:\Users\User\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s emulator-5554 shell dumpsys window'
[d95b7afc][ADB] Running 'C:\Users\User\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s emulator-5554 shell dumpsys power'
[d95b7afc][AndroidUiautomator2Driver@60bb] Got response with status 200: {"sessionId":"3262879a-8636-40a3-b7a5-8983ae4c410b","value":2.75}
[d95b7afc][AndroidUiautomator2Driver@60bb] Got response with status 200: {"sessionId":"3262879a-8636-40a3-b7a5-8983ae4c410b","value":{"statusBar":83}}
[d95b7afc][AndroidUiautomator2Driver@60bb] Got response with status 200: {"sessionId":"3262879a-8636-40a3-b7a5-8983ae4c410b","value":{"height":2280,"width":1080}}
[d95b7afc][AndroidUiautomator2Driver@60bb] Got response with status 200: {"sessionId":"3262879a-8636-40a3-b7a5-8983ae4c410b","value":{"androidId":"0c4366abb8f3e683","apiVersion":"34","bluetooth":{"state":"ON"},"brand":"google","carrierName":"","displayDensity":440,"locale":"en_US","manufacturer":"Google","model":"sdk_gphone64_x86_64","networks":[{"capabilities":{"SSID":null,"linkDownBandwidthKbps":30000,"linkUpstreamBandwidthKbps":12000,"networkCapabilities":"NET_CAPABILITY_NOT_METERED,NET_CAPABILITY_INTERNET,NET_CAPABILITY_NOT_RESTRICTED,NET_CAPABILITY_TRUSTED,NET_CAPABILITY_NOT_VPN,NET_CAPABILITY_VALIDATED,NET_CAPABILITY_NOT_ROAMING,NET_CAPABILITY_FOREGROUND,NET_CAPABILITY_NOT_CONGESTED,NET_CAPABILITY_NOT_SUSPENDED","signalStrength":-50,"transportTypes":"TRANSPORT_WIFI"},"detailedState":"CONNECTED","extraInfo":"","isAvailable":true,"isConnected":true,"isFailover":false,"isRoaming":false,"state":"CONNECTED","subtype":-1,"subtypeName":"","type":1,"typeName":"WIFI"}],"platformVersion":"14","realDisplaySize":"1080x2280","timeZone":"Asia/Bangkok"}}
[d95b7afc][AndroidUiautomator2Driver@60bb] Screen already unlocked, doing nothing
[d95b7afc][AndroidUiautomator2Driver@60bb] Starting 'com.Advantage.aShopping/com.Advantage.aShopping.SplashActivity and waiting for 'com.Advantage.aShopping/com.Advantage.aShopping.SplashActivity'
[d95b7afc][ADB] Running 'C:\Users\User\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s emulator-5554 shell am start -W -n com.Advantage.aShopping/com.Advantage.aShopping.SplashActivity -S -a android.intent.action.MAIN -c android.intent.category.LAUNCHER -f 0x10200000'
[d95b7afc][AppiumDriver@592b] New AndroidUiautomator2Driver session created successfully, session d95b7afc-dede-449c-bb99-331a9bc7b447 added to master session list
[d95b7afc][AppiumDriver@592b] Event 'newSessionStarted' logged at 1726130013522 (15:33:33 GMT+0700 (Western Indonesia Time))
[d95b7afc][AndroidUiautomator2Driver@60bb] Cached the protocol value 'W3C' for the new session d95b7afc-dede-449c-bb99-331a9bc7b447
[d95b7afc][AndroidUiautomator2Driver@60bb] Responding to client with driver.createSession() result: {"capabilities":{"platformName":"Android","platformVersion":"14","deviceName":"emulator-5554","noReset":false,"appActivity":"com.Advantage.aShopping.SplashActivity","appPackage":"com.Advantage.aShopping","automationName":"uiautomator2","ensureWebviewsHavePages":true,"nativeWebScreenshot":true,"newCommandTimeout":3600,"connectHardwareKeyboard":true,"platform":"LINUX","webStorageEnabled":false,"takesScreenshot":true,"javascriptEnabled":true,"databaseEnabled":false,"networkConnectionEnabled":true,"locationContextEnabled":false,"warnings":{},"desired":{"platformName":"Android","platformVersion":"14","deviceName":"Emulator_test_123","noReset":false,"appActivity":"com.Advantage.aShopping.SplashActivity","appPackage":"com.Advantage.aShopping","automationName":"uiautomator2","ensureWebviewsHavePages":true,"nativeWebScreenshot":true,"newCommandTimeout":3600,"connectHardwareKeyboard":true},"deviceUDID":"emulator-5554","pixelRatio":"2.75","statBarHeight":83,"viewportRect":{"left":0,"top":83,"width":1080,"height":2197...
[d95b7afc][HTTP] <-- POST /session 200 5364 ms - 1228
[d95b7afc][HTTP] --> POST /session/d95b7afc-dede-449c-bb99-331a9bc7b447/element {"using":"id","value":"com.Advantage.aShopping:id/imageViewMenu"}
[d95b7afc][AndroidUiautomator2Driver@60bb] Calling AppiumDriver.findElement() with args: ["id","com.Advantage.aShopping:id/imageViewMenu","d95b7afc-dede-449c-bb99-331a9bc7b447"]
[d95b7afc][AndroidUiautomator2Driver@60bb] Valid locator strategies for this request: xpath, id, class name, accessibility id, css selector, -android uiautomator
[d95b7afc][AndroidUiautomator2Driver@60bb] Waiting up to 0 ms for condition
[d95b7afc][AndroidUiautomator2Driver@60bb] Matched '/element' to command name 'findElement'
[d95b7afc][AndroidUiautomator2Driver@60bb] Proxying [POST /element] to [POST http://127.0.0.1:8200/session/3262879a-8636-40a3-b7a5-8983ae4c410b/element] with body: {"strategy":"id","selector":"com.Advantage.aShopping:id/imageViewMenu","context":"","multiple":false}
[d95b7afc][AndroidUiautomator2Driver@60bb] Got response with status 200: {"sessionId":"3262879a-8636-40a3-b7a5-8983ae4c410b","value":{"ELEMENT":"00000000-0000-0040-ffff-ffff00000018","element-6066-11e4-a52e-4f735466cecf":"00000000-0000-0040-ffff-ffff00000018"}}
[d95b7afc][AndroidUiautomator2Driver@60bb] Responding to client with driver.findElement() result: {"element-6066-11e4-a52e-4f735466cecf":"00000000-0000-0040-ffff-ffff00000018","ELEMENT":"00000000-0000-0040-ffff-ffff00000018"}
[d95b7afc][HTTP] <-- POST /session/d95b7afc-dede-449c-bb99-331a9bc7b447/element 200 75 ms - 137
[d95b7afc][HTTP] --> POST /session/d95b7afc-dede-449c-bb99-331a9bc7b447/element/00000000-0000-0040-ffff-ffff00000018/click {}
[d95b7afc][AndroidUiautomator2Driver@60bb] Calling AppiumDriver.click() with args: ["00000000-0000-0040-ffff-ffff00000018","d95b7afc-dede-449c-bb99-331a9bc7b447"]
[d95b7afc][AndroidUiautomator2Driver@60bb] Matched '/element/00000000-0000-0040-ffff-ffff00000018/click' to command name 'click'
[d95b7afc][AndroidUiautomator2Driver@60bb] Proxying [POST /element/00000000-0000-0040-ffff-ffff00000018/click] to [POST http://127.0.0.1:8200/session/3262879a-8636-40a3-b7a5-8983ae4c410b/element/00000000-0000-0040-ffff-ffff00000018/click] with body: {"element":"00000000-0000-0040-ffff-ffff00000018"}
[d95b7afc][AndroidUiautomator2Driver@60bb] Got response with status 200: {"sessionId":"3262879a-8636-40a3-b7a5-8983ae4c410b","value":null}
[d95b7afc][AndroidUiautomator2Driver@60bb] Responding to client with driver.click() result: null
[d95b7afc][HTTP] <-- POST /session/d95b7afc-dede-449c-bb99-331a9bc7b447/element/00000000-0000-0040-ffff-ffff00000018/click 200 1011 ms - 14
[d95b7afc][HTTP] --> POST /session/d95b7afc-dede-449c-bb99-331a9bc7b447/element {"using":"id","value":"com.Advantage.aShopping:id/textViewMenuLaptops"}
[d95b7afc][AndroidUiautomator2Driver@60bb] Calling AppiumDriver.findElement() with args: ["id","com.Advantage.aShopping:id/textViewMenuLaptops","d95b7afc-dede-449c-bb99-331a9bc7b447"]
[d95b7afc][AndroidUiautomator2Driver@60bb] Valid locator strategies for this request: xpath, id, class name, accessibility id, css selector, -android uiautomator
[d95b7afc][AndroidUiautomator2Driver@60bb] Waiting up to 0 ms for condition
[d95b7afc][AndroidUiautomator2Driver@60bb] Matched '/element' to command name 'findElement'
[d95b7afc][AndroidUiautomator2Driver@60bb] Proxying [POST /element] to [POST http://127.0.0.1:8200/session/3262879a-8636-40a3-b7a5-8983ae4c410b/element] with body: {"strategy":"id","selector":"com.Advantage.aShopping:id/textViewMenuLaptops","context":"","multiple":false}[d95b7afc][AndroidUiautomator2Driver@60bb] Got response with status 200: {"sessionId":"3262879a-8636-40a3-b7a5-8983ae4c410b","value":{"ELEMENT":"00000000-0000-0040-ffff-ffff0000004d","element-6066-11e4-a52e-4f735466cecf":"00000000-0000-0040-ffff-ffff0000004d"}}
[d95b7afc][AndroidUiautomator2Driver@60bb] Responding to client with driver.findElement() result: {"element-6066-11e4-a52e-4f735466cecf":"00000000-0000-0040-ffff-ffff0000004d","ELEMENT":"00000000-0000-0040-ffff-ffff0000004d"}
[d95b7afc][HTTP] <-- POST /session/d95b7afc-dede-449c-bb99-331a9bc7b447/element 200 50 ms - 137
[d95b7afc][HTTP] --> POST /session/d95b7afc-dede-449c-bb99-331a9bc7b447/element/00000000-0000-0040-ffff-ffff0000004d/click {}
[d95b7afc][AndroidUiautomator2Driver@60bb] Calling AppiumDriver.click() with args: ["00000000-0000-0040-ffff-ffff0000004d","d95b7afc-dede-449c-bb99-331a9bc7b447"]
[d95b7afc][AndroidUiautomator2Driver@60bb] Matched '/element/00000000-0000-0040-ffff-ffff0000004d/click' to command name 'click'
[d95b7afc][AndroidUiautomator2Driver@60bb] Proxying [POST /element/00000000-0000-0040-ffff-ffff0000004d/click] to [POST http://127.0.0.1:8200/session/3262879a-8636-40a3-b7a5-8983ae4c410b/element/00000000-0000-0040-ffff-ffff0000004d/click] with body: {"element":"00000000-0000-0040-ffff-ffff0000004d"}
[d95b7afc][AndroidUiautomator2Driver@60bb] Got response with status 200: {"sessionId":"3262879a-8636-40a3-b7a5-8983ae4c410b","value":null}
[d95b7afc][AndroidUiautomator2Driver@60bb] Responding to client with driver.click() result: null
[d95b7afc][HTTP] <-- POST /session/d95b7afc-dede-449c-bb99-331a9bc7b447/element/00000000-0000-0040-ffff-ffff0000004d/click 200 71 ms - 14
[d95b7afc][HTTP] --> DELETE /session/d95b7afc-dede-449c-bb99-331a9bc7b447 {}
[d95b7afc][AndroidUiautomator2Driver@60bb] Calling AppiumDriver.deleteSession() with args: ["d95b7afc-dede-449c-bb99-331a9bc7b447"]
[d95b7afc][AppiumDriver@592b] Event 'quitSessionRequested' logged at 1726130024747 (15:33:44 GMT+0700 (Western Indonesia Time))
[d95b7afc][AppiumDriver@592b] Removing session d95b7afc-dede-449c-bb99-331a9bc7b447 from our master session list
[d95b7afc][AndroidUiautomator2Driver@60bb] Deleting UiAutomator2 session
[d95b7afc][AndroidUiautomator2Driver@60bb] Deleting UiAutomator2 server session
[d95b7afc][AndroidUiautomator2Driver@60bb] Matched '/' to command name 'deleteSession'
[d95b7afc][AndroidUiautomator2Driver@60bb] Proxying [DELETE /] to [DELETE http://127.0.0.1:8200/session/3262879a-8636-40a3-b7a5-8983ae4c410b] with no body
[d95b7afc][AndroidUiautomator2Driver@60bb] Got response with status 200: {"sessionId":"3262879a-8636-40a3-b7a5-8983ae4c410b","value":null}
[d95b7afc][AndroidUiautomator2Driver@60bb] [Instrumentation] io.appium.uiautomator2.server.test.AppiumUiAutomator2Server:
[d95b7afc][AndroidUiautomator2Driver@60bb] [Instrumentation] The process has exited with code null, signal SIGTERM
[d95b7afc][ADB] Running 'C:\Users\User\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s emulator-5554 shell dumpsys activity services io.appium.settings/.recorder.RecorderService'
[d95b7afc][ADB] Running 'C:\Users\User\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s emulator-5554 shell am force-stop com.Advantage.aShopping'
[d95b7afc][ADB] Removing forwarded port socket connection: 8200
[d95b7afc][ADB] Running 'C:\Users\User\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s emulator-5554 forward --remove tcp:8200'
[d95b7afc][AndroidUiautomator2Driver@60bb] Restoring hidden api policy to the device default configuration
[d95b7afc][ADB] Running 'C:\Users\User\AppData\Local\Android\Sdk\platform-tools\adb.exe -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''
[d95b7afc][Logcat] Stopping logcat capture
[d95b7afc][AppiumDriver@592b] Event 'quitSessionFinished' logged at 1726130025123 (15:33:45 GMT+0700 (Western Indonesia Time))
[d95b7afc][AppiumDriver@592b] Received response: null
[d95b7afc][AppiumDriver@592b] But deleting session, so not returning
[d95b7afc][AppiumDriver@592b] Responding to client with driver.deleteSession() result: null
[d95b7afc][HTTP] <-- DELETE /session/d95b7afc-dede-449c-bb99-331a9bc7b447 200 379 ms - 14
[ebc61227][AndroidUiautomator2Driver@1bf5] Shutting down because we waited 3600 seconds for a command
[ebc61227][AppiumDriver@592b] Ending session, cause was 'New Command Timeout of 3600 seconds expired. Try customizing the timeout using the 'newCommandTimeout' desired capability'
[ebc61227][AppiumDriver@592b] Removing session 'ebc61227-15b8-4ed0-b140-368649fa4224' from our master session list
[ebc61227][AndroidUiautomator2Driver@1bf5] Deleting UiAutomator2 session
[ebc61227][AndroidUiautomator2Driver@1bf5] Deleting UiAutomator2 server session
[ebc61227][AndroidUiautomator2Driver@1bf5] Did not get confirmation UiAutomator2 deleteSession worked; Error was: UnknownError: An unknown server-side error occurred while processing the command. Original error: 'DELETE /' cannot be proxied to UiAutomator2 server because the instrumentation process is not running (probably crashed). Check the server log and/or the logcat output for more details
[ebc61227][ADB] Running 'C:\Users\User\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s emulator-5554 shell dumpsys activity services io.appium.settings/.recorder.RecorderService'
[ebc61227][ADB] Removing forwarded port socket connection: 8208
[ebc61227][ADB] Running 'C:\Users\User\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s emulator-5554 forward --remove tcp:8208'
[ebc61227][AndroidUiautomator2Driver@1bf5] Unable to remove system port forward: Error executing adbExec. Original error: 'Command 'C:\\Users\\User\\AppData\\Local\\Android\\Sdk\\platform-tools\\adb.exe -P 5037 -s emulator-5554 forward --remove tcp\:8208' exited with code 1'; Command output: adb.exe: error: listener 'tcp:8208' not found
[ebc61227][AndroidUiautomator2Driver@1bf5] Restoring hidden api policy to the device default configuration
[ebc61227][ADB] Running 'C:\Users\User\AppData\Local\Android\Sdk\platform-tools\adb.exe -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''
[ebc61227][Logcat] Stopping logcat capture
[ebc61227][Logcat] Logcat already stopped
[98887adf][AndroidUiautomator2Driver@2774] Shutting down because we waited 3600 seconds for a command
[98887adf][AppiumDriver@592b] Ending session, cause was 'New Command Timeout of 3600 seconds expired. Try customizing the timeout using the 'newCommandTimeout' desired capability'
[98887adf][AppiumDriver@592b] Removing session '98887adf-ea74-4b2a-ad43-83ea78c4fa2d' from our master session list
[98887adf][AndroidUiautomator2Driver@2774] Deleting UiAutomator2 session
[98887adf][AndroidUiautomator2Driver@2774] Deleting UiAutomator2 server session
[98887adf][AndroidUiautomator2Driver@2774] Did not get confirmation UiAutomator2 deleteSession worked; Error was: UnknownError: An unknown server-side error occurred while processing the command. Original error: 'DELETE /' cannot be proxied to UiAutomator2 server because the instrumentation process is not running (probably crashed). Check the server log and/or the logcat output for more details
[98887adf][ADB] Running 'C:\Users\User\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s emulator-5554 shell dumpsys activity services io.appium.settings/.recorder.RecorderService'
[98887adf][ADB] Removing forwarded port socket connection: 8212
[98887adf][ADB] Running 'C:\Users\User\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s emulator-5554 forward --remove tcp:8212'
[98887adf][AndroidUiautomator2Driver@2774] Unable to remove system port forward: Error executing adbExec. Original error: 'Command 'C:\\Users\\User\\AppData\\Local\\Android\\Sdk\\platform-tools\\adb.exe -P 5037 -s emulator-5554 forward --remove tcp\:8212' exited with code 1'; Command output: adb.exe: error: listener 'tcp:8212' not found
[98887adf][AndroidUiautomator2Driver@2774] Restoring hidden api policy to the device default configuration
[98887adf][ADB] Running 'C:\Users\User\AppData\Local\Android\Sdk\platform-tools\adb.exe -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''
[98887adf][Logcat] Stopping logcat capture
[98887adf][Logcat] Logcat already stopped
[ca6c5ee1][AndroidUiautomator2Driver@3c6e] Shutting down because we waited 3600 seconds for a command
[ca6c5ee1][AppiumDriver@592b] Ending session, cause was 'New Command Timeout of 3600 seconds expired. Try customizing the timeout using the 'newCommandTimeout' desired capability'
[ca6c5ee1][AppiumDriver@592b] Removing session 'ca6c5ee1-d700-4d0e-aea0-bce519f9bec3' from our master session list
[ca6c5ee1][AndroidUiautomator2Driver@3c6e] Deleting UiAutomator2 session
[ca6c5ee1][AndroidUiautomator2Driver@3c6e] Deleting UiAutomator2 server session
[ca6c5ee1][AndroidUiautomator2Driver@3c6e] Did not get confirmation UiAutomator2 deleteSession worked; Error was: UnknownError: An unknown server-side error occurred while processing the command. Original error: 'DELETE /' cannot be proxied to UiAutomator2 server because the instrumentation process is not running (probably crashed). Check the server log and/or the logcat output for more details
[ca6c5ee1][ADB] Running 'C:\Users\User\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s emulator-5554 shell dumpsys activity services io.appium.settings/.recorder.RecorderService'
[ca6c5ee1][ADB] Removing forwarded port socket connection: 8213
[ca6c5ee1][ADB] Running 'C:\Users\User\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s emulator-5554 forward --remove tcp:8213'
[ca6c5ee1][AndroidUiautomator2Driver@3c6e] Unable to remove system port forward: Error executing adbExec. Original error: 'Command 'C:\\Users\\User\\AppData\\Local\\Android\\Sdk\\platform-tools\\adb.exe -P 5037 -s emulator-5554 forward --remove tcp\:8213' exited with code 1'; Command output: adb.exe: error: listener 'tcp:8213' not found
[ca6c5ee1][AndroidUiautomator2Driver@3c6e] Restoring hidden api policy to the device default configuration
[ca6c5ee1][ADB] Running 'C:\Users\User\AppData\Local\Android\Sdk\platform-tools\adb.exe -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''
[ca6c5ee1][Logcat] Stopping logcat capture
[ca6c5ee1][Logcat] Logcat already stopped
[HTTP] Request idempotency key: 3f717f2f-f3f6-4ef5-86ec-3f50c05b16ae
[HTTP] --> POST /session {"capabilities":{"firstMatch":[{}],"alwaysMatch":{"platformName":"Android","appium:platformVersion":"14","appium:deviceName":"Emulator_test_123","appium:noReset":"false","appium:appActivity":"com.Advantage.aShopping.SplashActivity","appium:appPackage":"com.Advantage.aShopping","appium:automationName":"uiautomator2","appium:ensureWebviewsHavePages":true,"appium:nativeWebScreenshot":true,"appium:newCommandTimeout":3600,"appium:connectHardwareKeyboard":true}}}
[AppiumDriver@592b] Calling AppiumDriver.createSession() with args: [null,null,{"firstMatch":[{}],"alwaysMatch":{"platformName":"Android","appium:platformVersion":"14","appium:deviceName":"Emulator_test_123","appium:noReset":"false","appium:appActivity":"com.Advantage.aShopping.SplashActivity","appium:appPackage":"com.Advantage.aShopping","appium:automationName":"uiautomator2","appium:ensureWebviewsHavePages":true,"appium:nativeWebScreenshot":true,"appium:newCommandTimeout":3600,"appium:connectHardwareKeyboard":true}}]
[AppiumDriver@592b] Event 'newSessionRequested' logged at 1726130409963 (15:40:09 GMT+0700 (Western Indonesia Time))
[Appium] Attempting to find matching driver for automationName 'uiautomator2' and platformName 'Android'
[Appium] The 'uiautomator2' driver was installed and matched caps.
[Appium] Will require it at C:\Users\User\.appium\node_modules\appium-uiautomator2-driver
[Appium] Requiring driver at C:\Users\User\.appium\node_modules\appium-uiautomator2-driver\build\index.js
[AppiumDriver@592b] Appium v2.11.3 creating new AndroidUiautomator2Driver (v3.7.9) session
[AppiumDriver@592b] Checking BaseDriver versions for Appium and AndroidUiautomator2Driver
[AppiumDriver@592b] Appium's BaseDriver version is 9.11.3
[AppiumDriver@592b] AndroidUiautomator2Driver's BaseDriver version is 9.11.3
[AndroidUiautomator2Driver@8c85]
[AndroidUiautomator2Driver@8c85] Creating session with W3C capabilities: {
"alwaysMatch": {
"platformName": "Android",
"appium:platformVersion": "14",
"appium:deviceName": "Emulator_test_123",
"appium:noReset": "false",
"appium:appActivity": "com.Advantage.aShopping.SplashActivity",
"appium:appPackage": "com.Advantage.aShopping",
"appium:automationName": "uiautomator2",
"appium:ensureWebviewsHavePages": true,
"appium:nativeWebScreenshot": true,
"appium:newCommandTimeout": 3600,
"appium:connectHardwareKeyboard": true
},
"firstMatch": [
{}
]
}
[AndroidUiautomator2Driver@8c85] Capability 'noReset' changed from string to boolean. This may cause unexpected behavior
[AndroidUiautomator2Driver@8c85] The following provided capabilities were not recognized by this driver:
[AndroidUiautomator2Driver@8c85] connectHardwareKeyboard
[351af563][AndroidUiautomator2Driver@8c85] Session created with session id: 351af563-1e94-4c25-89ac-8ecae40eda09
[351af563][ADB] Using 'adb.exe' from 'C:\Users\User\AppData\Local\Android\Sdk\platform-tools\adb.exe'
[351af563][ADB] Running 'C:\Users\User\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 start-server'
[351af563][AndroidUiautomator2Driver@8c85] Retrieving device list
[351af563][ADB] Trying to find connected Android devices
[351af563][ADB] Getting connected devices
[351af563][ADB] Connected devices: [{"udid":"emulator-5554","state":"device"}]
[351af563][AndroidUiautomator2Driver@8c85] Looking for a device with Android '14.0.0'
[351af563][ADB] Setting device id to emulator-5554
[351af563][ADB] Getting device platform version
[351af563][ADB] Running 'C:\Users\User\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s emulator-5554 shell getprop ro.build.version.release'
[351af563][ADB] Current device property 'ro.build.version.release': 14
[351af563][AndroidUiautomator2Driver@8c85] Using device: emulator-5554
[351af563][ADB] Using 'adb.exe' from 'C:\Users\User\AppData\Local\Android\Sdk\platform-tools\adb.exe'
[351af563][ADB] Running 'C:\Users\User\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 start-server'
[351af563][ADB] Setting device id to emulator-5554
[351af563][AndroidUiautomator2Driver@8c85] Starting 'com.Advantage.aShopping' directly on the device
[351af563][ADB] Running 'C:\Users\User\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s emulator-5554 shell getprop ro.build.version.sdk'
[351af563][ADB] Current device property 'ro.build.version.sdk': 34
[351af563][ADB] Getting device platform version
[351af563][ADB] Running 'C:\Users\User\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s emulator-5554 shell getprop ro.build.version.release'
[351af563][ADB] Current device property 'ro.build.version.release': 14
[351af563][ADB] Device API level: 34
[351af563][AndroidUiautomator2Driver@8c85] Relaxing hidden api policy
[351af563][ADB] Running 'C:\Users\User\AppData\Local\Android\Sdk\platform-tools\adb.exe -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''
[351af563][AndroidUiautomator2Driver@8c85] No app sent in, not parsing package/activity
[351af563][ADB] Running 'C:\Users\User\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s emulator-5554 wait-for-device'
[351af563][ADB] Running 'C:\Users\User\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s emulator-5554 shell echo ping'
[351af563][AndroidUiautomator2Driver@8c85] Pushing settings apk to the device...
[351af563][ADB] Getting package info for 'io.appium.settings'
[351af563][ADB] Running 'C:\Users\User\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s emulator-5554 shell dumpsys package io.appium.settings'
[351af563][ADB] Using 'aapt2.exe' from 'C:\Users\User\AppData\Local\Android\Sdk\build-tools\33.0.0\aapt2.exe'
[351af563][ADB] Reading package manifest: 'C:\\Users\\User\\AppData\\Local\\Android\\Sdk\\build-tools\\33.0.0\\aapt2.exe dump badging C:\\Users\\User\\.appium\\node_modules\\appium-uiautomator2-driver\\node_modules\\io.appium.settings\\apks\\settings_apk-debug.apk'
[351af563][ADB] The version name of the installed 'io.appium.settings' is greater or equal to the application version name ('5.12.13' >= '5.12.13')
[351af563][ADB] There is no need to install/upgrade 'C:\Users\User\.appium\node_modules\appium-uiautomator2-driver\node_modules\io.appium.settings\apks\settings_apk-debug.apk'
[351af563][ADB] Running 'C:\Users\User\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s emulator-5554 shell dumpsys activity services io.appium.settings'
[351af563][AndroidUiautomator2Driver@8c85] io.appium.settings is already running. There is no need to reset its permissions.
[351af563][Logcat] Starting logs capture with command: C:\\Users\\User\\AppData\\Local\\Android\\Sdk\\platform-tools\\adb.exe -P 5037 -s emulator-5554 logcat -v threadtime
[351af563][AndroidUiautomator2Driver@8c85] Forwarding UiAutomator2 Server port 6790 to local port 8200
[351af563][ADB] Forwarding system: 8200 to device: 6790
[351af563][ADB] Running 'C:\Users\User\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s emulator-5554 forward tcp:8200 tcp:6790'
[351af563][ADB] Getting package info for 'io.appium.uiautomator2.server'
[351af563][ADB] Running 'C:\Users\User\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s emulator-5554 shell dumpsys package io.appium.uiautomator2.server'
[351af563][ADB] Getting install status for io.appium.uiautomator2.server.test
[351af563][AndroidUiautomator2Driver@8c85] No app capability. Assuming it is already on the device
[351af563][ADB] Getting install status for com.Advantage.aShopping
[351af563][ADB] Running 'C:\Users\User\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s emulator-5554 shell cmd package list packages'
[351af563][ADB] Running 'C:\Users\User\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s emulator-5554 shell cmd package list packages'
[351af563][ADB] Reading package manifest: 'C:\\Users\\User\\AppData\\Local\\Android\\Sdk\\build-tools\\33.0.0\\aapt2.exe dump badging C:\\Users\\User\\.appium\\node_modules\\appium-uiautomator2-driver\\node_modules\\appium-uiautomator2-server\\apks\\appium-uiautomator2-server-v7.0.24.apk'
[351af563][ADB] 'io.appium.uiautomator2.server.test' is installed
[351af563][ADB] 'com.Advantage.aShopping' is installed
[351af563][ADB] Running 'C:\Users\User\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s emulator-5554 shell am force-stop com.Advantage.aShopping'
[351af563][ADB] Running 'C:\Users\User\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s emulator-5554 shell pm clear com.Advantage.aShopping'
[351af563][ADB] The version name of the installed 'io.appium.uiautomator2.server' is greater or equal to the application version name ('7.0.24' >= '7.0.24')
[351af563][AndroidUiautomator2Driver@8c85] Server packages status: [{"installState":"sameVersionInstalled","appPath":"C:\\Users\\User\\.appium\\node_modules\\appium-uiautomator2-driver\\node_modules\\appium-uiautomator2-server\\apks\\appium-uiautomator2-server-v7.0.24.apk","appId":"io.appium.uiautomator2.server"},{"installState":"sameVersionInstalled","appPath":"C:\\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"}]
[351af563][AndroidUiautomator2Driver@8c85] Server packages are not going to be (re)installed
[351af563][AndroidUiautomator2Driver@8c85] Waiting up to 30000ms for services to be available
[351af563][ADB] Running 'C:\Users\User\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s emulator-5554 shell pm list instrumentation'
[351af563][AndroidUiautomator2Driver@8c85] Performed fast reset on the installed 'com.Advantage.aShopping' application (stop and clear)
[351af563][AndroidUiautomator2Driver@8c85] Instrumentation target 'io.appium.uiautomator2.server.test/androidx.test.runner.AndroidJUnitRunner' is available
[351af563][ADB] Adding packages ["io.appium.settings","io.appium.uiautomator2.server","io.appium.uiautomator2.server.test"] to Doze whitelist
[351af563][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",";"]]
[351af563][ADB] Running 'C:\Users\User\AppData\Local\Android\Sdk\platform-tools\adb.exe -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 ;'
[351af563][AndroidUiautomator2Driver@8c85] Performing shallow cleanup of automation leftovers
[351af563][AndroidUiautomator2Driver@8c85] No obsolete sessions have been detected (socket hang up)
[351af563][ADB] Running 'C:\Users\User\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s emulator-5554 shell am force-stop io.appium.uiautomator2.server'
[351af563][ADB] Running 'C:\Users\User\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s emulator-5554 shell am force-stop io.appium.uiautomator2.server.test'
[351af563][AndroidUiautomator2Driver@8c85] Starting UIAutomator2 server 7.0.24
[351af563][AndroidUiautomator2Driver@8c85] Using UIAutomator2 server from 'C:\Users\User\.appium\node_modules\appium-uiautomator2-driver\node_modules\appium-uiautomator2-server\apks\appium-uiautomator2-server-v7.0.24.apk' and test from 'C:\Users\User\.appium\node_modules\appium-uiautomator2-driver\node_modules\appium-uiautomator2-server\apks\appium-uiautomator2-server-debug-androidTest.apk'
[351af563][AndroidUiautomator2Driver@8c85] Waiting up to 30000ms for UiAutomator2 to be online...
[351af563][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"]
[351af563][AndroidUiautomator2Driver@8c85] Matched '/status' to command name 'getStatus'
[351af563][AndroidUiautomator2Driver@8c85] Proxying [GET /status] to [GET http://127.0.0.1:8200/status] with no body
[351af563][AndroidUiautomator2Driver@8c85] socket hang up
[351af563][AndroidUiautomator2Driver@8c85] Matched '/status' to command name 'getStatus'
[351af563][AndroidUiautomator2Driver@8c85] Proxying [GET /status] to [GET http://127.0.0.1:8200/status] with no body
[351af563][AndroidUiautomator2Driver@8c85] socket hang up
[351af563][AndroidUiautomator2Driver@8c85] [Instrumentation]
[351af563][AndroidUiautomator2Driver@8c85] Matched '/status' to command name 'getStatus'
[351af563][AndroidUiautomator2Driver@8c85] Proxying [GET /status] to [GET http://127.0.0.1:8200/status] with no body
[351af563][AndroidUiautomator2Driver@8c85] socket hang up
[351af563][AndroidUiautomator2Driver@8c85] Matched '/status' to command name 'getStatus'
[351af563][AndroidUiautomator2Driver@8c85] Proxying [GET /status] to [GET http://127.0.0.1:8200/status] with no body
[351af563][AndroidUiautomator2Driver@8c85] Got response with status 200: {"sessionId":"None","value":{"message":"UiAutomator2 Server is ready to accept commands","ready":true}}
[351af563][AndroidUiautomator2Driver@8c85] The initialization of the instrumentation process took 3158ms
[351af563][AndroidUiautomator2Driver@8c85] Matched '/session' to command name 'createSession'
[351af563][AndroidUiautomator2Driver@8c85] Proxying [POST /session] to [POST http://127.0.0.1:8200/session] with body: {"capabilities":{"firstMatch":[{"platformName":"Android","platformVersion":"14","deviceName":"emulator-5554","noReset":false,"appActivity":"com.Advantage.aShopping.SplashActivity","appPackage":"com.Advantage.aShopping","automationName":"uiautomator2","ensureWebviewsHavePages":true,"nativeWebScreenshot":true,"newCommandTimeout":3600,"connectHardwareKeyboard":true,"platform":"LINUX","webStorageEnabled":false,"takesScreenshot":true,"javascriptEnabled":true,"databaseEnabled":false,"networkConnectionEnabled":true,"locationContextEnabled":false,"warnings":{},"desired":{"platformName":"Android","platformVersion":"14","deviceName":"Emulator_test_123","noReset":false,"appActivity":"com.Advantage.aShopping.SplashActivity","appPackage":"com.Advantage.aShopping","automationName":"uiautomator2","ensureWebviewsHavePages":true,"nativeWebScreenshot":true,"newCommandTimeout":3600,"connectHardwareKeyboard":true},"deviceUDID":"emulator-5554"}],"alwaysMatch":{}}}
[351af563][AndroidUiautomator2Driver@8c85] Got response with status 200: {"sessionId":"20cedc23-4425-4ecf-93fd-0edfabee3023","value":{"capabilities":{"firstMatch":[{"platformName":"Android","platformVersion":"14","deviceName":"emulator-5554","noReset":false,"appActivity":"com.Advantage.aShopping.SplashActivity","appPackage":"com.Advantage.aShopping","automationName":"uiautomator2","ensureWebviewsHavePages":true,"nativeWebScreenshot":true,"newCommandTimeout":3600,"connectHardwareKeyboard":true,"platform":"LINUX","webStorageEnabled":false,"takesScreenshot":true,"javascriptEnabled":true,"databaseEnabled":false,"networkConnectionEnabled":true,"locationContextEnabled":false,"warnings":{},"desired":{"platformName":"Android","platformVersion":"14","deviceName":"Emulator_test_123","noReset":false,"appActivity":"com.Advantage.aShopping.SplashActivity","appPackage":"com.Advantage.aShopping","automationName":"uiautomator2","ensureWebviewsHavePages":true,"nativeWebScreenshot":true,"newCommandTimeout":3600,"connectHardwareKeyboard":true},"deviceUDID":"emulator-5554"}],"alwaysMatch":{}},"ses...
[351af563][AndroidUiautomator2Driver@8c85] Determined the downstream protocol as 'W3C'
[351af563][AndroidUiautomator2Driver@8c85] Proxying [GET /appium/device/pixel_ratio] to [GET http://127.0.0.1:8200/session/20cedc23-4425-4ecf-93fd-0edfabee3023/appium/device/pixel_ratio] with no body
[351af563][AndroidUiautomator2Driver@8c85] Matched '/appium/device/system_bars' to command name 'getSystemBars'
[351af563][AndroidUiautomator2Driver@8c85] Proxying [GET /appium/device/system_bars] to [GET http://127.0.0.1:8200/session/20cedc23-4425-4ecf-93fd-0edfabee3023/appium/device/system_bars] with no body
[351af563][AndroidUiautomator2Driver@8c85] Matched '/window/current/size' to command name 'getWindowSize'
[351af563][AndroidUiautomator2Driver@8c85] Proxying [GET /window/current/size] to [GET http://127.0.0.1:8200/session/20cedc23-4425-4ecf-93fd-0edfabee3023/window/current/size] with no body
[351af563][AndroidUiautomator2Driver@8c85] Proxying [GET /appium/device/info] to [GET http://127.0.0.1:8200/session/20cedc23-4425-4ecf-93fd-0edfabee3023/appium/device/info] with no body
[351af563][ADB] Running 'C:\Users\User\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s emulator-5554 shell dumpsys window'
[351af563][ADB] Running 'C:\Users\User\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s emulator-5554 shell dumpsys power'
[351af563][AndroidUiautomator2Driver@8c85] Got response with status 200: {"sessionId":"20cedc23-4425-4ecf-93fd-0edfabee3023","value":2.75}
[351af563][AndroidUiautomator2Driver@8c85] Got response with status 200: {"sessionId":"20cedc23-4425-4ecf-93fd-0edfabee3023","value":{"height":2280,"width":1080}}
[351af563][AndroidUiautomator2Driver@8c85] Got response with status 200: {"sessionId":"20cedc23-4425-4ecf-93fd-0edfabee3023","value":{"statusBar":83}}
[351af563][AndroidUiautomator2Driver@8c85] Screen already unlocked, doing nothing
[351af563][AndroidUiautomator2Driver@8c85] Starting 'com.Advantage.aShopping/com.Advantage.aShopping.SplashActivity and waiting for 'com.Advantage.aShopping/com.Advantage.aShopping.SplashActivity'
[351af563][ADB] Running 'C:\Users\User\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s emulator-5554 shell am start -W -n com.Advantage.aShopping/com.Advantage.aShopping.SplashActivity -S -a android.intent.action.MAIN -c android.intent.category.LAUNCHER -f 0x10200000'
[351af563][AndroidUiautomator2Driver@8c85] Got response with status 200: {"sessionId":"20cedc23-4425-4ecf-93fd-0edfabee3023","value":{"androidId":"0c4366abb8f3e683","apiVersion":"34","bluetooth":{"state":"ON"},"brand":"google","carrierName":"","displayDensity":440,"locale":"en_US","manufacturer":"Google","model":"sdk_gphone64_x86_64","networks":[{"capabilities":{"SSID":null,"linkDownBandwidthKbps":30000,"linkUpstreamBandwidthKbps":12000,"networkCapabilities":"NET_CAPABILITY_NOT_METERED,NET_CAPABILITY_INTERNET,NET_CAPABILITY_NOT_RESTRICTED,NET_CAPABILITY_TRUSTED,NET_CAPABILITY_NOT_VPN,NET_CAPABILITY_VALIDATED,NET_CAPABILITY_NOT_ROAMING,NET_CAPABILITY_FOREGROUND,NET_CAPABILITY_NOT_CONGESTED,NET_CAPABILITY_NOT_SUSPENDED","signalStrength":-50,"transportTypes":"TRANSPORT_WIFI"},"detailedState":"CONNECTED","extraInfo":"","isAvailable":true,"isConnected":true,"isFailover":false,"isRoaming":false,"state":"CONNECTED","subtype":-1,"subtypeName":"","type":1,"typeName":"WIFI"}],"platformVersion":"14","realDisplaySize":"1080x2280","timeZone":"Asia/Bangkok"}}
[351af563][AppiumDriver@592b] New AndroidUiautomator2Driver session created successfully, session 351af563-1e94-4c25-89ac-8ecae40eda09 added to master session list
[351af563][AppiumDriver@592b] Event 'newSessionStarted' logged at 1726130415618 (15:40:15 GMT+0700 (Western Indonesia Time))
[351af563][AndroidUiautomator2Driver@8c85] Cached the protocol value 'W3C' for the new session 351af563-1e94-4c25-89ac-8ecae40eda09
[351af563][AndroidUiautomator2Driver@8c85] Responding to client with driver.createSession() result: {"capabilities":{"platformName":"Android","platformVersion":"14","deviceName":"emulator-5554","noReset":false,"appActivity":"com.Advantage.aShopping.SplashActivity","appPackage":"com.Advantage.aShopping","automationName":"uiautomator2","ensureWebviewsHavePages":true,"nativeWebScreenshot":true,"newCommandTimeout":3600,"connectHardwareKeyboard":true,"platform":"LINUX","webStorageEnabled":false,"takesScreenshot":true,"javascriptEnabled":true,"databaseEnabled":false,"networkConnectionEnabled":true,"locationContextEnabled":false,"warnings":{},"desired":{"platformName":"Android","platformVersion":"14","deviceName":"Emulator_test_123","noReset":false,"appActivity":"com.Advantage.aShopping.SplashActivity","appPackage":"com.Advantage.aShopping","automationName":"uiautomator2","ensureWebviewsHavePages":true,"nativeWebScreenshot":true,"newCommandTimeout":3600,"connectHardwareKeyboard":true},"deviceUDID":"emulator-5554","pixelRatio":"2.75","statBarHeight":83,"viewportRect":{"left":0,"top":83,"width":1080,"height":2197...
[351af563][HTTP] <-- POST /session 200 5660 ms - 1228
[351af563][HTTP] --> POST /session/351af563-1e94-4c25-89ac-8ecae40eda09/element {"using":"id","value":"com.Advantage.aShopping:id/imageViewMenu"}
[351af563][AndroidUiautomator2Driver@8c85] Calling AppiumDriver.findElement() with args: ["id","com.Advantage.aShopping:id/imageViewMenu","351af563-1e94-4c25-89ac-8ecae40eda09"]
[351af563][AndroidUiautomator2Driver@8c85] Valid locator strategies for this request: xpath, id, class name, accessibility id, css selector, -android uiautomator
[351af563][AndroidUiautomator2Driver@8c85] Waiting up to 0 ms for condition
[351af563][AndroidUiautomator2Driver@8c85] Matched '/element' to command name 'findElement'
[351af563][AndroidUiautomator2Driver@8c85] Proxying [POST /element] to [POST http://127.0.0.1:8200/session/20cedc23-4425-4ecf-93fd-0edfabee3023/element] with body: {"strategy":"id","selector":"com.Advantage.aShopping:id/imageViewMenu","context":"","multiple":false}
[351af563][AndroidUiautomator2Driver@8c85] Got response with status 200: {"sessionId":"20cedc23-4425-4ecf-93fd-0edfabee3023","value":{"ELEMENT":"00000000-0000-0050-ffff-ffff00000018","element-6066-11e4-a52e-4f735466cecf":"00000000-0000-0050-ffff-ffff00000018"}}
[351af563][AndroidUiautomator2Driver@8c85] Responding to client with driver.findElement() result: {"element-6066-11e4-a52e-4f735466cecf":"00000000-0000-0050-ffff-ffff00000018","ELEMENT":"00000000-0000-0050-ffff-ffff00000018"}
[351af563][HTTP] <-- POST /session/351af563-1e94-4c25-89ac-8ecae40eda09/element 200 77 ms - 137
[351af563][HTTP] --> POST /session/351af563-1e94-4c25-89ac-8ecae40eda09/element/00000000-0000-0050-ffff-ffff00000018/click {}
[351af563][AndroidUiautomator2Driver@8c85] Calling AppiumDriver.click() with args: ["00000000-0000-0050-ffff-ffff00000018","351af563-1e94-4c25-89ac-8ecae40eda09"]
[351af563][AndroidUiautomator2Driver@8c85] Matched '/element/00000000-0000-0050-ffff-ffff00000018/click' to command name 'click'
[351af563][AndroidUiautomator2Driver@8c85] Proxying [POST /element/00000000-0000-0050-ffff-ffff00000018/click] to [POST http://127.0.0.1:8200/session/20cedc23-4425-4ecf-93fd-0edfabee3023/element/00000000-0000-0050-ffff-ffff00000018/click] with body: {"element":"00000000-0000-0050-ffff-ffff00000018"}
[351af563][AndroidUiautomator2Driver@8c85] Got response with status 200: {"sessionId":"20cedc23-4425-4ecf-93fd-0edfabee3023","value":null}
[351af563][AndroidUiautomator2Driver@8c85] Responding to client with driver.click() result: null
[351af563][HTTP] <-- POST /session/351af563-1e94-4c25-89ac-8ecae40eda09/element/00000000-0000-0050-ffff-ffff00000018/click 200 1017 ms - 14
[351af563][HTTP] --> POST /session/351af563-1e94-4c25-89ac-8ecae40eda09/element {"using":"id","value":"com.Advantage.aShopping:id/textViewMenuLaptops"}
[351af563][AndroidUiautomator2Driver@8c85] Calling AppiumDriver.findElement() with args: ["id","com.Advantage.aShopping:id/textViewMenuLaptops","351af563-1e94-4c25-89ac-8ecae40eda09"]
[351af563][AndroidUiautomator2Driver@8c85] Valid locator strategies for this request: xpath, id, class name, accessibility id, css selector, -android uiautomator
[351af563][AndroidUiautomator2Driver@8c85] Waiting up to 0 ms for condition
[351af563][AndroidUiautomator2Driver@8c85] Matched '/element' to command name 'findElement'
[351af563][AndroidUiautomator2Driver@8c85] Proxying [POST /element] to [POST http://127.0.0.1:8200/session/20cedc23-4425-4ecf-93fd-0edfabee3023/element] with body: {"strategy":"id","selector":"com.Advantage.aShopping:id/textViewMenuLaptops","context":"","multiple":false}[351af563][AndroidUiautomator2Driver@8c85] Got response with status 200: {"sessionId":"20cedc23-4425-4ecf-93fd-0edfabee3023","value":{"ELEMENT":"00000000-0000-0050-ffff-ffff0000004d","element-6066-11e4-a52e-4f735466cecf":"00000000-0000-0050-ffff-ffff0000004d"}}
[351af563][AndroidUiautomator2Driver@8c85] Responding to client with driver.findElement() result: {"element-6066-11e4-a52e-4f735466cecf":"00000000-0000-0050-ffff-ffff0000004d","ELEMENT":"00000000-0000-0050-ffff-ffff0000004d"}
[351af563][HTTP] <-- POST /session/351af563-1e94-4c25-89ac-8ecae40eda09/element 200 46 ms - 137
[351af563][HTTP] --> POST /session/351af563-1e94-4c25-89ac-8ecae40eda09/element/00000000-0000-0050-ffff-ffff0000004d/click {}
[351af563][AndroidUiautomator2Driver@8c85] Calling AppiumDriver.click() with args: ["00000000-0000-0050-ffff-ffff0000004d","351af563-1e94-4c25-89ac-8ecae40eda09"]
[351af563][AndroidUiautomator2Driver@8c85] Matched '/element/00000000-0000-0050-ffff-ffff0000004d/click' to command name 'click'
[351af563][AndroidUiautomator2Driver@8c85] Proxying [POST /element/00000000-0000-0050-ffff-ffff0000004d/click] to [POST http://127.0.0.1:8200/session/20cedc23-4425-4ecf-93fd-0edfabee3023/element/00000000-0000-0050-ffff-ffff0000004d/click] with body: {"element":"00000000-0000-0050-ffff-ffff0000004d"}
[351af563][AndroidUiautomator2Driver@8c85] Got response with status 200: {"sessionId":"20cedc23-4425-4ecf-93fd-0edfabee3023","value":null}
[351af563][AndroidUiautomator2Driver@8c85] Responding to client with driver.click() result: null
[351af563][HTTP] <-- POST /session/351af563-1e94-4c25-89ac-8ecae40eda09/element/00000000-0000-0050-ffff-ffff0000004d/click 200 52 ms - 14
[351af563][HTTP] --> DELETE /session/351af563-1e94-4c25-89ac-8ecae40eda09 {}
[351af563][AndroidUiautomator2Driver@8c85] Calling AppiumDriver.deleteSession() with args: ["351af563-1e94-4c25-89ac-8ecae40eda09"]
[351af563][AppiumDriver@592b] Event 'quitSessionRequested' logged at 1726130426830 (15:40:26 GMT+0700 (Western Indonesia Time))
[351af563][AppiumDriver@592b] Removing session 351af563-1e94-4c25-89ac-8ecae40eda09 from our master session list
[351af563][AndroidUiautomator2Driver@8c85] Deleting UiAutomator2 session
[351af563][AndroidUiautomator2Driver@8c85] Deleting UiAutomator2 server session
[351af563][AndroidUiautomator2Driver@8c85] Matched '/' to command name 'deleteSession'
[351af563][AndroidUiautomator2Driver@8c85] Proxying [DELETE /] to [DELETE http://127.0.0.1:8200/session/20cedc23-4425-4ecf-93fd-0edfabee3023] with no body
[351af563][AndroidUiautomator2Driver@8c85] Got response with status 200: {"sessionId":"20cedc23-4425-4ecf-93fd-0edfabee3023","value":null}
[351af563][AndroidUiautomator2Driver@8c85] [Instrumentation] io.appium.uiautomator2.server.test.AppiumUiAutomator2Server:
[351af563][AndroidUiautomator2Driver@8c85] [Instrumentation] The process has exited with code null, signal SIGTERM
[351af563][ADB] Running 'C:\Users\User\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s emulator-5554 shell dumpsys activity services io.appium.settings/.recorder.RecorderService'
[351af563][ADB] Running 'C:\Users\User\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s emulator-5554 shell am force-stop com.Advantage.aShopping'
[351af563][ADB] Removing forwarded port socket connection: 8200
[351af563][ADB] Running 'C:\Users\User\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s emulator-5554 forward --remove tcp:8200'
[351af563][AndroidUiautomator2Driver@8c85] Restoring hidden api policy to the device default configuration
[351af563][ADB] Running 'C:\Users\User\AppData\Local\Android\Sdk\platform-tools\adb.exe -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''
[351af563][Logcat] Stopping logcat capture
[351af563][AppiumDriver@592b] Event 'quitSessionFinished' logged at 1726130427144 (15:40:27 GMT+0700 (Western Indonesia Time))
[351af563][AppiumDriver@592b] Received response: null
[351af563][AppiumDriver@592b] But deleting session, so not returning
[351af563][AppiumDriver@592b] Responding to client with driver.deleteSession() result: null
[351af563][HTTP] <-- DELETE /session/351af563-1e94-4c25-89ac-8ecae40eda09 200 318 ms - 14
[HTTP] Request idempotency key: 38d4dac2-5ac7-4aed-bde7-62c497103f75
[HTTP] --> POST /session {"capabilities":{"firstMatch":[{}],"alwaysMatch":{"platformName":"Android","appium:platformVersion":"14","appium:deviceName":"Emulator_test_123","appium:noReset":"false","appium:appActivity":".MainActivity","appium:appPackage":"com.example.github_actions_example","appium:automationName":"flutter","appium:ensureWebviewsHavePages":true,"appium:nativeWebScreenshot":true,"appium:newCommandTimeout":3600,"appium:connectHardwareKeyboard":true}}}
[AppiumDriver@592b] Calling AppiumDriver.createSession() with args: [null,null,{"firstMatch":[{}],"alwaysMatch":{"platformName":"Android","appium:platformVersion":"14","appium:deviceName":"Emulator_test_123","appium:noReset":"false","appium:appActivity":".MainActivity","appium:appPackage":"com.example.github_actions_example","appium:automationName":"flutter","appium:ensureWebviewsHavePages":true,"appium:nativeWebScreenshot":true,"appium:newCommandTimeout":3600,"appium:connectHardwareKeyboard":true}}]
[AppiumDriver@592b] Event 'newSessionRequested' logged at 1726130536283 (15:42:16 GMT+0700 (Western Indonesia Time))
[Appium] Attempting to find matching driver for automationName 'flutter' and platformName 'Android'
[Appium] The 'flutter' driver was installed and matched caps.
[Appium] Will require it at C:\Users\User\.appium\node_modules\appium-flutter-driver
[Appium] Requiring driver at C:\Users\User\.appium\node_modules\appium-flutter-driver\build\lib\driver.js
[AppiumDriver@592b] Appium v2.11.3 creating new FlutterDriver (v2.9.2) session
[AppiumDriver@592b] Checking BaseDriver versions for Appium and FlutterDriver
[AppiumDriver@592b] Appium's BaseDriver version is 9.11.3
[AppiumDriver@592b] FlutterDriver's BaseDriver version is 9.11.3
[FlutterDriver@415e]
[FlutterDriver@415e] Creating session with W3C capabilities: {
"alwaysMatch": {
"platformName": "Android",
"appium:platformVersion": "14",
"appium:deviceName": "Emulator_test_123",
"appium:noReset": "false",
"appium:appActivity": ".MainActivity",
"appium:appPackage": "com.example.github_actions_example",
"appium:automationName": "flutter",
"appium:ensureWebviewsHavePages": true,
"appium:nativeWebScreenshot": true,
"appium:newCommandTimeout": 3600,
"appium:connectHardwareKeyboard": true
},
"firstMatch": [
{}
]
}
[FlutterDriver@415e] Capability 'noReset' changed from string to boolean. This may cause unexpected behavior
[FlutterDriver@415e] The following provided capabilities were not recognized by this driver:
[FlutterDriver@415e] deviceName
[FlutterDriver@415e] appActivity
[FlutterDriver@415e] appPackage
[FlutterDriver@415e] ensureWebviewsHavePages
[FlutterDriver@415e] nativeWebScreenshot
[FlutterDriver@415e] connectHardwareKeyboard
[6b3249e7][FlutterDriver@415e] Session created with session id: 6b3249e7-a0dc-4e68-a8ce-cf1ad59fe001
[6b3249e7][FlutterDriver@415e] Starting an Android proxy session
[6b3249e7][AndroidUiautomator2Driver@9613]
[6b3249e7][AndroidUiautomator2Driver@9613] Creating session with W3C capabilities: {
"alwaysMatch": {
"platformName": "Android",
"appium:platformVersion": "14",
"appium:deviceName": "Emulator_test_123",
"appium:noReset": "false",
"appium:appActivity": ".MainActivity",
"appium:appPackage": "com.example.github_actions_example",
"appium:automationName": "flutter",
"appium:ensureWebviewsHavePages": true,
"appium:nativeWebScreenshot": true,
"appium:newCommandTimeout": 3600,
"appium:connectHardwareKeyboard": true
},
"firstMatch": [
{}
]
}
[6b3249e7][AndroidUiautomator2Driver@9613] Capability 'noReset' changed from string to boolean. This may cause unexpected behavior
[6b3249e7][AndroidUiautomator2Driver@9613] The following provided capabilities were not recognized by this driver:
[6b3249e7][AndroidUiautomator2Driver@9613] connectHardwareKeyboard
[1c6fdbd7][AndroidUiautomator2Driver@9613] Session created with session id: 1c6fdbd7-919e-4edc-8905-6cead857029e
[1c6fdbd7][ADB] Found 2 'build-tools' folders under 'C:\Users\User\AppData\Local\Android\Sdk' (newest first):
[1c6fdbd7][ADB] C:\Users\User\AppData\Local\Android\Sdk\build-tools\33.0.0
[1c6fdbd7][ADB] C:\Users\User\AppData\Local\Android\Sdk\build-tools\30.0.3
[1c6fdbd7][ADB] Using 'adb.exe' from 'C:\Users\User\AppData\Local\Android\Sdk\platform-tools\adb.exe'
[1c6fdbd7][ADB] Running 'C:\Users\User\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 start-server'
[1c6fdbd7][AndroidUiautomator2Driver@9613] Retrieving device list
[1c6fdbd7][ADB] Trying to find connected Android devices
[1c6fdbd7][ADB] Getting connected devices
[1c6fdbd7][ADB] Connected devices: [{"udid":"emulator-5554","state":"device"}]
[1c6fdbd7][AndroidUiautomator2Driver@9613] Looking for a device with Android '14.0.0'
[1c6fdbd7][ADB] Setting device id to emulator-5554
[1c6fdbd7][ADB] Getting device platform version
[1c6fdbd7][ADB] Running 'C:\Users\User\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s emulator-5554 shell getprop ro.build.version.release'
[1c6fdbd7][ADB] Current device property 'ro.build.version.release': 14
[1c6fdbd7][AndroidUiautomator2Driver@9613] Using device: emulator-5554
[1c6fdbd7][ADB] Using 'adb.exe' from 'C:\Users\User\AppData\Local\Android\Sdk\platform-tools\adb.exe'
[1c6fdbd7][ADB] Running 'C:\Users\User\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 start-server'
[1c6fdbd7][ADB] Setting device id to emulator-5554
[1c6fdbd7][AndroidUiautomator2Driver@9613] Starting 'com.example.github_actions_example' directly on the device
[1c6fdbd7][ADB] Running 'C:\Users\User\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s emulator-5554 shell getprop ro.build.version.sdk'
[1c6fdbd7][ADB] Current device property 'ro.build.version.sdk': 34
[1c6fdbd7][ADB] Getting device platform version
[1c6fdbd7][ADB] Running 'C:\Users\User\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s emulator-5554 shell getprop ro.build.version.release'
[1c6fdbd7][ADB] Current device property 'ro.build.version.release': 14
[1c6fdbd7][ADB] Device API level: 34
[1c6fdbd7][AndroidUiautomator2Driver@9613] Relaxing hidden api policy
[1c6fdbd7][ADB] Running 'C:\Users\User\AppData\Local\Android\Sdk\platform-tools\adb.exe -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''
[1c6fdbd7][AndroidUiautomator2Driver@9613] No app sent in, not parsing package/activity
[1c6fdbd7][ADB] Running 'C:\Users\User\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s emulator-5554 wait-for-device'
[1c6fdbd7][ADB] Running 'C:\Users\User\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s emulator-5554 shell echo ping'
[1c6fdbd7][AndroidUiautomator2Driver@9613] Pushing settings apk to the device...
[1c6fdbd7][ADB] Getting package info for 'io.appium.settings'
[1c6fdbd7][ADB] Running 'C:\Users\User\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s emulator-5554 shell dumpsys package io.appium.settings'
[1c6fdbd7][ADB] Using 'aapt2.exe' from 'C:\Users\User\AppData\Local\Android\Sdk\build-tools\33.0.0\aapt2.exe'
[1c6fdbd7][ADB] Reading package manifest: 'C:\\Users\\User\\AppData\\Local\\Android\\Sdk\\build-tools\\33.0.0\\aapt2.exe dump badging C:\\Users\\User\\.appium\\node_modules\\appium-flutter-driver\\node_modules\\appium-uiautomator2-driver\\node_modules\\io.appium.settings\\apks\\settings_apk-debug.apk'
[1c6fdbd7][ADB] The version code of the installed 'io.appium.settings' is greater than the application version code (103 > 98)
[1c6fdbd7][ADB] There is no need to downgrade 'io.appium.settings'
[1c6fdbd7][ADB] Running 'C:\Users\User\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s emulator-5554 shell dumpsys activity services io.appium.settings'
[1c6fdbd7][AndroidUiautomator2Driver@9613] io.appium.settings is already running. There is no need to reset its permissions.
[1c6fdbd7][Logcat] Starting logs capture with command: C:\\Users\\User\\AppData\\Local\\Android\\Sdk\\platform-tools\\adb.exe -P 5037 -s emulator-5554 logcat -v threadtime
[1c6fdbd7][AndroidUiautomator2Driver@9613] Forwarding UiAutomator2 Server port 6790 to local port 8200
[1c6fdbd7][ADB] Forwarding system: 8200 to device: 6790
[1c6fdbd7][ADB] Running 'C:\Users\User\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s emulator-5554 forward tcp:8200 tcp:6790'
[1c6fdbd7][ADB] Getting package info for 'io.appium.uiautomator2.server'
[1c6fdbd7][ADB] Running 'C:\Users\User\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s emulator-5554 shell dumpsys package io.appium.uiautomator2.server'
[1c6fdbd7][ADB] Getting install status for io.appium.uiautomator2.server.test
[1c6fdbd7][AndroidUiautomator2Driver@9613] No app capability. Assuming it is already on the device
[1c6fdbd7][ADB] Getting install status for com.example.github_actions_example
[1c6fdbd7][ADB] Running 'C:\Users\User\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s emulator-5554 shell cmd package list packages'
[1c6fdbd7][ADB] Running 'C:\Users\User\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s emulator-5554 shell cmd package list packages'
[1c6fdbd7][ADB] Reading package manifest: 'C:\\Users\\User\\AppData\\Local\\Android\\Sdk\\build-tools\\33.0.0\\aapt2.exe dump badging C:\\Users\\User\\.appium\\node_modules\\appium-flutter-driver\\node_modules\\appium-uiautomator2-driver\\node_modules\\appium-uiautomator2-server\\apks\\appium-uiautomator2-server-v7.0.21.apk'
[1c6fdbd7][ADB] 'io.appium.uiautomator2.server.test' is installed
[1c6fdbd7][ADB] 'com.example.github_actions_example' is installed
[1c6fdbd7][ADB] Running 'C:\Users\User\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s emulator-5554 shell am force-stop com.example.github_actions_example'
[1c6fdbd7][ADB] Running 'C:\Users\User\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s emulator-5554 shell pm clear com.example.github_actions_example'
[1c6fdbd7][ADB] The version code of the installed 'io.appium.uiautomator2.server' is greater than the application version code (186 > 183)
[1c6fdbd7][AndroidUiautomator2Driver@9613] Server packages status: [{"installState":"newerVersionInstalled","appPath":"C:\\Users\\User\\.appium\\node_modules\\appium-flutter-driver\\node_modules\\appium-uiautomator2-driver\\node_modules\\appium-uiautomator2-server\\apks\\appium-uiautomator2-server-v7.0.21.apk","appId":"io.appium.uiautomator2.server"},{"installState":"sameVersionInstalled","appPath":"C:\\Users\\User\\.appium\\node_modules\\appium-flutter-driver\\node_modules\\appium-uiautomator2-driver\\node_modules\\appium-uiautomator2-server\\apks\\appium-uiautomator2-server-debug-androidTest.apk","appId":"io.appium.uiautomator2.server.test"}]
[1c6fdbd7][AndroidUiautomator2Driver@9613] Server packages are going to be (re)installed
[1c6fdbd7][AndroidUiautomator2Driver@9613] Full packages reinstall is going to be performed
[1c6fdbd7][ADB] Uninstalling io.appium.uiautomator2.server
[1c6fdbd7][ADB] Getting install status for io.appium.uiautomator2.server
[1c6fdbd7][ADB] Uninstalling io.appium.uiautomator2.server.test
[1c6fdbd7][ADB] Getting install status for io.appium.uiautomator2.server.test
[1c6fdbd7][ADB] Running 'C:\Users\User\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s emulator-5554 shell cmd package list packages'
[1c6fdbd7][ADB] Running 'C:\Users\User\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s emulator-5554 shell cmd package list packages'
[1c6fdbd7][AndroidUiautomator2Driver@9613] Performed fast reset on the installed 'com.example.github_actions_example' application (stop and clear)
[1c6fdbd7][ADB] 'io.appium.uiautomator2.server' is installed
[1c6fdbd7][ADB] Running 'C:\Users\User\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s emulator-5554 shell am force-stop io.appium.uiautomator2.server'
[1c6fdbd7][ADB] 'io.appium.uiautomator2.server.test' is installed
[1c6fdbd7][ADB] Running 'C:\Users\User\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s emulator-5554 shell am force-stop io.appium.uiautomator2.server.test'
[1c6fdbd7][ADB] Running 'C:\Users\User\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s emulator-5554 uninstall io.appium.uiautomator2.server'
[1c6fdbd7][ADB] Running 'C:\Users\User\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s emulator-5554 uninstall io.appium.uiautomator2.server.test'
[1c6fdbd7][ADB] 'adb uninstall io.appium.uiautomator2.server' command output: Success
[1c6fdbd7][ADB] io.appium.uiautomator2.server was successfully uninstalled
[1c6fdbd7][ADB] 'adb uninstall io.appium.uiautomator2.server.test' command output: Success
[1c6fdbd7][ADB] io.appium.uiautomator2.server.test was successfully uninstalled
[1c6fdbd7][ADB] Running 'C:\Users\User\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s emulator-5554 version'
[1c6fdbd7][ADB] Running 'C:\Users\User\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s emulator-5554 features'
[1c6fdbd7][ADB] Running 'C:\Users\User\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s emulator-5554 help'
[1c6fdbd7][ADB] Running 'C:\Users\User\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s emulator-5554 help'
[1c6fdbd7][ADB] The application at 'C:\Users\User\.appium\node_modules\appium-flutter-driver\node_modules\appium-uiautomator2-driver\node_modules\appium-uiautomator2-server\apks\appium-uiautomator2-server-v7.0.21.apk' will not be cached, because the device under test has confirmed the support of streamed installs
[1c6fdbd7][ADB] Running 'C:\Users\User\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s emulator-5554 install -r --no-incremental C:\Users\User\.appium\node_modules\appium-flutter-driver\node_modules\appium-uiautomator2-driver\node_modules\appium-uiautomator2-server\apks\appium-uiautomator2-server-v7.0.21.apk'
[1c6fdbd7][ADB] The application at 'C:\Users\User\.appium\node_modules\appium-flutter-driver\node_modules\appium-uiautomator2-driver\node_modules\appium-uiautomator2-server\apks\appium-uiautomator2-server-debug-androidTest.apk' will not be cached, because the device under test has confirmed the support of streamed installs
[1c6fdbd7][ADB] Running 'C:\Users\User\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s emulator-5554 install -r --no-incremental C:\Users\User\.appium\node_modules\appium-flutter-driver\node_modules\appium-uiautomator2-driver\node_modules\appium-uiautomator2-server\apks\appium-uiautomator2-server-debug-androidTest.apk'
[1c6fdbd7][ADB] The installation of 'appium-uiautomator2-server-debug-androidTest.apk' took 790ms
[1c6fdbd7][ADB] Install command stdout: Performing Streamed Install
Success
[1c6fdbd7][ADB] The installation of 'appium-uiautomator2-server-v7.0.21.apk' took 1035ms
[1c6fdbd7][ADB] Install command stdout: Performing Streamed Install
Success
[1c6fdbd7][AndroidUiautomator2Driver@9613] Waiting up to 30000ms for services to be available
[1c6fdbd7][ADB] Running 'C:\Users\User\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s emulator-5554 shell pm list instrumentation'
[1c6fdbd7][AndroidUiautomator2Driver@9613] Instrumentation target 'io.appium.uiautomator2.server.test/androidx.test.runner.AndroidJUnitRunner' is available
[1c6fdbd7][ADB] Adding packages ["io.appium.settings","io.appium.uiautomator2.server","io.appium.uiautomator2.server.test"] to Doze whitelist
[1c6fdbd7][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",";"]]
[1c6fdbd7][ADB] Running 'C:\Users\User\AppData\Local\Android\Sdk\platform-tools\adb.exe -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 ;'
[1c6fdbd7][AndroidUiautomator2Driver@9613] Performing shallow cleanup of automation leftovers
[1c6fdbd7][AndroidUiautomator2Driver@9613] No obsolete sessions have been detected (socket hang up)
[1c6fdbd7][ADB] Running 'C:\Users\User\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s emulator-5554 shell am force-stop io.appium.uiautomator2.server'
[1c6fdbd7][ADB] Running 'C:\Users\User\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s emulator-5554 shell am force-stop io.appium.uiautomator2.server.test'
[1c6fdbd7][AndroidUiautomator2Driver@9613] Starting UIAutomator2 server 7.0.21
[1c6fdbd7][AndroidUiautomator2Driver@9613] Using UIAutomator2 server from 'C:\Users\User\.appium\node_modules\appium-flutter-driver\node_modules\appium-uiautomator2-driver\node_modules\appium-uiautomator2-server\apks\appium-uiautomator2-server-v7.0.21.apk' and test from 'C:\Users\User\.appium\node_modules\appium-flutter-driver\node_modules\appium-uiautomator2-driver\node_modules\appium-uiautomator2-server\apks\appium-uiautomator2-server-debug-androidTest.apk'
[1c6fdbd7][AndroidUiautomator2Driver@9613] Waiting up to 30000ms for UiAutomator2 to be online...
[1c6fdbd7][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"]
[1c6fdbd7][AndroidUiautomator2Driver@9613] Matched '/status' to command name 'getStatus'
[1c6fdbd7][AndroidUiautomator2Driver@9613] Proxying [GET /status] to [GET http://127.0.0.1:8200/status] with no body
[1c6fdbd7][AndroidUiautomator2Driver@9613] socket hang up
[1c6fdbd7][AndroidUiautomator2Driver@9613] Matched '/status' to command name 'getStatus'
[1c6fdbd7][AndroidUiautomator2Driver@9613] Proxying [GET /status] to [GET http://127.0.0.1:8200/status] with no body
[1c6fdbd7][AndroidUiautomator2Driver@9613] socket hang up
[1c6fdbd7][AndroidUiautomator2Driver@9613] [Instrumentation]
[1c6fdbd7][AndroidUiautomator2Driver@9613] Matched '/status' to command name 'getStatus'
[1c6fdbd7][AndroidUiautomator2Driver@9613] Proxying [GET /status] to [GET http://127.0.0.1:8200/status] with no body
[1c6fdbd7][AndroidUiautomator2Driver@9613] socket hang up
[1c6fdbd7][AndroidUiautomator2Driver@9613] Matched '/status' to command name 'getStatus'
[1c6fdbd7][AndroidUiautomator2Driver@9613] Proxying [GET /status] to [GET http://127.0.0.1:8200/status] with no body
[1c6fdbd7][AndroidUiautomator2Driver@9613] socket hang up
[1c6fdbd7][AndroidUiautomator2Driver@9613] Matched '/status' to command name 'getStatus'
[1c6fdbd7][AndroidUiautomator2Driver@9613] Proxying [GET /status] to [GET http://127.0.0.1:8200/status] with no body
[1c6fdbd7][AndroidUiautomator2Driver@9613] Got response with status 200: {"sessionId":"None","value":{"message":"UiAutomator2 Server is ready to accept commands","ready":true}}
[1c6fdbd7][AndroidUiautomator2Driver@9613] The initialization of the instrumentation process took 4143ms
[1c6fdbd7][AndroidUiautomator2Driver@9613] Matched '/session' to command name 'createSession'
[1c6fdbd7][AndroidUiautomator2Driver@9613] Proxying [POST /session] to [POST http://127.0.0.1:8200/session] with body: {"capabilities":{"firstMatch":[{"platformName":"Android","platformVersion":"14","deviceName":"emulator-5554","noReset":false,"appActivity":".MainActivity","appPackage":"com.example.github_actions_example","automationName":"flutter","ensureWebviewsHavePages":true,"nativeWebScreenshot":true,"newCommandTimeout":3600,"connectHardwareKeyboard":true,"platform":"LINUX","webStorageEnabled":false,"takesScreenshot":true,"javascriptEnabled":true,"databaseEnabled":false,"networkConnectionEnabled":true,"locationContextEnabled":false,"warnings":{},"desired":{"platformName":"Android","platformVersion":"14","deviceName":"Emulator_test_123","noReset":false,"appActivity":".MainActivity","appPackage":"com.example.github_actions_example","automationName":"flutter","ensureWebviewsHavePages":true,"nativeWebScreenshot":true,"newCommandTimeout":3600,"connectHardwareKeyboard":true},"deviceUDID":"emulator-5554"}],"alwaysMatch":{}}}
[1c6fdbd7][AndroidUiautomator2Driver@9613] Got response with status 200: {"sessionId":"fea3e66c-1119-4a61-9b5e-2a9df871eb0f","value":{"capabilities":{"firstMatch":[{"platformName":"Android","platformVersion":"14","deviceName":"emulator-5554","noReset":false,"appActivity":".MainActivity","appPackage":"com.example.github_actions_example","automationName":"flutter","ensureWebviewsHavePages":true,"nativeWebScreenshot":true,"newCommandTimeout":3600,"connectHardwareKeyboard":true,"platform":"LINUX","webStorageEnabled":false,"takesScreenshot":true,"javascriptEnabled":true,"databaseEnabled":false,"networkConnectionEnabled":true,"locationContextEnabled":false,"warnings":{},"desired":{"platformName":"Android","platformVersion":"14","deviceName":"Emulator_test_123","noReset":false,"appActivity":".MainActivity","appPackage":"com.example.github_actions_example","automationName":"flutter","ensureWebviewsHavePages":true,"nativeWebScreenshot":true,"newCommandTimeout":3600,"connectHardwareKeyboard":true},"deviceUDID":"emulator-5554"}],"alwaysMatch":{}},"sessionId":"fea3e66c-1119-4a61-9b5e-2a9df...
[1c6fdbd7][AndroidUiautomator2Driver@9613] Determined the downstream protocol as 'W3C'
[1c6fdbd7][AndroidUiautomator2Driver@9613] Proxying [GET /appium/device/pixel_ratio] to [GET http://127.0.0.1:8200/session/fea3e66c-1119-4a61-9b5e-2a9df871eb0f/appium/device/pixel_ratio] with no body
[1c6fdbd7][AndroidUiautomator2Driver@9613] Matched '/appium/device/system_bars' to command name 'getSystemBars'
[1c6fdbd7][AndroidUiautomator2Driver@9613] Proxying [GET /appium/device/system_bars] to [GET http://127.0.0.1:8200/session/fea3e66c-1119-4a61-9b5e-2a9df871eb0f/appium/device/system_bars] with no body
[1c6fdbd7][AndroidUiautomator2Driver@9613] Matched '/window/current/size' to command name 'getWindowSize'
[1c6fdbd7][AndroidUiautomator2Driver@9613] Proxying [GET /window/current/size] to [GET http://127.0.0.1:8200/session/fea3e66c-1119-4a61-9b5e-2a9df871eb0f/window/current/size] with no body
[1c6fdbd7][AndroidUiautomator2Driver@9613] Proxying [GET /appium/device/info] to [GET http://127.0.0.1:8200/session/fea3e66c-1119-4a61-9b5e-2a9df871eb0f/appium/device/info] with no body
[1c6fdbd7][ADB] Running 'C:\Users\User\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s emulator-5554 shell dumpsys window'
[1c6fdbd7][ADB] Running 'C:\Users\User\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s emulator-5554 shell dumpsys power'
[1c6fdbd7][AndroidUiautomator2Driver@9613] Got response with status 200: {"sessionId":"fea3e66c-1119-4a61-9b5e-2a9df871eb0f","value":2.75}
[1c6fdbd7][AndroidUiautomator2Driver@9613] Got response with status 200: {"sessionId":"fea3e66c-1119-4a61-9b5e-2a9df871eb0f","value":{"height":2280,"width":1080}}
[1c6fdbd7][AndroidUiautomator2Driver@9613] Got response with status 200: {"sessionId":"fea3e66c-1119-4a61-9b5e-2a9df871eb0f","value":{"statusBar":83}}
[1c6fdbd7][AndroidUiautomator2Driver@9613] Got response with status 200: {"sessionId":"fea3e66c-1119-4a61-9b5e-2a9df871eb0f","value":{"androidId":"0c4366abb8f3e683","apiVersion":"34","bluetooth":{"state":"ON"},"brand":"google","carrierName":"","displayDensity":440,"locale":"en_US","manufacturer":"Google","model":"sdk_gphone64_x86_64","networks":[{"capabilities":{"SSID":null,"linkDownBandwidthKbps":30000,"linkUpstreamBandwidthKbps":12000,"networkCapabilities":"NET_CAPABILITY_NOT_METERED,NET_CAPABILITY_INTERNET,NET_CAPABILITY_NOT_RESTRICTED,NET_CAPABILITY_TRUSTED,NET_CAPABILITY_NOT_VPN,NET_CAPABILITY_VALIDATED,NET_CAPABILITY_NOT_ROAMING,NET_CAPABILITY_FOREGROUND,NET_CAPABILITY_NOT_CONGESTED,NET_CAPABILITY_NOT_SUSPENDED","signalStrength":-50,"transportTypes":"TRANSPORT_WIFI"},"detailedState":"CONNECTED","extraInfo":"","isAvailable":true,"isConnected":true,"isFailover":false,"isRoaming":false,"state":"CONNECTED","subtype":-1,"subtypeName":"","type":1,"typeName":"WIFI"}],"platformVersion":"14","realDisplaySize":"1080x2280","timeZone":"Asia/Bangkok"}}
[1c6fdbd7][AndroidUiautomator2Driver@9613] Screen already unlocked, doing nothing
[1c6fdbd7][AndroidUiautomator2Driver@9613] Starting 'com.example.github_actions_example/.MainActivity and waiting for 'com.example.github_actions_example/.MainActivity'
[1c6fdbd7][ADB] Running 'C:\Users\User\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s emulator-5554 shell am start -W -n com.example.github_actions_example/.MainActivity -S -a android.intent.action.MAIN -c android.intent.category.LAUNCHER -f 0x10200000'
[1c6fdbd7][FlutterDriver@415e] Deleting Flutter Driver session
[1c6fdbd7][FlutterDriver@415e] Cleanup the port forward
[1c6fdbd7][AppiumDriver@592b] Event 'newSessionStarted' logged at 1726130544482 (15:42:24 GMT+0700 (Western Indonesia Time))
[1c6fdbd7][AppiumDriver@592b] Encountered internal error running command: Error: No observatory URL matching to '/(Observatory listening on |An Observatory debugger and profiler on\s.+\sis available at: |The Dart VM service is listening on )((http|\/\/)[a-zA-Z0-9:/=_\-.\[\]]+)/' was found in the device log. Please make sure the application under test is configured properly according to https://github.com/appium/appium-flutter-driver#usage and that it does not crash on startup.
at FlutterDriver.getObservatoryWsUri (C:\Users\User\.appium\node_modules\appium-flutter-driver\lib\sessions\android.ts:85:13)
at FlutterDriver.connectAndroidSession (C:\Users\User\.appium\node_modules\appium-flutter-driver\lib\sessions\android.ts:48:28)
at FlutterDriver.startAndroidSession (C:\Users\User\.appium\node_modules\appium-flutter-driver\lib\sessions\android.ts:38:5)
at FlutterDriver.createSession (C:\Users\User\.appium\node_modules\appium-flutter-driver\lib\sessions\session.ts:45:43)
at AppiumDriver.createSession (C:\Users\User\AppData\Roaming\npm\node_modules\appium\lib\appium.js:731:35)
[1c6fdbd7][HTTP] <-- POST /session 500 8212 ms - 1378
[HTTP] Request idempotency key: b06058fa-d821-4489-b378-f30d0de6b765
[HTTP] --> POST /session {"capabilities":{"firstMatch":[{}],"alwaysMatch":{"platformName":"Android","appium:platformVersion":"14","appium:deviceName":"Emulator_test_123","appium:noReset":"false","appium:appActivity":".MainActivity","appium:appPackage":"com.example.github_actions_example","appium:automationName":"flutter","appium:ensureWebviewsHavePages":true,"appium:nativeWebScreenshot":true,"appium:newCommandTimeout":3600,"appium:connectHardwareKeyboard":true}}}
[AppiumDriver@592b] Calling AppiumDriver.createSession() with args: [null,null,{"firstMatch":[{}],"alwaysMatch":{"platformName":"Android","appium:platformVersion":"14","appium:deviceName":"Emulator_test_123","appium:noReset":"false","appium:appActivity":".MainActivity","appium:appPackage":"com.example.github_actions_example","appium:automationName":"flutter","appium:ensureWebviewsHavePages":true,"appium:nativeWebScreenshot":true,"appium:newCommandTimeout":3600,"appium:connectHardwareKeyboard":true}}]
[AppiumDriver@592b] Event 'newSessionRequested' logged at 1726130577646 (15:42:57 GMT+0700 (Western Indonesia Time))
[Appium] Attempting to find matching driver for automationName 'flutter' and platformName 'Android'
[Appium] The 'flutter' driver was installed and matched caps.
[Appium] Will require it at C:\Users\User\.appium\node_modules\appium-flutter-driver
[Appium] Requiring driver at C:\Users\User\.appium\node_modules\appium-flutter-driver\build\lib\driver.js
[AppiumDriver@592b] Appium v2.11.3 creating new FlutterDriver (v2.9.2) session
[AppiumDriver@592b] Checking BaseDriver versions for Appium and FlutterDriver
[AppiumDriver@592b] Appium's BaseDriver version is 9.11.3
[AppiumDriver@592b] FlutterDriver's BaseDriver version is 9.11.3
[FlutterDriver@480e]
[FlutterDriver@480e] Creating session with W3C capabilities: {
"alwaysMatch": {
"platformName": "Android",
"appium:platformVersion": "14",
"appium:deviceName": "Emulator_test_123",
"appium:noReset": "false",
"appium:appActivity": ".MainActivity",
"appium:appPackage": "com.example.github_actions_example",
"appium:automationName": "flutter",
"appium:ensureWebviewsHavePages": true,
"appium:nativeWebScreenshot": true,
"appium:newCommandTimeout": 3600,
"appium:connectHardwareKeyboard": true
},
"firstMatch": [
{}
]
}
[FlutterDriver@480e] Capability 'noReset' changed from string to boolean. This may cause unexpected behavior
[FlutterDriver@480e] The following provided capabilities were not recognized by this driver:
[FlutterDriver@480e] deviceName
[FlutterDriver@480e] appActivity
[FlutterDriver@480e] appPackage
[FlutterDriver@480e] ensureWebviewsHavePages
[FlutterDriver@480e] nativeWebScreenshot
[FlutterDriver@480e] connectHardwareKeyboard
[7e23bbf8][FlutterDriver@480e] Session created with session id: 7e23bbf8-30a8-4d11-9359-82784a5a1c4e
[7e23bbf8][FlutterDriver@480e] Starting an Android proxy session
[7e23bbf8][AndroidUiautomator2Driver@212c]
[7e23bbf8][AndroidUiautomator2Driver@212c] Creating session with W3C capabilities: {
"alwaysMatch": {
"platformName": "Android",
"appium:platformVersion": "14",
"appium:deviceName": "Emulator_test_123",
"appium:noReset": "false",
"appium:appActivity": ".MainActivity",
"appium:appPackage": "com.example.github_actions_example",
"appium:automationName": "flutter",
"appium:ensureWebviewsHavePages": true,
"appium:nativeWebScreenshot": true,
"appium:newCommandTimeout": 3600,
"appium:connectHardwareKeyboard": true
},
"firstMatch": [
{}
]
}
[7e23bbf8][AndroidUiautomator2Driver@212c] Capability 'noReset' changed from string to boolean. This may cause unexpected behavior
[7e23bbf8][AndroidUiautomator2Driver@212c] The following provided capabilities were not recognized by this driver:
[7e23bbf8][AndroidUiautomator2Driver@212c] connectHardwareKeyboard
[1e6a7f83][AndroidUiautomator2Driver@212c] Session created with session id: 1e6a7f83-e19c-4d68-94a4-65bf5c0b8d33
[1e6a7f83][ADB] Using 'adb.exe' from 'C:\Users\User\AppData\Local\Android\Sdk\platform-tools\adb.exe'
[1e6a7f83][ADB] Running 'C:\Users\User\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 start-server'
[1e6a7f83][AndroidUiautomator2Driver@212c] Retrieving device list
[1e6a7f83][ADB] Trying to find connected Android devices
[1e6a7f83][ADB] Getting connected devices
[1e6a7f83][ADB] Connected devices: [{"udid":"emulator-5554","state":"device"}]
[1e6a7f83][AndroidUiautomator2Driver@212c] Looking for a device with Android '14.0.0'
[1e6a7f83][ADB] Setting device id to emulator-5554
[1e6a7f83][ADB] Getting device platform version
[1e6a7f83][ADB] Running 'C:\Users\User\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s emulator-5554 shell getprop ro.build.version.release'
[1e6a7f83][ADB] Current device property 'ro.build.version.release': 14
[1e6a7f83][AndroidUiautomator2Driver@212c] Using device: emulator-5554
[1e6a7f83][ADB] Using 'adb.exe' from 'C:\Users\User\AppData\Local\Android\Sdk\platform-tools\adb.exe'
[1e6a7f83][ADB] Running 'C:\Users\User\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 start-server'
[1e6a7f83][ADB] Setting device id to emulator-5554
[1e6a7f83][AndroidUiautomator2Driver@212c] Starting 'com.example.github_actions_example' directly on the device
[1e6a7f83][ADB] Running 'C:\Users\User\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s emulator-5554 shell getprop ro.build.version.sdk'
[1e6a7f83][ADB] Current device property 'ro.build.version.sdk': 34
[1e6a7f83][ADB] Getting device platform version
[1e6a7f83][ADB] Running 'C:\Users\User\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s emulator-5554 shell getprop ro.build.version.release'
[1e6a7f83][ADB] Current device property 'ro.build.version.release': 14
[1e6a7f83][ADB] Device API level: 34
[1e6a7f83][AndroidUiautomator2Driver@212c] Relaxing hidden api policy
[1e6a7f83][ADB] Running 'C:\Users\User\AppData\Local\Android\Sdk\platform-tools\adb.exe -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''
[1e6a7f83][AndroidUiautomator2Driver@212c] No app sent in, not parsing package/activity
[1e6a7f83][ADB] Running 'C:\Users\User\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s emulator-5554 wait-for-device'
[1e6a7f83][ADB] Running 'C:\Users\User\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s emulator-5554 shell echo ping'
[1e6a7f83][AndroidUiautomator2Driver@212c] Pushing settings apk to the device...
[1e6a7f83][ADB] Getting package info for 'io.appium.settings'
[1e6a7f83][ADB] Running 'C:\Users\User\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s emulator-5554 shell dumpsys package io.appium.settings'
[1e6a7f83][ADB] Using 'aapt2.exe' from 'C:\Users\User\AppData\Local\Android\Sdk\build-tools\33.0.0\aapt2.exe'
[1e6a7f83][ADB] Reading package manifest: 'C:\\Users\\User\\AppData\\Local\\Android\\Sdk\\build-tools\\33.0.0\\aapt2.exe dump badging C:\\Users\\User\\.appium\\node_modules\\appium-flutter-driver\\node_modules\\appium-uiautomator2-driver\\node_modules\\io.appium.settings\\apks\\settings_apk-debug.apk'
[1e6a7f83][ADB] The version code of the installed 'io.appium.settings' is greater than the application version code (103 > 98)
[1e6a7f83][ADB] There is no need to downgrade 'io.appium.settings'
[1e6a7f83][ADB] Running 'C:\Users\User\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s emulator-5554 shell dumpsys activity services io.appium.settings'
[1e6a7f83][AndroidUiautomator2Driver@212c] io.appium.settings is already running. There is no need to reset its permissions.
[1e6a7f83][Logcat] Starting logs capture with command: C:\\Users\\User\\AppData\\Local\\Android\\Sdk\\platform-tools\\adb.exe -P 5037 -s emulator-5554 logcat -v threadtime
[1e6a7f83][AndroidUiautomator2Driver@212c] Forwarding UiAutomator2 Server port 6790 to local port 8202
[1e6a7f83][ADB] Forwarding system: 8202 to device: 6790
[1e6a7f83][ADB] Running 'C:\Users\User\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s emulator-5554 forward tcp:8202 tcp:6790'
[1e6a7f83][ADB] Getting package info for 'io.appium.uiautomator2.server'
[1e6a7f83][ADB] Running 'C:\Users\User\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s emulator-5554 shell dumpsys package io.appium.uiautomator2.server'
[1e6a7f83][ADB] Getting install status for io.appium.uiautomator2.server.test
[1e6a7f83][AndroidUiautomator2Driver@212c] No app capability. Assuming it is already on the device
[1e6a7f83][ADB] Getting install status for com.example.github_actions_example
[1e6a7f83][ADB] Running 'C:\Users\User\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s emulator-5554 shell cmd package list packages'
[1e6a7f83][ADB] Running 'C:\Users\User\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s emulator-5554 shell cmd package list packages'
[1e6a7f83][ADB] Reading package manifest: 'C:\\Users\\User\\AppData\\Local\\Android\\Sdk\\build-tools\\33.0.0\\aapt2.exe dump badging C:\\Users\\User\\.appium\\node_modules\\appium-flutter-driver\\node_modules\\appium-uiautomator2-driver\\node_modules\\appium-uiautomator2-server\\apks\\appium-uiautomator2-server-v7.0.21.apk'
[1e6a7f83][ADB] 'com.example.github_actions_example' is installed
[1e6a7f83][ADB] Running 'C:\Users\User\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s emulator-5554 shell am force-stop com.example.github_actions_example'
[1e6a7f83][ADB] 'io.appium.uiautomator2.server.test' is installed
[1e6a7f83][ADB] Running 'C:\Users\User\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s emulator-5554 shell pm clear com.example.github_actions_example'
[1e6a7f83][ADB] The version name of the installed 'io.appium.uiautomator2.server' is greater or equal to the application version name ('7.0.21' >= '7.0.21')
[1e6a7f83][AndroidUiautomator2Driver@212c] Server packages status: [{"installState":"sameVersionInstalled","appPath":"C:\\Users\\User\\.appium\\node_modules\\appium-flutter-driver\\node_modules\\appium-uiautomator2-driver\\node_modules\\appium-uiautomator2-server\\apks\\appium-uiautomator2-server-v7.0.21.apk","appId":"io.appium.uiautomator2.server"},{"installState":"sameVersionInstalled","appPath":"C:\\Users\\User\\.appium\\node_modules\\appium-flutter-driver\\node_modules\\appium-uiautomator2-driver\\node_modules\\appium-uiautomator2-server\\apks\\appium-uiautomator2-server-debug-androidTest.apk","appId":"io.appium.uiautomator2.server.test"}]
[1e6a7f83][AndroidUiautomator2Driver@212c] Server packages are not going to be (re)installed
[1e6a7f83][AndroidUiautomator2Driver@212c] Waiting up to 30000ms for services to be available
[1e6a7f83][ADB] Running 'C:\Users\User\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s emulator-5554 shell pm list instrumentation'
[1e6a7f83][AndroidUiautomator2Driver@212c] Instrumentation target 'io.appium.uiautomator2.server.test/androidx.test.runner.AndroidJUnitRunner' is available
[1e6a7f83][ADB] Adding packages ["io.appium.settings","io.appium.uiautomator2.server","io.appium.uiautomator2.server.test"] to Doze whitelist
[1e6a7f83][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",";"]]
[1e6a7f83][ADB] Running 'C:\Users\User\AppData\Local\Android\Sdk\platform-tools\adb.exe -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 ;'
[1e6a7f83][AndroidUiautomator2Driver@212c] Performed fast reset on the installed 'com.example.github_actions_example' application (stop and clear)
[1e6a7f83][AndroidUiautomator2Driver@212c] Performing shallow cleanup of automation leftovers
[1e6a7f83][AndroidUiautomator2Driver@212c] The following obsolete sessions are still running: ["fea3e66c-1119-4a61-9b5e-2a9df871eb0f"]
[1e6a7f83][AndroidUiautomator2Driver@212c] Cleaning up 1 obsolete session
[1c6fdbd7][AndroidUiautomator2Driver@9613] [Instrumentation] io.appium.uiautomator2.server.test.AppiumUiAutomator2Server:.
[1c6fdbd7][AndroidUiautomator2Driver@9613] [Instrumentation]
[1c6fdbd7][AndroidUiautomator2Driver@9613] [Instrumentation] Time: 38.094
[1c6fdbd7][AndroidUiautomator2Driver@9613] [Instrumentation]
[1c6fdbd7][AndroidUiautomator2Driver@9613] [Instrumentation] OK (1 test)
[1c6fdbd7][AndroidUiautomator2Driver@9613] [Instrumentation]
[1c6fdbd7][AndroidUiautomator2Driver@9613] [Instrumentation]
[1c6fdbd7][AndroidUiautomator2Driver@9613] [Instrumentation] The process has exited with code 0, signal null
[1e6a7f83][ADB] Running 'C:\Users\User\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s emulator-5554 shell am force-stop io.appium.uiautomator2.server'
[1e6a7f83][ADB] Running 'C:\Users\User\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s emulator-5554 shell am force-stop io.appium.uiautomator2.server.test'
[1e6a7f83][AndroidUiautomator2Driver@212c] Starting UIAutomator2 server 7.0.21
[1e6a7f83][AndroidUiautomator2Driver@212c] Using UIAutomator2 server from 'C:\Users\User\.appium\node_modules\appium-flutter-driver\node_modules\appium-uiautomator2-driver\node_modules\appium-uiautomator2-server\apks\appium-uiautomator2-server-v7.0.21.apk' and test from 'C:\Users\User\.appium\node_modules\appium-flutter-driver\node_modules\appium-uiautomator2-driver\node_modules\appium-uiautomator2-server\apks\appium-uiautomator2-server-debug-androidTest.apk'
[1e6a7f83][AndroidUiautomator2Driver@212c] Waiting up to 30000ms for UiAutomator2 to be online...
[1e6a7f83][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"]
[1e6a7f83][AndroidUiautomator2Driver@212c] Matched '/status' to command name 'getStatus'
[1e6a7f83][AndroidUiautomator2Driver@212c] Proxying [GET /status] to [GET http://127.0.0.1:8202/status] with no body
[1e6a7f83][AndroidUiautomator2Driver@212c] socket hang up
[1e6a7f83][AndroidUiautomator2Driver@212c] Matched '/status' to command name 'getStatus'
[1e6a7f83][AndroidUiautomator2Driver@212c] Proxying [GET /status] to [GET http://127.0.0.1:8202/status] with no body
[1e6a7f83][AndroidUiautomator2Driver@212c] socket hang up
[1e6a7f83][AndroidUiautomator2Driver@212c] [Instrumentation]
[1e6a7f83][AndroidUiautomator2Driver@212c] Matched '/status' to command name 'getStatus'
[1e6a7f83][AndroidUiautomator2Driver@212c] Proxying [GET /status] to [GET http://127.0.0.1:8202/status] with no body
[1e6a7f83][AndroidUiautomator2Driver@212c] socket hang up
[1e6a7f83][AndroidUiautomator2Driver@212c] Matched '/status' to command name 'getStatus'
[1e6a7f83][AndroidUiautomator2Driver@212c] Proxying [GET /status] to [GET http://127.0.0.1:8202/status] with no body
[1e6a7f83][AndroidUiautomator2Driver@212c] Got response with status 200: {"sessionId":"None","value":{"message":"UiAutomator2 Server is ready to accept commands","ready":true}}
[1e6a7f83][AndroidUiautomator2Driver@212c] The initialization of the instrumentation process took 3142ms
[1e6a7f83][AndroidUiautomator2Driver@212c] Matched '/session' to command name 'createSession'
[1e6a7f83][AndroidUiautomator2Driver@212c] Proxying [POST /session] to [POST http://127.0.0.1:8202/session] with body: {"capabilities":{"firstMatch":[{"platformName":"Android","platformVersion":"14","deviceName":"emulator-5554","noReset":false,"appActivity":".MainActivity","appPackage":"com.example.github_actions_example","automationName":"flutter","ensureWebviewsHavePages":true,"nativeWebScreenshot":true,"newCommandTimeout":3600,"connectHardwareKeyboard":true,"platform":"LINUX","webStorageEnabled":false,"takesScreenshot":true,"javascriptEnabled":true,"databaseEnabled":false,"networkConnectionEnabled":true,"locationContextEnabled":false,"warnings":{},"desired":{"platformName":"Android","platformVersion":"14","deviceName":"Emulator_test_123","noReset":false,"appActivity":".MainActivity","appPackage":"com.example.github_actions_example","automationName":"flutter","ensureWebviewsHavePages":true,"nativeWebScreenshot":true,"newCommandTimeout":3600,"connectHardwareKeyboard":true},"deviceUDID":"emulator-5554"}],"alwaysMatch":{}}}
[1e6a7f83][AndroidUiautomator2Driver@212c] Got response with status 200: {"sessionId":"fb09e047-3953-4731-a8d4-737f86f1dca7","value":{"capabilities":{"firstMatch":[{"platformName":"Android","platformVersion":"14","deviceName":"emulator-5554","noReset":false,"appActivity":".MainActivity","appPackage":"com.example.github_actions_example","automationName":"flutter","ensureWebviewsHavePages":true,"nativeWebScreenshot":true,"newCommandTimeout":3600,"connectHardwareKeyboard":true,"platform":"LINUX","webStorageEnabled":false,"takesScreenshot":true,"javascriptEnabled":true,"databaseEnabled":false,"networkConnectionEnabled":true,"locationContextEnabled":false,"warnings":{},"desired":{"platformName":"Android","platformVersion":"14","deviceName":"Emulator_test_123","noReset":false,"appActivity":".MainActivity","appPackage":"com.example.github_actions_example","automationName":"flutter","ensureWebviewsHavePages":true,"nativeWebScreenshot":true,"newCommandTimeout":3600,"connectHardwareKeyboard":true},"deviceUDID":"emulator-5554"}],"alwaysMatch":{}},"sessionId":"fb09e047-3953-4731-a8d4-737f8...
[1e6a7f83][AndroidUiautomator2Driver@212c] Determined the downstream protocol as 'W3C'
[1e6a7f83][AndroidUiautomator2Driver@212c] Proxying [GET /appium/device/pixel_ratio] to [GET http://127.0.0.1:8202/session/fb09e047-3953-4731-a8d4-737f86f1dca7/appium/device/pixel_ratio] with no body
[1e6a7f83][AndroidUiautomator2Driver@212c] Matched '/appium/device/system_bars' to command name 'getSystemBars'
[1e6a7f83][AndroidUiautomator2Driver@212c] Proxying [GET /appium/device/system_bars] to [GET http://127.0.0.1:8202/session/fb09e047-3953-4731-a8d4-737f86f1dca7/appium/device/system_bars] with no body
[1e6a7f83][AndroidUiautomator2Driver@212c] Matched '/window/current/size' to command name 'getWindowSize'
[1e6a7f83][AndroidUiautomator2Driver@212c] Proxying [GET /window/current/size] to [GET http://127.0.0.1:8202/session/fb09e047-3953-4731-a8d4-737f86f1dca7/window/current/size] with no body
[1e6a7f83][AndroidUiautomator2Driver@212c] Proxying [GET /appium/device/info] to [GET http://127.0.0.1:8202/session/fb09e047-3953-4731-a8d4-737f86f1dca7/appium/device/info] with no body
[1e6a7f83][ADB] Running 'C:\Users\User\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s emulator-5554 shell dumpsys window'
[1e6a7f83][ADB] Running 'C:\Users\User\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s emulator-5554 shell dumpsys power'
[1e6a7f83][AndroidUiautomator2Driver@212c] Got response with status 200: {"sessionId":"fb09e047-3953-4731-a8d4-737f86f1dca7","value":2.75}
[1e6a7f83][AndroidUiautomator2Driver@212c] Got response with status 200: {"sessionId":"fb09e047-3953-4731-a8d4-737f86f1dca7","value":{"statusBar":83}}
[1e6a7f83][AndroidUiautomator2Driver@212c] Got response with status 200: {"sessionId":"fb09e047-3953-4731-a8d4-737f86f1dca7","value":{"height":2280,"width":1080}}
[1e6a7f83][AndroidUiautomator2Driver@212c] Got response with status 200: {"sessionId":"fb09e047-3953-4731-a8d4-737f86f1dca7","value":{"androidId":"0c4366abb8f3e683","apiVersion":"34","bluetooth":{"state":"ON"},"brand":"google","carrierName":"","displayDensity":440,"locale":"en_US","manufacturer":"Google","model":"sdk_gphone64_x86_64","networks":[{"capabilities":{"SSID":null,"linkDownBandwidthKbps":30000,"linkUpstreamBandwidthKbps":12000,"networkCapabilities":"NET_CAPABILITY_NOT_METERED,NET_CAPABILITY_INTERNET,NET_CAPABILITY_NOT_RESTRICTED,NET_CAPABILITY_TRUSTED,NET_CAPABILITY_NOT_VPN,NET_CAPABILITY_VALIDATED,NET_CAPABILITY_NOT_ROAMING,NET_CAPABILITY_FOREGROUND,NET_CAPABILITY_NOT_CONGESTED,NET_CAPABILITY_NOT_SUSPENDED","signalStrength":-50,"transportTypes":"TRANSPORT_WIFI"},"detailedState":"CONNECTED","extraInfo":"","isAvailable":true,"isConnected":true,"isFailover":false,"isRoaming":false,"state":"CONNECTED","subtype":-1,"subtypeName":"","type":1,"typeName":"WIFI"}],"platformVersion":"14","realDisplaySize":"1080x2280","timeZone":"Asia/Bangkok"}}
[1e6a7f83][AndroidUiautomator2Driver@212c] Screen already unlocked, doing nothing
[1e6a7f83][AndroidUiautomator2Driver@212c] Starting 'com.example.github_actions_example/.MainActivity and waiting for 'com.example.github_actions_example/.MainActivity'
[1e6a7f83][ADB] Running 'C:\Users\User\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s emulator-5554 shell am start -W -n com.example.github_actions_example/.MainActivity -S -a android.intent.action.MAIN -c android.intent.category.LAUNCHER -f 0x10200000'
[1e6a7f83][FlutterDriver@480e] Deleting Flutter Driver session
[1e6a7f83][FlutterDriver@480e] Cleanup the port forward
[1e6a7f83][AppiumDriver@592b] Event 'newSessionStarted' logged at 1726130583605 (15:43:03 GMT+0700 (Western Indonesia Time))
[1e6a7f83][AppiumDriver@592b] Encountered internal error running command: Error: No observatory URL matching to '/(Observatory listening on |An Observatory debugger and profiler on\s.+\sis available at: |The Dart VM service is listening on )((http|\/\/)[a-zA-Z0-9:/=_\-.\[\]]+)/' was found in the device log. Please make sure the application under test is configured properly according to https://github.com/appium/appium-flutter-driver#usage and that it does not crash on startup.
at FlutterDriver.getObservatoryWsUri (C:\Users\User\.appium\node_modules\appium-flutter-driver\lib\sessions\android.ts:85:13)
at FlutterDriver.connectAndroidSession (C:\Users\User\.appium\node_modules\appium-flutter-driver\lib\sessions\android.ts:48:28)
at FlutterDriver.startAndroidSession (C:\Users\User\.appium\node_modules\appium-flutter-driver\lib\sessions\android.ts:38:5)
at FlutterDriver.createSession (C:\Users\User\.appium\node_modules\appium-flutter-driver\lib\sessions\session.ts:45:43)
at AppiumDriver.createSession (C:\Users\User\AppData\Roaming\npm\node_modules\appium\lib\appium.js:731:35)
[1e6a7f83][HTTP] <-- POST /session 500 5966 ms - 1378
[HTTP] Request idempotency key: 218a6f7e-fadd-4a7e-8026-c482ffa92d2c
[HTTP] --> POST //session {"capabilities":{"firstMatch":[{}],"alwaysMatch":{"platformName":"Android","appium:platformVersion":"14","appium:deviceName":"Emulator_test_123","appium:noReset":"false","appium:appActivity":".MainActivity","appium:appPackage":"com.example.github_actions_example","appium:automationName":"flutter","appium:ensureWebviewsHavePages":true,"appium:nativeWebScreenshot":true,"appium:newCommandTimeout":3600,"appium:connectHardwareKeyboard":true}}}
[HTTP] No route found for //session
[HTTP] <-- POST //session 404 1 ms - 211
[HTTP] Request idempotency key: 6989a84d-314f-4b9b-8a16-7c4b3673fd7e
[HTTP] --> POST /session {"capabilities":{"firstMatch":[{}],"alwaysMatch":{"platformName":"Android","appium:platformVersion":"14","appium:deviceName":"Emulator_test_123","appium:noReset":"false","appium:appActivity":".MainActivity","appium:appPackage":"com.example.github_actions_example","appium:automationName":"flutter","appium:ensureWebviewsHavePages":true,"appium:nativeWebScreenshot":true,"appium:newCommandTimeout":3600,"appium:connectHardwareKeyboard":true}}}
[AppiumDriver@592b] Calling AppiumDriver.createSession() with args: [null,null,{"firstMatch":[{}],"alwaysMatch":{"platformName":"Android","appium:platformVersion":"14","appium:deviceName":"Emulator_test_123","appium:noReset":"false","appium:appActivity":".MainActivity","appium:appPackage":"com.example.github_actions_example","appium:automationName":"flutter","appium:ensureWebviewsHavePages":true,"appium:nativeWebScreenshot":true,"appium:newCommandTimeout":3600,"appium:connectHardwareKeyboard":true}}]
[AppiumDriver@592b] Event 'newSessionRequested' logged at 1726130608304 (15:43:28 GMT+0700 (Western Indonesia Time))
[Appium] Attempting to find matching driver for automationName 'flutter' and platformName 'Android'
[Appium] The 'flutter' driver was installed and matched caps.
[Appium] Will require it at C:\Users\User\.appium\node_modules\appium-flutter-driver
[Appium] Requiring driver at C:\Users\User\.appium\node_modules\appium-flutter-driver\build\lib\driver.js
[AppiumDriver@592b] Appium v2.11.3 creating new FlutterDriver (v2.9.2) session
[AppiumDriver@592b] Checking BaseDriver versions for Appium and FlutterDriver
[AppiumDriver@592b] Appium's BaseDriver version is 9.11.3
[AppiumDriver@592b] FlutterDriver's BaseDriver version is 9.11.3
[FlutterDriver@cf9f]
[FlutterDriver@cf9f] Creating session with W3C capabilities: {
"alwaysMatch": {
"platformName": "Android",
"appium:platformVersion": "14",
"appium:deviceName": "Emulator_test_123",
"appium:noReset": "false",
"appium:appActivity": ".MainActivity",
"appium:appPackage": "com.example.github_actions_example",
"appium:automationName": "flutter",
"appium:ensureWebviewsHavePages": true,
"appium:nativeWebScreenshot": true,
"appium:newCommandTimeout": 3600,
"appium:connectHardwareKeyboard": true
},
"firstMatch": [
{}
]
}
[FlutterDriver@cf9f] Capability 'noReset' changed from string to boolean. This may cause unexpected behavior
[FlutterDriver@cf9f] The following provided capabilities were not recognized by this driver:
[FlutterDriver@cf9f] deviceName
[FlutterDriver@cf9f] appActivity
[FlutterDriver@cf9f] appPackage
[FlutterDriver@cf9f] ensureWebviewsHavePages
[FlutterDriver@cf9f] nativeWebScreenshot
[FlutterDriver@cf9f] connectHardwareKeyboard
[78870a2b][FlutterDriver@cf9f] Session created with session id: 78870a2b-156b-4f60-ba22-b601cf6c90ad
[78870a2b][FlutterDriver@cf9f] Starting an Android proxy session
[78870a2b][AndroidUiautomator2Driver@326b]
[78870a2b][AndroidUiautomator2Driver@326b] Creating session with W3C capabilities: {
"alwaysMatch": {
"platformName": "Android",
"appium:platformVersion": "14",
"appium:deviceName": "Emulator_test_123",
"appium:noReset": "false",
"appium:appActivity": ".MainActivity",
"appium:appPackage": "com.example.github_actions_example",
"appium:automationName": "flutter",
"appium:ensureWebviewsHavePages": true,
"appium:nativeWebScreenshot": true,
"appium:newCommandTimeout": 3600,
"appium:connectHardwareKeyboard": true
},
"firstMatch": [
{}
]
}
[78870a2b][AndroidUiautomator2Driver@326b] Capability 'noReset' changed from string to boolean. This may cause unexpected behavior
[78870a2b][AndroidUiautomator2Driver@326b] The following provided capabilities were not recognized by this driver:
[78870a2b][AndroidUiautomator2Driver@326b] connectHardwareKeyboard
[c138b007][AndroidUiautomator2Driver@326b] Session created with session id: c138b007-4514-4513-9a6d-3cd56cf503d7
[c138b007][ADB] Using 'adb.exe' from 'C:\Users\User\AppData\Local\Android\Sdk\platform-tools\adb.exe'
[c138b007][ADB] Running 'C:\Users\User\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 start-server'
[c138b007][AndroidUiautomator2Driver@326b] Retrieving device list
[c138b007][ADB] Trying to find connected Android devices
[c138b007][ADB] Getting connected devices
[c138b007][ADB] Connected devices: [{"udid":"emulator-5554","state":"device"}]
[c138b007][AndroidUiautomator2Driver@326b] Looking for a device with Android '14.0.0'
[c138b007][ADB] Setting device id to emulator-5554
[c138b007][ADB] Getting device platform version
[c138b007][ADB] Running 'C:\Users\User\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s emulator-5554 shell getprop ro.build.version.release'
[c138b007][ADB] Current device property 'ro.build.version.release': 14
[c138b007][AndroidUiautomator2Driver@326b] Using device: emulator-5554
[c138b007][ADB] Using 'adb.exe' from 'C:\Users\User\AppData\Local\Android\Sdk\platform-tools\adb.exe'
[c138b007][ADB] Running 'C:\Users\User\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 start-server'
[c138b007][ADB] Setting device id to emulator-5554
[c138b007][AndroidUiautomator2Driver@326b] Starting 'com.example.github_actions_example' directly on the device
[c138b007][ADB] Running 'C:\Users\User\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s emulator-5554 shell getprop ro.build.version.sdk'
[c138b007][ADB] Current device property 'ro.build.version.sdk': 34
[c138b007][ADB] Getting device platform version
[c138b007][ADB] Running 'C:\Users\User\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s emulator-5554 shell getprop ro.build.version.release'
[c138b007][ADB] Current device property 'ro.build.version.release': 14
[c138b007][ADB] Device API level: 34
[c138b007][AndroidUiautomator2Driver@326b] Relaxing hidden api policy
[c138b007][ADB] Running 'C:\Users\User\AppData\Local\Android\Sdk\platform-tools\adb.exe -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''
[c138b007][AndroidUiautomator2Driver@326b] No app sent in, not parsing package/activity
[c138b007][ADB] Running 'C:\Users\User\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s emulator-5554 wait-for-device'
[c138b007][ADB] Running 'C:\Users\User\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s emulator-5554 shell echo ping'
[c138b007][AndroidUiautomator2Driver@326b] Pushing settings apk to the device...
[c138b007][ADB] Getting package info for 'io.appium.settings'
[c138b007][ADB] Running 'C:\Users\User\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s emulator-5554 shell dumpsys package io.appium.settings'
[c138b007][ADB] Using 'aapt2.exe' from 'C:\Users\User\AppData\Local\Android\Sdk\build-tools\33.0.0\aapt2.exe'
[c138b007][ADB] Reading package manifest: 'C:\\Users\\User\\AppData\\Local\\Android\\Sdk\\build-tools\\33.0.0\\aapt2.exe dump badging C:\\Users\\User\\.appium\\node_modules\\appium-flutter-driver\\node_modules\\appium-uiautomator2-driver\\node_modules\\io.appium.settings\\apks\\settings_apk-debug.apk'
[c138b007][ADB] The version code of the installed 'io.appium.settings' is greater than the application version code (103 > 98)
[c138b007][ADB] There is no need to downgrade 'io.appium.settings'
[c138b007][ADB] Running 'C:\Users\User\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s emulator-5554 shell dumpsys activity services io.appium.settings'
[c138b007][AndroidUiautomator2Driver@326b] io.appium.settings is already running. There is no need to reset its permissions.
[c138b007][Logcat] Starting logs capture with command: C:\\Users\\User\\AppData\\Local\\Android\\Sdk\\platform-tools\\adb.exe -P 5037 -s emulator-5554 logcat -v threadtime
[c138b007][AndroidUiautomator2Driver@326b] Forwarding UiAutomator2 Server port 6790 to local port 8203
[c138b007][ADB] Forwarding system: 8203 to device: 6790
[c138b007][ADB] Running 'C:\Users\User\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s emulator-5554 forward tcp:8203 tcp:6790'
[c138b007][ADB] Getting package info for 'io.appium.uiautomator2.server'
[c138b007][ADB] Running 'C:\Users\User\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s emulator-5554 shell dumpsys package io.appium.uiautomator2.server'
[c138b007][ADB] Getting install status for io.appium.uiautomator2.server.test
[c138b007][AndroidUiautomator2Driver@326b] No app capability. Assuming it is already on the device
[c138b007][ADB] Getting install status for com.example.github_actions_example
[c138b007][ADB] Running 'C:\Users\User\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s emulator-5554 shell cmd package list packages'
[c138b007][ADB] Running 'C:\Users\User\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s emulator-5554 shell cmd package list packages'
[c138b007][ADB] 'io.appium.uiautomator2.server.test' is installed
[c138b007][ADB] 'com.example.github_actions_example' is installed
[c138b007][ADB] Running 'C:\Users\User\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s emulator-5554 shell am force-stop com.example.github_actions_example'
[c138b007][ADB] Reading package manifest: 'C:\\Users\\User\\AppData\\Local\\Android\\Sdk\\build-tools\\33.0.0\\aapt2.exe dump badging C:\\Users\\User\\.appium\\node_modules\\appium-flutter-driver\\node_modules\\appium-uiautomator2-driver\\node_modules\\appium-uiautomator2-server\\apks\\appium-uiautomator2-server-v7.0.21.apk'
[c138b007][ADB] The version name of the installed 'io.appium.uiautomator2.server' is greater or equal to the application version name ('7.0.21' >= '7.0.21')
[c138b007][AndroidUiautomator2Driver@326b] Server packages status: [{"installState":"sameVersionInstalled","appPath":"C:\\Users\\User\\.appium\\node_modules\\appium-flutter-driver\\node_modules\\appium-uiautomator2-driver\\node_modules\\appium-uiautomator2-server\\apks\\appium-uiautomator2-server-v7.0.21.apk","appId":"io.appium.uiautomator2.server"},{"installState":"sameVersionInstalled","appPath":"C:\\Users\\User\\.appium\\node_modules\\appium-flutter-driver\\node_modules\\appium-uiautomator2-driver\\node_modules\\appium-uiautomator2-server\\apks\\appium-uiautomator2-server-debug-androidTest.apk","appId":"io.appium.uiautomator2.server.test"}]
[c138b007][AndroidUiautomator2Driver@326b] Server packages are not going to be (re)installed
[c138b007][AndroidUiautomator2Driver@326b] Waiting up to 30000ms for services to be available
[c138b007][ADB] Running 'C:\Users\User\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s emulator-5554 shell pm list instrumentation'
[c138b007][ADB] Running 'C:\Users\User\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s emulator-5554 shell pm clear com.example.github_actions_example'
[c138b007][AndroidUiautomator2Driver@326b] Instrumentation target 'io.appium.uiautomator2.server.test/androidx.test.runner.AndroidJUnitRunner' is available
[c138b007][ADB] Adding packages ["io.appium.settings","io.appium.uiautomator2.server","io.appium.uiautomator2.server.test"] to Doze whitelist
[c138b007][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",";"]]
[c138b007][ADB] Running 'C:\Users\User\AppData\Local\Android\Sdk\platform-tools\adb.exe -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 ;'
[c138b007][AndroidUiautomator2Driver@326b] Performed fast reset on the installed 'com.example.github_actions_example' application (stop and clear)
[c138b007][AndroidUiautomator2Driver@326b] Performing shallow cleanup of automation leftovers
[c138b007][AndroidUiautomator2Driver@326b] The following obsolete sessions are still running: ["fb09e047-3953-4731-a8d4-737f86f1dca7"]
[c138b007][AndroidUiautomator2Driver@326b] Cleaning up 1 obsolete session
[1e6a7f83][AndroidUiautomator2Driver@212c] [Instrumentation] io.appium.uiautomator2.server.test.AppiumUiAutomator2Server:.
[1e6a7f83][AndroidUiautomator2Driver@212c] [Instrumentation]
[1e6a7f83][AndroidUiautomator2Driver@212c] [Instrumentation] Time: 29.073
[1e6a7f83][AndroidUiautomator2Driver@212c] [Instrumentation]
[1e6a7f83][AndroidUiautomator2Driver@212c] [Instrumentation] OK (1 test)
[1e6a7f83][AndroidUiautomator2Driver@212c] [Instrumentation]
[1e6a7f83][AndroidUiautomator2Driver@212c] [Instrumentation]
[1e6a7f83][AndroidUiautomator2Driver@212c] [Instrumentation] The process has exited with code 0, signal null
[c138b007][ADB] Running 'C:\Users\User\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s emulator-5554 shell am force-stop io.appium.uiautomator2.server'
[c138b007][ADB] Running 'C:\Users\User\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s emulator-5554 shell am force-stop io.appium.uiautomator2.server.test'
[c138b007][AndroidUiautomator2Driver@326b] Starting UIAutomator2 server 7.0.21
[c138b007][AndroidUiautomator2Driver@326b] Using UIAutomator2 server from 'C:\Users\User\.appium\node_modules\appium-flutter-driver\node_modules\appium-uiautomator2-driver\node_modules\appium-uiautomator2-server\apks\appium-uiautomator2-server-v7.0.21.apk' and test from 'C:\Users\User\.appium\node_modules\appium-flutter-driver\node_modules\appium-uiautomator2-driver\node_modules\appium-uiautomator2-server\apks\appium-uiautomator2-server-debug-androidTest.apk'
[c138b007][AndroidUiautomator2Driver@326b] Waiting up to 30000ms for UiAutomator2 to be online...
[c138b007][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"]
[c138b007][AndroidUiautomator2Driver@326b] Matched '/status' to command name 'getStatus'
[c138b007][AndroidUiautomator2Driver@326b] Proxying [GET /status] to [GET http://127.0.0.1:8203/status] with no body
[c138b007][AndroidUiautomator2Driver@326b] socket hang up
[c138b007][AndroidUiautomator2Driver@326b] [Instrumentation]
[c138b007][AndroidUiautomator2Driver@326b] Matched '/status' to command name 'getStatus'
[c138b007][AndroidUiautomator2Driver@326b] Proxying [GET /status] to [GET http://127.0.0.1:8203/status] with no body
[c138b007][AndroidUiautomator2Driver@326b] socket hang up
[c138b007][AndroidUiautomator2Driver@326b] Matched '/status' to command name 'getStatus'
[c138b007][AndroidUiautomator2Driver@326b] Proxying [GET /status] to [GET http://127.0.0.1:8203/status] with no body
[c138b007][AndroidUiautomator2Driver@326b] Got response with status 200: {"sessionId":"None","value":{"message":"UiAutomator2 Server is ready to accept commands","ready":true}}
[c138b007][AndroidUiautomator2Driver@326b] The initialization of the instrumentation process took 2103ms
[c138b007][AndroidUiautomator2Driver@326b] Matched '/session' to command name 'createSession'
[c138b007][AndroidUiautomator2Driver@326b] Proxying [POST /session] to [POST http://127.0.0.1:8203/session] with body: {"capabilities":{"firstMatch":[{"platformName":"Android","platformVersion":"14","deviceName":"emulator-5554","noReset":false,"appActivity":".MainActivity","appPackage":"com.example.github_actions_example","automationName":"flutter","ensureWebviewsHavePages":true,"nativeWebScreenshot":true,"newCommandTimeout":3600,"connectHardwareKeyboard":true,"platform":"LINUX","webStorageEnabled":false,"takesScreenshot":true,"javascriptEnabled":true,"databaseEnabled":false,"networkConnectionEnabled":true,"locationContextEnabled":false,"warnings":{},"desired":{"platformName":"Android","platformVersion":"14","deviceName":"Emulator_test_123","noReset":false,"appActivity":".MainActivity","appPackage":"com.example.github_actions_example","automationName":"flutter","ensureWebviewsHavePages":true,"nativeWebScreenshot":true,"newCommandTimeout":3600,"connectHardwareKeyboard":true},"deviceUDID":"emulator-5554"}],"alwaysMatch":{}}}
[c138b007][AndroidUiautomator2Driver@326b] Got response with status 200: {"sessionId":"cfbc7184-3d54-477a-8c0e-346381755af1","value":{"capabilities":{"firstMatch":[{"platformName":"Android","platformVersion":"14","deviceName":"emulator-5554","noReset":false,"appActivity":".MainActivity","appPackage":"com.example.github_actions_example","automationName":"flutter","ensureWebviewsHavePages":true,"nativeWebScreenshot":true,"newCommandTimeout":3600,"connectHardwareKeyboard":true,"platform":"LINUX","webStorageEnabled":false,"takesScreenshot":true,"javascriptEnabled":true,"databaseEnabled":false,"networkConnectionEnabled":true,"locationContextEnabled":false,"warnings":{},"desired":{"platformName":"Android","platformVersion":"14","deviceName":"Emulator_test_123","noReset":false,"appActivity":".MainActivity","appPackage":"com.example.github_actions_example","automationName":"flutter","ensureWebviewsHavePages":true,"nativeWebScreenshot":true,"newCommandTimeout":3600,"connectHardwareKeyboard":true},"deviceUDID":"emulator-5554"}],"alwaysMatch":{}},"sessionId":"cfbc7184-3d54-477a-8c0e-34638...
[c138b007][AndroidUiautomator2Driver@326b] Determined the downstream protocol as 'W3C'
[c138b007][AndroidUiautomator2Driver@326b] Proxying [GET /appium/device/pixel_ratio] to [GET http://127.0.0.1:8203/session/cfbc7184-3d54-477a-8c0e-346381755af1/appium/device/pixel_ratio] with no body
[c138b007][AndroidUiautomator2Driver@326b] Matched '/appium/device/system_bars' to command name 'getSystemBars'
[c138b007][AndroidUiautomator2Driver@326b] Proxying [GET /appium/device/system_bars] to [GET http://127.0.0.1:8203/session/cfbc7184-3d54-477a-8c0e-346381755af1/appium/device/system_bars] with no body
[c138b007][AndroidUiautomator2Driver@326b] Matched '/window/current/size' to command name 'getWindowSize'
[c138b007][AndroidUiautomator2Driver@326b] Proxying [GET /window/current/size] to [GET http://127.0.0.1:8203/session/cfbc7184-3d54-477a-8c0e-346381755af1/window/current/size] with no body
[c138b007][AndroidUiautomator2Driver@326b] Proxying [GET /appium/device/info] to [GET http://127.0.0.1:8203/session/cfbc7184-3d54-477a-8c0e-346381755af1/appium/device/info] with no body
[c138b007][ADB] Running 'C:\Users\User\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s emulator-5554 shell dumpsys window'
[c138b007][ADB] Running 'C:\Users\User\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s emulator-5554 shell dumpsys power'
[c138b007][AndroidUiautomator2Driver@326b] Got response with status 200: {"sessionId":"cfbc7184-3d54-477a-8c0e-346381755af1","value":2.75}
[c138b007][AndroidUiautomator2Driver@326b] Got response with status 200: {"sessionId":"cfbc7184-3d54-477a-8c0e-346381755af1","value":{"statusBar":83}}
[c138b007][AndroidUiautomator2Driver@326b] Got response with status 200: {"sessionId":"cfbc7184-3d54-477a-8c0e-346381755af1","value":{"height":2280,"width":1080}}
[c138b007][AndroidUiautomator2Driver@326b] Got response with status 200: {"sessionId":"cfbc7184-3d54-477a-8c0e-346381755af1","value":{"androidId":"0c4366abb8f3e683","apiVersion":"34","bluetooth":{"state":"ON"},"brand":"google","carrierName":"","displayDensity":440,"locale":"en_US","manufacturer":"Google","model":"sdk_gphone64_x86_64","networks":[{"capabilities":{"SSID":null,"linkDownBandwidthKbps":30000,"linkUpstreamBandwidthKbps":12000,"networkCapabilities":"NET_CAPABILITY_NOT_METERED,NET_CAPABILITY_INTERNET,NET_CAPABILITY_NOT_RESTRICTED,NET_CAPABILITY_TRUSTED,NET_CAPABILITY_NOT_VPN,NET_CAPABILITY_VALIDATED,NET_CAPABILITY_NOT_ROAMING,NET_CAPABILITY_FOREGROUND,NET_CAPABILITY_NOT_CONGESTED,NET_CAPABILITY_NOT_SUSPENDED","signalStrength":-50,"transportTypes":"TRANSPORT_WIFI"},"detailedState":"CONNECTED","extraInfo":"","isAvailable":true,"isConnected":true,"isFailover":false,"isRoaming":false,"state":"CONNECTED","subtype":-1,"subtypeName":"","type":1,"typeName":"WIFI"}],"platformVersion":"14","realDisplaySize":"1080x2280","timeZone":"Asia/Bangkok"}}
[c138b007][AndroidUiautomator2Driver@326b] Screen already unlocked, doing nothing
[c138b007][AndroidUiautomator2Driver@326b] Starting 'com.example.github_actions_example/.MainActivity and waiting for 'com.example.github_actions_example/.MainActivity'
[c138b007][ADB] Running 'C:\Users\User\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s emulator-5554 shell am start -W -n com.example.github_actions_example/.MainActivity -S -a android.intent.action.MAIN -c android.intent.category.LAUNCHER -f 0x10200000'
[c138b007][FlutterDriver@cf9f] Deleting Flutter Driver session
[c138b007][FlutterDriver@cf9f] Cleanup the port forward
[c138b007][AppiumDriver@592b] Event 'newSessionStarted' logged at 1726130613049 (15:43:33 GMT+0700 (Western Indonesia Time))
[c138b007][AppiumDriver@592b] Encountered internal error running command: Error: No observatory URL matching to '/(Observatory listening on |An Observatory debugger and profiler on\s.+\sis available at: |The Dart VM service is listening on )((http|\/\/)[a-zA-Z0-9:/=_\-.\[\]]+)/' was found in the device log. Please make sure the application under test is configured properly according to https://github.com/appium/appium-flutter-driver#usage and that it does not crash on startup.
at FlutterDriver.getObservatoryWsUri (C:\Users\User\.appium\node_modules\appium-flutter-driver\lib\sessions\android.ts:85:13)
at FlutterDriver.connectAndroidSession (C:\Users\User\.appium\node_modules\appium-flutter-driver\lib\sessions\android.ts:48:28)
at FlutterDriver.startAndroidSession (C:\Users\User\.appium\node_modules\appium-flutter-driver\lib\sessions\android.ts:38:5)
at FlutterDriver.createSession (C:\Users\User\.appium\node_modules\appium-flutter-driver\lib\sessions\session.ts:45:43)
at AppiumDriver.createSession (C:\Users\User\AppData\Roaming\npm\node_modules\appium\lib\appium.js:731:35)
[c138b007][HTTP] <-- POST /session 500 4747 ms - 1378
[Appium] Received SIGINT - shutting down
[AppiumDriver@592b] Cleaning up 1 active session
[AppiumDriver@592b] Ending session, cause was 'The process has received SIGINT signal'
[AppiumDriver@592b] Removing session '6411eccf-378a-47df-8cb3-2bb2c6693562' from our master session list
[AndroidUiautomator2Driver@7fd3] Deleting UiAutomator2 session
[AndroidUiautomator2Driver@7fd3] Deleting UiAutomator2 server session
[AndroidUiautomator2Driver@7fd3] Did not get confirmation UiAutomator2 deleteSession worked; Error was: UnknownError: An unknown server-side error occurred while processing the command. Original error: 'DELETE /' cannot be proxied to UiAutomator2 server because the instrumentation process is not running (probably crashed). Check the server log and/or the logcat output for more details
[ADB] Running 'C:\Users\User\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s emulator-5554 shell dumpsys activity services io.appium.settings/.recorder.RecorderService'
[ADB] Removing forwarded port socket connection: 8201
[ADB] Running 'C:\Users\User\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s emulator-5554 forward --remove tcp:8201'
[6411eccf][Logcat] Logcat terminated with code 3221225786, signal null
[c138b007][AndroidUiautomator2Driver@326b] [Instrumentation] io.appium.uiautomator2.server.test.AppiumUiAutomator2Server:
[1e6a7f83][Logcat] Logcat terminated with code 3221225786, signal null
[1c6fdbd7][Logcat] Logcat terminated with code 3221225786, signal null
[c138b007][Logcat] Logcat terminated with code 3221225786, signal null
[c138b007][AndroidUiautomator2Driver@326b] [Instrumentation] The process has exited with code 3221225786, signal null
[AndroidUiautomator2Driver@7fd3] Restoring hidden api policy to the device default configuration
[ADB] Running 'C:\Users\User\AppData\Local\Android\Sdk\platform-tools\adb.exe -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''
[Logcat] Stopping logcat capture
[Logcat] Logcat already stopped
[HTTP] Closing Appium HTTP server
[HTTP] Appium HTTP server has been succesfully closed after 1ms
PS C:\Users\User> appium
[Appium] Welcome to Appium v2.11.3
[Appium] The autodetected Appium home path: C:\Users\User\.appium
[Appium] Attempting to load driver flutter...
[Appium] Attempting to load driver uiautomator2...
[Appium] Attempting to load driver windows...
[Appium] Requiring driver at C:\Users\User\.appium\node_modules\appium-flutter-driver\build\lib\driver.js
[Appium] Requiring driver at C:\Users\User\.appium\node_modules\appium-uiautomator2-driver\build\index.js
[Appium] Requiring driver at C:\Users\User\.appium\node_modules\appium-windows-driver\build\index.js
[Appium] FlutterDriver has been successfully loaded in 3.165s
[Appium] AndroidUiautomator2Driver has been successfully loaded in 3.166s
[Appium] WindowsDriver has been successfully loaded in 3.166s
[Appium] Attempting to load driver chromium...
[Appium] Requiring driver at C:\Users\User\.appium\node_modules\appium-chromium-driver\index.js
[Appium] ChromiumDriver has been successfully loaded in 0.578s
[Appium] Appium REST http interface listener started on http://0.0.0.0:4723
[Appium] You can provide the following URLs in your client code to connect to this server:
http://192.168.56.1:4723/
http://192.168.27.2:4723/
http://192.168.18.16:4723/
http://127.0.0.1:4723/ (only accessible from the same host)
[Appium] Available drivers:
[Appium] - flutter@2.9.2 (automationName 'Flutter')
[Appium] - uiautomator2@3.7.9 (automationName 'UiAutomator2')
[Appium] - windows@2.12.31 (automationName 'Windows')
[Appium] - chromium@1.3.34 (automationName 'Chromium')
[Appium] No plugins have been installed. Use the "appium plugin" command to install the one(s) you want to use.
[HTTP] --> POST /wd/hub/session {"capabilities":{"alwaysMatch":{"appium:app":"Microsoft.WindowsCalculator_8wekyb3d8bbwe!App","appium:automationName":"windows","platformName":"windows","appium:experimental-webdriver":"true","appium:deviceName":"WindowsPC","appium:platformVersion":"11","appium:newCommandTimeout":3600,"appium:connectHardwareKeyboard":true},"firstMatch":[{}]},"desiredCapabilities":{"appium:app":"Microsoft.WindowsCalculator_8wekyb3d8bbwe!App","appium:automationName":"windows","platformName":"windows","appium:experimental-webdriver":"true","appium:deviceName":"WindowsPC","appium:platformVersion":"11","appium:newCommandTimeout":3600,"appium:connectHardwareKeyboard":true}}
[HTTP] No route found for /wd/hub/session
[HTTP] <-- POST /wd/hub/session 404 13 ms - 211
[HTTP] --> GET /sessions {}
[AppiumDriver@dc92] Calling AppiumDriver.getSessions() with args: []
[AppiumDriver@dc92] Responding to client with driver.getSessions() result: []
[HTTP] <-- GET /sessions 304 422470475 ms - -
[Appium] Received SIGINT - shutting down
[AppiumDriver@dc92] There are no active sessions for cleanup
[HTTP] Closing Appium HTTP server
[HTTP] Appium HTTP server has been succesfully closed after 2ms
PS C:\Users\User> appium
[Appium] Welcome to Appium v2.11.3
[Appium] The autodetected Appium home path: C:\Users\User\.appium
[Appium] Attempting to load driver flutter...
[Appium] Attempting to load driver uiautomator2...
[Appium] Attempting to load driver windows...
[Appium] Requiring driver at C:\Users\User\.appium\node_modules\appium-flutter-driver\build\lib\driver.js
[Appium] Requiring driver at C:\Users\User\.appium\node_modules\appium-uiautomator2-driver\build\index.js
[Appium] Requiring driver at C:\Users\User\.appium\node_modules\appium-windows-driver\build\index.js
[Appium] FlutterDriver has been successfully loaded in 3.316s
[Appium] AndroidUiautomator2Driver has been successfully loaded in 3.316s
[Appium] WindowsDriver has been successfully loaded in 3.316s
[Appium] Attempting to load driver chromium...
[Appium] Requiring driver at C:\Users\User\.appium\node_modules\appium-chromium-driver\index.js
[Appium] ChromiumDriver has been successfully loaded in 0.693s
[Appium] Appium REST http interface listener started on http://0.0.0.0:4723
[Appium] You can provide the following URLs in your client code to connect to this server:
http://192.168.56.1:4723/
http://192.168.27.2:4723/
http://192.168.18.16:4723/
http://127.0.0.1:4723/ (only accessible from the same host)
[Appium] Available drivers:
[Appium] - flutter@2.9.2 (automationName 'Flutter')
[Appium] - uiautomator2@3.7.9 (automationName 'UiAutomator2')
[Appium] - windows@2.12.31 (automationName 'Windows')
[Appium] - chromium@1.3.34 (automationName 'Chromium')
[Appium] No plugins have been installed. Use the "appium plugin" command to install the one(s) you want to use.
[HTTP] --> POST /session {"capabilities":{"alwaysMatch":{"platformName":"Android","appium:platformVersion":"14","appium:deviceName":"Emulator_test_123","appium:forceAppLaunch":true,"appium:appActivity":".MainActivity","appium:appPackage":"com.example.github_actions_example","appium:automationName":"flutter","appium:ignoreHiddenApiPolicyError":true,"appium:ensureWebviewsHavePages":true,"appium:nativeWebScreenshot":true,"appium:newCommandTimeout":3600,"appium:connectHardwareKeyboard":true},"firstMatch":[{}]},"desiredCapabilities":{"platformName":"Android","appium:platformVersion":"14","appium:deviceName":"Emulator_test_123","appium:forceAppLaunch":true,"appium:appActivity":".MainActivity","appium:appPackage":"com.example.github_actions_example","appium:automationName":"flutter","appium:ignoreHiddenApiPolicyError":true,"appium:ensureWebviewsHavePages":true,"appium:nativeWebScreenshot":true,"appium:newCommandTimeout":3600,"appium:connectHardwareKeyboard":true}}
[AppiumDriver@228e] Calling AppiumDriver.createSession() with args: [{"platformName":"Android","appium:platformVersion":"14","appium:deviceName":"Emulator_test_123","appium:forceAppLaunch":true,"appium:appActivity":".MainActivity","appium:appPackage":"com.example.github_actions_example","appium:automationName":"flutter","appium:ignoreHiddenApiPolicyError":true,"appium:ensureWebviewsHavePages":true,"appium:nativeWebScreenshot":true,"appium:newCommandTimeout":3600,"appium:connectHardwareKeyboard":true},null,{"alwaysMatch":{"platformName":"Android","appium:platformVersion":"14","appium:deviceName":"Emulator_test_123","appium:forceAppLaunch":true,"appium:appActivity":".MainActivity","appium:appPackage":"com.example.github_actions_example","appium:automationName":"flutter","appium:ignoreHiddenApiPolicyError":true,"appium:ensureWebviewsHavePages":true,"appium:nativeWebScreenshot":true,"appium:newCommandTimeout":3600,"appium:connectHardwareKeyboard":true},"firstMatch":[{}]}]
[AppiumDriver@228e] Event 'newSessionRequested' logged at 1726618579810 (07:16:19 GMT+0700 (Western Indonesia Time))
[Appium] Attempting to find matching driver for automationName 'flutter' and platformName 'Android'
[Appium] The 'flutter' driver was installed and matched caps.
[Appium] Will require it at C:\Users\User\.appium\node_modules\appium-flutter-driver
[Appium] Requiring driver at C:\Users\User\.appium\node_modules\appium-flutter-driver\build\lib\driver.js
[AppiumDriver@228e] Appium v2.11.3 creating new FlutterDriver (v2.9.2) session
[AppiumDriver@228e] Checking BaseDriver versions for Appium and FlutterDriver
[AppiumDriver@228e] Appium's BaseDriver version is 9.11.3
[AppiumDriver@228e] FlutterDriver's BaseDriver version is 9.11.3
[FlutterDriver@8c0d]
[FlutterDriver@8c0d] Creating session with W3C capabilities: {
"alwaysMatch": {
"platformName": "Android",
"appium:platformVersion": "14",
"appium:deviceName": "Emulator_test_123",
"appium:forceAppLaunch": true,
"appium:appActivity": ".MainActivity",
"appium:appPackage": "com.example.github_actions_example",
"appium:automationName": "flutter",
"appium:ignoreHiddenApiPolicyError": true,
"appium:ensureWebviewsHavePages": true,
"appium:nativeWebScreenshot": true,
"appium:newCommandTimeout": 3600,
"appium:connectHardwareKeyboard": true
},
"firstMatch": [
{}
]
}
[FlutterDriver@8c0d] The following provided capabilities were not recognized by this driver:
[FlutterDriver@8c0d] deviceName
[FlutterDriver@8c0d] forceAppLaunch
[FlutterDriver@8c0d] appActivity
[FlutterDriver@8c0d] appPackage
[FlutterDriver@8c0d] ignoreHiddenApiPolicyError
[FlutterDriver@8c0d] ensureWebviewsHavePages
[FlutterDriver@8c0d] nativeWebScreenshot
[FlutterDriver@8c0d] connectHardwareKeyboard
[9bb21be0][FlutterDriver@8c0d] Session created with session id: 9bb21be0-cc12-429a-bd86-6e9156281b85
[9bb21be0][FlutterDriver@8c0d] Starting an Android proxy session
[9bb21be0][AndroidUiautomator2Driver@6626]
[9bb21be0][AndroidUiautomator2Driver@6626] Creating session with W3C capabilities: {
"alwaysMatch": {
"platformName": "Android",
"appium:platformVersion": "14",
"appium:deviceName": "Emulator_test_123",
"appium:forceAppLaunch": true,
"appium:appActivity": ".MainActivity",
"appium:appPackage": "com.example.github_actions_example",
"appium:automationName": "flutter",
"appium:ignoreHiddenApiPolicyError": true,
"appium:ensureWebviewsHavePages": true,
"appium:nativeWebScreenshot": true,
"appium:newCommandTimeout": 3600,
"appium:connectHardwareKeyboard": true
},
"firstMatch": [
{}
]
}
[9bb21be0][AndroidUiautomator2Driver@6626] The following provided capabilities were not recognized by this driver:
[9bb21be0][AndroidUiautomator2Driver@6626] connectHardwareKeyboard
[9f63dacd][AndroidUiautomator2Driver@6626] Session created with session id: 9f63dacd-19c7-44aa-ac6a-52467e8d3914
[9f63dacd][ADB] Found 2 'build-tools' folders under 'C:\Users\User\AppData\Local\Android\Sdk' (newest first):
[9f63dacd][ADB] C:\Users\User\AppData\Local\Android\Sdk\build-tools\33.0.0
[9f63dacd][ADB] C:\Users\User\AppData\Local\Android\Sdk\build-tools\30.0.3
[9f63dacd][ADB] Using 'adb.exe' from 'C:\Users\User\AppData\Local\Android\Sdk\platform-tools\adb.exe'
[9f63dacd][ADB] Running 'C:\Users\User\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 start-server'
[9f63dacd][AndroidUiautomator2Driver@6626] Retrieving device list
[9f63dacd][ADB] Trying to find connected Android devices
[9f63dacd][ADB] Getting connected devices
[9f63dacd][ADB] Connected devices: [{"udid":"emulator-5554","state":"device"}]
[9f63dacd][AndroidUiautomator2Driver@6626] Looking for a device with Android '14.0.0'
[9f63dacd][ADB] Setting device id to emulator-5554
[9f63dacd][ADB] Getting device platform version
[9f63dacd][ADB] Running 'C:\Users\User\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s emulator-5554 shell getprop ro.build.version.release'
[9f63dacd][ADB] Current device property 'ro.build.version.release': 14
[9f63dacd][AndroidUiautomator2Driver@6626] Using device: emulator-5554
[9f63dacd][ADB] Using 'adb.exe' from 'C:\Users\User\AppData\Local\Android\Sdk\platform-tools\adb.exe'
[9f63dacd][ADB] Running 'C:\Users\User\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 start-server'
[9f63dacd][ADB] Setting device id to emulator-5554
[9f63dacd][AndroidUiautomator2Driver@6626] Starting 'com.example.github_actions_example' directly on the device
[9f63dacd][ADB] Running 'C:\Users\User\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s emulator-5554 shell getprop ro.build.version.sdk'
[9f63dacd][ADB] Current device property 'ro.build.version.sdk': 34
[9f63dacd][ADB] Getting device platform version
[9f63dacd][ADB] Running 'C:\Users\User\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s emulator-5554 shell getprop ro.build.version.release'
[9f63dacd][ADB] Current device property 'ro.build.version.release': 14
[9f63dacd][ADB] Device API level: 34
[9f63dacd][AndroidUiautomator2Driver@6626] Relaxing hidden api policy
[9f63dacd][ADB] Running 'C:\Users\User\AppData\Local\Android\Sdk\platform-tools\adb.exe -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''
[9f63dacd][AndroidUiautomator2Driver@6626] No app sent in, not parsing package/activity
[9f63dacd][ADB] Running 'C:\Users\User\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s emulator-5554 wait-for-device'
[9f63dacd][ADB] Running 'C:\Users\User\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s emulator-5554 shell echo ping'
[9f63dacd][AndroidUiautomator2Driver@6626] Pushing settings apk to the device...
[9f63dacd][ADB] Getting package info for 'io.appium.settings'
[9f63dacd][ADB] Running 'C:\Users\User\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s emulator-5554 shell dumpsys package io.appium.settings'
[9f63dacd][ADB] Using 'aapt2.exe' from 'C:\Users\User\AppData\Local\Android\Sdk\build-tools\33.0.0\aapt2.exe'
[9f63dacd][ADB] Reading package manifest: 'C:\\Users\\User\\AppData\\Local\\Android\\Sdk\\build-tools\\33.0.0\\aapt2.exe dump badging C:\\Users\\User\\.appium\\node_modules\\appium-flutter-driver\\node_modules\\appium-uiautomator2-driver\\node_modules\\io.appium.settings\\apks\\settings_apk-debug.apk'
[9f63dacd][ADB] The version code of the installed 'io.appium.settings' is greater than the application version code (103 > 98)
[9f63dacd][ADB] There is no need to downgrade 'io.appium.settings'
[9f63dacd][ADB] Running 'C:\Users\User\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s emulator-5554 shell dumpsys activity services io.appium.settings'
[9f63dacd][AndroidUiautomator2Driver@6626] io.appium.settings is already running. There is no need to reset its permissions.
[9f63dacd][Logcat] Starting logs capture with command: C:\\Users\\User\\AppData\\Local\\Android\\Sdk\\platform-tools\\adb.exe -P 5037 -s emulator-5554 logcat -v threadtime
[9f63dacd][AndroidUiautomator2Driver@6626] Forwarding UiAutomator2 Server port 6790 to local port 8201
[9f63dacd][ADB] Forwarding system: 8201 to device: 6790
[9f63dacd][ADB] Running 'C:\Users\User\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s emulator-5554 forward tcp:8201 tcp:6790'
[9f63dacd][ADB] Getting package info for 'io.appium.uiautomator2.server'
[9f63dacd][ADB] Running 'C:\Users\User\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s emulator-5554 shell dumpsys package io.appium.uiautomator2.server'
[9f63dacd][ADB] Getting install status for io.appium.uiautomator2.server.test
[9f63dacd][AndroidUiautomator2Driver@6626] No app capability. Assuming it is already on the device
[9f63dacd][ADB] Getting install status for com.example.github_actions_example
[9f63dacd][ADB] Running 'C:\Users\User\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s emulator-5554 shell cmd package list packages'
[9f63dacd][ADB] Running 'C:\Users\User\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s emulator-5554 shell cmd package list packages'
[9f63dacd][ADB] 'com.example.github_actions_example' is installed
[9f63dacd][ADB] Running 'C:\Users\User\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s emulator-5554 shell am force-stop com.example.github_actions_example'
[9f63dacd][ADB] 'io.appium.uiautomator2.server.test' is installed
[9f63dacd][ADB] Reading package manifest: 'C:\\Users\\User\\AppData\\Local\\Android\\Sdk\\build-tools\\33.0.0\\aapt2.exe dump badging C:\\Users\\User\\.appium\\node_modules\\appium-flutter-driver\\node_modules\\appium-uiautomator2-driver\\node_modules\\appium-uiautomator2-server\\apks\\appium-uiautomator2-server-v7.0.21.apk'
[9f63dacd][ADB] Running 'C:\Users\User\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s emulator-5554 shell pm clear com.example.github_actions_example'
[9f63dacd][ADB] The version name of the installed 'io.appium.uiautomator2.server' is greater or equal to the application version name ('7.0.21' >= '7.0.21')
[9f63dacd][AndroidUiautomator2Driver@6626] Server packages status: [{"installState":"sameVersionInstalled","appPath":"C:\\Users\\User\\.appium\\node_modules\\appium-flutter-driver\\node_modules\\appium-uiautomator2-driver\\node_modules\\appium-uiautomator2-server\\apks\\appium-uiautomator2-server-v7.0.21.apk","appId":"io.appium.uiautomator2.server"},{"installState":"sameVersionInstalled","appPath":"C:\\Users\\User\\.appium\\node_modules\\appium-flutter-driver\\node_modules\\appium-uiautomator2-driver\\node_modules\\appium-uiautomator2-server\\apks\\appium-uiautomator2-server-debug-androidTest.apk","appId":"io.appium.uiautomator2.server.test"}]
[9f63dacd][AndroidUiautomator2Driver@6626] Server packages are not going to be (re)installed
[9f63dacd][AndroidUiautomator2Driver@6626] Waiting up to 30000ms for services to be available
[9f63dacd][ADB] Running 'C:\Users\User\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s emulator-5554 shell pm list instrumentation'
[9f63dacd][AndroidUiautomator2Driver@6626] Instrumentation target 'io.appium.uiautomator2.server.test/androidx.test.runner.AndroidJUnitRunner' is available
[9f63dacd][ADB] Adding packages ["io.appium.settings","io.appium.uiautomator2.server","io.appium.uiautomator2.server.test"] to Doze whitelist
[9f63dacd][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",";"]]
[9f63dacd][ADB] Running 'C:\Users\User\AppData\Local\Android\Sdk\platform-tools\adb.exe -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 ;'
[9f63dacd][AndroidUiautomator2Driver@6626] Performed fast reset on the installed 'com.example.github_actions_example' application (stop and clear)
[9f63dacd][AndroidUiautomator2Driver@6626] Performing shallow cleanup of automation leftovers
[9f63dacd][AndroidUiautomator2Driver@6626] The following obsolete sessions are still running: ["cfbc7184-3d54-477a-8c0e-346381755af1"]
[9f63dacd][AndroidUiautomator2Driver@6626] Cleaning up 1 obsolete session
[9f63dacd][ADB] Running 'C:\Users\User\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s emulator-5554 shell am force-stop io.appium.uiautomator2.server'
[9f63dacd][ADB] Running 'C:\Users\User\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s emulator-5554 shell am force-stop io.appium.uiautomator2.server.test'
[9f63dacd][AndroidUiautomator2Driver@6626] Starting UIAutomator2 server 7.0.21
[9f63dacd][AndroidUiautomator2Driver@6626] Using UIAutomator2 server from 'C:\Users\User\.appium\node_modules\appium-flutter-driver\node_modules\appium-uiautomator2-driver\node_modules\appium-uiautomator2-server\apks\appium-uiautomator2-server-v7.0.21.apk' and test from 'C:\Users\User\.appium\node_modules\appium-flutter-driver\node_modules\appium-uiautomator2-driver\node_modules\appium-uiautomator2-server\apks\appium-uiautomator2-server-debug-androidTest.apk'
[9f63dacd][AndroidUiautomator2Driver@6626] Waiting up to 30000ms for UiAutomator2 to be online...
[9f63dacd][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"]
[9f63dacd][AndroidUiautomator2Driver@6626] Matched '/status' to command name 'getStatus'
[9f63dacd][AndroidUiautomator2Driver@6626] Proxying [GET /status] to [GET http://127.0.0.1:8201/status] with no body
[9f63dacd][AndroidUiautomator2Driver@6626] socket hang up
[9f63dacd][AndroidUiautomator2Driver@6626] Matched '/status' to command name 'getStatus'
[9f63dacd][AndroidUiautomator2Driver@6626] Proxying [GET /status] to [GET http://127.0.0.1:8201/status] with no body
[9f63dacd][AndroidUiautomator2Driver@6626] socket hang up
[9f63dacd][AndroidUiautomator2Driver@6626] Matched '/status' to command name 'getStatus'
[9f63dacd][AndroidUiautomator2Driver@6626] Proxying [GET /status] to [GET http://127.0.0.1:8201/status] with no body
[9f63dacd][AndroidUiautomator2Driver@6626] socket hang up
[9f63dacd][AndroidUiautomator2Driver@6626] [Instrumentation]
[9f63dacd][AndroidUiautomator2Driver@6626] Matched '/status' to command name 'getStatus'
[9f63dacd][AndroidUiautomator2Driver@6626] Proxying [GET /status] to [GET http://127.0.0.1:8201/status] with no body
[9f63dacd][AndroidUiautomator2Driver@6626] socket hang up
[9f63dacd][AndroidUiautomator2Driver@6626] Matched '/status' to command name 'getStatus'
[9f63dacd][AndroidUiautomator2Driver@6626] Proxying [GET /status] to [GET http://127.0.0.1:8201/status] with no body
[9f63dacd][AndroidUiautomator2Driver@6626] Got response with status 200: {"sessionId":"None","value":{"message":"UiAutomator2 Server is ready to accept commands","ready":true}}
[9f63dacd][AndroidUiautomator2Driver@6626] The initialization of the instrumentation process took 4181ms
[9f63dacd][AndroidUiautomator2Driver@6626] Matched '/session' to command name 'createSession'
[9f63dacd][AndroidUiautomator2Driver@6626] Proxying [POST /session] to [POST http://127.0.0.1:8201/session] with body: {"capabilities":{"firstMatch":[{"platformName":"Android","platformVersion":"14","deviceName":"emulator-5554","forceAppLaunch":true,"appActivity":".MainActivity","appPackage":"com.example.github_actions_example","automationName":"flutter","ignoreHiddenApiPolicyError":true,"ensureWebviewsHavePages":true,"nativeWebScreenshot":true,"newCommandTimeout":3600,"connectHardwareKeyboard":true,"platform":"LINUX","webStorageEnabled":false,"takesScreenshot":true,"javascriptEnabled":true,"databaseEnabled":false,"networkConnectionEnabled":true,"locationContextEnabled":false,"warnings":{},"desired":{"platformName":"Android","platformVersion":"14","deviceName":"Emulator_test_123","forceAppLaunch":true,"appActivity":".MainActivity","appPackage":"com.example.github_actions_example","automationName":"flutter","ignoreHiddenApiPolicyError":true,"ensureWebviewsHavePages":true,"nativeWebScreenshot":true,"newCommandTimeout":3600,"connectHardwareKeyboard":true},"deviceUDID":"emulator-5554"}],"alwaysMatch":{}}}
[9f63dacd][AndroidUiautomator2Driver@6626] Got response with status 200: {"sessionId":"65c36114-abbd-4b6f-a496-ea7b42faf82d","value":{"capabilities":{"firstMatch":[{"platformName":"Android","platformVersion":"14","deviceName":"emulator-5554","forceAppLaunch":true,"appActivity":".MainActivity","appPackage":"com.example.github_actions_example","automationName":"flutter","ignoreHiddenApiPolicyError":true,"ensureWebviewsHavePages":true,"nativeWebScreenshot":true,"newCommandTimeout":3600,"connectHardwareKeyboard":true,"platform":"LINUX","webStorageEnabled":false,"takesScreenshot":true,"javascriptEnabled":true,"databaseEnabled":false,"networkConnectionEnabled":true,"locationContextEnabled":false,"warnings":{},"desired":{"platformName":"Android","platformVersion":"14","deviceName":"Emulator_test_123","forceAppLaunch":true,"appActivity":".MainActivity","appPackage":"com.example.github_actions_example","automationName":"flutter","ignoreHiddenApiPolicyError":true,"ensureWebviewsHavePages":true,"nativeWebScreenshot":true,"newCommandTimeout":3600,"connectHardwareKeyboard":true},"deviceUDID...
[9f63dacd][AndroidUiautomator2Driver@6626] Determined the downstream protocol as 'W3C'
[9f63dacd][AndroidUiautomator2Driver@6626] Proxying [GET /appium/device/pixel_ratio] to [GET http://127.0.0.1:8201/session/65c36114-abbd-4b6f-a496-ea7b42faf82d/appium/device/pixel_ratio] with no body
[9f63dacd][AndroidUiautomator2Driver@6626] Matched '/appium/device/system_bars' to command name 'getSystemBars'
[9f63dacd][AndroidUiautomator2Driver@6626] Proxying [GET /appium/device/system_bars] to [GET http://127.0.0.1:8201/session/65c36114-abbd-4b6f-a496-ea7b42faf82d/appium/device/system_bars] with no body
[9f63dacd][AndroidUiautomator2Driver@6626] Matched '/window/current/size' to command name 'getWindowSize'
[9f63dacd][AndroidUiautomator2Driver@6626] Proxying [GET /window/current/size] to [GET http://127.0.0.1:8201/session/65c36114-abbd-4b6f-a496-ea7b42faf82d/window/current/size] with no body
[9f63dacd][AndroidUiautomator2Driver@6626] Proxying [GET /appium/device/info] to [GET http://127.0.0.1:8201/session/65c36114-abbd-4b6f-a496-ea7b42faf82d/appium/device/info] with no body
[9f63dacd][ADB] Running 'C:\Users\User\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s emulator-5554 shell dumpsys window'
[9f63dacd][ADB] Running 'C:\Users\User\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s emulator-5554 shell dumpsys power'
[9f63dacd][AndroidUiautomator2Driver@6626] Got response with status 200: {"sessionId":"65c36114-abbd-4b6f-a496-ea7b42faf82d","value":2.75}
[9f63dacd][AndroidUiautomator2Driver@6626] Got response with status 200: {"sessionId":"65c36114-abbd-4b6f-a496-ea7b42faf82d","value":{"statusBar":83}}
[9f63dacd][AndroidUiautomator2Driver@6626] Got response with status 200: {"sessionId":"65c36114-abbd-4b6f-a496-ea7b42faf82d","value":{"height":2280,"width":1080}}
[9f63dacd][AndroidUiautomator2Driver@6626] Got response with status 200: {"sessionId":"65c36114-abbd-4b6f-a496-ea7b42faf82d","value":{"androidId":"0c4366abb8f3e683","apiVersion":"34","bluetooth":{"state":"ON"},"brand":"google","carrierName":"","displayDensity":440,"locale":"en_US","manufacturer":"Google","model":"sdk_gphone64_x86_64","networks":[{"capabilities":{"SSID":null,"linkDownBandwidthKbps":30000,"linkUpstreamBandwidthKbps":12000,"networkCapabilities":"NET_CAPABILITY_NOT_METERED,NET_CAPABILITY_INTERNET,NET_CAPABILITY_NOT_RESTRICTED,NET_CAPABILITY_TRUSTED,NET_CAPABILITY_NOT_VPN,NET_CAPABILITY_VALIDATED,NET_CAPABILITY_NOT_ROAMING,NET_CAPABILITY_FOREGROUND,NET_CAPABILITY_NOT_CONGESTED,NET_CAPABILITY_NOT_SUSPENDED","signalStrength":-50,"transportTypes":"TRANSPORT_WIFI"},"detailedState":"CONNECTED","extraInfo":"","isAvailable":true,"isConnected":true,"isFailover":false,"isRoaming":false,"state":"CONNECTED","subtype":-1,"subtypeName":"","type":1,"typeName":"WIFI"}],"platformVersion":"14","realDisplaySize":"1080x2280","timeZone":"Asia/Bangkok"}}
[9f63dacd][AndroidUiautomator2Driver@6626] Screen already unlocked, doing nothing
[9f63dacd][AndroidUiautomator2Driver@6626] Starting 'com.example.github_actions_example/.MainActivity and waiting for 'com.example.github_actions_example/.MainActivity'
[9f63dacd][ADB] Running 'C:\Users\User\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s emulator-5554 shell am start -W -n com.example.github_actions_example/.MainActivity -S -a android.intent.action.MAIN -c android.intent.category.LAUNCHER -f 0x10200000'
[9f63dacd][FlutterDriver@8c0d] Deleting Flutter Driver session
[9f63dacd][FlutterDriver@8c0d] Cleanup the port forward
[9f63dacd][AppiumDriver@228e] Event 'newSessionStarted' logged at 1726618587704 (07:16:27 GMT+0700 (Western Indonesia Time))
[9f63dacd][AppiumDriver@228e] Encountered internal error running command: Error: No observatory URL matching to '/(Observatory listening on |An Observatory debugger and profiler on\s.+\sis available at: |The Dart VM service is listening on )((http|\/\/)[a-zA-Z0-9:/=_\-.\[\]]+)/' was found in the device log. Please make sure the application under test is configured properly according to https://github.com/appium/appium-flutter-driver#usage and that it does not crash on startup.
at FlutterDriver.getObservatoryWsUri (C:\Users\User\.appium\node_modules\appium-flutter-driver\lib\sessions\android.ts:85:13)
at FlutterDriver.connectAndroidSession (C:\Users\User\.appium\node_modules\appium-flutter-driver\lib\sessions\android.ts:48:28)
at FlutterDriver.startAndroidSession (C:\Users\User\.appium\node_modules\appium-flutter-driver\lib\sessions\android.ts:38:5)
at FlutterDriver.createSession (C:\Users\User\.appium\node_modules\appium-flutter-driver\lib\sessions\session.ts:45:43)
at AppiumDriver.createSession (C:\Users\User\AppData\Roaming\npm\node_modules\appium\lib\appium.js:731:35)
[9f63dacd][HTTP] <-- POST /session 500 7908 ms - 1378
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment