Skip to content

Instantly share code, notes, and snippets.

@Pr60
Created May 31, 2018 18:03
Show Gist options
  • Save Pr60/aab917d214115663da1c8103a9f98933 to your computer and use it in GitHub Desktop.
Save Pr60/aab917d214115663da1c8103a9f98933 to your computer and use it in GitHub Desktop.
scroll to element_fail
[XCUITest] Executing command 'findElement'
14544
[debug] [BaseDriver] Valid locator strategies for this request: xpath, id, name, class name, -ios predicate string, -ios class chain, accessibility id
14545
[debug] [BaseDriver] Waiting up to 10000 ms for condition
14546
[debug] [JSONWP Proxy] Proxying [POST /element] to [POST http://localhost:8140/session/9D827725-4717-4CC4-BD65-4BFB5A1BF4A1/element] with body: {"using":"accessibility id","value":"Add description"}
14547
[debug] [JSONWP Proxy] Got response with status 200: {"value":{"ELEMENT":"B2060000-0000-0000-4E2A-000000000000"},"sessionId":"9D827725-4717-4CC4-BD65-4BFB5A1BF4A1","status":0}
14548
[debug] [MJSONWP] Responding to client with driver.findElement() result: {"ELEMENT":"B2060000-0000-0000-4E2A-000000000000"}
14549
[HTTP] <-- POST /wd/hub/session/2d313dc4-2e15-4c5b-ab74-95c8a4ca5a0c/element 200 318 ms - 122
14550
[HTTP]
14551
[HTTP] --> POST /wd/hub/session/2d313dc4-2e15-4c5b-ab74-95c8a4ca5a0c/execute
14552
[HTTP] {"sessionId":"2d313dc4-2e15-4c5b-ab74-95c8a4ca5a0c","args":[{"toVisible":true,"element":{"element-6066-11e4-a52e-4f735466cecf":"B2060000-0000-0000-4E2A-000000000000","ELEMENT":"B2060000-0000-0000-4E2A-000000000000"}}],"script":"mobile: scroll"}
14553
[debug] [W3C] Calling AppiumDriver.execute() with args: ["mobile: scroll",[{"toVisible":true,"element":{"element-6066-11e4-a52e-4f735466cecf":"B2060000-0000-0000-4E2A-000000000000","ELEMENT":"B2060000-0000-0000-4E2A-000000000000"}}],"2d313dc4-2e15-4c5b-ab74-95c8a4ca5a0c"]
14554
[debug] [XCUITest] Executing command 'execute'
14555
[XCUITest] Proxying to WDA with an unknown route: POST /wda/element/B2060000-0000-0000-4E2A-000000000000/scroll
14556
[debug] [JSONWP Proxy] Proxying [POST /wda/element/B2060000-0000-0000-4E2A-000000000000/scroll] to [POST http://localhost:8140/session/9D827725-4717-4CC4-BD65-4BFB5A1BF4A1/wda/element/B2060000-0000-0000-4E2A-000000000000/scroll] with body: {"toVisible":true}
14557
[debug] [JSONWP Proxy] Got response with status 200: {"value":"Error Domain=com.facebook.WebDriverAgent Code=1 \"Failed to perform scroll with visible cell due to max scroll count reached\" UserInfo={NSLocalizedDescription=Failed to perform scroll with visible cell due to max scroll count reached}","sessionId":"9D827725-4717-4CC4-BD65-4BFB5A1BF4A1","status":13}
14558
[MJSONWP] Encountered internal error running command: Error: An unknown server-side error occurred while processing the command.
14559
[MJSONWP] at JWProxy.command$ (/usr/local/lib/node_modules/appium/node_modules/appium-base-driver/lib/jsonwp-proxy/proxy.js:176:15)
14560
[MJSONWP] at tryCatch (/usr/local/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:67:40)
14561
[MJSONWP] at GeneratorFunctionPrototype.invoke [as _invoke] (/usr/local/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:315:22)
14562
[MJSONWP] at GeneratorFunctionPrototype.prototype.(anonymous function) [as next] (/usr/local/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:100:21)
14563
[MJSONWP] at GeneratorFunctionPrototype.invoke (/usr/local/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:136:37)
14564
[MJSONWP] at <anonymous>
14565
[HTTP] <-- POST /wd/hub/session/2d313dc4-2e15-4c5b-ab74-95c8a4ca5a0c/execute 500 113121 ms - 238
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment