desired_caps = {'prefs': {'download': {'default_directory': str(os.path.
    dirname(os.path.abspath(__file__))) + '/download', 'directory_upgrade':
    'true', 'extensions_to_open': ''}}}
options = webdriver.ChromeOptions()
options.add_argument('download.default_directory=' + str(os.path.dirname(os
    .path.abspath(__file__))) + '/download')
browser = webdriver.Chrome(chrome_options=options, desired_capabilities=
    desired_caps)
установка настроек Chrome с Selenium Webdriver в Python