{"action":"created","issue":{"url":"https://api.github.com/repos/appium/appium/issues/6823","repository_url":"https://api.github.com/repos/appium/appium","labels_url":"https://api.github.com/repos/appium/appium/issues/6823/labels{/name}","comments_url":"https://api.github.com/repos/appium/appium/issues/6823/comments","events_url":"https://api.github.com/repos/appium/appium/issues/6823/events","html_url":"https://github.com/appium/appium/issues/6823","id":176004343,"node_id":"MDU6SXNzdWUxNzYwMDQzNDM=","number":6823,"title":"Search by XPath always returns an empty result with Appium 1.6.0beta1 @ XCUITest","user":{"login":"mykola-mokhnach","id":7767781,"node_id":"MDQ6VXNlcjc3Njc3ODE=","avatar_url":"https://avatars1.githubusercontent.com/u/7767781?v=4","gravatar_id":"","url":"https://api.github.com/users/mykola-mokhnach","html_url":"https://github.com/mykola-mokhnach","followers_url":"https://api.github.com/users/mykola-mokhnach/followers","following_url":"https://api.github.com/users/mykola-mokhnach/following{/other_user}","gists_url":"https://api.github.com/users/mykola-mokhnach/gists{/gist_id}","starred_url":"https://api.github.com/users/mykola-mokhnach/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mykola-mokhnach/subscriptions","organizations_url":"https://api.github.com/users/mykola-mokhnach/orgs","repos_url":"https://api.github.com/users/mykola-mokhnach/repos","events_url":"https://api.github.com/users/mykola-mokhnach/events{/privacy}","received_events_url":"https://api.github.com/users/mykola-mokhnach/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":14,"created_at":"2016-09-09T13:04:26Z","updated_at":"2019-04-26T14:10:31Z","closed_at":"2017-07-17T21:13:23Z","author_association":"COLLABORATOR","body":"## The problem\n\nXPath locators stopped working in Appium 1.6.0beta @ with XCUITest set as automationName\n## Environment\n- Appium version (or git revision) that exhibits the issue: 1.6.0beta1\n- Last Appium version that did not exhibit the issue (if applicable): 1.5.3\n- Desktop OS/version used to run Appium: OSX 10.11.6\n- Node.js version (unless using Appium.app|exe): 5.4.1\n- Mobile platform/version under test: iOS 9.3\n- Real device or emulator/simulator: Simulator\n- Appium CLI or Appium.app|exe: CLI\n## Details\n\nLocating elements by XPath always returns empty result. Location by accessibility id and className works as expected. Element location by the same XPath expression in the XML document returned by driver.getPageSource() method succeeds if I use any 3-rd party XML editor tool.\nThe same code triggers no issues if \"classic\" Appium iOS driver is used.\n## Appium logs\n\nhttps://gist.github.com/mykola-mokhnach/f2ce48e7a7c206574a13f7986debf914\n## Code To Reproduce Issue [ Good To Have ]\n\n``` java\ndriver.findElements(MobileBy.xpath(\"(//Window[@name='ZClientMainWindow']//CollectionView)[1]/Cell/StaticText[@value='49f6cef7']/parent::*\"))\n```\n\nOther XPath expressions fail as well, for example \"//Window\" \n"},"comment":{"url":"https://api.github.com/repos/appium/appium/issues/comments/487070840","html_url":"https://github.com/appium/appium/issues/6823#issuecomment-487070840","issue_url":"https://api.github.com/repos/appium/appium/issues/6823","id":487070840,"node_id":"MDEyOklzc3VlQ29tbWVudDQ4NzA3MDg0MA==","user":{"login":"lock[bot]","id":33595554,"node_id":"MDM6Qm90MzM1OTU1NTQ=","avatar_url":"https://avatars1.githubusercontent.com/in/6672?v=4","gravatar_id":"","url":"https://api.github.com/users/lock%5Bbot%5D","html_url":"https://github.com/apps/lock","followers_url":"https://api.github.com/users/lock%5Bbot%5D/followers","following_url":"https://api.github.com/users/lock%5Bbot%5D/following{/other_user}","gists_url":"https://api.github.com/users/lock%5Bbot%5D/gists{/gist_id}","starred_url":"https://api.github.com/users/lock%5Bbot%5D/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lock%5Bbot%5D/subscriptions","organizations_url":"https://api.github.com/users/lock%5Bbot%5D/orgs","repos_url":"https://api.github.com/users/lock%5Bbot%5D/repos","events_url":"https://api.github.com/users/lock%5Bbot%5D/events{/privacy}","received_events_url":"https://api.github.com/users/lock%5Bbot%5D/received_events","type":"Bot","site_admin":false},"created_at":"2019-04-26T14:10:31Z","updated_at":"2019-04-26T14:10:31Z","author_association":"NONE","body":"This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs."}}
{"actor":{"display_login":"lock"}}