Comments (11)
Usually this happens when something prevents the driver.quit command from executing. Turn on logging to ensure that the command is getting sent properly.
from selenium.
Yes, the driver should be killing that process when it receives the driver.quit and if that isn't happening for some reason, we need to investigate why. Thanks.
from selenium.
Hello, I had the same pb when upgrading the chromeDriver from 122 to 125 to fit the version to my installed chrome version.
I tried to upgrade too to the latest version 4.21.0 of SeleniumServer, but with no change.
Once we launch one test chrome over consume the CPU. Once the test is fichiched and browser is closed, the process continue to work and consuming CPU and Memory.
It's not a solution but once I did that, it fixed the pb :
I just try to kill process with cmd : taskkill /F /IM chrome.exe /T
And from this moment all is back to normal. So I think that it was an access pb or some think else that I can't understand right now.
I update if I have more information.
from selenium.
I upgraded my platform to the next version 126 ( chromeDirver, and chrome Borwser) And all the pbs are fixed.
thank you
from selenium.
@Harrier-Du-Bois, thank you for creating this issue. We will troubleshoot it as soon as we can.
Info for maintainers
Triage this issue by using labels.
If information is missing, add a helpful comment and then I-issue-template
label.
If the issue is a question, add the I-question
label.
If the issue is valid but there is no time to troubleshoot it, consider adding the help wanted
label.
If the issue requires changes or fixes from an external project (e.g., ChromeDriver, GeckoDriver, MSEdgeDriver, W3C),
add the applicable G-*
label, and it will provide the correct link and auto-close the
issue.
After troubleshooting the issue, please add the R-awaiting answer
label.
Thank you!
from selenium.
We need more information about this issue in order to troubleshoot.
Please turn on logging and re-run your code. Information on how to adjust logs for your language can be found in our
Troubleshooting documentation.
from selenium.
Usually this happens when something prevents the driver.quit command from executing. Turn on logging to ensure that the command is getting sent properly.
Thank you for your swift reply.
I also brute forced my way around the issue for now by killing the windows PID at the end of each browser session, similar to @Moez-BenAissa 's workaround.
I'll revert those changes and create a log with the issue happening when I get a chance, maybe tomorrow.
Harrier
from selenium.
We're having the same issue and its more easily reproducible when you are running tests in parallel - we are running over 200 tests where 32 threads are spawned simultaneously but for some reason some chrome instances are not being killed which is hogging the memory and cpu. This is not happening when we run the same set of tests against Firefox.
Also the same issue happens on Edge as both it and Chrome are based off Chromium.
from selenium.
To be clear, this is Chrome and Edge browser processes that are not being closed when the driver is closed?
If the same thing isn't happening with Firefox, than this would indicate that it is a Google bug.
from selenium.
Hi, @Harrier-Du-Bois.
This issue has been determined to require fixes in ChromeDriver.
You can see if the feature is passing in the Web Platform Tests.
If it is something new, please create an issue with the ChromeDriver team.
Feel free to comment the issues that you raise back in this issue. Thank you.
from selenium.
Thank you all for your feedback, great to hear that this issue seems to have been resolved.
Looking forward to my organisation providing me with the working Chrome version.
from selenium.
Related Issues (20)
- [🐛 Bug]: Slow responses to driver commands HOT 4
- [🐛 Bug]: selenium.webdriver.Edge() -> HOT 3
- [🐛 Bug]: Can not establish connection with Authorization header in Java client since 4.14.0 HOT 2
- [🚀 Feature]: BiDi: Add low-level helper method to subscribe/unsubscribe from events HOT 5
- [🐛 Bug]: selenium-server-standalone-2.53.0.jar fails to extract on Windows using Java 21 jar.exe HOT 2
- [🐛 Bug]: Setting timeouts in Python
- Not able initiate browser in remote system whereas it's working fine in local system[🐛 Bug]: HOT 6
- [🐛 Bug]: The problem of [java.lang.IllegalArgumentException: Unknown HttpClient factory jdk-http-client] has appeared again. HOT 4
- [🐛 Bug]: selenium.common.exceptions.NoSuchDriverException: Message: Unable to obtain driver for chrome; For documentation on this error, please visit: https://www.selenium.dev/documentation/webdriver/troubleshooting/errors/driver_location HOT 5
- [🐛 Bug]: Getting timeout exception in selenium grid (WebDriver could not start a new session. Response Code 500 HOT 4
- [🚀 Feature]: Implement high level BiDi navigation commands
- [🐛 Bug]: Timeout error when trying to capture screenshot using DevTools HOT 2
- [🐛 Bug]: Exception in thread "main" java.lang.NoClassDefFoundError: io/netty/util/Timer HOT 2
- [🐛 Bug]: HOT 3
- [🐛 Bug]: raise WebDriverException( selenium.common.exceptions.WebDriverException) HOT 7
- [🐛 Bug]: Unable to close the browser driver and unable to do parallel run in ADO pipeline HOT 3
- [🐛 Bug]: Cannot start mobile application with appium when slot also specifies a 'browserName' capability HOT 4
- [🐛 Bug]: selenium wont start with none message shown. HOT 38
- [🐛 Bug]: Selenium Grid - WebDriver was unable to create a new instance of type org.openqa.selenium.chrome.ChromeDriver HOT 5
- [🚀 Feature]: wait for networkidle HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from selenium.