diff --git a/bin/shot_them_all.py b/bin/shot_them_all.py index 51381be..72f224c 100644 --- a/bin/shot_them_all.py +++ b/bin/shot_them_all.py @@ -31,8 +31,10 @@ for theme in themes_data['themes']: time.sleep(1) os.system('sudo service memcached restart') browser.get('https://auquo.fred.local.0d.be/contactez-nous/inscription-sur-les-listes/') - browser.set_window_size(1200, 1000) + browser.set_window_size(1400, 1000) browser.save_screenshot('shots/%s-desktop.png' % theme_id) - browser.set_window_size(480, 1000) + browser.set_window_size(360, 740) # Samsung Galaxy S8 browser.save_screenshot('shots/%s-mobile.png' % theme_id) + browser.set_window_size(740, 360) # ditto, horizontal + browser.save_screenshot('shots/%s-mobile-horizontal.png' % theme_id) sys.stderr.write(u' 📸 \n')