-
-
Save zoghal/0af6d3702e567d9c140b to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from selenium import webdriver | |
from PIL import Image | |
import datetime | |
filename = "miri_regev_"+datetime.datetime.now().strftime("%Y.%m.%d.%H:%M:%S")+".png" | |
fox = webdriver.Firefox() | |
fox.get('https://www.facebook.com/miri.regev.il') | |
fox.save_screenshot(filename) # saves screenshot of entire page | |
fox.quit() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment