I am writing an application using Selenium (ChromeDriver). When you start, you need to delete the old User Data, create new and run the software already based on the new. But if I recently launched my application and closed it, then I suspect that some processes that use old User Data still hang (although I call driver.Dispose() when closing). This process (s) does not allow me some time to delete old User Data. I do not know the names of this process, but I suspect that this is chrome.exe . But if kill is all chrome.exe , then the browser used by the user, and not just the one used by Selenium, will also close. How to determine which process does not allow to delete the file I need?
|
chrome.exe(but not a fact). There are a lot ofchrome.exein the list of running processes and I need to know which one is using the file I need. - J. Huxley