Traceback (most recent call last):
File "C:/Users/kushk/PycharmProjects/SeleniumPython/Multibrowser.py", line 5, in <module>
driver = webdriver.Chrome(PATH)
File "C:\Users\kushk\PycharmProjects\SeleniumPython\venv\lib\site-packages\selenium\webdriver\chrome\webdriver.py", line 76, in __init__
RemoteWebDriver.__init__(
File "C:\Users\kushk\PycharmProjects\SeleniumPython\venv\lib\site-packages\selenium\webdriver\remote\webdriver.py", line 157, in __init__
self.start_session(capabilities, browser_profile)
File "C:\Users\kushk\PycharmProjects\SeleniumPython\venv\lib\site-packages\selenium\webdriver\remote\webdriver.py", line 252, in start_session
response = self.execute(Command.NEW_SESSION, parameters)
File "C:\Users\kushk\PycharmProjects\SeleniumPython\venv\lib\site-packages\selenium\webdriver\remote\webdriver.py", line 321, in execute
self.error_handler.check_response(response)
File "C:\Users\kushk\PycharmProjects\SeleniumPython\venv\lib\site-packages\selenium\webdriver\remote\errorhandler.py", line 242, in check_response
raise exception_class(message, screen, stacktrace)
selenium.common.exceptions.WebDriverException: Message: unknown error: Chrome failed to start: exited normally.
(unknown error: DevToolsActivePort file doesn't exist)
(The process started from chrome location C:\Program Files\Google\Chrome\Application\chrome.exe is no longer running, so ChromeDriver is assuming that Chrome has crashed.)
Asked
Active
Viewed 333 times
-2
-
Please share the relevant code, not just the error trace – Prophet Jun 20 '21 at 12:38
1 Answers
1
The problem does not exist in the code that you have written. It is in the system you are using. Try the following:
- Restarting your computer.
- Making sure that selenium is installed properly.
- Making sure that chrome functions properly without the code and checking its functionality from task manager.
Regards.

Harris Minhas
- 702
- 3
- 17
-
Hello, Thanks for the reply. I have tried above all the steps, unfortunately its not working on all of the browser supported by the selenium – Dom007 Jun 21 '21 at 09:10
-
-
Thanks for your kind support. I figured it out, now it's running very smoothly! – Dom007 Jun 21 '21 at 12:25