diff options
| author | Teddy Wing | 2018-02-04 03:36:54 +0100 | 
|---|---|---|
| committer | Teddy Wing | 2018-02-04 03:36:54 +0100 | 
| commit | fa855bcaf06caacd610646ac0df0662e1bef4da3 (patch) | |
| tree | 6b945fa12c9e718bf2bd5fec49cd49babe433578 /harvester_submit_week_for_approval.py | |
| parent | 62fe27a4a84f1bf538af8311f71d3f596cc95769 (diff) | |
| download | harvester-submit-week-for-approval-fa855bcaf06caacd610646ac0df0662e1bef4da3.tar.bz2 | |
Add `-headless` option to Firefox
Don't launch the GUI.
Diffstat (limited to 'harvester_submit_week_for_approval.py')
| -rw-r--r-- | harvester_submit_week_for_approval.py | 2 | 
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', | 
