on-internet
← Community

Setting up Selenium and Geckodriver on Ubuntu to use with Python

Stack Overflow ·

I'm having troubles setting up Geckodriver to run with Selenium on a Ubuntu VPS, referring to this previously asked question. My current setup: Selenium Version: 4.17.2 Firefox Version: 122.0 Geckodriver Version: 0.34.0 Python Version: 3.8.10 Ubuntu Version: 20.04.5 LTS Steps: Installing all the necessary packages sudo apt-get update sudo apt-get install firefox pip install selenium tar -xvzf geckodriver-v0.34.0-linux64.tar.gz chmod +x geckodriver sudo mv geckodriver /usr/local/bin/ The last command puts geckodriver on PATH, this is needed according to this post Verifying installation firefox

Comments

Sign in or sign up to comment and upvote.

No comments yet.