How to install geckodriver in Ubuntu?

By Shayvard

I’m sorry my English is not good

I use Selenium in Python, I tried to run the webdriver function:

default_browser = webdriver.Firefox()

This Exception:

WebDriverException: Message: 'geckodriver' executable needs to be in PATH.

geckodriver in this site: https://github.com/mozilla/geckodriver

But how to install in Ubuntu 16.04 and can I fix this?

Source:: http://askubuntu.com/questions/870530/how-to-install-geckodriver-in-ubuntu


Leave a Reply