To install the port: cd /usr/ports/www/geckodriver/ & make install clean To add the package, run one of these commands:
Scroll down to assets and then click and download the correct driver. This example selenium is already installedĪt the time of writing I chose the latest version which was simply the version listed at the top of the page.
Self._start_from_profile_path()įile "C:\Users\user1\AppData\Local\Continuum\Anaconda3\lib\subpįileNotFoundError: The system cannot find the file specifiedįor Python 3 - Selenium plus webdriver for Firefox Įnter Pip install -U Selenium (The -U will upgrade it to the latest Selenium version.) packages\selenium-2.53.6-p圓.5.egg\selenium\webdriver\firefox\firefox_binary.py packages\selenium-2.53.6-p圓.5.egg\selenium\webdriver\firefox\extension_connect from selenium import webdriverįile "C:\Users\user1\AppData\Local\Continuum\Anaconda3\lib\site Type "help", "copyright", "credits" or "license" for more information.
Here is the full error traceback.Ĭopyright (c) 2009 Microsoft Corporation. I updated the PATH as shown in the comments. I have mostly used the Anaconda distribution of Python to work with excel so I do not know what is a "PATH" Make sure it’s in your PATH, e.g., place it in /usr/bin or /usr/local/bin. Firefox, for example, requires geckodriver, which needs to be installed before the below examples can be run.
Selenium requires a driver to interface with the chosen browser.
However, I do not know what to do given the below from I am attempting to work with Selenium in Python.