THE FORUM IS IN READ-ONLY MODE
How to check which directory folder the current selenium browser is using
Enigma last edited by
Hi is there any way that you can check which directory folder the current selenium browser is using to store cookies and whatnot?
I know that it is stored in \Local\Temp\2 but every single driver creates a new scoped_dir(random numbers) folder.
I'm trying to figure out how to find the folder and store the name in a variable. Anyone that knows how to do this?
Hello, I suggest you use IronPython to get all folders inside
\Local\Temp\2, sort them by creation date, get the latest one and save it in a variable. You can do this in C# directly in OB2 so I suggest you wait for that, because I'm not very used to IronPython syntax and it adds a lot of overhead.