title: Cannot access UICollectionView element
body: <p>Trying to automate some UI tests with Xcode 7.2 and the XCT UI FW.</p>
  
  <p>View hierarchy is as follows:</p>
  
  <pre><code>SearchViewController
     UIView
        UITableView
           CustomCell:UITableViewCell
              UIView
                 UILabel
                 UICollectionView
                    CustomCell:UICollectionViewCell
                       UILabel
                       UIImageView
           CustomCell:UITableViewCell
              .
              .
  </code></pre>
  
  <p>My problem is that I cannot access anything within the UICollectionView, nor can I actually access the UICollectionView itself (or verify that it exists).</p>
  
  <p>Here some lldb cmds and output:</p>
  
  <pre><code>po app.tables.cells.count   3
  </code></pre>
  
  <p>As expected since I three of CustomCell:UITableViewCell</p>
  
  <pre><code>po app.tables.cells.elementBoundByIndex(0).staticTexts.count   1
  </code></pre>
  
  <p>Returning 1 for the UILabel within the first CustomCell:UITableViewCell. But should it not also include the UILabel further down the tree, inside the UICollectionViewCells since the .elementType notation is short for descendantsMatchingType(.elementType)?</p>
  
  <pre><code>po app.tables.collectionViews.count   0
  po app.tables.cells.collectionViews.element.exists   false
  </code></pre>
  
  <p>As you can see I cannot access the UICollectionView. When building and testing the app there are 8 UICollectionViewCells within each UITableViewCell and I have set the the Accessibility checkbox to enabled in Xcode.</p>
  
  <p>What am I missing here?</p>