Change the default download path on mac

Hello. I would like to change the default download path on my mac.
Currently when I run a download during a test, the path is /Users/Name/Downloads so I want to put it in the folder /Users/Name/Downloads/TestProject

Hi @ibrahim ,

First of all welcome to our community.

  1. Open the Safari app and click on the Safari drop-down menu at the top left.

  2. Choose Preferences.

  3. Make sure General tab is selected and then change the File Download Location to wherever you want.

Let me know if you have managed.

Hello @alex.ivanov,

Thank you for your answer. This is a download that I perform during the test by clicking a button. When I change the download path from the browser, the download during the test does not change. The path always stays on /Users/Name/Downloads

Hi @ibrahim ,

Please add this test to a job and add these capabilities:

{
  "goog:chromeOptions": {
    "experimentalOptions": {
      "prefs": {
        "download": {
          "default_directory": "THE/NEW/PATH"
        }
      }
    }
  }
}

It should work well.

Hi @alex.ivanov,

Thanks You !

@ibrahim You are welcome.