Skip to content
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

RemoteDriver.Quit() doesn't finish cromedriver.exe process via selenium-server-4.0.0-alpha-X.jar #7989

Closed
daniilmeranov opened this issue Feb 3, 2020 · 2 comments
Labels

Comments

@daniilmeranov
Copy link

daniilmeranov commented Feb 3, 2020

🐛 Bug Report

I am using Selenium server in standalone mode. After running tests, I have not finished chromedriver.exe sessions.

To Reproduce

Run new grid with:
java -jar selenium-server-4.0.0-alpha-4.jar standalone

Run simple test (C#):
var gcOptions = new ChromeOptions();
// disable browser graphical interface
gcOptions.AddArgument("--headless");
var capabilities = gcOptions.ToCapabilities();
var RemoteDriver = new RemoteWebDriver(new Uri("http://localhost:4444"), capabilities);
var Browser = new EventFiringWebDriver(RemoteDriver);
Browser.Navigate().GoToUrl(myURL);//https://www.google.com/
RemoteDriver.Quit();

As a result: browser is closed correctly, but chromedriver.exe is still running.

This code works correctly with selenium-server-standalone-4.0.0-alpha-2.jar (Hub URL = http://localhost:4444/wd/hub)

Environment

OS: Windows 10
Browser: Google Chrome
Browser version: 79.0.3945.130 (Official Build) (64-bit)
Browser Driver version: ChromeDriver 79.0.3945.36
Language Bindings version: MS VS 2019 (Selenium.WebDriver NuGet package v 3.141.0)
Selenium Grid version (if applicable): selenium-server-4.0.0-alpha-4.jar standalone

@barancev
Copy link
Member

Sorry, a wrong issue mentioned in the commit message, this one has not been fixed yet.

@lock
Copy link

lock bot commented Apr 15, 2020

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@lock lock bot locked and limited conversation to collaborators Apr 15, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

3 participants