title: is it possible to render a webpage directly to an image in python?
body: <p>Now I am using selenium to save a web page to image.</p>
  
  <pre><code>from selenium import webdriver
  browser = webdriver.Firefox()
  browser.get("some url")
  browser.save_screenshot(img)
  browser.quit()
  </code></pre>
  
  <p>But there is a problem that each time it will popup a window. </p>
  
  <p>Is there any way that can render a image directly to an image?</p>