Skip to content

Instantly share code, notes, and snippets.

@andreastt
Created April 19, 2012 09:42
Show Gist options
  • Save andreastt/2419992 to your computer and use it in GitHub Desktop.
Save andreastt/2419992 to your computer and use it in GitHub Desktop.
from selenium import webdriver
driver = webdriver.Opera()
driver.get_screenshot_as_file('/Users/ato/Desktop/1.png')
driver.quit()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment