# Desired Capabilities documentation for changing Chrome's default download folder

**URL:** <https://forum.katalon.com/t/desired-capabilities-documentation-for-changing-chromes-default-download-folder/48026>\
**Category:** Web Testing\
**Tags:** katalon-studio\
**Created:** [October 5, 2020, 4:11pm UTC](https://forum.katalon.com/t/desired-capabilities-documentation-for-changing-chromes-default-download-folder/48026 "2020-10-05T16:11:46Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Dave\_Evers](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/dave_evers/32/435_2.png) [@Dave\_Evers](https://forum.katalon.com/u/Dave_Evers)\
**Post date:** [October 5, 2020, 4:11pm UTC](https://forum.katalon.com/t/desired-capabilities-documentation-for-changing-chromes-default-download-folder/48026/1 "2020-10-05T16:11:46Z")

</div>

Using Katalon Studio Enterprise; Version 7.4  
Windows 7, Professional  
Chrome: Version 85.0.4183.121 (Official Build) (64-bit)

Hi Folks,

1. Can someone please point me to the Desired Capabilities documentation for changing Chrome’s default download folder. My test cases are downloading pdfs/other files to my local Download folder but I would like to save the file(s) to the Katalon project for portability.
2. Can someone suggest some documentation for copy/moving files from one folder to another.

Thanks,  
Dave

---

<div class="post-metadata">

**Author:** ![Russ\_Thomas](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/russ_thomas/32/11884_2.png) [@Russ\_Thomas](https://forum.katalon.com/u/Russ_Thomas)\
**Post date:** [October 5, 2020, 4:59pm UTC](https://forum.katalon.com/t/desired-capabilities-documentation-for-changing-chromes-default-download-folder/48026/2 "2020-10-05T16:59:13Z")

</div>

> [@Dave\_Evers](#):
>
> Can someone please point me to the Desired Capabilities documentation for changing Chrome’s default download folder. My test cases are downloading pdfs/other files to my local Download folder but I would like to save the file(s) to the Katalon project for portability.

I’ll let @Brandon_Hein answer that.

> [@Dave\_Evers](#):
>
> Can someone suggest some documentation for copy/moving files from one folder to another

I use this:

[https://docs.oracle.com/javase/8/docs/api/java/nio/file/Files.html](https://docs.oracle.com/javase/8/docs/api/java/nio/file/Files.html)

---

<div class="post-metadata">

**Author:** ![Brandon\_Hein](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/brandon_hein/32/1092_2.png) [@Brandon\_Hein](https://forum.katalon.com/u/Brandon_Hein)\
**Post date:** [October 5, 2020, 6:35pm UTC](https://forum.katalon.com/t/desired-capabilities-documentation-for-changing-chromes-default-download-folder/48026/3 "2020-10-05T18:35:18Z")

</div>

The following property controls where files are downloaded to when using chrome:

`download.default_directory`

As with any chrome setting, you can find out which property controls a given chrome setting using my guide:

> [@Desired Capabilities - The Missing Manual](http://forum.katalon.com/t/desired-capabilities-the-missing-manual/20748):
>
> One of the biggest hurdles with using Katalon/Webdriver is setting the appropriate Desired Capabilities that configure various browser settings programmatically. There are a couple of reasons for this: 1.) Browsers do not expose these back-end properties in the settings menu. Instead, they offer a user-friendly GUI for configuring settings that are based on these properties. This of course makes sense for 99.9999% of browser users, but isn’t helpful for us. 2.) The appropriate Desired Capabili…

---

<div class="post-metadata">

**Author:** ![Dave\_Evers](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/dave_evers/32/435_2.png) [@Dave\_Evers](https://forum.katalon.com/u/Dave_Evers)\
**Post date:** [October 6, 2020, 3:10pm UTC](https://forum.katalon.com/t/desired-capabilities-documentation-for-changing-chromes-default-download-folder/48026/4 "2020-10-06T15:10:13Z")

</div>

Thanks Russ!  
I also found this resource ([http://grails.asia/](http://grails.asia/)) for working with files.  
See the bottom of the page for Groovy lessons and examples.

Cheers,  
Dave
