Forum Discussion

Marcel_Holle's avatar
Marcel_Holle
Copper Contributor
Apr 27, 2020
Solved

Set download directory via WebDriver

I'm using Edge v81.0.416.64 to run Selenium Tests using the matching Edge WebDriver, however it does not seem to be possible to set a custom download directory using the "download.default_directory" ...
  • johnjansen's avatar
    johnjansen
    Apr 29, 2020

    Marcel_Holle thanks for the code, that helps so much. The issue is because you are using ChromeDriver() which is not supported on Edge 81 and newer. We wrote a pretty cool tool to enable this to work more seamlessly here: https://github.com/microsoft/edge-selenium-tools

     

    Basically, it is fully backward compatible with the old Edge browser as well as the new Edge browser to try to help people save time writing new tests.

     

    -John

Resources