I do not know where selenium saves the downloaded files in railway

My program works perfectly in local, but in production it doesnt work, i have a windows laptop, and i have like this for the download path "const dirPath = ${process.cwd()}/temporalDownloads;" and it works fine, but when it tried it in a mac and that did not worked, it just downloaded it in like this path "./" and then it doesnt work either the reader of that file if it is in that location, so i suppouse it is happening the same in the server that downloads the file in another place idk why, how can i manage better this?
3 Replies
Percy
Percy8mo ago
Please provide your project ID or reply with N/A. Thread will automatically be closed if no reply is received within 10 minutes. You can copy your project's id by pressing Ctrl/Cmd + K -> Copy Project ID.
Percy
Percy8mo ago
No project ID was provided. Closing thread.
carlostrevino3583
28c9cac5-b533-4503-96a9-d476dd69034a