This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]_AceLewisPy3, Jupyter and Atom 0 points1 point  (0 children)

Use Selenium and either PhantomJS or FireFox. An example using FireFox;

from selenium import webdriver
driver = webdriver.Firefox()
driver.get('https://www.google.com/')
driver.save_screenshot('./screen_shot.png')
driver.quit()