-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Chromium is not closed when calling "driver.quit()" #1507
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
After the last updates with chrome 116 the chrome instances do not close correctly, you can try with subprocess.run(["taskkill", "/F", "/IM", "chrome.exe"], check=True) This command is working for me with no problems and avoids cpu and ram saturation. |
Thank you very much, it also worked for me |
So this is a problem with chrome 116? The proposed solution here isn't viable for me because sometimes I have multiple scripts running at once. If I use subprocess to kill chrome, I'd kill all my scripts. |
I'm not quite sure which one of these arguments solves this issue, but this doesn't occur when launched with these:
|
I'm using chromium browser 114 and it can not always quit the chromium process when I called "driver.quit()". Since my script just running one process so that solution is just temporary |
Thank you @trestlesky, let's me try this |
This does seem to be working for now, though I tried playing around with the different options, and like you I have no idea which options did the trick. |
Unset the uc.Chrome(driver_executable_path=driver_executable_path, options=options, user_data_dir=user_data_dir, no_sandbox=False, user_multi_procs=True, use_subprocess=False) But some things to consider: |
@dangsonwheredidyoufindthis |
The only way I fixed this issue was calling
|
Hi everybody, I has this problem with the newest version of uc:

This image is my option for creating the driver (That browser path is of chromium 114, since my current chrome version is 116)
After executing script, my is closed but I still see chromium active in task manager, and also used a lot of resouces (high cpu usage)
I have called driver.quit() at the end but it seem not work in this case. Can anyone help me this my problem ?
The text was updated successfully, but these errors were encountered: