selenium icon indicating copy to clipboard operation
selenium copied to clipboard

Orphan Chromedriver, cmd window, Java.exe and Chromebrowser processes

Open iamthefaker opened this issue 3 years ago • 2 comments

chromedriver process not being killed

I find I accumulate chromedriver, chrome browser and other processes, despite various measures to dispose of them after running. Is that par for the course or am I doing something wrong? I can post more of my code if that matters.

if r.webDriver != nil {
	r.webDriver.Quit()
	r.webDriver = nil
}
if r.service != nil {
	r.service.Stop()
	r.service = nil
}

iamthefaker avatar Sep 14 '21 14:09 iamthefaker

@iamthefaker did you find a solution yet?

maltegrosse avatar May 13 '22 13:05 maltegrosse

@iamthefaker did you find a solution yet?

Not much of a solution, I don't think, no. I think I resorted to starting a separate process that periodically goes along and gets rid of them all.

iamthefaker avatar May 13 '22 14:05 iamthefaker