geckodriver needs to be in path ubuntu code example
Example 1: ubuntu install geckodriver
sudo apt install firefox-geckodriver
Example 2: ubuntu install geckodriver
wget https://github.com/mozilla/geckodriver/releases/download/v0.24.0/geckodriver-v0.24.0-linux64.tar.gz
tar -xvzf geckodriver*
chmod +x geckodriver
export PATH=$PATH:/path-to-extracted-file/.