selenium installation for spyder

0

I tried to install selenium , use spyder3 of anaconda .

I have installed it like this:

conda install -c conda-forge selenium

also with pip from the Anaconda3 directory

  

gives me error of not finding webdriver

but the library selenium finds it.

Do you know what it can be?

thanks in advance.

    
asked by Jose Miguel 18.07.2018 в 01:49
source

1 answer

0

For selenium to work, you need to align three elements:

  • The version of selenium (I understand that you already have it installed for anaconda, probably the last)
  • The browser version you have installed (for example, the latest version of Firefox)
  • The web driver of each of the browsers that you will use (for example, the latest version of gecko driver )
  • And once you have these three things, in your code, you must tell the program where the webdriver you have downloaded is located so you know how to lift it.

        
    answered by 18.07.2018 в 08:10