summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrédéric Péters <fpeters@entrouvert.com>2019-12-01 13:25:07 (GMT)
committerFrédéric Péters <fpeters@entrouvert.com>2019-12-01 13:25:07 (GMT)
commit7e805f209e87eaf1b5d8c14f62d7a5872c059cf4 (patch)
tree6ba225549fe5ce33b2d3d06da3aa60048ce84f08
parente6aa3a60e49de2caec84f71a3840ca7a622d3714 (diff)
downloadmisc-fred-7e805f209e87eaf1b5d8c14f62d7a5872c059cf4.zip
misc-fred-7e805f209e87eaf1b5d8c14f62d7a5872c059cf4.tar.gz
misc-fred-7e805f209e87eaf1b5d8c14f62d7a5872c059cf4.tar.bz2
shot them all: close browser when exiting
-rw-r--r--bin/shot_them_all.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/bin/shot_them_all.py b/bin/shot_them_all.py
index 72f224c..31a984b 100644
--- a/bin/shot_them_all.py
+++ b/bin/shot_them_all.py
@@ -38,3 +38,5 @@ for theme in themes_data['themes']:
browser.set_window_size(740, 360) # ditto, horizontal
browser.save_screenshot('shots/%s-mobile-horizontal.png' % theme_id)
sys.stderr.write(u' 📸 \n')
+
+browser.close()