Skip to content

Instantly share code, notes, and snippets.

@aryalakshmi
Created January 21, 2019 10:10
Show Gist options
  • Save aryalakshmi/fc4cb8d4153ea4fb4188875d126e3e18 to your computer and use it in GitHub Desktop.
Save aryalakshmi/fc4cb8d4153ea4fb4188875d126e3e18 to your computer and use it in GitHub Desktop.
AppiumLogs for JOIN click happening after 60seconds.
[debug] [W3C (ba1075e7)] Calling AppiumDriver.getContexts() with args: ["ba1075e7-22cb-4995-b3c9-1bbc42f0ffae"]
[debug] [XCUITest] Executing command 'getContexts'
[debug] [iOS] Getting list of available contexts
[debug] [iOS] Retrieving contexts and views
[debug] [iOS] Selecting by url: false
[debug] [RemoteDebugger] Getting WebKitRemoteDebugger pageArray: localhost, 27753
[debug] [RemoteDebugger] Sending request to: http://localhost:27753/json
[debug] [RemoteDebugger] Page element JSON: [{"devtoolsFrontendUrl":"","faviconUrl":"","thumbnailUrl":"/thumb/http://localhost:8080/var/containers/Bundle/Application/CE188D03-5A92-4B4E-A76E-ADE38666AE3E/Nokia%20WiFi.app/www/index.html","title":"Nokia WiFi","url":"http://localhost:8080/var/containers/Bundle/Application/CE188D03-5A92-4B4E-A76E-ADE38666AE3E/Nokia%20WiFi.app/www/index.html","webSocketDebuggerUrl":"ws://localhost:27753/devtools/page/286","appId":"PID:28840"}]
[debug] [W3C (ba1075e7)] Responding to client with driver.getContexts() result: ["NATIVE_APP","WEBVIEW_286"]
[HTTP] <-- GET /wd/hub/session/ba1075e7-22cb-4995-b3c9-1bbc42f0ffae/contexts 200 5 ms - 38
[HTTP]
[HTTP] --> POST /wd/hub/session/ba1075e7-22cb-4995-b3c9-1bbc42f0ffae/context
[HTTP] {"name":"NATIVE_APP"}
[debug] [W3C (ba1075e7)] Calling AppiumDriver.setContext() with args: ["NATIVE_APP","ba1075e7-22cb-4995-b3c9-1bbc42f0ffae"]
[debug] [XCUITest] Executing command 'setContext'
[debug] [iOS] Attempting to set context to 'NATIVE_APP'
[debug] [RemoteDebugger] Disconnecting from WebKit remote debugger
[debug] [W3C (ba1075e7)] Responding to client with driver.setContext() result: null
[HTTP] <-- POST /wd/hub/session/ba1075e7-22cb-4995-b3c9-1bbc42f0ffae/context 200 3 ms - 14
[HTTP]
[debug] [RemoteDebugger] WebKit remote debugger socket disconnected
[HTTP] --> POST /wd/hub/session/ba1075e7-22cb-4995-b3c9-1bbc42f0ffae/elements
[HTTP] {"using":"xpath","value":"//XCUIElementTypeButton[@name=\"Join\"], accessibility_id=Join"}
[debug] [W3C (ba1075e7)] Calling AppiumDriver.findElements() with args: ["xpath","//XCUIElementTypeButton[@name=\"Join\"], accessibility_id=Join","ba1075e7-22cb-4995-b3c9-1bbc42f0ffae"]
[debug] [XCUITest] Executing command 'findElements'
[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 0 ms for condition
[debug] [JSONWP Proxy] Matched '/elements' to command name 'findElements'
[debug] [JSONWP Proxy] Proxying [POST /elements] to [POST http://localhost:8100/session/0E6B624B-0E12-4A59-875F-961BAC7057C3/elements] with body: {"using":"xpath","value":"//XCUIElementTypeButton[@name=\"Join\"], accessibility_id=Join"}
[debug] [JSONWP Proxy] Got response with status 200: {"value":"Cannot evaluate results for XPath expression \"//XCUIElementTypeButton[@name=\"Join\"], accessibility_id=Join\"","sessionId":"0E6B624B-0E12-4A59-875F-961BAC7057C3","status":51}
[JSONWP Proxy] Got an unexpected response: {"value":"Cannot evaluate results for XPath expression \"//XCUIElementTypeButton[@name=\"Join\"], accessibility_id=Join\"","sessionId":"0E6B624B-0E12-4A59-875F-961BAC7057C3","status":51}
[debug] [MJSONWP] Matched JSONWP error code 51 to UnknownError
[debug] [XCUITest] Connection to WDA timed out
[debug] [iProxy] recv failed: Operation not permitted
[debug] [W3C (ba1075e7)] Responding to client with driver.findElements() result: []
[HTTP] <-- POST /wd/hub/session/ba1075e7-22cb-4995-b3c9-1bbc42f0ffae/elements 200 61373 ms - 12
[HTTP]
[HTTP] --> POST /wd/hub/session/ba1075e7-22cb-4995-b3c9-1bbc42f0ffae/elements
[HTTP] {"using":"xpath","value":"//XCUIElementTypeButton[@name=\"Join\"], accessibility_id=Join"}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment