title: Selenium and Python to find elements and text?
body: <p>When I go to a certain webpage I am trying to find a certain element and piece of text:</p>
  
  <pre class="lang-python prettyprint-override"><code>&lt;span class="Bold Orange Large"&gt;0&lt;/span&gt;
  </code></pre>
  
  <p>This didn't work: <em>(It gave an error of compound class names...)</em></p>
  
  <pre class="lang-python prettyprint-override"><code>elem = browser.find_elements_by_class_name("Bold Orange Large")
  </code></pre>
  
  <p>So I tried this: <em>(but I'm not sure it worked because I don't really understand the right way to do css selectors in selenium...)</em></p>
  
  <pre><code>elem = browser.find_elements_by_css_selector("span[class='Bold Orange Large']")
  </code></pre>
  
  <p>Once I find the span element, I want to find the number that is inside <em>(the content)</em>.</p>
  
  <pre><code>num = elem.(what to put here??)
  </code></pre>
  
  <p>Any help with CSS selectors, class names, and finding element text would be great!</p>
  
  <p>Thanks.</p>
  
  <p>Oh! and my other problem is that there are multiple of those exact span elements but with different numbers inside. How can I deal with that?</p>