Skip to content

Instantly share code, notes, and snippets.

@carolhmj
Created May 18, 2018 13:37
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 carolhmj/1670c3325bca67f504dbe1d56a6904e9 to your computer and use it in GitHub Desktop.
Save carolhmj/1670c3325bca67f504dbe1d56a6904e9 to your computer and use it in GitHub Desktop.
TouchAction logs
[debug] [MJSONWP] Calling AppiumDriver.getSize() with args: ["04000000-0000-0000-E662-000000000000","dc287c92-7642-43fb-a52e-2fff6df3d4ee"]
[debug] [XCUITest] Executing command 'getSize'
[debug] [JSONWP Proxy] Proxying [GET /element/04000000-0000-0000-E662-000000000000/rect] to [GET http://localhost:7700/session/A535E6A6-B195-421C-9870-2A5F70B21113/element/04000000-0000-0000-E662-000000000000/rect] with no body
[debug] [JSONWP Proxy] Got response with status 200: "{\n \"value\" : {\n \"y\" : 0,\n \"x\" : 0,\n \"width\" : 414,\n \"height\" : 736\n },\n \"sessionId\" : \"A535E6A6-B195-421C-9870-2A5F70B21113\",\n \"status\" : 0\n}"
[debug] [MJSONWP] Responding to client with driver.getSize() result: {"width":414,"height":736}
[HTTP] <-- GET /wd/hub/session/dc287c92-7642-43fb-a52e-2fff6df3d4ee/element/04000000-0000-0000-E662-000000000000/size 200 43 ms - 98
[HTTP] --> POST /wd/hub/session/dc287c92-7642-43fb-a52e-2fff6df3d4ee/touch/perform {"actions":[{"action":"press","options":{"x":207,"y":736}},{"action":"wait","options":{"ms":90}},{"action":"moveTo","options":{"x":0,"y":-122}},{"action":"release","options":{}}]}
[debug] [MJSONWP] Calling AppiumDriver.performTouch() with args: [[{"action":"press","options":{"x":207,"y":736}},{"action":"wait","options":{"ms":90}},{"action":"moveTo","options":{"x":0,"y":-122}},{"action":"release","options":{}}],"dc287c92-7642-43fb-a52e-2fff6df3d4ee"]
[debug] [XCUITest] Executing command 'performTouch'
[debug] [XCUITest] Received the following touch action: press(options={"x":207,"y":736})-wait(options={"ms":90})-moveTo(options={"x":0,"y":-122})-release(options={})
[debug] [XCUITest] Found matching gesture: drag
[debug] [JSONWP Proxy] Proxying [POST /wda/dragfromtoforduration] to [POST http://localhost:7700/session/A535E6A6-B195-421C-9870-2A5F70B21113/wda/dragfromtoforduration] with body: {"fromX":207,"fromY":736,"toX":207,"toY":614,"duration":0.09}
[HTTP] --> GET /wd/hub/status {}
[debug] [MJSONWP] Calling AppiumDriver.getStatus() with args: []
[debug] [MJSONWP] Responding to client with driver.getStatus() result: {"build":{"version":"1.7.2","revision":null}}
[HTTP] <-- GET /wd/hub/status 200 12 ms - 83
[debug] [JSONWP Proxy] Got response with status 200: {"value":{},"sessionId":"A535E6A6-B195-421C-9870-2A5F70B21113","status":0}
[debug] [MJSONWP] Responding to client with driver.performTouch() result: null
[HTTP] <-- POST /wd/hub/session/dc287c92-7642-43fb-a52e-2fff6df3d4ee/touch/perform 200 1902 ms - 76
[HTTP] --> POST /wd/hub/session/dc287c92-7642-43fb-a52e-2fff6df3d4ee/element {"using":"accessibility id","value":"Wi-Fi"}
[debug] [MJSONWP] Calling AppiumDriver.findElement() with args: ["accessibility id","Wi-Fi","dc287c92-7642-43fb-a52e-2fff6df3d4ee"]
[debug] [XCUITest] Executing command 'findElement'
[debug] [BaseDriver] Valid locator strategies for this request: xpath, id, name, class name, -ios predicate string, -ios class chain, accessibility id
[debug] [BaseDriver] Waiting up to 100000 ms for condition
[debug] [JSONWP Proxy] Proxying [POST /element] to [POST http://localhost:7700/session/A535E6A6-B195-421C-9870-2A5F70B21113/element] with body: {"using":"accessibility id","value":"Wi-Fi"}
[debug] [JSONWP Proxy] Got response with status 200: {"value":{"using":"accessibility id","value":"Wi-Fi","description":"unable to find an element"},"sessionId":"A535E6A6-B195-421C-9870-2A5F70B21113","status":7}
[debug] [BaseDriver] Waited for 57 ms so far
[debug] [JSONWP Proxy] Proxying [POST /element] to [POST http://localhost:7700/session/A535E6A6-B195-421C-9870-2A5F70B21113/element] with body: {"using":"accessibility id","value":"Wi-Fi"}
[debug] [JSONWP Proxy] Got response with status 200: {"value":{"using":"accessibility id","value":"Wi-Fi","description":"unable to find an element"},"sessionId":"A535E6A6-B195-421C-9870-2A5F70B21113","status":7}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment