Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@prat3ik
Created August 27, 2018 19:24
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save prat3ik/5081316b537fbc01cac451e91f38e796 to your computer and use it in GitHub Desktop.
Save prat3ik/5081316b537fbc01cac451e91f38e796 to your computer and use it in GitHub Desktop.
Appium get stuck on particular screen and continuously searching for element
The server is running
[W3C] Calling AppiumDriver.findElement() with args: ["id","com.sweep6.cloudtimer.qa:id/action_logout","b0d4a4c8-e96e-4c60-9c80-ce1088ee14f7"]
[BaseDriver] Valid locator strategies for this request: xpath, id, class name, accessibility id, -android uiautomator
[BaseDriver] Waiting up to 10000 ms for condition
[JSONWP Proxy] Proxying [POST /element] to [POST http://localhost:8200/wd/hub/session/e60c9983-f68c-475d-9490-4e13ff91ad63/element] with body: {"strategy":"id","selector":"com.sweep6.cloudtimer.qa:id/action_logout","context":"","multiple":false}
[JSONWP Proxy] Got response with status 200: {"sessionId":"e60c9983-f68c-475d-9490-4e13ff91ad63","status":0,"value":{"ELEMENT":"6fb4ca11-f85c-4b63-8243-fc49f3c5478e"}}
[W3C] Responding to client with driver.findElement() result: {"element-6066-11e4-a52e-4f735466cecf":"6fb4ca11-f85c-4b63-8243-fc49f3c5478e"}
[HTTP] <-- POST /wd/hub/session/b0d4a4c8-e96e-4c60-9c80-ce1088ee14f7/element 200 35 ms - 88
[HTTP]
[HTTP] --> GET /wd/hub/session/b0d4a4c8-e96e-4c60-9c80-ce1088ee14f7/element/6fb4ca11-f85c-4b63-8243-fc49f3c5478e/displayed
[HTTP] {}
[W3C] Calling AppiumDriver.elementDisplayed() with args: ["6fb4ca11-f85c-4b63-8243-fc49f3c5478e","b0d4a4c8-e96e-4c60-9c80-ce1088ee14f7"]
[JSONWP Proxy] Proxying [GET /element/6fb4ca11-f85c-4b63-8243-fc49f3c5478e/attribute/displayed] to [GET http://localhost:8200/wd/hub/session/e60c9983-f68c-475d-9490-4e13ff91ad63/element/6fb4ca11-f85c-4b63-8243-fc49f3c5478e/attribute/displayed] with body: {}
[JSONWP Proxy] Got response with status 200: "{\"sessionId\":\"e60c9983-f68c-475d-9490-4e13ff91ad63\",\"status\":0,\"value\":\"true\"}"
[W3C] Responding to client with driver.elementDisplayed() result: true
[HTTP] <-- GET /wd/hub/session/b0d4a4c8-e96e-4c60-9c80-ce1088ee14f7/element/6fb4ca11-f85c-4b63-8243-fc49f3c5478e/displayed 200 19 ms - 14
[HTTP]
[HTTP] --> GET /wd/hub/session/b0d4a4c8-e96e-4c60-9c80-ce1088ee14f7
[HTTP] {}
[W3C] Calling AppiumDriver.getSession() with args: ["b0d4a4c8-e96e-4c60-9c80-ce1088ee14f7"]
[UiAutomator2] Getting session details from server to mix in
[JSONWP Proxy] Proxying [GET /] to [GET http://localhost:8200/wd/hub/session/e60c9983-f68c-475d-9490-4e13ff91ad63] with body: {}
[JSONWP Proxy] Got response with status 200: "{\"sessionId\":\"e60c9983-f68c-475d-9490-4e13ff91ad63\",\"status\":0,\"value\":{}}"
[W3C] Responding to client with driver.getSession() result: {"platform":"LINUX","webStorageEnabled":false,"takesScreenshot":true,"javascriptEnabled":true,"databaseEnabled":false,"networkConnectionEnabled":true,"locationContextEnabled":false,"warnings":{},"desired":{"platformName":"android","app":"/Users/pratik/IdeaProjects/cloudtimer/src/test/resources/CloudTimer(1.3.64).apk","autoGrantPermissions":true,"automationName":"uiautomator2","deviceName":"c4e3f3cd","fullReset":false,"noReset":false,"platformVersion":"8.0"},"platformName":"android","app":"/Users/pratik/IdeaProjects/cloudtimer/src/test/resources/CloudTimer(1.3.64).apk","autoGrantPermissions":true,"automationName":"uiautomator2","deviceName":"c4e3f3cd","fullReset":false,"noReset":false,"platformVersion":"8.0.0","deviceUDID":"c4e3f3cd","deviceScreenSize":"1080x1920","deviceScreenDensity":420,"deviceModel":"ONEPLUS A3003","deviceManufacturer":"OnePlus","deviceApiLevel":26,"appPackage":"com.sweep6.cloudtimer.qa","pixelRatio":2.625,"statBarHeight":63,"viewportRect":{"left":0,"top":63,"width":1080,"height":1857}}
[HTTP] <-- GET /wd/hub/session/b0d4a4c8-e96e-4c60-9c80-ce1088ee14f7 200 15 ms - 1031
[HTTP]
[HTTP] --> POST /wd/hub/session/b0d4a4c8-e96e-4c60-9c80-ce1088ee14f7/elements
[HTTP] {"using":"id","value":"com.sweep6.cloudtimer.qa:id/eventName"}
[W3C] Calling AppiumDriver.findElements() with args: ["id","com.sweep6.cloudtimer.qa:id/eventName","b0d4a4c8-e96e-4c60-9c80-ce1088ee14f7"]
[BaseDriver] Valid locator strategies for this request: xpath, id, class name, accessibility id, -android uiautomator
[BaseDriver] Waiting up to 10000 ms for condition
[JSONWP Proxy] Proxying [POST /elements] to [POST http://localhost:8200/wd/hub/session/e60c9983-f68c-475d-9490-4e13ff91ad63/elements] with body: {"strategy":"id","selector":"com.sweep6.cloudtimer.qa:id/eventName","context":"","multiple":true}
[JSONWP Proxy] Got response with status 200: {"sessionId":"e60c9983-f68c-475d-9490-4e13ff91ad63","status":0,"value":[{"ELEMENT":"94b8bca4-eb2d-4f41-b112-008a14b0461e"},{"ELEMENT":"d4e13e50-bdb7-40a3-96f9-1f1eac306c41"},{"ELEMENT":"f67a419d-81e6-40f6-a8c4-9ba9ca05901c"},{"ELEMENT":"0344ffa7-f5c1-4b99-b274-08bb6a18640b"},{"ELEMENT":"e421b4d8-4cf4-4365-a7ce-954b4a618e48"},{"ELEMENT":"c2c3abf3-d87b-4e24-b781-b5ec63b508a1"},{"ELEMENT":"6ed9dfb7-17a9-447b-98a1-5075013aa177"}]}
[W3C] Responding to client with driver.findElements() result: [{"element-6066-11e4-a52e-4f735466cecf":"94b8bca4-eb2d-4f41-b112-008a14b0461e"},{"element-6066-11e4-a52e-4f735466cecf":"d4e13e50-bdb7-40a3-96f9-1f1eac306c41"},{"element-6066-11e4-a52e-4f735466cecf":"f67a419d-81e6-40f6-a8c4-9ba9ca05901c"},{"element-6066-11e4-a52e-4f735466cecf":"0344ffa7-f5c1-4b99-b274-08bb6a18640b"},{"element-6066-11e4-a52e-4f735466cecf":"e421b4d8-4cf4-4365-a7ce-954b4a618e48"},{"element-6066-11e4-a52e-4f735466cecf":"c2c3abf3-d87b-4e24-b781-b5ec63b508a1"},{"element-6066-11e4-a52e-4f735466cecf":"6ed9dfb7-17a9-447b-98a1-5075013aa177"}]
[HTTP] <-- POST /wd/hub/session/b0d4a4c8-e96e-4c60-9c80-ce1088ee14f7/elements 200 66 ms - 564
[HTTP]
[HTTP] --> POST /wd/hub/session/b0d4a4c8-e96e-4c60-9c80-ce1088ee14f7/element/94b8bca4-eb2d-4f41-b112-008a14b0461e/click
[HTTP] {"id":"94b8bca4-eb2d-4f41-b112-008a14b0461e"}
[W3C] Calling AppiumDriver.click() with args: ["94b8bca4-eb2d-4f41-b112-008a14b0461e","b0d4a4c8-e96e-4c60-9c80-ce1088ee14f7"]
[JSONWP Proxy] Proxying [POST /element/94b8bca4-eb2d-4f41-b112-008a14b0461e/click] to [POST http://localhost:8200/wd/hub/session/e60c9983-f68c-475d-9490-4e13ff91ad63/element/94b8bca4-eb2d-4f41-b112-008a14b0461e/click] with body: {"element":"94b8bca4-eb2d-4f41-b112-008a14b0461e"}
[JSONWP Proxy] Got response with status 200: {"sessionId":"e60c9983-f68c-475d-9490-4e13ff91ad63","status":0,"value":true}
[W3C] Responding to client with driver.click() result: true
[HTTP] <-- POST /wd/hub/session/b0d4a4c8-e96e-4c60-9c80-ce1088ee14f7/element/94b8bca4-eb2d-4f41-b112-008a14b0461e/click 200 80 ms - 14
[HTTP]
[HTTP] --> GET /wd/hub/session/b0d4a4c8-e96e-4c60-9c80-ce1088ee14f7
[HTTP] {}
[W3C] Calling AppiumDriver.getSession() with args: ["b0d4a4c8-e96e-4c60-9c80-ce1088ee14f7"]
[UiAutomator2] Getting session details from server to mix in
[JSONWP Proxy] Proxying [GET /] to [GET http://localhost:8200/wd/hub/session/e60c9983-f68c-475d-9490-4e13ff91ad63] with body: {}
[JSONWP Proxy] Got response with status 200: "{\"sessionId\":\"e60c9983-f68c-475d-9490-4e13ff91ad63\",\"status\":0,\"value\":{}}"
[W3C] Responding to client with driver.getSession() result: {"platform":"LINUX","webStorageEnabled":false,"takesScreenshot":true,"javascriptEnabled":true,"databaseEnabled":false,"networkConnectionEnabled":true,"locationContextEnabled":false,"warnings":{},"desired":{"platformName":"android","app":"/Users/pratik/IdeaProjects/cloudtimer/src/test/resources/CloudTimer(1.3.64).apk","autoGrantPermissions":true,"automationName":"uiautomator2","deviceName":"c4e3f3cd","fullReset":false,"noReset":false,"platformVersion":"8.0"},"platformName":"android","app":"/Users/pratik/IdeaProjects/cloudtimer/src/test/resources/CloudTimer(1.3.64).apk","autoGrantPermissions":true,"automationName":"uiautomator2","deviceName":"c4e3f3cd","fullReset":false,"noReset":false,"platformVersion":"8.0.0","deviceUDID":"c4e3f3cd","deviceScreenSize":"1080x1920","deviceScreenDensity":420,"deviceModel":"ONEPLUS A3003","deviceManufacturer":"OnePlus","deviceApiLevel":26,"appPackage":"com.sweep6.cloudtimer.qa","pixelRatio":2.625,"statBarHeight":63,"viewportRect":{"left":0,"top":63,"width":1080,"height":1857}}
[HTTP] <-- GET /wd/hub/session/b0d4a4c8-e96e-4c60-9c80-ce1088ee14f7 200 47 ms - 1031
[HTTP]
[HTTP] --> GET /wd/hub/session/b0d4a4c8-e96e-4c60-9c80-ce1088ee14f7
[HTTP] {}
[W3C] Calling AppiumDriver.getSession() with args: ["b0d4a4c8-e96e-4c60-9c80-ce1088ee14f7"]
[UiAutomator2] Getting session details from server to mix in
[JSONWP Proxy] Proxying [GET /] to [GET http://localhost:8200/wd/hub/session/e60c9983-f68c-475d-9490-4e13ff91ad63] with body: {}
[JSONWP Proxy] Got response with status 200: "{\"sessionId\":\"e60c9983-f68c-475d-9490-4e13ff91ad63\",\"status\":0,\"value\":{}}"
[W3C] Responding to client with driver.getSession() result: {"platform":"LINUX","webStorageEnabled":false,"takesScreenshot":true,"javascriptEnabled":true,"databaseEnabled":false,"networkConnectionEnabled":true,"locationContextEnabled":false,"warnings":{},"desired":{"platformName":"android","app":"/Users/pratik/IdeaProjects/cloudtimer/src/test/resources/CloudTimer(1.3.64).apk","autoGrantPermissions":true,"automationName":"uiautomator2","deviceName":"c4e3f3cd","fullReset":false,"noReset":false,"platformVersion":"8.0"},"platformName":"android","app":"/Users/pratik/IdeaProjects/cloudtimer/src/test/resources/CloudTimer(1.3.64).apk","autoGrantPermissions":true,"automationName":"uiautomator2","deviceName":"c4e3f3cd","fullReset":false,"noReset":false,"platformVersion":"8.0.0","deviceUDID":"c4e3f3cd","deviceScreenSize":"1080x1920","deviceScreenDensity":420,"deviceModel":"ONEPLUS A3003","deviceManufacturer":"OnePlus","deviceApiLevel":26,"appPackage":"com.sweep6.cloudtimer.qa","pixelRatio":2.625,"statBarHeight":63,"viewportRect":{"left":0,"top":63,"width":1080,"height":1857}}
[HTTP] <-- GET /wd/hub/session/b0d4a4c8-e96e-4c60-9c80-ce1088ee14f7 200 19 ms - 1031
[HTTP]
[HTTP] --> GET /wd/hub/session/b0d4a4c8-e96e-4c60-9c80-ce1088ee14f7
[HTTP] {}
[W3C] Calling AppiumDriver.getSession() with args: ["b0d4a4c8-e96e-4c60-9c80-ce1088ee14f7"]
[UiAutomator2] Getting session details from server to mix in
[JSONWP Proxy] Proxying [GET /] to [GET http://localhost:8200/wd/hub/session/e60c9983-f68c-475d-9490-4e13ff91ad63] with body: {}
[JSONWP Proxy] Got response with status 200: "{\"sessionId\":\"e60c9983-f68c-475d-9490-4e13ff91ad63\",\"status\":0,\"value\":{}}"
[W3C] Responding to client with driver.getSession() result: {"platform":"LINUX","webStorageEnabled":false,"takesScreenshot":true,"javascriptEnabled":true,"databaseEnabled":false,"networkConnectionEnabled":true,"locationContextEnabled":false,"warnings":{},"desired":{"platformName":"android","app":"/Users/pratik/IdeaProjects/cloudtimer/src/test/resources/CloudTimer(1.3.64).apk","autoGrantPermissions":true,"automationName":"uiautomator2","deviceName":"c4e3f3cd","fullReset":false,"noReset":false,"platformVersion":"8.0"},"platformName":"android","app":"/Users/pratik/IdeaProjects/cloudtimer/src/test/resources/CloudTimer(1.3.64).apk","autoGrantPermissions":true,"automationName":"uiautomator2","deviceName":"c4e3f3cd","fullReset":false,"noReset":false,"platformVersion":"8.0.0","deviceUDID":"c4e3f3cd","deviceScreenSize":"1080x1920","deviceScreenDensity":420,"deviceModel":"ONEPLUS A3003","deviceManufacturer":"OnePlus","deviceApiLevel":26,"appPackage":"com.sweep6.cloudtimer.qa","pixelRatio":2.625,"statBarHeight":63,"viewportRect":{"left":0,"top":63,"width":1080,"height":1857}}
[HTTP] <-- GET /wd/hub/session/b0d4a4c8-e96e-4c60-9c80-ce1088ee14f7 200 31 ms - 1031
[HTTP]
[HTTP] --> POST /wd/hub/session/b0d4a4c8-e96e-4c60-9c80-ce1088ee14f7/element
[HTTP] {"using":"xpath","value":"//android.widget.TextView[@text='Start']"}
[W3C] Calling AppiumDriver.findElement() with args: ["xpath","//android.widget.TextView[@text='Start']","b0d4a4c8-e96e-4c60-9c80-ce1088ee14f7"]
[BaseDriver] Valid locator strategies for this request: xpath, id, class name, accessibility id, -android uiautomator
[BaseDriver] Waiting up to 10000 ms for condition
[JSONWP Proxy] Proxying [POST /element] to [POST http://localhost:8200/wd/hub/session/e60c9983-f68c-475d-9490-4e13ff91ad63/element] with body: {"strategy":"xpath","selector":"//android.widget.TextView[@text='Start']","context":"","multiple":false}
[W3C] Encountered internal error running command: {"w3cStatus":400,"jsonwp":{"sessionId":"e60c9983-f68c-475d-9490-4e13ff91ad63","status":7,"value":"An element could not be located on the page using the given search parameters."}} ProxyRequestError: Could not proxy command to remote server. Original error: 500 - {"sessionId":"e60c9983-f68c-475d-9490-4e13ff91ad63","status":7,"value":"An element could not be located on the page using the given search parameters."}
[W3C] at JWProxy.proxy$ (/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/appium-base-driver/lib/jsonwp-proxy/proxy.js:152:13)
[W3C] at tryCatch (/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:67:40)
[W3C] at GeneratorFunctionPrototype.invoke [as _invoke] (/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:315:22)
[W3C] at GeneratorFunctionPrototype.prototype.(anonymous function) [as throw] (/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:100:21)
[W3C] at GeneratorFunctionPrototype.invoke (/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:136:37)
[W3C] at
[MJSONWP] Matched JSONWP error code 7 to NoSuchElementError
[HTTP] <-- POST /wd/hub/session/b0d4a4c8-e96e-4c60-9c80-ce1088ee14f7/element 404 858 ms - 1455
[HTTP]
[HTTP] --> POST /wd/hub/session/b0d4a4c8-e96e-4c60-9c80-ce1088ee14f7/element
[HTTP] {"using":"xpath","value":"//android.widget.TextView[@text='Start']"}
[W3C] Calling AppiumDriver.findElement() with args: ["xpath","//android.widget.TextView[@text='Start']","b0d4a4c8-e96e-4c60-9c80-ce1088ee14f7"]
[BaseDriver] Valid locator strategies for this request: xpath, id, class name, accessibility id, -android uiautomator
[BaseDriver] Waiting up to 10000 ms for condition
[JSONWP Proxy] Proxying [POST /element] to [POST http://localhost:8200/wd/hub/session/e60c9983-f68c-475d-9490-4e13ff91ad63/element] with body: {"strategy":"xpath","selector":"//android.widget.TextView[@text='Start']","context":"","multiple":false}
[JSONWP Proxy] Got response with status 200: {"sessionId":"e60c9983-f68c-475d-9490-4e13ff91ad63","status":0,"value":{"ELEMENT":"a46c5b37-2e0f-46e5-8d3e-3c4c36cefddc"}}
[W3C] Responding to client with driver.findElement() result: {"element-6066-11e4-a52e-4f735466cecf":"a46c5b37-2e0f-46e5-8d3e-3c4c36cefddc"}
[HTTP] <-- POST /wd/hub/session/b0d4a4c8-e96e-4c60-9c80-ce1088ee14f7/element 200 1002 ms - 88
[HTTP]
[HTTP] --> POST /wd/hub/session/b0d4a4c8-e96e-4c60-9c80-ce1088ee14f7/element/a46c5b37-2e0f-46e5-8d3e-3c4c36cefddc/click
[HTTP] {"id":"a46c5b37-2e0f-46e5-8d3e-3c4c36cefddc"}
[W3C] Calling AppiumDriver.click() with args: ["a46c5b37-2e0f-46e5-8d3e-3c4c36cefddc","b0d4a4c8-e96e-4c60-9c80-ce1088ee14f7"]
[JSONWP Proxy] Proxying [POST /element/a46c5b37-2e0f-46e5-8d3e-3c4c36cefddc/click] to [POST http://localhost:8200/wd/hub/session/e60c9983-f68c-475d-9490-4e13ff91ad63/element/a46c5b37-2e0f-46e5-8d3e-3c4c36cefddc/click] with body: {"element":"a46c5b37-2e0f-46e5-8d3e-3c4c36cefddc"}
[JSONWP Proxy] Got response with status 200: {"sessionId":"e60c9983-f68c-475d-9490-4e13ff91ad63","status":0,"value":true}
[W3C] Responding to client with driver.click() result: true
[HTTP] <-- POST /wd/hub/session/b0d4a4c8-e96e-4c60-9c80-ce1088ee14f7/element/a46c5b37-2e0f-46e5-8d3e-3c4c36cefddc/click 200 38 ms - 14
[HTTP]
[HTTP] --> GET /wd/hub/session/b0d4a4c8-e96e-4c60-9c80-ce1088ee14f7
[HTTP] {}
[W3C] Calling AppiumDriver.getSession() with args: ["b0d4a4c8-e96e-4c60-9c80-ce1088ee14f7"]
[UiAutomator2] Getting session details from server to mix in
[JSONWP Proxy] Proxying [GET /] to [GET http://localhost:8200/wd/hub/session/e60c9983-f68c-475d-9490-4e13ff91ad63] with body: {}
[JSONWP Proxy] Got response with status 200: "{\"sessionId\":\"e60c9983-f68c-475d-9490-4e13ff91ad63\",\"status\":0,\"value\":{}}"
[W3C] Responding to client with driver.getSession() result: {"platform":"LINUX","webStorageEnabled":false,"takesScreenshot":true,"javascriptEnabled":true,"databaseEnabled":false,"networkConnectionEnabled":true,"locationContextEnabled":false,"warnings":{},"desired":{"platformName":"android","app":"/Users/pratik/IdeaProjects/cloudtimer/src/test/resources/CloudTimer(1.3.64).apk","autoGrantPermissions":true,"automationName":"uiautomator2","deviceName":"c4e3f3cd","fullReset":false,"noReset":false,"platformVersion":"8.0"},"platformName":"android","app":"/Users/pratik/IdeaProjects/cloudtimer/src/test/resources/CloudTimer(1.3.64).apk","autoGrantPermissions":true,"automationName":"uiautomator2","deviceName":"c4e3f3cd","fullReset":false,"noReset":false,"platformVersion":"8.0.0","deviceUDID":"c4e3f3cd","deviceScreenSize":"1080x1920","deviceScreenDensity":420,"deviceModel":"ONEPLUS A3003","deviceManufacturer":"OnePlus","deviceApiLevel":26,"appPackage":"com.sweep6.cloudtimer.qa","pixelRatio":2.625,"statBarHeight":63,"viewportRect":{"left":0,"top":63,"width":1080,"height":1857}}
[HTTP] <-- GET /wd/hub/session/b0d4a4c8-e96e-4c60-9c80-ce1088ee14f7 200 27 ms - 1031
[HTTP]
[HTTP] --> GET /wd/hub/session/b0d4a4c8-e96e-4c60-9c80-ce1088ee14f7
[HTTP] {}
[W3C] Calling AppiumDriver.getSession() with args: ["b0d4a4c8-e96e-4c60-9c80-ce1088ee14f7"]
[UiAutomator2] Getting session details from server to mix in
[JSONWP Proxy] Proxying [GET /] to [GET http://localhost:8200/wd/hub/session/e60c9983-f68c-475d-9490-4e13ff91ad63] with body: {}
[JSONWP Proxy] Got response with status 200: "{\"sessionId\":\"e60c9983-f68c-475d-9490-4e13ff91ad63\",\"status\":0,\"value\":{}}"
[W3C] Responding to client with driver.getSession() result: {"platform":"LINUX","webStorageEnabled":false,"takesScreenshot":true,"javascriptEnabled":true,"databaseEnabled":false,"networkConnectionEnabled":true,"locationContextEnabled":false,"warnings":{},"desired":{"platformName":"android","app":"/Users/pratik/IdeaProjects/cloudtimer/src/test/resources/CloudTimer(1.3.64).apk","autoGrantPermissions":true,"automationName":"uiautomator2","deviceName":"c4e3f3cd","fullReset":false,"noReset":false,"platformVersion":"8.0"},"platformName":"android","app":"/Users/pratik/IdeaProjects/cloudtimer/src/test/resources/CloudTimer(1.3.64).apk","autoGrantPermissions":true,"automationName":"uiautomator2","deviceName":"c4e3f3cd","fullReset":false,"noReset":false,"platformVersion":"8.0.0","deviceUDID":"c4e3f3cd","deviceScreenSize":"1080x1920","deviceScreenDensity":420,"deviceModel":"ONEPLUS A3003","deviceManufacturer":"OnePlus","deviceApiLevel":26,"appPackage":"com.sweep6.cloudtimer.qa","pixelRatio":2.625,"statBarHeight":63,"viewportRect":{"left":0,"top":63,"width":1080,"height":1857}}
[HTTP] <-- GET /wd/hub/session/b0d4a4c8-e96e-4c60-9c80-ce1088ee14f7 200 20 ms - 1031
[HTTP]
[HTTP] --> GET /wd/hub/session/b0d4a4c8-e96e-4c60-9c80-ce1088ee14f7/source
[HTTP] {}
[W3C] Driver proxy active, passing request on via HTTP proxy
[JSONWP Proxy] Proxying [GET /wd/hub/session/b0d4a4c8-e96e-4c60-9c80-ce1088ee14f7/source] to [GET http://localhost:8200/wd/hub/session/e60c9983-f68c-475d-9490-4e13ff91ad63/source] with body: {}
[JSONWP Proxy] Got response with status 200: "{\"sessionId\":\"e60c9983-f68c-475d-9490-4e13ff91ad63\",\"status\":0,\"value\":\"
[JSONWP Proxy] Replacing sessionId e60c9983-f68c-475d-9490-4e13ff91ad63 with b0d4a4c8-e96e-4c60-9c80-ce1088ee14f7
[HTTP] <-- GET /wd/hub/session/b0d4a4c8-e96e-4c60-9c80-ce1088ee14f7/source 200 10467 ms - 18503
[HTTP]
[HTTP] --> GET /wd/hub/session/b0d4a4c8-e96e-4c60-9c80-ce1088ee14f7
[HTTP] {}
[W3C] Calling AppiumDriver.getSession() with args: ["b0d4a4c8-e96e-4c60-9c80-ce1088ee14f7"]
[UiAutomator2] Getting session details from server to mix in
[JSONWP Proxy] Proxying [GET /] to [GET http://localhost:8200/wd/hub/session/e60c9983-f68c-475d-9490-4e13ff91ad63] with body: {}
[JSONWP Proxy] Got response with status 200: "{\"sessionId\":\"e60c9983-f68c-475d-9490-4e13ff91ad63\",\"status\":0,\"value\":{}}"
[W3C] Responding to client with driver.getSession() result: {"platform":"LINUX","webStorageEnabled":false,"takesScreenshot":true,"javascriptEnabled":true,"databaseEnabled":false,"networkConnectionEnabled":true,"locationContextEnabled":false,"warnings":{},"desired":{"platformName":"android","app":"/Users/pratik/IdeaProjects/cloudtimer/src/test/resources/CloudTimer(1.3.64).apk","autoGrantPermissions":true,"automationName":"uiautomator2","deviceName":"c4e3f3cd","fullReset":false,"noReset":false,"platformVersion":"8.0"},"platformName":"android","app":"/Users/pratik/IdeaProjects/cloudtimer/src/test/resources/CloudTimer(1.3.64).apk","autoGrantPermissions":true,"automationName":"uiautomator2","deviceName":"c4e3f3cd","fullReset":false,"noReset":false,"platformVersion":"8.0.0","deviceUDID":"c4e3f3cd","deviceScreenSize":"1080x1920","deviceScreenDensity":420,"deviceModel":"ONEPLUS A3003","deviceManufacturer":"OnePlus","deviceApiLevel":26,"appPackage":"com.sweep6.cloudtimer.qa","pixelRatio":2.625,"statBarHeight":63,"viewportRect":{"left":0,"top":63,"width":1080,"height":1857}}
[HTTP] <-- GET /wd/hub/session/b0d4a4c8-e96e-4c60-9c80-ce1088ee14f7 200 19 ms - 1031
[HTTP]
[HTTP] --> POST /wd/hub/session/b0d4a4c8-e96e-4c60-9c80-ce1088ee14f7/elements
[HTTP] {"using":"id","value":"com.sweep6.cloudtimer.qa:id/athleteName"}
[W3C] Calling AppiumDriver.findElements() with args: ["id","com.sweep6.cloudtimer.qa:id/athleteName","b0d4a4c8-e96e-4c60-9c80-ce1088ee14f7"]
[BaseDriver] Valid locator strategies for this request: xpath, id, class name, accessibility id, -android uiautomator
[BaseDriver] Waiting up to 10000 ms for condition
[JSONWP Proxy] Proxying [POST /elements] to [POST http://localhost:8200/wd/hub/session/e60c9983-f68c-475d-9490-4e13ff91ad63/elements] with body: {"strategy":"id","selector":"com.sweep6.cloudtimer.qa:id/athleteName","context":"","multiple":true}
[JSONWP Proxy] Got response with status 200: {"sessionId":"e60c9983-f68c-475d-9490-4e13ff91ad63","status":0,"value":[{"ELEMENT":"30ed04be-d71f-4800-be4b-b032c043cf88"},{"ELEMENT":"4f665d1c-7a6d-4e23-8e8b-9b7b894d0c83"}]}
[W3C] Responding to client with driver.findElements() result: [{"element-6066-11e4-a52e-4f735466cecf":"30ed04be-d71f-4800-be4b-b032c043cf88"},{"element-6066-11e4-a52e-4f735466cecf":"4f665d1c-7a6d-4e23-8e8b-9b7b894d0c83"}]
[HTTP] <-- POST /wd/hub/session/b0d4a4c8-e96e-4c60-9c80-ce1088ee14f7/elements 200 20197 ms - 169
[HTTP]
[HTTP] --> GET /wd/hub/session/b0d4a4c8-e96e-4c60-9c80-ce1088ee14f7/element/30ed04be-d71f-4800-be4b-b032c043cf88/text
[HTTP] {}
[W3C] Driver proxy active, passing request on via HTTP proxy
[JSONWP Proxy] Proxying [GET /wd/hub/session/b0d4a4c8-e96e-4c60-9c80-ce1088ee14f7/element/30ed04be-d71f-4800-be4b-b032c043cf88/text] to [GET http://localhost:8200/wd/hub/session/e60c9983-f68c-475d-9490-4e13ff91ad63/element/30ed04be-d71f-4800-be4b-b032c043cf88/text] with body: {}
[JSONWP Proxy] Got response with status 200: "{\"sessionId\":\"e60c9983-f68c-475d-9490-4e13ff91ad63\",\"status\":0,\"value\":\"Bob c Simmons\"}"
[JSONWP Proxy] Replacing sessionId e60c9983-f68c-475d-9490-4e13ff91ad63 with b0d4a4c8-e96e-4c60-9c80-ce1088ee14f7
[HTTP] <-- GET /wd/hub/session/b0d4a4c8-e96e-4c60-9c80-ce1088ee14f7/element/30ed04be-d71f-4800-be4b-b032c043cf88/text 200 20151 ms - 87
[HTTP]
[HTTP] --> GET /wd/hub/session/b0d4a4c8-e96e-4c60-9c80-ce1088ee14f7/element/30ed04be-d71f-4800-be4b-b032c043cf88/text
[HTTP] {}
[W3C] Driver proxy active, passing request on via HTTP proxy
[JSONWP Proxy] Proxying [GET /wd/hub/session/b0d4a4c8-e96e-4c60-9c80-ce1088ee14f7/element/30ed04be-d71f-4800-be4b-b032c043cf88/text] to [GET http://localhost:8200/wd/hub/session/e60c9983-f68c-475d-9490-4e13ff91ad63/element/30ed04be-d71f-4800-be4b-b032c043cf88/text] with body: {}
[JSONWP Proxy] Got response with status 200: "{\"sessionId\":\"e60c9983-f68c-475d-9490-4e13ff91ad63\",\"status\":0,\"value\":\"Bob c Simmons\"}"
[JSONWP Proxy] Replacing sessionId e60c9983-f68c-475d-9490-4e13ff91ad63 with b0d4a4c8-e96e-4c60-9c80-ce1088ee14f7
[HTTP] <-- GET /wd/hub/session/b0d4a4c8-e96e-4c60-9c80-ce1088ee14f7/element/30ed04be-d71f-4800-be4b-b032c043cf88/text 200 20202 ms - 87
[HTTP]
[HTTP] --> GET /wd/hub/session/b0d4a4c8-e96e-4c60-9c80-ce1088ee14f7/element/4f665d1c-7a6d-4e23-8e8b-9b7b894d0c83/text
[HTTP] {}
[W3C] Driver proxy active, passing request on via HTTP proxy
[JSONWP Proxy] Proxying [GET /wd/hub/session/b0d4a4c8-e96e-4c60-9c80-ce1088ee14f7/element/4f665d1c-7a6d-4e23-8e8b-9b7b894d0c83/text] to [GET http://localhost:8200/wd/hub/session/e60c9983-f68c-475d-9490-4e13ff91ad63/element/4f665d1c-7a6d-4e23-8e8b-9b7b894d0c83/text] with body: {}
[JSONWP Proxy] Got response with status 200: "{\"sessionId\":\"e60c9983-f68c-475d-9490-4e13ff91ad63\",\"status\":0,\"value\":\"Andrew r Carnegie\"}"
[JSONWP Proxy] Replacing sessionId e60c9983-f68c-475d-9490-4e13ff91ad63 with b0d4a4c8-e96e-4c60-9c80-ce1088ee14f7
[HTTP] <-- GET /wd/hub/session/b0d4a4c8-e96e-4c60-9c80-ce1088ee14f7/element/4f665d1c-7a6d-4e23-8e8b-9b7b894d0c83/text 200 20170 ms - 91
[HTTP]
[HTTP] --> GET /wd/hub/session/b0d4a4c8-e96e-4c60-9c80-ce1088ee14f7/element/4f665d1c-7a6d-4e23-8e8b-9b7b894d0c83/text
[HTTP] {}
[W3C] Driver proxy active, passing request on via HTTP proxy
[JSONWP Proxy] Proxying [GET /wd/hub/session/b0d4a4c8-e96e-4c60-9c80-ce1088ee14f7/element/4f665d1c-7a6d-4e23-8e8b-9b7b894d0c83/text] to [GET http://localhost:8200/wd/hub/session/e60c9983-f68c-475d-9490-4e13ff91ad63/element/4f665d1c-7a6d-4e23-8e8b-9b7b894d0c83/text] with body: {}
[HTTP] <-- GET /wd/hub/session/b0d4a4c8-e96e-4c60-9c80-ce1088ee14f7/element/4f665d1c-7a6d-4e23-8e8b-9b7b894d0c83/text - - ms - -
[HTTP]
[HTTP] --> GET /wd/hub/session/b0d4a4c8-e96e-4c60-9c80-ce1088ee14f7/element/4f665d1c-7a6d-4e23-8e8b-9b7b894d0c83/text
[HTTP] {}
[W3C] Driver proxy active, passing request on via HTTP proxy
[JSONWP Proxy] Proxying [GET /wd/hub/session/b0d4a4c8-e96e-4c60-9c80-ce1088ee14f7/element/4f665d1c-7a6d-4e23-8e8b-9b7b894d0c83/text] to [GET http://localhost:8200/wd/hub/session/e60c9983-f68c-475d-9490-4e13ff91ad63/element/4f665d1c-7a6d-4e23-8e8b-9b7b894d0c83/text] with body: {}
[W3C] Encountered internal error running command: Error: Could not proxy. Proxy error: Could not proxy command to remote server. Original error: Error: ESOCKETTIMEDOUT
[W3C] at doJwpProxy$ (/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/appium-base-driver/lib/protocol/protocol.js:456:13)
[W3C] at tryCatch (/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:67:40)
[W3C] at GeneratorFunctionPrototype.invoke [as _invoke] (/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:315:22)
[W3C] at GeneratorFunctionPrototype.prototype.(anonymous function) [as next] (/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:100:21)
[W3C] at GeneratorFunctionPrototype.invoke (/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:136:37)
[W3C] at
[W3C] at process._tickCallback (internal/process/next_tick.js:188:7)
[HTTP] <-- GET /wd/hub/session/b0d4a4c8-e96e-4c60-9c80-ce1088ee14f7/element/4f665d1c-7a6d-4e23-8e8b-9b7b894d0c83/text - - ms - -
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment