Quantcast
Channel: Webdriver Screenshot in Python - Stack Overflow
Viewing all articles
Browse latest Browse all 16

Answer by Ran Adler for Webdriver Screenshot in Python

$
0
0

Inspired from this thread (same question for Java): Take a screenshot with Selenium WebDriver

from selenium import webdriverbrowser = webdriver.Firefox()browser.get('http://www.google.com/')browser.save_screenshot('screenie.png')browser.quit()

Viewing all articles
Browse latest Browse all 16

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>