Skip to content

Instantly share code, notes, and snippets.

@appiumnovice
Last active October 6, 2016 09:44
Show Gist options
  • Save appiumnovice/b067a93e4471f2c84013d8b6845868c4 to your computer and use it in GitHub Desktop.
Save appiumnovice/b067a93e4471f2c84013d8b6845868c4 to your computer and use it in GitHub Desktop.
Log Appium for findElementByXpath() error
[HTTP] --> POST /wd/hub/session/6d88e732-0266-4b4b-af8a-9b59393ce1ef/elements {"using":"xpath","value":"//XCUIElementTypeStaticText[@name=\"trainNameLabel\"]"}
[MJSONWP] Calling AppiumDriver.findElements() with args: ["xpath","//XCUIElementType...
[debug] [XCUITest] Executing command 'findElements'
[debug] [BaseDriver] Valid locator strategies for this request: xpath, id, name, class name, -ios predicate string, accessibility id
[debug] [BaseDriver] Waiting up to 0 ms for condition
[JSONWP Proxy] Proxying [POST /elements] to [POST http://localhost:8100/session/74E33809-2636-4E76-A47C-FE2C6B3CB405/elements] with body: {"using":"xpath","value":"/...
[JSONWP Proxy] Got response with status 200: {"value":[{"ELEMENT":"3A77E...
[MJSONWP] Responding to client with driver.findElements() result: [{"ELEMENT":"3A77EB13-6CEF-...
[HTTP] <-- POST /wd/hub/session/6d88e732-0266-4b4b-af8a-9b59393ce1ef/elements 200 142635 ms - 2262
@appiumnovice
Copy link
Author

There is 2 minutes to got the response.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment