selenium: chrome: download file
1.
prefs = {'profile.default_content_settings.popups': 0, 'download.default_directory': filepath}
OPTIONS.add_experimental_option('prefs', prefs)
1.
prefs = {'profile.default_content_settings.popups': 0, 'download.default_directory': filepath}
OPTIONS.add_experimental_option('prefs', prefs)