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