0

I'm not able to launch chrome browser on mac using selenium.

I have following configurations:

Mac OS X 10.14.6

Chrome version: 78.0.3904.97

ChromeDriver 78.0.3904.70 (downloaded from https://chromedriver.chromium.org/downloads)

Python 3

I tried steps mentioned in this blog to set the chromedriver and using simple browser launch code

from selenium import webdriver

driver = webdriver.Chrome()
driver.get('https://www.google.com')

Unfortunately i encountered with following error:

selenium.common.exceptions.WebDriverException: Message: unknown error: Chrome failed to start: crashed (unknown error: DevToolsActivePort file doesn't exist) (The process started from chrome location /Applications/Google Chrome.app/Contents/MacOS/Google Chrome is no longer running, so ChromeDriver is assuming that Chrome has crashed.)

Non of these solution working for me

Selenium: WebDriverException:Chrome failed to start: crashed as google-chrome is no longer running so ChromeDriver is assuming that Chrome has crashed

enter image description here

Community
  • 1
  • 1
Nik
  • 204
  • 3
  • 20
  • @DebanjanB, nothing working in my case from link which you marked duplicate. also attached then snap of chrome crash report have a look – Nik Nov 07 '19 at 13:35
  • @DebanjanB, Any update ? could you remove the duplicate – Nik Nov 11 '19 at 05:46
  • There are 3 duplicates of this question. Can you update your question with the steps which you have taken as per the duplicate targets? – undetected Selenium Nov 11 '19 at 06:01

0 Answers0