Skip to content

Instantly share code, notes, and snippets.

@vikramvi
Created February 22, 2017 10:57
Show Gist options
  • Select an option

  • Save vikramvi/220ba19708a8f1ec0bbc8d906072f209 to your computer and use it in GitHub Desktop.

Select an option

Save vikramvi/220ba19708a8f1ec0bbc8d906072f209 to your computer and use it in GitHub Desktop.
partial swipe left related issue
[HTTP] --> POST /wd/hub/session/fe33bdde-d6ce-430f-b29c-117c78483519/element {"using":"xpath","value":"//XCUIElementTypeApplication[1]/XCUIElementTypeWindow[1]//XCUIElementTypeTable[1]/XCUIElementTypeCell[1]"}
[debug] [MJSONWP] Calling AppiumDriver.findElement() with args: ["xpath","//XCUIElementTypeApplication[1]/XCUIElementTypeWindow[1]//XCUIElementTypeTable[1]/XCUIElementTypeCell[1]","fe33bdde-d6ce-430f-b29c-117c78483519"]
[debug] [XCUITest] Executing command 'findElement'
[debug] [BaseDriver] Valid locator strategies for this request: xpath, id, name, class name, -ios predicate string, accessibility id
[debug] [BaseDriver] Waiting up to 1000 ms for condition
[debug] [JSONWP Proxy] Proxying [POST /element] to [POST http://localhost:8100/session/71470ACA-5975-4621-AA73-B40034ABD75D/element] with body: {"using":"xpath","value":"//XCUIElementTypeApplication[1]/XCUIElementTypeWindow[1]//XCUIElementTypeTable[1]/XCUIElementTypeCell[1]"}
[debug] [JSONWP Proxy] Got response with status 200: {"value":{"ELEMENT":"13F33BC7-2CF7-43D3-9693-C30221B13C50","type":"XCUIElementTypeCell","label":null},"sessionId":"71470ACA-5975-4621-AA73-B40034ABD75D","status":0}
[debug] [MJSONWP] Responding to client with driver.findElement() result: {"ELEMENT":"13F33BC7-2CF7-43D3-9693-C30221B13C50","type":"XCUIElementTypeCell","label":null}
[HTTP] <-- POST /wd/hub/session/fe33bdde-d6ce-430f-b29c-117c78483519/element 200 251 ms - 164
[HTTP] --> GET /wd/hub/session/fe33bdde-d6ce-430f-b29c-117c78483519/element/13F33BC7-2CF7-43D3-9693-C30221B13C50/location {}
[debug] [MJSONWP] Calling AppiumDriver.getLocation() with args: ["13F33BC7-2CF7-43D3-9693-C30221B13C50","fe33bdde-d6ce-430f-b29c-117c78483519"]
[debug] [XCUITest] Executing command 'getLocation'
[debug] [JSONWP Proxy] Proxying [GET /element/13F33BC7-2CF7-43D3-9693-C30221B13C50/rect] to [GET http://localhost:8100/session/71470ACA-5975-4621-AA73-B40034ABD75D/element/13F33BC7-2CF7-43D3-9693-C30221B13C50/rect] with no body
[debug] [JSONWP Proxy] Got response with status 200: "{\n \"value\" : {\n \"y\" : 120,\n \"x\" : 0,\n \"width\" : 320,\n \"height\" : 54\n },\n \"sessionId\" : \"71470ACA-5975-4621-AA73-B40034ABD75D\",\n \"status\" : 0\n}"
[debug] [MJSONWP] Responding to client with driver.getLocation() result: {"x":0,"y":120}
[HTTP] <-- GET /wd/hub/session/fe33bdde-d6ce-430f-b29c-117c78483519/element/13F33BC7-2CF7-43D3-9693-C30221B13C50/location 200 134 ms - 87
[HTTP] --> GET /wd/hub/session/fe33bdde-d6ce-430f-b29c-117c78483519/element/13F33BC7-2CF7-43D3-9693-C30221B13C50/location {}
[debug] [MJSONWP] Calling AppiumDriver.getLocation() with args: ["13F33BC7-2CF7-43D3-9693-C30221B13C50","fe33bdde-d6ce-430f-b29c-117c78483519"]
[debug] [XCUITest] Executing command 'getLocation'
[debug] [JSONWP Proxy] Proxying [GET /element/13F33BC7-2CF7-43D3-9693-C30221B13C50/rect] to [GET http://localhost:8100/session/71470ACA-5975-4621-AA73-B40034ABD75D/element/13F33BC7-2CF7-43D3-9693-C30221B13C50/rect] with no body
[debug] [JSONWP Proxy] Got response with status 200: "{\n \"value\" : {\n \"y\" : 120,\n \"x\" : 0,\n \"width\" : 320,\n \"height\" : 54\n },\n \"sessionId\" : \"71470ACA-5975-4621-AA73-B40034ABD75D\",\n \"status\" : 0\n}"
[debug] [MJSONWP] Responding to client with driver.getLocation() result: {"x":0,"y":120}
[HTTP] <-- GET /wd/hub/session/fe33bdde-d6ce-430f-b29c-117c78483519/element/13F33BC7-2CF7-43D3-9693-C30221B13C50/location 200 132 ms - 87
[HTTP] --> GET /wd/hub/session/fe33bdde-d6ce-430f-b29c-117c78483519/element/13F33BC7-2CF7-43D3-9693-C30221B13C50/size {}
[debug] [MJSONWP] Calling AppiumDriver.getSize() with args: ["13F33BC7-2CF7-43D3-9693-C30221B13C50","fe33bdde-d6ce-430f-b29c-117c78483519"]
[debug] [XCUITest] Executing command 'getSize'
[debug] [JSONWP Proxy] Proxying [GET /element/13F33BC7-2CF7-43D3-9693-C30221B13C50/rect] to [GET http://localhost:8100/session/71470ACA-5975-4621-AA73-B40034ABD75D/element/13F33BC7-2CF7-43D3-9693-C30221B13C50/rect] with no body
[debug] [JSONWP Proxy] Got response with status 200: "{\n \"value\" : {\n \"y\" : 120,\n \"x\" : 0,\n \"width\" : 320,\n \"height\" : 54\n },\n \"sessionId\" : \"71470ACA-5975-4621-AA73-B40034ABD75D\",\n \"status\" : 0\n}"
[debug] [MJSONWP] Responding to client with driver.getSize() result: {"width":320,"height":54}
[HTTP] <-- GET /wd/hub/session/fe33bdde-d6ce-430f-b29c-117c78483519/element/13F33BC7-2CF7-43D3-9693-C30221B13C50/size 200 127 ms - 97
[HTTP] --> POST /wd/hub/session/fe33bdde-d6ce-430f-b29c-117c78483519/touch/perform {"actions":[{"action":"press","options":{"element":"13F33BC7-2CF7-43D3-9693-C30221B13C50"}},{"action":"moveTo","options":{"x":-100,"y":0}},{"action":"release","options":{}}]}
[debug] [MJSONWP] Calling AppiumDriver.performTouch() with args: [[{"action":"press","options":{"element":"13F33BC7-2CF7-43D3-9693-C30221B13C50"}},{"action":"moveTo","options":{"x":-100,"y":0}},{"action":"release","options":{}}],"fe33bdde-d6ce-430f-b29c-117c78483519"]
[debug] [XCUITest] Executing command 'performTouch'
[debug] [XCUITest] Received the following touch action: press-moveTo-release
[debug] [JSONWP Proxy] Proxying [GET /element/13F33BC7-2CF7-43D3-9693-C30221B13C50/rect] to [GET http://localhost:8100/session/71470ACA-5975-4621-AA73-B40034ABD75D/element/13F33BC7-2CF7-43D3-9693-C30221B13C50/rect] with no body
[debug] [JSONWP Proxy] Got response with status 200: "{\n \"value\" : {\n \"y\" : 120,\n \"x\" : 0,\n \"width\" : 320,\n \"height\" : 54\n },\n \"sessionId\" : \"71470ACA-5975-4621-AA73-B40034ABD75D\",\n \"status\" : 0\n}"
[debug] [JSONWP Proxy] Proxying [POST /wda/element/0/dragfromtoforduration] to [POST http://localhost:8100/session/71470ACA-5975-4621-AA73-B40034ABD75D/wda/element/0/dragfromtoforduration] with body: {"fromX":160,"fromY":147,"toX":60,"toY":147,"duration":0}
[debug] [JSONWP Proxy] Got response with status 200: {"value":{},"sessionId":"71470ACA-5975-4621-AA73-B40034ABD75D","status":0}
[debug] [MJSONWP] Responding to client with driver.performTouch() result: {}
[HTTP] <-- POST /wd/hub/session/fe33bdde-d6ce-430f-b29c-117c78483519/touch/perform 200 1459 ms - 74
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment