211 - Screenshot A Webpage
steve-shambles-2109 Feb 16th, 2020 82 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
- """ Code-snippet-vol_43-snip_211-Selenium special.
- 211 - Screenshot A Webpage
- Open a webpage, take a screenshot, save img, quit browser, display img.
- pip3 install selenium
- geckodriver.exe in python path.
- firefox browser
- By Steve Shambles. Feb 2020
- from time import sleep
- import webbrowser
- from selenium import webdriver
- driver = webdriver.Firefox()
RAW Paste Data