title: iOS UITests - How to get XCUIElement list which exist in current view
body: <p>I am required to get a list of XCUIElement which are exist in current view.
  For example,</p>
  
  <pre><code>let app = XCUIApplication()
  let allElements = app.otherElements.allElementsBoundByIndex
  </code></pre>
  
  <p>returns the full list of xcuielements, but i want to get only the elements that are hittable and exists in current view.</p>