The issue is this: I run selenium tests in threads for several cases. during test a button "download" is clicked. This button calls an Ajax that generates a PDF and serve it to download. It download to "Download" as default.

I need to move those download to an specific location (each test has one) and I don't know the name of the file.

I have tried to change downlad directory during tests, but seems impossible.

I have tried to open "downloads" tab (chrome://downloads/) and explore it, but it seems impossible, it does not find web elements

I have tried to move (copy and delete from origin) the las file, but with severan tests runing in threads, it could be a problem.

Any ideas?

Thanks in advance