java.lang.RuntimeException: Could not start Selenium session: Failed to start new browser session: Error while launching browser

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Apache's JIRA Issue Tracker by André Salvati, 1 year ago
Could not start Selenium session: Failed to start new browser session: Error while launching browser
via Apache's JIRA Issue Tracker by André Salvati, 1 year ago
Could not start Selenium session: Failed to start new browser session: Error while launching browser
via apache.org by Unknown author, 1 year ago
Could not start Selenium session: Failed to start new browser session: Error while launching browser
via Stack Overflow by hawkeye
, 2 years ago
Could not start Selenium session: Failed to start new browser session: Unable to delete file C:\Users\user\AppData\Local\Temp\customProfileDir78cf02e3efca4772a71525c4a7523cac\parent.lock
via Google Groups by arulpF5Z, 2 years ago
Could not contact Selenium Server; have you started it on 'localhost:5216' ? Read more at http://seleniumhq.org/projects/remote-control/not-started.html Connection refused: connect
via Google Groups by Anil Sharma, 2 years ago
Could not start Selenium session: Failed to start new browser session: Error while launching browser
java.lang.RuntimeException: Could not start Selenium session: Failed to start new browser session: Error while launching browser
at com.thoughtworks.selenium.HttpCommandProcessor.throwAssertionFailureExceptionOrError(HttpCommandProcessor.java:97)
at com.thoughtworks.selenium.HttpCommandProcessor.doCommand(HttpCommandProcessor.java:91)
at com.thoughtworks.selenium.HttpCommandProcessor.getString(HttpCommandProcessor.java:262)
at com.thoughtworks.selenium.HttpCommandProcessor.start(HttpCommandProcessor.java:223)
at com.thoughtworks.selenium.DefaultSelenium.start(DefaultSelenium.java:81)
at org.apache.continuum.web.test.parent.AbstractSeleniumTest.open(AbstractSeleniumTest.java:80)
at org.apache.continuum.web.test.SetupSelenium.initializeContinuum(SetupSelenium.java:63)
at org.apache.maven.surefire.testng.TestNGExecutor.run(TestNGExecutor.java:74)
at org.apache.maven.surefire.testng.TestNGXmlTestSuite.execute(TestNGXmlTestSuite.java:92)
at org.apache.maven.surefire.Surefire.run(Surefire.java:177)
at org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:345)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 2 years ago

Know the solutions? Share your knowledge to help other developers to debug faster.