# Is this possible to use Katalon to download a file?

**URL:** <https://forum.katalon.com/t/is-this-possible-to-use-katalon-to-download-a-file/46318>\
**Category:** Web Testing\
**Tags:** katalon-studio\
**Created:** [August 9, 2020, 5:27pm UTC](https://forum.katalon.com/t/is-this-possible-to-use-katalon-to-download-a-file/46318 "2020-08-09T17:27:53Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![duyluong](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/duyluong/32/1116_2.png) [@duyluong](https://forum.katalon.com/u/duyluong)\
**Post date:** [August 10, 2020, 9:55am UTC](https://forum.katalon.com/t/is-this-possible-to-use-katalon-to-download-a-file/46318/4 "2020-08-10T09:55:39Z")

</div>

@gdearest07

To download pdf file in Chrome automatically using Selenium. You should configure these capabilities:

```auto
{
  "prefs": {
    "download.default_directory": "Your download folder",
    "download.directory_upgrade": true,
    "download.prompt_for_download": false,
    "plugins.always_open_pdf_externally": true,
    "profile.default_content_settings.popups": "0",
    "profile.content_settings.exceptions.automatic_downloads.*.setting": "1"
  },
  "args": [
    "--no-sandbox",
    "--disable-dev-shm-usage"
  ],
  "useAutomationExtension": "false"
}

```

 ![Screen Shot 2020-08-10 at 4.51.13 PM](https://europe1.discourse-cdn.com/katalon/original/2X/8/8ce976b66ac5a67367b0442b62604a64e30340fb.jpeg)  
Please clone this sample project and change the “download.default\_directory” to your desired folder and run a sample test case: [GitHub - duyluonganh/kat-download-file](https://github.com/duyluonganh/kat-download-file)

Thanks

---

_[View the full topic](https://forum.katalon.com/t/is-this-possible-to-use-katalon-to-download-a-file/46318)._
