1chromeOptions = webdriver.ChromeOptions()
2prefs = {"download.default_directory" : "/some/path"}
3chromeOptions.add_experimental_option("prefs",prefs)
4chromedriver = "path/to/chromedriver.exe"
5driver = webdriver.Chrome(executable_path=chromedriver, chrome_options=chromeOptions)