Hi all, I’m trying to set chrome browser working in incognito mode to save all downloadable files in a specific directory inside of my framework, but it’s not working.
So when Download button is clicked in incognito mode than Windows Save As dialogue box opens and making an attempt to save a file on my Desktop’s Download folder. Could someone please let me know what could be wrong here.
${DOWNLOAD_DIR} ${CURDIR}
it works and it downloads files to my local directory.
But when I updated it to:
${downloadDir} functional_tests/web_app/management/resources/Downloads
It starts saving files to my Desktop Dowload folder like if this folder functional_tests/web_app/management/resources/Downloads doesn’t exist, but it does, I’m confused what’s wrong with this path…
Is the folder you want to target in the projext/execution directory?
Maybe the path is misinterpreted, it seems it doesn’t have nothing prior “functional_tests”
You could try to provide a relative of full path, or even something like this: