Skip to content

Instantly share code, notes, and snippets.

@jamesvanhorn
Created January 31, 2018 17:38
Show Gist options
  • Save jamesvanhorn/136bed77b942d88c6c327e0e3b709d13 to your computer and use it in GitHub Desktop.
Save jamesvanhorn/136bed77b942d88c6c327e0e3b709d13 to your computer and use it in GitHub Desktop.
[HTTP] --> POST /wd/hub/session/5ddf713e-a8fb-427f-8d59-3224a4877a6b/elements {"using":"name","value":"cell_recentLocation_1"}
[debug] [MJSONWP] Calling AppiumDriver.findElements() with args: ["name","cell_recentLocation_1","5ddf713e-a8fb-427f-8d59-3224a4877a6b"]
[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] Proxying [POST /elements] to [POST http://localhost:8100/session/75A51419-C8D5-4E81-AB36-B099EEED4C3F/elements] with body: {"using":"name","value":"cell_recentLocation_1"}
[debug] [JSONWP Proxy] Got response with status 200: {"value":[{"ELEMENT":"18FA3A49-2933-4B47-9894-18A2DAE7BD78"}],"sessionId":"75A51419-C8D5-4E81-AB36-B099EEED4C3F","status":0}
[debug] [MJSONWP] Responding to client with driver.findElements() result: [{"ELEMENT":"18FA3A49-2933-4B47-9894-18A2DAE7BD78"}]
[HTTP] <-- POST /wd/hub/session/5ddf713e-a8fb-427f-8d59-3224a4877a6b/elements 200 520 ms - 124
[HTTP] --> POST /wd/hub/session/5ddf713e-a8fb-427f-8d59-3224a4877a6b/element/18FA3A49-2933-4B47-9894-18A2DAE7BD78/element {"id":"18FA3A49-2933-4B47-9894-18A2DAE7BD78","using":"name","value":"button_locationManagementRecent"}
[debug] [MJSONWP] Calling AppiumDriver.findElementFromElement() with args: ["name","button_locationManagementRecent","18FA3A49-2933-4B47-9894-18A2DAE7BD78","5ddf713e-a8fb-427f-8d59-3224a4877a6b"]
[debug] [XCUITest] Executing command 'findElementFromElement'
[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] Proxying [POST /element/18FA3A49-2933-4B47-9894-18A2DAE7BD78/element] to [POST http://localhost:8100/session/75A51419-C8D5-4E81-AB36-B099EEED4C3F/element/18FA3A49-2933-4B47-9894-18A2DAE7BD78/element] with body: {"using":"name","value":"button_locationManagementRecent"}
[debug] [JSONWP Proxy] Got response with status 200: {"value":{"using":"name","value":"button_locationManagementRecent","description":"unable to find an element"},"sessionId":"75A51419-C8D5-4E81-AB36-B099EEED4C3F","status":7}
[HTTP] <-- POST /wd/hub/session/5ddf713e-a8fb-427f-8d59-3224a4877a6b/element/18FA3A49-2933-4B47-9894-18A2DAE7BD78/element 500 596 ms - 164
2018-01-31 12:37:05 ERROR Page :101 - By.name: button_locationManagementRecent not found: org.openqa.selenium.NoSuchElementException: An element could not be located on the page using the given search parameters. (WARNING: The server did not provide any stacktrace information)
Command duration or timeout: 0 milliseconds
For documentation on this error, please visit: http://seleniumhq.org/exceptions/no_such_element.html
Build info: version: '3.6.0', revision: '6fbf3ec767', time: '2017-09-27T15:28:36.4Z'
System info: host: 'James-MacBook-Pro.local', ip: 'fe80:0:0:0:14ef:62ac:a16f:5ae5%en0', os.name: 'Mac OS X', os.arch: 'x86_64', os.version: '10.13.2', java.version: '1.8.0_144'
Driver info: io.appium.java_client.ios.IOSDriver
Capabilities [{app=, networkConnectionEnabled=false, clearSystemFiles=true, xcodeOrgId=, databaseEnabled=false, deviceName=iPhone, xcodeSigningId=iPhone Developer, platform=MAC, showIOSLog=false, showXcodeLog=false, newCommandTimeout=500, webStorageEnabled=false, locationContextEnabled=false, automationName=XCUITest, browserName=, takesScreenshot=true, javascriptEnabled=true, udid=, platformName=MAC}]
Session ID: 5ddf713e-a8fb-427f-8d59-3224a4877a6b
*** Element info: {Using=name, value=button_locationManagementRecent}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment