From 7e805f209e87eaf1b5d8c14f62d7a5872c059cf4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20P=C3=A9ters?= Date: Sun, 1 Dec 2019 14:25:07 +0100 Subject: [PATCH] shot them all: close browser when exiting --- bin/shot_them_all.py | 2 ++ 1 file changed, 2 insertions(+) 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()