title: Locator Strategy 'css selector' is not supported for this session
body: <p>I am trying to locate an element within the body but keep getting the message:</p>
  
  <pre><code>Selenium::WebDriver::Error::InvalidSelectorError: Locator Strategy 'css 
  selector' is not supported for this session
  </code></pre>
  
  <p>I have tried a number of combinations like:</p>
  
  <pre><code>@driver.find_element(:css, "div.ng-scope.ng-binding")
  @driver.find_element(:css, 'body.ng-scope')
  </code></pre>
  
  <p>This is the javascript I am using:</p>
  
  <pre><code>&lt;body ng-app="nuffieldClassBookingApp" class="ng-scope"&gt;
    &lt;!-- uiView: --&gt;&lt;div ui-view="" class="ng-scope ng-binding"&gt;TEMPLATE 
     YALL ted&lt;/div&gt;
    &lt;script type="text/javascript" src="js/app.js"&gt;&lt;/script&gt;
  &lt;/body&gt;
  </code></pre>
  
  <p>Does anyone have any suggestions?</p>