-
-
Notifications
You must be signed in to change notification settings - Fork 8.2k
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
[🐛 Bug]: Quit () takes a long time when driver instance is created with ChromeDriverService #14633
Comments
@CarlVerret, thank you for creating this issue. We will troubleshoot it as soon as we can. Info for maintainersTriage this issue by using labels.
If information is missing, add a helpful comment and then
If the issue is a question, add the
If the issue is valid but there is no time to troubleshoot it, consider adding the
If the issue requires changes or fixes from an external project (e.g., ChromeDriver, GeckoDriver, MSEdgeDriver, W3C),
add the applicable
After troubleshooting the issue, please add the Thank you! |
@CarlVerret when you use: Instance = new ChromeDriver( chromeOptions); Then Selenium Manager is used to automatically manage But when you use: Instance2 = new ChromeDriver(ChromeDriverService.CreateDefaultService(Environment.CurrentDirectory), chromeOptions); Then |
Thanks for your quick feedback. |
|
@CarlVerret I believe this functionality worked for you well, please remind in which Selenium version. |
i'll try to come back with numbers. as far as I remember, it was working with this version : Maybe a bit after that. I wonder what's the typical scenario to use ChromeDriverService ctor ? |
You are doing it right in my personal opinion. And Selenium Manager is not bad, it cashes output. Ps: you missed the version In your previous message. |
that's strange. I was certain to have put xml tags containing nuget versions ... I'm pretty sure these bundle of version were working fine.
|
I couldn't reproduce the issue, my setup is: var chromeOptions = new ChromeOptions();
var Instance2 = new ChromeDriver(ChromeDriverService.CreateDefaultService(Environment.CurrentDirectory), chromeOptions);
Instance2.Quit(); <PackageReference Include="Selenium.WebDriver" Version="4.25.0" />
<PackageReference Include="Selenium.WebDriver.ChromeDriver" Version="130.0.6723.5800" /> |
@CarlVerret and returning back to initial issue:
|
What happened?
We've been experiencing something quite strange with Quit function of webdriver instanciated with ChromeDirverService since an upgrade to latest version:
let's say we create an instance like this :
But, if we instanciate the driver with this constructor :
How can we reproduce the issue?
Relevant log output
Operating System
Windows 10 - aspnet core
Selenium version
4.25.0
What are the browser(s) and version(s) where you see this issue?
Chrome
What are the browser driver(s) and version(s) where you see this issue?
Selenium.WebDriver.ChromeDriver 130.0.6723.5800
Are you using Selenium Grid?
none
The text was updated successfully, but these errors were encountered: