Skip to content

Instantly share code, notes, and snippets.

@vikramvi
Created December 12, 2017 08:11
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 vikramvi/53556a6fe2cef7e5363c8b75a50d5f8e to your computer and use it in GitHub Desktop.
Save vikramvi/53556a6fe2cef7e5363c8b75a50d5f8e to your computer and use it in GitHub Desktop.
- native content: "By.id: LetsBeginButton" - html content: "by id or name "LetsBeginButton""
[debug] [XCUITest] Executing command 'getCurrentContext'
[debug] [MJSONWP] Responding to client with driver.getCurrentContext() result: "NATIVE_APP"
[HTTP] <-- GET /wd/hub/session/8102b21e-d43f-43ed-b820-494851fedbfd/context 200 5 ms - 84
[HTTP] --> POST /wd/hub/session/8102b21e-d43f-43ed-b820-494851fedbfd/element {"using":"id","value":"LetsBeginButton"}
[debug] [MJSONWP] Calling AppiumDriver.findElement() with args: ["id","LetsBeginButton","8102b21e-d43f-43ed-b820-494851fedbfd"]
[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 18000 ms for condition
[debug] [JSONWP Proxy] Proxying [POST /element] to [POST http://localhost:8100/session/897EA12F-CA1B-4630-BE0C-D3685C3A94B7/element] with body: {"using":"id","value":"LetsBeginButton"}
[debug] [JSONWP Proxy] Got response with status 200: {"value":{"using":"id","value":"LetsBeginButton","description":"unable to find an element"},"sessionId":"897EA12F-CA1B-4630-BE0C-D3685C3A94B7","status":7}
[debug] [BaseDriver] Waited for 77 ms so far
[debug] [JSONWP Proxy] Proxying [POST /element] to [POST http://localhost:8100/session/897EA12F-CA1B-4630-BE0C-D3685C3A94B7/element] with body: {"using":"id","value":"LetsBeginButton"}
[debug] [JSONWP Proxy] Got response with status 200: {"value":{"using":"id","value":"LetsBeginButton","description":"unable to find an element"},"sessionId":"897EA12F-CA1B-4630-BE0C-D3685C3A94B7","status":7}
[debug] [BaseDriver] Waited for 640 ms so far
[debug] [JSONWP Proxy] Proxying [POST /element] to [POST http://localhost:8100/session/897EA12F-CA1B-4630-BE0C-D3685C3A94B7/element] with body: {"using":"id","value":"LetsBeginButton"}
[debug] [JSONWP Proxy] Got response with status 200: {"value":{"using":"id","value":"LetsBeginButton","description":"unable to find an element"},"sessionId":"897EA12F-CA1B-4630-BE0C-D3685C3A94B7","status":7}
[debug] [BaseDriver] Waited for 1195 ms so far
[debug] [JSONWP Proxy] Proxying [POST /element] to [POST http://localhost:8100/session/897EA12F-CA1B-4630-BE0C-D3685C3A94B7/element] with body: {"using":"id","value":"LetsBeginButton"}
[debug] [JSONWP Proxy] Got response with status 200: {"value":{"using":"id","value":"LetsBeginButton","description":"unable to find an element"},"sessionId":"897EA12F-CA1B-4630-BE0C-D3685C3A94B7","status":7}
[debug] [BaseDriver] Waited for 1749 ms so far
[debug] [JSONWP Proxy] Proxying [POST /element] to [POST http://localhost:8100/session/897EA12F-CA1B-4630-BE0C-D3685C3A94B7/element] with body: {"using":"id","value":"LetsBeginButton"}
[debug] [JSONWP Proxy] Got response with status 200: {"value":{"using":"id","value":"LetsBeginButton","description":"unable to find an element"},"sessionId":"897EA12F-CA1B-4630-BE0C-D3685C3A94B7","status":7}
[debug] [BaseDriver] Waited for 2310 ms so far
[debug] [JSONWP Proxy] Proxying [POST /element] to [POST http://localhost:8100/session/897EA12F-CA1B-4630-BE0C-D3685C3A94B7/element] with body: {"using":"id","value":"LetsBeginButton"}
[debug] [JSONWP Proxy] Got response with status 200: {"value":{"using":"id","value":"LetsBeginButton","description":"unable to find an element"},"sessionId":"897EA12F-CA1B-4630-BE0C-D3685C3A94B7","status":7}
[debug] [BaseDriver] Waited for 2867 ms so far
[debug] [JSONWP Proxy] Proxying [POST /element] to [POST http://localhost:8100/session/897EA12F-CA1B-4630-BE0C-D3685C3A94B7/element] with body: {"using":"id","value":"LetsBeginButton"}
[debug] [JSONWP Proxy] Got response with status 200: {"value":{"using":"id","value":"LetsBeginButton","description":"unable to find an element"},"sessionId":"897EA12F-CA1B-4630-BE0C-D3685C3A94B7","status":7}
[debug] [BaseDriver] Waited for 3425 ms so far
[debug] [JSONWP Proxy] Proxying [POST /element] to [POST http://localhost:8100/session/897EA12F-CA1B-4630-BE0C-D3685C3A94B7/element] with body: {"using":"id","value":"LetsBeginButton"}
[debug] [JSONWP Proxy] Got response with status 200: {"value":{"using":"id","value":"LetsBeginButton","description":"unable to find an element"},"sessionId":"897EA12F-CA1B-4630-BE0C-D3685C3A94B7","status":7}
[debug] [BaseDriver] Waited for 3983 ms so far
[debug] [JSONWP Proxy] Proxying [POST /element] to [POST http://localhost:8100/session/897EA12F-CA1B-4630-BE0C-D3685C3A94B7/element] with body: {"using":"id","value":"LetsBeginButton"}
[debug] [JSONWP Proxy] Got response with status 200: {"value":{"using":"id","value":"LetsBeginButton","description":"unable to find an element"},"sessionId":"897EA12F-CA1B-4630-BE0C-D3685C3A94B7","status":7}
[debug] [BaseDriver] Waited for 4547 ms so far
[debug] [JSONWP Proxy] Proxying [POST /element] to [POST http://localhost:8100/session/897EA12F-CA1B-4630-BE0C-D3685C3A94B7/element] with body: {"using":"id","value":"LetsBeginButton"}
[debug] [JSONWP Proxy] Got response with status 200: {"value":{"using":"id","value":"LetsBeginButton","description":"unable to find an element"},"sessionId":"897EA12F-CA1B-4630-BE0C-D3685C3A94B7","status":7}
[debug] [BaseDriver] Waited for 5105 ms so far
[debug] [JSONWP Proxy] Proxying [POST /element] to [POST http://localhost:8100/session/897EA12F-CA1B-4630-BE0C-D3685C3A94B7/element] with body: {"using":"id","value":"LetsBeginButton"}
[debug] [JSONWP Proxy] Got response with status 200: {"value":{"using":"id","value":"LetsBeginButton","description":"unable to find an element"},"sessionId":"897EA12F-CA1B-4630-BE0C-D3685C3A94B7","status":7}
[debug] [BaseDriver] Waited for 5656 ms so far
[debug] [JSONWP Proxy] Proxying [POST /element] to [POST http://localhost:8100/session/897EA12F-CA1B-4630-BE0C-D3685C3A94B7/element] with body: {"using":"id","value":"LetsBeginButton"}
[debug] [JSONWP Proxy] Got response with status 200: {"value":{"using":"id","value":"LetsBeginButton","description":"unable to find an element"},"sessionId":"897EA12F-CA1B-4630-BE0C-D3685C3A94B7","status":7}
[debug] [BaseDriver] Waited for 6212 ms so far
[debug] [JSONWP Proxy] Proxying [POST /element] to [POST http://localhost:8100/session/897EA12F-CA1B-4630-BE0C-D3685C3A94B7/element] with body: {"using":"id","value":"LetsBeginButton"}
[debug] [JSONWP Proxy] Got response with status 200: {"value":{"using":"id","value":"LetsBeginButton","description":"unable to find an element"},"sessionId":"897EA12F-CA1B-4630-BE0C-D3685C3A94B7","status":7}
[debug] [BaseDriver] Waited for 6766 ms so far
[debug] [JSONWP Proxy] Proxying [POST /element] to [POST http://localhost:8100/session/897EA12F-CA1B-4630-BE0C-D3685C3A94B7/element] with body: {"using":"id","value":"LetsBeginButton"}
[debug] [JSONWP Proxy] Got response with status 200: {"value":{"using":"id","value":"LetsBeginButton","description":"unable to find an element"},"sessionId":"897EA12F-CA1B-4630-BE0C-D3685C3A94B7","status":7}
[debug] [BaseDriver] Waited for 7321 ms so far
[debug] [JSONWP Proxy] Proxying [POST /element] to [POST http://localhost:8100/session/897EA12F-CA1B-4630-BE0C-D3685C3A94B7/element] with body: {"using":"id","value":"LetsBeginButton"}
[debug] [JSONWP Proxy] Got response with status 200: {"value":{"using":"id","value":"LetsBeginButton","description":"unable to find an element"},"sessionId":"897EA12F-CA1B-4630-BE0C-D3685C3A94B7","status":7}
[debug] [BaseDriver] Waited for 7874 ms so far
[debug] [JSONWP Proxy] Proxying [POST /element] to [POST http://localhost:8100/session/897EA12F-CA1B-4630-BE0C-D3685C3A94B7/element] with body: {"using":"id","value":"LetsBeginButton"}
[debug] [JSONWP Proxy] Got response with status 200: {"value":{"using":"id","value":"LetsBeginButton","description":"unable to find an element"},"sessionId":"897EA12F-CA1B-4630-BE0C-D3685C3A94B7","status":7}
[debug] [BaseDriver] Waited for 8426 ms so far
[debug] [JSONWP Proxy] Proxying [POST /element] to [POST http://localhost:8100/session/897EA12F-CA1B-4630-BE0C-D3685C3A94B7/element] with body: {"using":"id","value":"LetsBeginButton"}
[debug] [JSONWP Proxy] Got response with status 200: {"value":{"using":"id","value":"LetsBeginButton","description":"unable to find an element"},"sessionId":"897EA12F-CA1B-4630-BE0C-D3685C3A94B7","status":7}
[debug] [BaseDriver] Waited for 8982 ms so far
[debug] [JSONWP Proxy] Proxying [POST /element] to [POST http://localhost:8100/session/897EA12F-CA1B-4630-BE0C-D3685C3A94B7/element] with body: {"using":"id","value":"LetsBeginButton"}
[debug] [JSONWP Proxy] Got response with status 200: {"value":{"using":"id","value":"LetsBeginButton","description":"unable to find an element"},"sessionId":"897EA12F-CA1B-4630-BE0C-D3685C3A94B7","status":7}
[debug] [BaseDriver] Waited for 9537 ms so far
[debug] [JSONWP Proxy] Proxying [POST /element] to [POST http://localhost:8100/session/897EA12F-CA1B-4630-BE0C-D3685C3A94B7/element] with body: {"using":"id","value":"LetsBeginButton"}
[debug] [JSONWP Proxy] Got response with status 200: {"value":{"using":"id","value":"LetsBeginButton","description":"unable to find an element"},"sessionId":"897EA12F-CA1B-4630-BE0C-D3685C3A94B7","status":7}
[debug] [BaseDriver] Waited for 10090 ms so far
[debug] [JSONWP Proxy] Proxying [POST /element] to [POST http://localhost:8100/session/897EA12F-CA1B-4630-BE0C-D3685C3A94B7/element] with body: {"using":"id","value":"LetsBeginButton"}
[debug] [JSONWP Proxy] Got response with status 200: {"value":{"using":"id","value":"LetsBeginButton","description":"unable to find an element"},"sessionId":"897EA12F-CA1B-4630-BE0C-D3685C3A94B7","status":7}
[debug] [BaseDriver] Waited for 10639 ms so far
[debug] [JSONWP Proxy] Proxying [POST /element] to [POST http://localhost:8100/session/897EA12F-CA1B-4630-BE0C-D3685C3A94B7/element] with body: {"using":"id","value":"LetsBeginButton"}
[debug] [JSONWP Proxy] Got response with status 200: {"value":{"using":"id","value":"LetsBeginButton","description":"unable to find an element"},"sessionId":"897EA12F-CA1B-4630-BE0C-D3685C3A94B7","status":7}
[debug] [BaseDriver] Waited for 11192 ms so far
[debug] [JSONWP Proxy] Proxying [POST /element] to [POST http://localhost:8100/session/897EA12F-CA1B-4630-BE0C-D3685C3A94B7/element] with body: {"using":"id","value":"LetsBeginButton"}
[debug] [JSONWP Proxy] Got response with status 200: {"value":{"using":"id","value":"LetsBeginButton","description":"unable to find an element"},"sessionId":"897EA12F-CA1B-4630-BE0C-D3685C3A94B7","status":7}
[debug] [BaseDriver] Waited for 11742 ms so far
[debug] [JSONWP Proxy] Proxying [POST /element] to [POST http://localhost:8100/session/897EA12F-CA1B-4630-BE0C-D3685C3A94B7/element] with body: {"using":"id","value":"LetsBeginButton"}
[debug] [JSONWP Proxy] Got response with status 200: {"value":{"using":"id","value":"LetsBeginButton","description":"unable to find an element"},"sessionId":"897EA12F-CA1B-4630-BE0C-D3685C3A94B7","status":7}
[debug] [BaseDriver] Waited for 12297 ms so far
[debug] [JSONWP Proxy] Proxying [POST /element] to [POST http://localhost:8100/session/897EA12F-CA1B-4630-BE0C-D3685C3A94B7/element] with body: {"using":"id","value":"LetsBeginButton"}
[debug] [JSONWP Proxy] Got response with status 200: {"value":{"using":"id","value":"LetsBeginButton","description":"unable to find an element"},"sessionId":"897EA12F-CA1B-4630-BE0C-D3685C3A94B7","status":7}
[debug] [BaseDriver] Waited for 12852 ms so far
[debug] [JSONWP Proxy] Proxying [POST /element] to [POST http://localhost:8100/session/897EA12F-CA1B-4630-BE0C-D3685C3A94B7/element] with body: {"using":"id","value":"LetsBeginButton"}
[debug] [JSONWP Proxy] Got response with status 200: {"value":{"using":"id","value":"LetsBeginButton","description":"unable to find an element"},"sessionId":"897EA12F-CA1B-4630-BE0C-D3685C3A94B7","status":7}
[debug] [BaseDriver] Waited for 13401 ms so far
[debug] [JSONWP Proxy] Proxying [POST /element] to [POST http://localhost:8100/session/897EA12F-CA1B-4630-BE0C-D3685C3A94B7/element] with body: {"using":"id","value":"LetsBeginButton"}
[debug] [JSONWP Proxy] Got response with status 200: {"value":{"using":"id","value":"LetsBeginButton","description":"unable to find an element"},"sessionId":"897EA12F-CA1B-4630-BE0C-D3685C3A94B7","status":7}
[debug] [BaseDriver] Waited for 13957 ms so far
[debug] [JSONWP Proxy] Proxying [POST /element] to [POST http://localhost:8100/session/897EA12F-CA1B-4630-BE0C-D3685C3A94B7/element] with body: {"using":"id","value":"LetsBeginButton"}
[debug] [JSONWP Proxy] Got response with status 200: {"value":{"using":"id","value":"LetsBeginButton","description":"unable to find an element"},"sessionId":"897EA12F-CA1B-4630-BE0C-D3685C3A94B7","status":7}
[debug] [BaseDriver] Waited for 14511 ms so far
[debug] [JSONWP Proxy] Proxying [POST /element] to [POST http://localhost:8100/session/897EA12F-CA1B-4630-BE0C-D3685C3A94B7/element] with body: {"using":"id","value":"LetsBeginButton"}
[debug] [JSONWP Proxy] Got response with status 200: {"value":{"using":"id","value":"LetsBeginButton","description":"unable to find an element"},"sessionId":"897EA12F-CA1B-4630-BE0C-D3685C3A94B7","status":7}
[debug] [BaseDriver] Waited for 15066 ms so far
[debug] [JSONWP Proxy] Proxying [POST /element] to [POST http://localhost:8100/session/897EA12F-CA1B-4630-BE0C-D3685C3A94B7/element] with body: {"using":"id","value":"LetsBeginButton"}
[debug] [JSONWP Proxy] Got response with status 200: {"value":{"using":"id","value":"LetsBeginButton","description":"unable to find an element"},"sessionId":"897EA12F-CA1B-4630-BE0C-D3685C3A94B7","status":7}
[debug] [BaseDriver] Waited for 15620 ms so far
[debug] [JSONWP Proxy] Proxying [POST /element] to [POST http://localhost:8100/session/897EA12F-CA1B-4630-BE0C-D3685C3A94B7/element] with body: {"using":"id","value":"LetsBeginButton"}
[debug] [JSONWP Proxy] Got response with status 200: {"value":{"using":"id","value":"LetsBeginButton","description":"unable to find an element"},"sessionId":"897EA12F-CA1B-4630-BE0C-D3685C3A94B7","status":7}
[debug] [BaseDriver] Waited for 16172 ms so far
[debug] [JSONWP Proxy] Proxying [POST /element] to [POST http://localhost:8100/session/897EA12F-CA1B-4630-BE0C-D3685C3A94B7/element] with body: {"using":"id","value":"LetsBeginButton"}
[debug] [JSONWP Proxy] Got response with status 200: {"value":{"using":"id","value":"LetsBeginButton","description":"unable to find an element"},"sessionId":"897EA12F-CA1B-4630-BE0C-D3685C3A94B7","status":7}
[debug] [BaseDriver] Waited for 16728 ms so far
[debug] [JSONWP Proxy] Proxying [POST /element] to [POST http://localhost:8100/session/897EA12F-CA1B-4630-BE0C-D3685C3A94B7/element] with body: {"using":"id","value":"LetsBeginButton"}
[debug] [JSONWP Proxy] Got response with status 200: {"value":{"using":"id","value":"LetsBeginButton","description":"unable to find an element"},"sessionId":"897EA12F-CA1B-4630-BE0C-D3685C3A94B7","status":7}
[debug] [BaseDriver] Waited for 17289 ms so far
[debug] [JSONWP Proxy] Proxying [POST /element] to [POST http://localhost:8100/session/897EA12F-CA1B-4630-BE0C-D3685C3A94B7/element] with body: {"using":"id","value":"LetsBeginButton"}
[debug] [JSONWP Proxy] Got response with status 200: {"value":{"using":"id","value":"LetsBeginButton","description":"unable to find an element"},"sessionId":"897EA12F-CA1B-4630-BE0C-D3685C3A94B7","status":7}
[debug] [BaseDriver] Waited for 17842 ms so far
[debug] [JSONWP Proxy] Proxying [POST /element] to [POST http://localhost:8100/session/897EA12F-CA1B-4630-BE0C-D3685C3A94B7/element] with body: {"using":"id","value":"LetsBeginButton"}
[debug] [JSONWP Proxy] Got response with status 200: {"value":{"using":"id","value":"LetsBeginButton","description":"unable to find an element"},"sessionId":"897EA12F-CA1B-4630-BE0C-D3685C3A94B7","status":7}
[HTTP] <-- POST /wd/hub/session/8102b21e-d43f-43ed-b820-494851fedbfd/element 500 18405 ms - 164
[HTTP] --> GET /wd/hub/session/8102b21e-d43f-43ed-b820-494851fedbfd {}
[debug] [MJSONWP] Calling AppiumDriver.getSession() with args: ["8102b21e-d43f-43ed-b820-494851fedbfd"]
[debug] [XCUITest] Executing command 'getSession'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment