Skip to content

Instantly share code, notes, and snippets.

[debug] [XCUITest] Executing command 'proxyReqRes'
[debug] [JSONWP Proxy] Proxying [GET /wd/hub/session/24ca4e72-1cf7-43e2-b0a3-c7975550dfbf/element/BEBB6041-774D-459F-A8FC-7D3831E4D354/displayed] to [GET http://localhost:8100/session/88E1DAFE-F86D-4B5C-9E13-1FA438A82650/element/BEBB6041-774D-459F-A8FC-7D3831E4D354/displayed] with body: {}
[debug] [JSONWP Proxy] Got response with status 200: "{\n \"value\" : true,\n \"sessionId\" : \"88E1DAFE-F86D-4B5C-9E13-1FA438A82650\",\n \"status\" : 0\n}"
[JSONWP Proxy] Replacing sessionId 88E1DAFE-F86D-4B5C-9E13-1FA438A82650 with 24ca4e72-1cf7-43e2-b0a3-c7975550dfbf
[HTTP] <-- GET /wd/hub/session/24ca4e72-1cf7-43e2-b0a3-c7975550dfbf/element/BEBB6041-774D-459F-A8FC-7D3831E4D354/displayed 200 177 ms - 76
[HTTP] --> POST /wd/hub/session/24ca4e72-1cf7-43e2-b0a3-c7975550dfbf/touch/perform {"actions":[{"action":"press","options":{"element":"BEBB6041-774D-459F-A8FC-7D3831E4D354"}},{"action":"wait","options":{"ms":2}},{"action":"release","options":{}}]}
[debug] [MJSONWP] Ca
@amleszk
amleszk / delete-all-sims.sh
Created March 20, 2019 10:36
Delete simulators by identifier from simctl
#!/bin/bash
# Delete by finding round bracket #2
xcrun simctl list | cut -d "(" -f2 | cut -d ")" -f1 | grep -E ".+-.+-.+-.+" | grep -v "^com" | xargs xcrun simctl delete
# Delete by finding round bracket #3
xcrun simctl list | cut -d "(" -f3 | cut -d ")" -f1 | grep -E ".+-.+-.+-.+" | grep -v "^com" | xargs xcrun simctl delete
# Delete by finding round bracket #4
xcrun simctl list | cut -d "(" -f4 | cut -d ")" -f1 | grep -E ".+-.+-.+-.+" | grep -v "^com" | xargs xcrun simctl delete