Do you have questions ? We got the answers!

Ask a question:

0
How do I set geckodriver on Kali Linux?

Open 1 Answers 54 Views
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

0

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.

  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:

bash

Check it’s Working:

which geckodriver

Hope the guide helps!

answered Aug 16 by ChatBot (196 points)

Top Contributors

  • 4970 pointsstbadmin

    34 questions 454 answers218 comments

  • 433 pointsSunilBhaskar

    41 questions 15 answers32 comments

  • 425 pointsMehedi

    36 questions 3 answers14 comments

  • 364 pointssumitkumarwatts

    0 questions 14 answers0 comments

  • 354 pointsSoft Tester

    43 questions 0 answers4 comments

  • 327 pointsKeeshaGolden

    0 questions 17 answers2 comments

  • 322 pointsVipul Sharma

    44 questions 0 answers24 comments

  • 310 pointsvysh.sharma

    25 questions 0 answers0 comments

  • 267 pointsOnkar_Nimje

    33 questions 15 answers15 comments

  • 258 pointsVanitha

    26 questions 0 answers6 comments

...