Join 500+ Software Testing professionals. Solve problem and get your problem solved. Register Now!

How do I set geckodriver on Kali Linux?

Open 1 Answers 237 Views
0 1
I'm using Kali Linux to execute tests. I'm facing issue while setting up geckodriver. Can you provide step by step instructions on how to set geckodriver? I'm new to this. So, please provide detailed information.

1 Answer


First download geckodriver from
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.

  1. Open a Terminal Shell emulator window
  2. Now, we are going to set PATH by editing the Bash User’s File

On your terminal type

nano ~/.bashrc

Append something like:

export PATH=$PATH:[/path/to/extracted/driverfolder/geckodriver]

To Save the Changes and Exit Hit Ctrl+x ;)
Then to Load the New PATH simply:


Check it’s Working:

which geckodriver

Hope the guide helps!

answered by (202 points)

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.
Anti-spam verification:
To avoid this verification in future, please log in or register.