carlostrevino3583
Is possible to have a selenium webdriver but without the headless mode?
I am trying to do that, i know no one is going to see that interface, and i dont need that, but i want to know if its posibble, because it gives me an error when i try to do that
7 replies
Railway accept downloading files to the project, in production?
I have a bot, that has to go to certain web, and download pdfs from there, this works in my local host, but when It doesn’t work in production at railway, the other parts of the bot works very well, but I can’t find the files that it is supposed to download, I have searched and read about volumes, but like this is a direct download from chrome using selenium, I don’t know if I can like point that download direct to the volume
16 replies
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?5 replies