-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
How do I free up all the resources? #1844
Comments
in version 123, it also have problem. Exception ignored in: <function Chrome.del at 0x000001CA57B21E40> |
The issue with version 124 has been found. The cause of the problem is quit() does not destroy all chrome processes. Here is the code: import psutil def find_chrome_processes():
|
Recently, when I use undetected-chromewebdriver, it told me it only support chrome version 124.
So I upgrade chrome to 124.
But there is a issue. In the past version 123, I can use it create and destory 20 chrome.
In version 124, it only 5 or less. And my computer would becomes very slow. I must restart it.
Here is my simple code.
for i in range( 20):
mWevdriver = uc.Chrome(service = s, options=chrome_options, seleniumwire_options=wire_options)
mWevdriver.set_window_size(width, height)
mWevdriver.implicitly_wait(WEBDRIVER_ELEMENT_WAIT_TIME)
mWebwait = WebDriverWait(self.mWevdriver, WEBDRIVER_ELEMENT_WAIT_TIME)
mWevdriver.get(strWebPath)
mWevdriver.quit()
The text was updated successfully, but these errors were encountered: