[W3C] Calling AppiumDriver.findElement() with args: ["xpath","//android.widget.Button[contains(@resource-id,'com.android.packageinstaller:id/permission_allow_button')]","8e40be6e-097b-4a2b-84be-3887b61af06a"] [BaseDriver] Valid locator strategies for this request: xpath, id, class name, accessibility id, -android uiautomator [BaseDriver] Waiting up to 0 ms for condition [JSONWP Proxy] Proxying [POST /element] to [POST http://localhost:8204/wd/hub/session/0ef0f0ac-050e-48d2-bb1c-ad4904b89a80/element] with body: {"strategy":"xpath","selector":"//android.widget.Button[contains(@resource-id,'com.android.packageinstaller:id/permission_allow_button')]","context":"","multiple":false} [JSONWP Proxy] Got response with status 200: {"sessionId":"0ef0f0ac-050e-48d2-bb1c-ad4904b89a80","status":0,"value":{"ELEMENT":"a93bd131-92a4-4d70-b1a3-b987399e53d3"}} [W3C] Responding to client with driver.findElement() result: {"element-6066-11e4-a52e-4f735466cecf":"a93bd131-92a4-4d70-b1a3-b987399e53d3"} [HTTP] <-- POST /wd/hub/session/8e40be6e-097b-4a2b-84be-3887b61af06a/element 200 1279 ms - 88 [HTTP] [HTTP] --> POST /wd/hub/session/8e40be6e-097b-4a2b-84be-3887b61af06a/element/a93bd131-92a4-4d70-b1a3-b987399e53d3/click [HTTP] {"id":"a93bd131-92a4-4d70-b1a3-b987399e53d3"} [W3C] Calling AppiumDriver.click() with args: ["a93bd131-92a4-4d70-b1a3-b987399e53d3","8e40be6e-097b-4a2b-84be-3887b61af06a"] [JSONWP Proxy] Proxying [POST /element/a93bd131-92a4-4d70-b1a3-b987399e53d3/click] to [POST http://localhost:8204/wd/hub/session/0ef0f0ac-050e-48d2-bb1c-ad4904b89a80/element/a93bd131-92a4-4d70-b1a3-b987399e53d3/click] with body: {"element":"a93bd131-92a4-4d70-b1a3-b987399e53d3"} [JSONWP Proxy] Got response with status 200: {"sessionId":"0ef0f0ac-050e-48d2-bb1c-ad4904b89a80","status":0,"value":true} [W3C] Responding to client with driver.click() result: true [HTTP] <-- POST /wd/hub/session/8e40be6e-097b-4a2b-84be-3887b61af06a/element/a93bd131-92a4-4d70-b1a3-b987399e53d3/click 200 68 ms - 14 [HTTP] [HTTP] --> POST /wd/hub/session/8e40be6e-097b-4a2b-84be-3887b61af06a/element [HTTP] {"using":"xpath","value":"//android.widget.Button[contains(@resource-id,'com.android.packageinstaller:id/permission_allow_button')]"} [W3C] Calling AppiumDriver.findElement() with args: ["xpath","//android.widget.Button[contains(@resource-id,'com.android.packageinstaller:id/permission_allow_button')]","8e40be6e-097b-4a2b-84be-3887b61af06a"] [BaseDriver] Valid locator strategies for this request: xpath, id, class name, accessibility id, -android uiautomator [BaseDriver] Waiting up to 0 ms for condition [JSONWP Proxy] Proxying [POST /element] to [POST http://localhost:8204/wd/hub/session/0ef0f0ac-050e-48d2-bb1c-ad4904b89a80/element] with body: {"strategy":"xpath","selector":"//android.widget.Button[contains(@resource-id,'com.android.packageinstaller:id/permission_allow_button')]","context":"","multiple":false} [JSONWP Proxy] Got response with status 200: {"sessionId":"0ef0f0ac-050e-48d2-bb1c-ad4904b89a80","status":0,"value":{"ELEMENT":"66f89cc4-5e86-4392-b246-68fe61f10741"}} [W3C] Responding to client with driver.findElement() result: {"element-6066-11e4-a52e-4f735466cecf":"66f89cc4-5e86-4392-b246-68fe61f10741"} [HTTP] <-- POST /wd/hub/session/8e40be6e-097b-4a2b-84be-3887b61af06a/element 200 886 ms - 88 [HTTP] [HTTP] --> POST /wd/hub/session/8e40be6e-097b-4a2b-84be-3887b61af06a/element/66f89cc4-5e86-4392-b246-68fe61f10741/click [HTTP] {"id":"66f89cc4-5e86-4392-b246-68fe61f10741"} [W3C] Calling AppiumDriver.click() with args: ["66f89cc4-5e86-4392-b246-68fe61f10741","8e40be6e-097b-4a2b-84be-3887b61af06a"] [JSONWP Proxy] Proxying [POST /element/66f89cc4-5e86-4392-b246-68fe61f10741/click] to [POST http://localhost:8204/wd/hub/session/0ef0f0ac-050e-48d2-bb1c-ad4904b89a80/element/66f89cc4-5e86-4392-b246-68fe61f10741/click] with body: {"element":"66f89cc4-5e86-4392-b246-68fe61f10741"} [JSONWP Proxy] Got response with status 200: {"sessionId":"0ef0f0ac-050e-48d2-bb1c-ad4904b89a80","status":0,"value":true} [W3C] Responding to client with driver.click() result: true [HTTP] <-- POST /wd/hub/session/8e40be6e-097b-4a2b-84be-3887b61af06a/element/66f89cc4-5e86-4392-b246-68fe61f10741/click 200 753 ms - 14 [HTTP] [HTTP] --> GET /wd/hub/session/8e40be6e-097b-4a2b-84be-3887b61af06a/source [HTTP] {} [W3C] Driver proxy active, passing request on via HTTP proxy [JSONWP Proxy] Proxying [GET /wd/hub/session/8e40be6e-097b-4a2b-84be-3887b61af06a/source] to [GET http://localhost:8204/wd/hub/session/0ef0f0ac-050e-48d2-bb1c-ad4904b89a80/source] with body: {} [JSONWP Proxy] Got response with status 200: "{\"sessionId\":\"0ef0f0ac-050e-48d2-bb1c-ad4904b89a80\",\"status\":0,\"value\":\" [JSONWP Proxy] Replacing sessionId 0ef0f0ac-050e-48d2-bb1c-ad4904b89a80 with 8e40be6e-097b-4a2b-84be-3887b61af06a [HTTP] <-- GET /wd/hub/session/8e40be6e-097b-4a2b-84be-3887b61af06a/source 200 252 ms - 12114 [HTTP] [HTTP] --> POST /wd/hub/session/8e40be6e-097b-4a2b-84be-3887b61af06a/element [HTTP] {"using":"xpath","value":"//android.widget.EditText[contains(@resource-id,'com.myapp:id/messageEdit')]"} [W3C] Calling AppiumDriver.findElement() with args: ["xpath","//android.widget.EditText[contains(@resource-id,'com.myapp:id/messageEdit')]","8e40be6e-097b-4a2b-84be-3887b61af06a"] [BaseDriver] Valid locator strategies for this request: xpath, id, class name, accessibility id, -android uiautomator [BaseDriver] Waiting up to 0 ms for condition [JSONWP Proxy] Proxying [POST /element] to [POST http://localhost:8204/wd/hub/session/0ef0f0ac-050e-48d2-bb1c-ad4904b89a80/element] with body: {"strategy":"xpath","selector":"//android.widget.EditText[contains(@resource-id,'com.myapp:id/messageEdit')]","context":"","multiple":false} [JSONWP Proxy] Got response with status 200: {"sessionId":"0ef0f0ac-050e-48d2-bb1c-ad4904b89a80","status":0,"value":{"ELEMENT":"26dd1781-9c26-4d51-bdfd-db84dcb7933c"}} [W3C] Responding to client with driver.findElement() result: {"element-6066-11e4-a52e-4f735466cecf":"26dd1781-9c26-4d51-bdfd-db84dcb7933c"} [HTTP] <-- POST /wd/hub/session/8e40be6e-097b-4a2b-84be-3887b61af06a/element 200 79 ms - 88 [HTTP] [HTTP] --> POST /wd/hub/session/8e40be6e-097b-4a2b-84be-3887b61af06a/element/26dd1781-9c26-4d51-bdfd-db84dcb7933c/value [HTTP] {"id":"26dd1781-9c26-4d51-bdfd-db84dcb7933c","text":"Hi","value":["H","i"]} [W3C] Calling AppiumDriver.setValue() with args: [["H","i"],"26dd1781-9c26-4d51-bdfd-db84dcb7933c","8e40be6e-097b-4a2b-84be-3887b61af06a"] [JSONWP Proxy] Proxying [POST /element/26dd1781-9c26-4d51-bdfd-db84dcb7933c/value] to [POST http://localhost:8204/wd/hub/session/0ef0f0ac-050e-48d2-bb1c-ad4904b89a80/element/26dd1781-9c26-4d51-bdfd-db84dcb7933c/value] with body: {"elementId":"26dd1781-9c26-4d51-bdfd-db84dcb7933c","text":"Hi","replace":false} [JSONWP Proxy] Got response with status 200: {"sessionId":"0ef0f0ac-050e-48d2-bb1c-ad4904b89a80","status":0,"value":""} [W3C] Responding to client with driver.setValue() result: "" [HTTP] <-- POST /wd/hub/session/8e40be6e-097b-4a2b-84be-3887b61af06a/element/26dd1781-9c26-4d51-bdfd-db84dcb7933c/value 200 610 ms - 12 [HTTP] [BaseDriver] Shutting down because we waited 60 seconds for a command [UiAutomator2] Deleting UiAutomator2 session [UiAutomator2] Deleting UiAutomator2 server session [JSONWP Proxy] Proxying [DELETE /] to [DELETE http://localhost:8204/wd/hub/session/0ef0f0ac-050e-48d2-bb1c-ad4904b89a80] with no body [Appium] Closing session, cause was 'New Command Timeout of 60 seconds expired. Try customizing the timeout using the 'newCommandTimeout' desired capability' [Appium] Removing session 8e40be6e-097b-4a2b-84be-3887b61af06a from our master session list [JSONWP Proxy] Got response with status 200: "{\"sessionId\":\"0ef0f0ac-050e-48d2-bb1c-ad4904b89a80\",\"status\":0,\"value\":\"Session deleted\"}" [ADB] Running 'D:\AndroidSDK\sdk\platform-tools\adb.exe -P 5037 -s 420016e19aae9479 shell am force-stop com.myapp' [UiAutomator2] [UIAutomator2] io.appium.uiautomator2.server.test.AppiumUiAutomator2Server:. [UiAutomator2] [UIAutomator2] Time: 95.068 [UiAutomator2] [UIAutomator2] OK (1 test) [Logcat] Stopping logcat capture [ADB] Removing forwarded port socket connection: 8204 [ADB] Running 'D:\AndroidSDK\sdk\platform-tools\adb.exe -P 5037 -s 420016e19aae9479 forward --remove tcp\:8204'