Quantcast
Channel: Active questions tagged selenium - Stack Overflow
Viewing all articles
Browse latest Browse all 98807

WebDriverException with selenium and Chrome for begginers

$
0
0

I am interested on web scraping with selenium. I have worked with the librery at job, but I am a real begginer on linux (ubuntu) and installing packages. I know this question has been answered, but none of the answers works for me and some times I don't even understand how to follow the steps (for example install this, downgrade that, upgrade this other thing). I would really apreciate a step by step answer.

The code is this:

from selenium import webdriver
url = 'http://www.srcmake.com/'
driver = webdriver.Chrome(executable_path='/home/javier/Desktop/chromedriver')
driver.get(url)

and the error is:

WebDriverException: Message: Service /home/javier/Desktop/chromedriver unexpectedly exited. Status code was: 127

I know it is something about versions, chrome or chromium. But I have been unable to solve this problem. I would really apreciate any help to solve this :)


Viewing all articles
Browse latest Browse all 98807


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>