adding screenshot script

This commit is contained in:
2019-10-03 00:40:41 +01:00
parent 42e1808155
commit 9f28a9ddce
8 changed files with 100 additions and 10 deletions

6
slack-bot/screenshot.py Normal file
View File

@@ -0,0 +1,6 @@
from selenium import webdriver
driver = webdriver.Firefox()
driver.get('https://www.python.org')
driver.save_screenshot('screenshot.png')
driver.quit()