title: Webdriver: How to find elements when class name contains space?
body: <p>Each of the "7-pack" search results <a href="https://www.google.com/?gws_rd=ssl#q=plumbers%2Bhouston%2Btx" rel="noreferrer">here</a> contains a number of reviews e.g. "5 reviews", No reviews" etc.</p>
  
  <p>The class name for each is <code>fl r-iNTHbQvDybDU</code>. It contains a space, so if I try find_elements_by_class_name(), I get:</p>
  
  <pre><code>InvalidSelectorError: Compound class names not permitted
  </code></pre>
  
  <p>According to other answers on here, all I needed to do was remove the space and retry. No luck - an empty list</p>
  
  <p>So I try <code>find_element_by_css_selector()</code>:</p>
  
  <pre><code>find_elements_by_css_selector(".fl.r-iNTHbQvDybDU")
  </code></pre>
  
  <p>Still no luck - empty list. What would you try next?</p>