I try to start Chromedriver with Selenium
from selenium import webdriver
driver = webdriver.Chrome()
driver.get(\"http://www.google.com/\")
print(driver.titl
It is much evident from your mentioned configuration that you are using Selenium v3.7.0
, Google Chrome 62.0
along with chromedriver v2.9
which is not compatible. Hence we are seeing the error WebDriverException: Message: unknown error: Chrome failed to start: exited abnormally
The Release Notes of
ChromeDriver v2.33
clearly mentionsSupports Chrome v60-62
Download the latest chromedriver v2.33
from this link and execute your testcase.
Try the following code block :
from selenium import webdriver
driver = webdriver.Chrome(executable_path='/usr/local/bin/chromedriver')
driver.get('https://www.google.co.in')
print("Page Title is : %s" %driver.title)
driver.quit()
OR
from selenium import webdriver
driver = webdriver.Chrome(executable_path='/opt/chromedriver')
driver.get('https://www.google.co.in')
print("Page Title is : %s" %driver.title)
driver.quit()