Firefox and Chromedriver driver download and installation steps

Mozilla Firefox:

Mozilla Firefox, the Chinese name "Firefox", is a free and open source web browser that uses the Gecko typesetting engine and supports multiple operating systems, such as Windows, Mac OS X and GNU/Linux. The browser provides There are two versions, regular version and ESR (Extended Support Release, extended support) version. The ESR version is specially created by Mozilla for those companies that cannot or do not want to upgrade every six weeks. The upgrade cycle of the Firfox ESR version is 42 weeks. The upgrade cycle of the regular version is 6 weeks.

Since the browser has opened the source code, there are some third-party compiled versions available, such as ocxFirfox, Cangyue Browser, tete009, etc.

After understanding the basic version of Firefox, let's download and install it next.

Firefox driver download URL: https://github.com/mozilla/geckodriver/releases

Choose according to our needs: the following is what I choose:

Downloaded geckodrver v0.21.0 win64 zip is a compressed package, decompress it:

 

We have already downloaded Firefox, next we download DhromeDriver:

ChromeDriver:

ChromeDriver is developed and maintained by the Chromium team. It is a separate service that implements the WebDriver wire protocol. ChromrDriver controls the browser through Chrome's automated proxy framework. ChromeDriver is only compatible with chrome browsers above version 12.0712.0

Download URL: http://npm.taobao.org/mirrors/chromedriver/2.41/

 

 

 

 

 

After downloading Firefox and Google, we put the two exes into the Scripts folder in python--Anaconda,

Finally, we open the Ctrl + R command line and enter cmd

Enter pip install selenium in the command line to install

After the installation is complete, we can reopen pycharm

Sometimes there is no result after restarting the operation, so log off the computer, and then open the operation

 

Guess you like

Origin blog.csdn.net/qq_42543264/article/details/81290497