Quantcast
Channel: Selenium using Python - Geckodriver executable needs to be in PATH - Stack Overflow
Viewing all articles
Browse latest Browse all 38

Answer by Tanmoy Bhowmick for Selenium using Python - Geckodriver executable needs to be in PATH

$
0
0

You can solve this issue by using a simple command if you are on Linux

  1. First, download (https://github.com/mozilla/geckodriver/releases) and extract the ZIP file

  2. Open the extracted folder

  3. Open the terminal from the folder (where the geckodriver file is located after extraction)

    Enter image description here

  4. Now run this simple command on your terminal to copy the geckodriver into the correct folder:

     sudo cp geckodriver /usr/local/bin

Viewing all articles
Browse latest Browse all 38

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>