title: Get element from website with python without opening a browser
body: <p>I'm trying to write a python script which parses one element from a website and simply prints it.</p>
  
  <p>I couldn't figure out how to achieve this, without <code>selenium</code>'s <code>webdiver</code>, in order to open a browser which handles the scripts to properly display the website.</p>
  
  <pre><code>from selenium import webdriver
  browser = webdriver.Firefox()
  browser.get('http://groceries.asda.com/asda-webstore/pages/landing/home.shtml#!product/910000800509')
  content = browser.page_source
  print(content[42000:43000])
  browser.close()
  </code></pre>
  
  <p>This is just a rough draft which will print the contents, including the element of interest <code>&lt;span class="prod-price-inner"&gt;£13.00&lt;/span&gt;</code>.</p>
  
  <p>How could I get the element of interest without the browser opening, or even without a browser at all?</p>
  
  <p><strong><em>edit:</em></strong> I've previously tried to use <code>urllib</code> or in <code>bash</code> <code>wget</code>, which both lack the required javascript interpretation.</p>