title: Hybrid mobile app: how to use css selectors in cucumber tests?
body: <p>There is a hybrid app (build with <a href="http://www.appgyver.com/steroids" rel="nofollow">steroids</a>) that I can run cukes against via selenium remote webdriver (remote part is <a href="http://appium.io/" rel="nofollow">appium</a> server) on IOS simulator. </p>
  
  <p>However, I can’t seem to be able to use css selectors in the cukes, only some kind of “native” ones. </p>
  
  <p>For example, if my app is an html with only <code>&lt;p&gt;TEXT&lt;/p&gt;</code>, then <code>driver.find_element(:xpath, '//staticText')[:label]</code> will get me TEXT, but is there a way to use css a selector - <code>p</code> - instead? </p>
  
  <p>Perhaps selenium/appium is the not the best kind of setup?</p>