I am trying to download files in the selected directory other than the default directory.
I am getting "Failed -Download Error".
please help me resolve this. Below is my code.
chrome_options = webdriver.ChromeOptions()
prefs = {"download.default_directory": "C:/Users/xxxx/PycharmProjects//","download.prompt_for_download": False, "download.directory_upgrade": True, "safebrowsing.enabled":True}
chrome_options.add_experimental_option("prefs",prefs)
driver = webdriver.Chrome(executable_path="../Drivers/chromedriver.exe", chrome_options=chrome_options)
driver.get("URL")