You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Using the same instance of ChromeDriverService to construct a second ChromeDriver instance after a first has been disposed causes a chromedriver.exe process to remain running after the program exits. The same issue occurs for EdgeDriverService/EdgeDriver (and presumably others, although I haven't tested).
@kevinoid, 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.
If it is incorrect to reuse an instance of DriverService, perhaps it would make sense for the Driver constructor to throw, or for DriverService to throw instead of starting a new driver service process from a disposed instance?
What happened?
Using the same instance of
ChromeDriverService
to construct a secondChromeDriver
instance after a first has been disposed causes achromedriver.exe
process to remain running after the program exits. The same issue occurs forEdgeDriverService
/EdgeDriver
(and presumably others, although I haven't tested).How can we reproduce the issue?
Relevant log output
Operating System
Windows 10
Selenium version
C# with Selenium.WebDriver 4.25.0
What are the browser(s) and version(s) where you see this issue?
Chrome 130.0.6723.59
What are the browser driver(s) and version(s) where you see this issue?
ChromeDriver 130.0.6723.58
Are you using Selenium Grid?
No
The text was updated successfully, but these errors were encountered: