Skip to content

Instantly share code, notes, and snippets.

@nottyo
Created August 28, 2017 08:48
Show Gist options
  • Save nottyo/f65e27103536e58f5f0214e928d7ca0c to your computer and use it in GitHub Desktop.
Save nottyo/f65e27103536e58f5f0214e928d7ca0c to your computer and use it in GitHub Desktop.
twoFingerTap mobile gesture on iOS
[HTTP] --> POST /wd/hub/session/09fb1035-4cfa-4cd4-a686-2d4b96805576/execute {"script":"mobile: twoFingerTap","args":[{"duration":2,"x":200,"y":300}]}
[debug] [MJSONWP] Calling AppiumDriver.execute() with args: ["mobile: twoFingerTap",[{"duration":2,"x":200,"y":300}],"09fb1035-4cfa-4cd4-a686-2d4b96805576"]
[debug] [XCUITest] Executing command 'execute'
[debug] [BaseDriver] Waiting up to 60000 ms for condition
[debug] [JSONWP Proxy] Proxying [POST /element] to [POST http://localhost:8100/session/8675C3A5-7B88-4363-8008-E0B1C4FE9CD8/element] with body: {"using":"class name","value":"XCUIElementTypeApplication"}
[debug] [JSONWP Proxy] Got response with status 200: {"value":{"ELEMENT":"0D87FD46-CB8C-4FE1-8C3A-EA0247911E8E"},"sessionId":"8675C3A5-7B88-4363-8008-E0B1C4FE9CD8","status":0}
[debug] [JSONWP Proxy] Proxying [POST /wda/element/0D87FD46-CB8C-4FE1-8C3A-EA0247911E8E/twoFingerTap] to [POST http://localhost:8100/session/8675C3A5-7B88-4363-8008-E0B1C4FE9CD8/wda/element/0D87FD46-CB8C-4FE1-8C3A-EA0247911E8E/twoFingerTap] with no body
[debug] [JSONWP Proxy] Got response with status 200: "{\n \"value\" : {\n\n },\n \"sessionId\" : \"8675C3A5-7B88-4363-8008-E0B1C4FE9CD8\",\n \"status\" : 0\n}"
[debug] [MJSONWP] Responding to client with driver.execute() result: {}
[HTTP] <-- POST /wd/hub/session/09fb1035-4cfa-4cd4-a686-2d4b96805576/execute 200 949 ms - 74
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment