Skip to content

Instantly share code, notes, and snippets.

@zastress
Created March 13, 2024 10:38
Show Gist options
  • Save zastress/555c4fb9763e2f97bd5fe5bd12b4b15f to your computer and use it in GitHub Desktop.
Save zastress/555c4fb9763e2f97bd5fe5bd12b4b15f to your computer and use it in GitHub Desktop.
--> POST /wd/hub/session/f396d279-d4f8-417d-94a8-c71c6a1830a0/elements
[HTTP] {"using":"accessibility id","value":"Allow"}
[XCUITestDriver@a9d1 (f396d279)] Calling AppiumDriver.findElements() with args: ["accessibility id","Allow","f396d279-d4f8-417d-94a8-c71c6a1830a0"]
[XCUITestDriver@a9d1 (f396d279)] Executing command 'findElements'
[XCUITestDriver@a9d1 (f396d279)] Valid locator strategies for this request: xpath, id, name, class name, -ios predicate string, -ios class chain, accessibility id, css selector
[XCUITestDriver@a9d1 (f396d279)] Waiting up to 0 ms for condition
[XCUITestDriver@a9d1 (f396d279)] Matched '/elements' to command name 'findElements'
[XCUITestDriver@a9d1 (f396d279)] Proxying [POST /elements] to [POST http://127.0.0.1:8100/session/0BBDCE51-2F31-474D-A2B8-08AB85AED979/elements] with body: {"using":"accessibility id","value":"Allow"}
[XCUITestDriver@a9d1 (f396d279)] Got response with status 200: {"value":[{"ELEMENT":"CB000000-0000-0000-DD74-000000000000","element-6066-11e4-a52e-4f735466cecf":"CB000000-0000-0000-DD74-000000000000"}],"sessionId":"0BBDCE51-2F31-474D-A2B8-08AB85AED979"}
[XCUITestDriver@a9d1 (f396d279)] Responding to client with driver.findElements() result: [{"element-6066-11e4-a52e-4f735466cecf":"CB000000-0000-0000-DD74-000000000000","ELEMENT":"CB000000-0000-0000-DD74-000000000000"}]
[HTTP] <-- POST /wd/hub/session/f396d279-d4f8-417d-94a8-c71c6a1830a0/elements 200 67 ms - 139
[HTTP]
[HTTP] --> POST /wd/hub/session/f396d279-d4f8-417d-94a8-c71c6a1830a0/element/CB000000-0000-0000-DD74-000000000000/click
[HTTP] {}
[XCUITestDriver@a9d1 (f396d279)] Driver proxy active, passing request on via HTTP proxy
[XCUITestDriver@a9d1 (f396d279)] Executing command 'proxyReqRes'
[XCUITestDriver@a9d1 (f396d279)] Matched '/wd/hub/session/f396d279-d4f8-417d-94a8-c71c6a1830a0/element/CB000000-0000-0000-DD74-000000000000/click' to command name 'click'
[XCUITestDriver@a9d1 (f396d279)] Proxying [POST /wd/hub/session/f396d279-d4f8-417d-94a8-c71c6a1830a0/element/CB000000-0000-0000-DD74-000000000000/click] to [POST http://127.0.0.1:8100/session/0BBDCE51-2F31-474D-A2B8-08AB85AED979/element/CB000000-0000-0000-DD74-000000000000/click] with body: {}
[XCUITestDriver@a9d1 (f396d279)] Got response with status 200: {"value":null,"sessionId":"0BBDCE51-2F31-474D-A2B8-08AB85AED979"}
[XCUITestDriver@a9d1 (f396d279)] Replacing sessionId 0BBDCE51-2F31-474D-A2B8-08AB85AED979 with f396d279-d4f8-417d-94a8-c71c6a1830a0
[HTTP] <-- POST /wd/hub/session/f396d279-d4f8-417d-94a8-c71c6a1830a0/element/CB000000-0000-0000-DD74-000000000000/click 200 344 ms - 65
[HTTP]
[HTTP] --> POST /wd/hub/session/f396d279-d4f8-417d-94a8-c71c6a1830a0/elements
[HTTP] {"using":"-ios predicate string","value":"label=='Allow'"}
[XCUITestDriver@a9d1 (f396d279)] Calling AppiumDriver.findElements() with args: ["-ios predicate string","label=='Allow'","f396d279-d4f8-417d-94a8-c71c6a1830a0"]
[XCUITestDriver@a9d1 (f396d279)] Executing command 'findElements'
[XCUITestDriver@a9d1 (f396d279)] Valid locator strategies for this request: xpath, id, name, class name, -ios predicate string, -ios class chain, accessibility id, css selector
[XCUITestDriver@a9d1 (f396d279)] Waiting up to 0 ms for condition
[XCUITestDriver@a9d1 (f396d279)] Matched '/elements' to command name 'findElements'
[XCUITestDriver@a9d1 (f396d279)] Proxying [POST /elements] to [POST http://127.0.0.1:8100/session/0BBDCE51-2F31-474D-A2B8-08AB85AED979/elements] with body: {"using":"predicate string","value":"label=='Allow'"}
[XCUITestDriver@a9d1 (f396d279)] Got response with status 200: {"value":[{"ELEMENT":"CB000000-0000-0000-DD74-000000000000","element-6066-11e4-a52e-4f735466cecf":"CB000000-0000-0000-DD74-000000000000"}],"sessionId":"0BBDCE51-2F31-474D-A2B8-08AB85AED979"}
[XCUITestDriver@a9d1 (f396d279)] Responding to client with driver.findElements() result: [{"element-6066-11e4-a52e-4f735466cecf":"CB000000-0000-0000-DD74-000000000000","ELEMENT":"CB000000-0000-0000-DD74-000000000000"}]
[HTTP] <-- POST /wd/hub/session/f396d279-d4f8-417d-94a8-c71c6a1830a0/elements 200 51 ms - 139
[HTTP]
[HTTP] --> POST /wd/hub/session/f396d279-d4f8-417d-94a8-c71c6a1830a0/element/CB000000-0000-0000-DD74-000000000000/click
[HTTP] {}
[XCUITestDriver@a9d1 (f396d279)] Driver proxy active, passing request on via HTTP proxy
[XCUITestDriver@a9d1 (f396d279)] Executing command 'proxyReqRes'
[XCUITestDriver@a9d1 (f396d279)] Matched '/wd/hub/session/f396d279-d4f8-417d-94a8-c71c6a1830a0/element/CB000000-0000-0000-DD74-000000000000/click' to command name 'click'
[XCUITestDriver@a9d1 (f396d279)] Proxying [POST /wd/hub/session/f396d279-d4f8-417d-94a8-c71c6a1830a0/element/CB000000-0000-0000-DD74-000000000000/click] to [POST http://127.0.0.1:8100/session/0BBDCE51-2F31-474D-A2B8-08AB85AED979/element/CB000000-0000-0000-DD74-000000000000/click] with body: {}
[XCUITestDriver@a9d1 (f396d279)] Got response with status 200: {"value":null,"sessionId":"0BBDCE51-2F31-474D-A2B8-08AB85AED979"}
[XCUITestDriver@a9d1 (f396d279)] Replacing sessionId 0BBDCE51-2F31-474D-A2B8-08AB85AED979 with f396d279-d4f8-417d-94a8-c71c6a1830a0
[HTTP] <-- POST /wd/hub/session/f396d279-d4f8-417d-94a8-c71c6a1830a0/element/CB000000-0000-0000-DD74-000000000000/click 200 346 ms - 65
[HTTP]
[HTTP] --> POST /wd/hub/session/f396d279-d4f8-417d-94a8-c71c6a1830a0/actions
[HTTP] {"actions":[{"type":"pointer","parameters":{"pointerType":"touch"},"id":"touch","actions":[{"type":"pointerMove","duration":250,"x":215,"y":807,"origin":"viewport"},{"type":"pointerDown","duration":0,"button":0},{"type":"pause","duration":50},{"type":"pointerUp","duration":0,"button":0}]}]}
[XCUITestDriver@a9d1 (f396d279)] Calling AppiumDriver.performActions() with args: [[{"type":"pointer","parameters":{"pointerType":"touch"},"id":"touch","actions":[{"type":"pointerMove","duration":250,"x":215,"y":807,"origin":"viewport"},{"type":"pointerDown","duration":0,"button":0},{"type":"pause","duration":50},{"type":"pointerUp","duration":0,"button":0}]}],"f396d279-d4f8-417d-94a8-c71c6a1830a0"]
[XCUITestDriver@a9d1 (f396d279)] Executing command 'performActions'
[XCUITestDriver@a9d1 (f396d279)] Received the following W3C actions: [
[XCUITestDriver@a9d1 (f396d279)] {
[XCUITestDriver@a9d1 (f396d279)] "type": "pointer",
[XCUITestDriver@a9d1 (f396d279)] "parameters": {
[XCUITestDriver@a9d1 (f396d279)] "pointerType": "touch"
[XCUITestDriver@a9d1 (f396d279)] },
[XCUITestDriver@a9d1 (f396d279)] "id": "touch",
[XCUITestDriver@a9d1 (f396d279)] "actions": [
[XCUITestDriver@a9d1 (f396d279)] {
[XCUITestDriver@a9d1 (f396d279)] "type": "pointerMove",
[XCUITestDriver@a9d1 (f396d279)] "duration": 250,
[XCUITestDriver@a9d1 (f396d279)] "x": 215,
[XCUITestDriver@a9d1 (f396d279)] "y": 807,
[XCUITestDriver@a9d1 (f396d279)] "origin": "viewport"
[XCUITestDriver@a9d1 (f396d279)] },
[XCUITestDriver@a9d1 (f396d279)] {
[XCUITestDriver@a9d1 (f396d279)] "type": "pointerDown",
[XCUITestDriver@a9d1 (f396d279)] "duration": 0,
[XCUITestDriver@a9d1 (f396d279)] "button": 0
[XCUITestDriver@a9d1 (f396d279)] },
[XCUITestDriver@a9d1 (f396d279)] {
[XCUITestDriver@a9d1 (f396d279)] "type": "pause",
[XCUITestDriver@a9d1 (f396d279)] "duration": 50
[XCUITestDriver@a9d1 (f396d279)] },
[XCUITestDriver@a9d1 (f396d279)] {
[XCUITestDriver@a9d1 (f396d279)] "type": "pointerUp",
[XCUITestDriver@a9d1 (f396d279)] "duration": 0,
[XCUITestDriver@a9d1 (f396d279)] "button": 0
[XCUITestDriver@a9d1 (f396d279)] }
[XCUITestDriver@a9d1 (f396d279)] ]
[XCUITestDriver@a9d1 (f396d279)] }
[XCUITestDriver@a9d1 (f396d279)] ]
[XCUITestDriver@a9d1 (f396d279)] Preprocessed actions: [
[XCUITestDriver@a9d1 (f396d279)] {
[XCUITestDriver@a9d1 (f396d279)] "type": "pointer",
[XCUITestDriver@a9d1 (f396d279)] "parameters": {
[XCUITestDriver@a9d1 (f396d279)] "pointerType": "touch"
[XCUITestDriver@a9d1 (f396d279)] },
[XCUITestDriver@a9d1 (f396d279)] "id": "touch",
[XCUITestDriver@a9d1 (f396d279)] "actions": [
[XCUITestDriver@a9d1 (f396d279)] {
[XCUITestDriver@a9d1 (f396d279)] "type": "pointerMove",
[XCUITestDriver@a9d1 (f396d279)] "duration": 250,
[XCUITestDriver@a9d1 (f396d279)] "x": 215,
[XCUITestDriver@a9d1 (f396d279)] "y": 807,
[XCUITestDriver@a9d1 (f396d279)] "origin": "viewport"
[XCUITestDriver@a9d1 (f396d279)] },
[XCUITestDriver@a9d1 (f396d279)] {
[XCUITestDriver@a9d1 (f396d279)] "type": "pointerDown",
[XCUITestDriver@a9d1 (f396d279)] "duration": 0,
[XCUITestDriver@a9d1 (f396d279)] "button": 0
[XCUITestDriver@a9d1 (f396d279)] },
[XCUITestDriver@a9d1 (f396d279)] {
[XCUITestDriver@a9d1 (f396d279)] "type": "pause",
[XCUITestDriver@a9d1 (f396d279)] "duration": 50
[XCUITestDriver@a9d1 (f396d279)] },
[XCUITestDriver@a9d1 (f396d279)] {
[XCUITestDriver@a9d1 (f396d279)] "type": "pointerUp",
[XCUITestDriver@a9d1 (f396d279)] "duration": 0,
[XCUITestDriver@a9d1 (f396d279)] "button": 0
[XCUITestDriver@a9d1 (f396d279)] }
[XCUITestDriver@a9d1 (f396d279)] ]
[XCUITestDriver@a9d1 (f396d279)] }
[XCUITestDriver@a9d1 (f396d279)] ]
[XCUITestDriver@a9d1 (f396d279)] Matched '/actions' to command name 'performActions'
[XCUITestDriver@a9d1 (f396d279)] Proxying [POST /actions] to [POST http://127.0.0.1:8100/session/0BBDCE51-2F31-474D-A2B8-08AB85AED979/actions] with body: {"actions":[{"type":"pointer","parameters":{"pointerType":"touch"},"id":"touch","actions":[{"type":"pointerMove","duration":250,"x":215,"y":807,"origin":"viewport"},{"type":"pointerDown","duration":0,"button":0},{"type":"pause","duration":50},{"type":"pointerUp","duration":0,"button":0}]}]}
[XCUITestDriver@a9d1 (f396d279)] Got response with status 200: {"value":null,"sessionId":"0BBDCE51-2F31-474D-A2B8-08AB85AED979"}
[XCUITestDriver@a9d1 (f396d279)] Responding to client with driver.performActions() result: null
[HTTP] <-- POST /wd/hub/session/f396d279-d4f8-417d-94a8-c71c6a1830a0/actions 200 348 ms - 14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment