Python : Selenium - Message: Unknown Error: Chrome Failed To Start: Exited Abnormally
I am trying to start chrome driver in Linux 3.10.0-327.36.3.el7 using selenium with python. Also got some useful help from the chrome documentation, my extract code snippet is chr
Solution 1:
Not sure if you made your chromedriver executable ( on a Ubuntu/Linux/Mac system). If you didn't do that, your chromedriver wouldn't work.
Please try this - if you haven't
chmod +x chromedriver
chmod 777 chromedriver
And then try again. I wrote a simple script for this and I was able to get my chrome started perfectly -
import os
from selenium import webdriver
chrome_path="/home/rahul/Documents/SeleniumPy/chromedriver"//this is my chromedriver path
driver=webdriver.Chrome(chrome_path)
driver.maximize_window()
driver.implicitly_wait(30)
driver.get('http://www.google.com')
driver.quit()
Post a Comment for "Python : Selenium - Message: Unknown Error: Chrome Failed To Start: Exited Abnormally"