

PATH (upper case letters) is different from path (lower case letters) where the latter refers to the address of a file or directory. This is also the reason you can type a command like ls (list) without having to specify its directory /bin/ls. PATH is an environmental variable in Linux that tells the shell in which directories to search for executable files in response to commands given through the command line or shell scripts. To accomplish this there is an environmental variable called PATH in which your program looks for the address of executable files. In order for selenium to execute the webdriver successfully, it needs to know where the executable file “geckodriver” is located. Understanding the PATH environmental variable Choose the directory where you want to save the zipped file and start the download. There you will find the gecko driver for the different operating systems.Ĭlick on "geckodriver-v0.27.0-linu圆4.tar.gz" to download the Linux 64bit driver. (You can install selenium by running pip install -user selenium from the command line terminal.) (If you don’t you can download it for free from. You have the Firefox web browser installed.


I found this cool Python tutorial for beginners on web scraping using the selenium module. Installing the Firefox web driver on Linux for selenium
