File download to specific directory

Hi,

I use this syntax that works well.

*** Variables ***
    ${downloadDir} functional_tests/web_app/management/resources/Downloads

*** Tests Cases ***
     VAR    &{browser_prefs}    download.default_directory=${downloadDir}    plugins.always_open_pdf_externally=${True}
     ${chrome_options}    Evaluate    sys.modules['selenium.webdriver'].ChromeOptions()    sys, selenium.webdriver
     Call Method    ${chrome_options}    add_experimental_option    prefs    ${browser_prefs}
     Open Browser    ${url}    chrome    options=${chrome_options}

Usually I set the ${downloadDir} as EMPTY, and fill/construct the path in the test setup to have a folder for each suite/test.

Regards
Charlie