I\'m using selenium chromedriver for automating web application. In my application, I need to download xml files. But when I download xml file, I get \'This type of file can
Following Python code works for me
chromeOptions = webdriver.ChromeOptions() prefs = {'safebrowsing.enabled': 'false'} chromeOptions.add_experimental_option("prefs", prefs) driver = webdriver.Chrome(chrome_options=chromeOptions)