Skip to content

Instantly share code, notes, and snippets.

@zuzeac
Created February 8, 2019 10:07
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 zuzeac/6ed7eac98af6c52e731f8a2d32ae6dee to your computer and use it in GitHub Desktop.
Save zuzeac/6ed7eac98af6c52e731f8a2d32ae6dee to your computer and use it in GitHub Desktop.
Retro Waiting when keyboard is opened
[debug] [JSONWP Proxy] Got response with status 200: "{\"sessionId\":\"a92403cd-ee85-4ef4-9583-7cf609a6e596\",\"status\":0,\"value\":{\"width\":1440,\"height\":168}}"
[debug] [JSONWP Proxy] Matched '/element/e15ea577-1f80-4df3-be38-403e7325c9ef/click' to command name 'click'
[debug] [JSONWP Proxy] Proxying [POST /element/e15ea577-1f80-4df3-be38-403e7325c9ef/click] to [POST http://localhost:8200/wd/hub/session/a92403cd-ee85-4ef4-9583-7cf609a6e596/element/e15ea577-1f80-4df3-be38-403e7325c9ef/click] with body: {"element":"e15ea577-1f80-4df3-be38-403e7325c9ef","x":720,"y":366}
[debug] [JSONWP Proxy] Got response with status 200: {"sessionId":"a92403cd-ee85-4ef4-9583-7cf609a6e596","status":0,"value":true}
[debug] [W3C] Responding to client with driver.performTouch() result: null
[HTTP] <-- POST /wd/hub/session/98b02c19-a62d-4747-a2d0-ef047c7aabb6/touch/perform 200 118 ms - 14
[HTTP]
[HTTP] --> GET /wd/hub/session/98b02c19-a62d-4747-a2d0-ef047c7aabb6
[HTTP] {}
[debug] [W3C] Calling AppiumDriver.getSession() with args: ["98b02c19-a62d-4747-a2d0-ef047c7aabb6"]
[debug] [UiAutomator2] Getting session details from server to mix in
[debug] [JSONWP Proxy] Matched '/' to command name 'getSession'
[debug] [JSONWP Proxy] Proxying [GET /] to [GET http://localhost:8200/wd/hub/session/a92403cd-ee85-4ef4-9583-7cf609a6e596] with body: {}
[debug] [JSONWP Proxy] Got response with status 200: "{\"sessionId\":\"a92403cd-ee85-4ef4-9583-7cf609a6e596\",\"status\":0,\"value\":{}}"
[debug] [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","appActivity":"activity","appPackage":"package","automationName":"uiAutomator2","deviceName":"Android","ignoreUnimportantViews":true,"newCommandTimeout":35,"platformVersion":"9","udid":"HT6B50200762"},"platformName":"android","appActivity":"activity","appPackage":"package","automationName":"uiAutomator2","deviceName":"HT6B50200762","ignoreUnimportantViews":true,"newCommandTimeout":35,"platformVersion":"9","udid":"HT6B50200762","deviceUDID":"HT6B50200762","deviceScreenSize":"1440x2560","deviceScreenDensity":560,"deviceModel":"Pixel XL","deviceManufacturer":"Google","deviceApiLevel":28,"pixelRatio":3.5,"statBarHeight":84,"...
[HTTP] <-- GET /wd/hub/session/98b02c19-a62d-4747-a2d0-ef047c7aabb6 200 23 ms - 1092
[HTTP]
[HTTP] --> POST /wd/hub/session/98b02c19-a62d-4747-a2d0-ef047c7aabb6/element
[HTTP] {"using":"id","value":"search_input"}
[debug] [W3C] Calling AppiumDriver.findElement() with args: ["id","search_input","98b02c19-a62d-4747-a2d0-ef047c7aabb6"]
[debug] [BaseDriver] Valid locator strategies for this request: xpath, id, class name, accessibility id, -android uiautomator
[debug] [BaseDriver] Waiting up to 3000 ms for condition
[debug] [JSONWP Proxy] Matched '/element' to command name 'findElement'
[debug] [JSONWP Proxy] Proxying [POST /element] to [POST http://localhost:8200/wd/hub/session/a92403cd-ee85-4ef4-9583-7cf609a6e596/element] with body: {"strategy":"id","selector":"search_input","context":"","multiple":false}
WAITS HERE LIKE 2 MIN or more
[debug] [JSONWP Proxy] Got response with status 200: {"sessionId":"a92403cd-ee85-4ef4-9583-7cf609a6e596","status":0,"value":{"ELEMENT":"67c96379-e168-4ced-a4ac-5f5c0b087b57"}}
[debug] [W3C] Responding to client with driver.findElement() result: {"element-6066-11e4-a52e-4f735466cecf":"67c96379-e168-4ced-a4ac-5f5c0b087b57"}
[HTTP] <-- POST /wd/hub/session/98b02c19-a62d-4747-a2d0-ef047c7aabb6/element 200 30260 ms - 88
[HTTP]
[HTTP] --> POST /wd/hub/session/98b02c19-a62d-4747-a2d0-ef047c7aabb6/element/67c96379-e168-4ced-a4ac-5f5c0b087b57/value
[HTTP] {"id":"67c96379-e168-4ced-a4ac-5f5c0b087b57","text":"test","value":["t","e","s","t"]}
[debug] [W3C] Calling AppiumDriver.setValue() with args: [["t","e","s","t"],"67c96379-e168-4ced-a4ac-5f5c0b087b57","98b02c19-a62d-4747-a2d0-ef047c7aabb6"]
[debug] [JSONWP Proxy] Matched '/element/67c96379-e168-4ced-a4ac-5f5c0b087b57/value' to command name 'setValue'
[debug] [JSONWP Proxy] Proxying [POST /element/67c96379-e168-4ced-a4ac-5f5c0b087b57/value] to [POST http://localhost:8200/wd/hub/session/a92403cd-ee85-4ef4-9583-7cf609a6e596/element/67c96379-e168-4ced-a4ac-5f5c0b087b57/value] with body: {"elementId":"67c96379-e168-4ced-a4ac-5f5c0b087b57","text":"test","replace":false}
WAITS HERE LIKE 2 MIN or more
[HTTP] <-- POST /wd/hub/session/98b02c19-a62d-4747-a2d0-ef047c7aabb6/element/67c96379-e168-4ced-a4ac-5f5c0b087b57/value - - ms - -
[HTTP]
[HTTP] --> POST /wd/hub/session/98b02c19-a62d-4747-a2d0-ef047c7aabb6/element/67c96379-e168-4ced-a4ac-5f5c0b087b57/value
[HTTP] {"id":"67c96379-e168-4ced-a4ac-5f5c0b087b57","text":"test","value":["t","e","s","t"]}
[debug] [W3C] Calling AppiumDriver.setValue() with args: [["t","e","s","t"],"67c96379-e168-4ced-a4ac-5f5c0b087b57","98b02c19-a62d-4747-a2d0-ef047c7aabb6"]
[debug] [JSONWP Proxy] Got response with status 200: {"sessionId":"a92403cd-ee85-4ef4-9583-7cf609a6e596","status":0,"value":""}
[debug] [JSONWP Proxy] Matched '/element/67c96379-e168-4ced-a4ac-5f5c0b087b57/value' to command name 'setValue'
[debug] [JSONWP Proxy] Proxying [POST /element/67c96379-e168-4ced-a4ac-5f5c0b087b57/value] to [POST http://localhost:8200/wd/hub/session/a92403cd-ee85-4ef4-9583-7cf609a6e596/element/67c96379-e168-4ced-a4ac-5f5c0b087b57/value] with body: {"elementId":"67c96379-e168-4ced-a4ac-5f5c0b087b57","text":"test","replace":false}
[debug] [W3C] Responding to client with driver.setValue() result: ""
[BaseDriver] Shutting down because we waited 35 seconds for a command
[debug] [UiAutomator2] Deleting UiAutomator2 session
[debug] [UiAutomator2] Deleting UiAutomator2 server session
[debug] [JSONWP Proxy] Matched '/' to command name 'deleteSession'
[debug] [JSONWP Proxy] Proxying [DELETE /] to [DELETE http://localhost:8200/wd/hub/session/a92403cd-ee85-4ef4-9583-7cf609a6e596] with no body
[Appium] Closing session, cause was 'New Command Timeout of 35 seconds expired. Try customizing the timeout using the 'newCommandTimeout' desired capability'
[Appium] Removing session 98b02c19-a62d-4747-a2d0-ef047c7aabb6 from our master session list
[debug] [JSONWP Proxy] Got response with status 200: "{\"sessionId\":\"a92403cd-ee85-4ef4-9583-7cf609a6e596\",\"status\":0,\"value\":\"Session deleted\"}"
[debug] [ADB] Running '/Users/zuzeacm/Library/Android/sdk/platform-tools/adb -P 5037 -s HT6B50200762 shell am force-stop package'
[debug] [Logcat] Stopping logcat capture
[debug] [ADB] Removing forwarded port socket connection: 8200
[debug] [ADB] Running '/Users/zuzeacm/Library/Android/sdk/platform-tools/adb -P 5037 -s HT6B50200762 forward --remove tcp\:8200'
[debug] [W3C] Encountered internal error running command: Error: New Command Timeout of 35 seconds expired. Try customizing the timeout using the 'newCommandTimeout' desired capability
[debug] [W3C] at AndroidUiautomator2Driver.callee$1$0$ (/Users/zuzeacm/.npm-global/lib/node_modules/appium/node_modules/appium-base-driver/lib/basedriver/commands/timeout.js:144:42)
[debug] [W3C] at tryCatch (/Users/zuzeacm/.npm-global/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:67:40)
[debug] [W3C] at GeneratorFunctionPrototype.invoke [as _invoke] (/Users/zuzeacm/.npm-global/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:315:22)
[debug] [W3C] at GeneratorFunctionPrototype.prototype.(anonymous function) [as next] (/Users/zuzeacm/.npm-global/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:100:21)
[debug] [W3C] at invoke (/Users/zuzeacm/.npm-global/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:136:37)
[debug] [W3C] at enqueueResult (/Users/zuzeacm/.npm-global/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:185:17)
[debug] [W3C] at new Promise (<anonymous>)
[debug] [W3C] at new F (/Users/zuzeacm/.npm-global/lib/node_modules/appium/node_modules/core-js/library/modules/$.export.js:30:36)
[debug] [W3C] at AsyncIterator.enqueue (/Users/zuzeacm/.npm-global/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:184:12)
[debug] [W3C] at AsyncIterator.prototype.(anonymous function) [as next] (/Users/zuzeacm/.npm-global/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:100:21)
[debug] [W3C] at Object.runtime.async (/Users/zuzeacm/.npm-global/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:209:12)
[debug] [W3C] at callee$1$0 (/Users/zuzeacm/.npm-global/lib/node_modules/appium/node_modules/appium-base-driver/build/lib/basedriver/commands/timeout.js:341:32)
[debug] [W3C] at tryCatcher (/Users/zuzeacm/.npm-global/lib/node_modules/appium/node_modules/bluebird/js/release/util.js:16:23)
[debug] [W3C] at Promise._settlePromiseFromHandler (/Users/zuzeacm/.npm-global/lib/node_modules/appium/node_modules/bluebird/js/release/promise.js:512:31)
[debug] [W3C] at Promise._settlePromise (/Users/zuzeacm/.npm-global/lib/node_modules/appium/node_modules/bluebird/js/release/promise.js:569:18)
[debug] [W3C] at Promise._settlePromise0 (/Users/zuzeacm/.npm-global/lib/node_modules/appium/node_modules/bluebird/js/release/promise.js:614:10)
[debug] [W3C] at Promise._settlePromises (/Users/zuzeacm/.npm-global/lib/node_modules/appium/node_modules/bluebird/js/release/promise.js:694:18)
[debug] [W3C] at _drainQueueStep (/Users/zuzeacm/.npm-global/lib/node_modules/appium/node_modules/bluebird/js/release/async.js:138:12)
[debug] [W3C] at _drainQueue (/Users/zuzeacm/.npm-global/lib/node_modules/appium/node_modules/bluebird/js/release/async.js:131:9)
[debug] [W3C] at Async._drainQueues (/Users/zuzeacm/.npm-global/lib/node_modules/appium/node_modules/bluebird/js/release/async.js:147:5)
[debug] [W3C] at Immediate.Async.drainQueues [as _onImmediate] (/Users/zuzeacm/.npm-global/lib/node_modules/appium/node_modules/bluebird/js/release/async.js:17:14)
[debug] [W3C] at processImmediate (timers.js:632:19)
[HTTP] <-- POST /wd/hub/session/98b02c19-a62d-4747-a2d0-ef047c7aabb6/element/67c96379-e168-4ced-a4ac-5f5c0b087b57/value 500 56090 ms - 1397
[HTTP]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment