Changing the download default directory used by ChromeDriver doesn't work

Problem statement

I attempt to change the WebDriver’s download.default_directory, but for some odd reason, when we click a link to download a PDF, for example, it goes to the user’s Downloads folder instead of that which we specify.

Environment

I am using Katalon Studio v8.6.8 on a Windows 11 machine.

What the code looks like:

Like this:

1 Like

Hi there,

Thank you very much for your topic. Please note that it may take a little while before a member of our community or from Katalon team responds to you.

Thanks!

Hi @mwarren04011990,

Thank you for letting us know your problem. Have tried the same process like this: https://katalon-inc.my.site.com/katalonhelpcenter/s/article/How-to-download-files-under-test-to-a-specified-folder-directory? If it does not work, can you please share a screenshot / video-record? Thank you

Guess that you have found the solution here: Changing the download default directory used by ChromeDriver doesn't work. Lemme close this. Thank you