aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTeddy Wing2018-02-04 03:36:54 +0100
committerTeddy Wing2018-02-04 03:36:54 +0100
commitfa855bcaf06caacd610646ac0df0662e1bef4da3 (patch)
tree6b945fa12c9e718bf2bd5fec49cd49babe433578
parent62fe27a4a84f1bf538af8311f71d3f596cc95769 (diff)
downloadharvester-submit-week-for-approval-fa855bcaf06caacd610646ac0df0662e1bef4da3.tar.bz2
Add `-headless` option to Firefox
Don't launch the GUI.
-rw-r--r--harvester_submit_week_for_approval.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/harvester_submit_week_for_approval.py b/harvester_submit_week_for_approval.py
index 7c96de6..96f63e5 100644
--- a/harvester_submit_week_for_approval.py
+++ b/harvester_submit_week_for_approval.py
@@ -81,7 +81,7 @@ def submit_week_for_approval(driver, wait):
if __name__ == "__main__":
options = Options()
- # options.add_argument('-headless')
+ options.add_argument('-headless')
driver = Firefox(
executable_path='./geckodriver',
firefox_binary='/Applications/FirefoxDeveloperEdition.app/Contents/MacOS/firefox-bin',