title: Why jquery code don't work in capybara tests
body: <p>I have a select box to choose number of child, when I choose option other select boxes must appear to choose ages.</p>
  
  <p>I use this code to choose elements</p>
  
  <pre><code>search_page.search_room1_child.click
  search_page.search_room1_child_options[1].click
  search_page.search_room1_child_ages.click
  search_page.search_room1_child_ages_options[8].click
  </code></pre>
  
  <p>I use site-prism gem</p>
  
  <pre><code>element :search_room1_child, 'select[name="filter[rooms][room1][child]"]'
  elements :search_room1_child_options, 'select[name="filter[rooms][room1][child]"] option'
  elements :search_room1_child_ages, 'select[name="filter[rooms][room1][child_ages][]"]'
  elements :search_room1_child_ages_options, 'select[name="filter[rooms][room1][child_ages][]"] option'
  </code></pre>
  
  <p>I get this error </p>
  
  <p>Failure/Error: search_page.search_room1_child_ages.click</p>
  
  <pre><code> NoMethodError:
     undefined method `click' for []:Capybara::Result
  </code></pre>