Merge branch 'dev' into plugins-browsertrix

This commit is contained in:
Nick Sweeting 2024-03-18 14:43:06 -07:00
commit c22df0b63a
4 changed files with 38 additions and 5 deletions

View file

@ -303,10 +303,11 @@ def chrome_args(**options) -> List[str]:
if options['CHROME_USER_DATA_DIR']:
cmd_args.append('--user-data-dir={}'.format(options['CHROME_USER_DATA_DIR']))
cmd_args.append('--profile-directory=Default')
return dedupe(cmd_args)
def chrome_cleanup():
"""
Cleans up any state or runtime files that chrome leaves behind when killed by