First download geckodriver from https://github.com/mozilla/geckodriver/releases
Download either geckodriver-<version>-linux32.tar.gz or geckodriver-<version>-linux64.tar.gz
Now, extract the downloaded driver file.
Now add the geckodriver to PATH environment variable. Follow the below guide to do the same.
- Open a Terminal Shell emulator window
- Now, we are going to set PATH by editing the Bash User’s File
On your terminal type
Append something like:
To Save the Changes and Exit Hit Ctrl+x ;)
Then to Load the New PATH simply:
Check it’s Working:
Hope the guide helps!