current position:Home>Python import third-party module selenium webdriver

Python import third-party module selenium webdriver

2022-02-02 15:00:33 One 829

One 、 install

stay Dos Execute between commands

pip install selenium

2. Use... After installation “pip show selenium" Check if the installation is successful

4. If you want to uninstall this module, you can execute

pip uninstall selenium

Two 、 Configure the Firefox browser driver geckodriver.exe

1. Enter official website https://github.com/mozilla/geckodriver/releasesicon-default.png?t=LA92https://github.com/mozilla/geckodriver/releases2. Choose your own version

3. Decompress after downloading , Open the unzipped file

 4. Put this file to python Under the directory As shown in the figure

 

copyright notice
author[One 829],Please bring the original link to reprint, thank you.
https://en.pythonmana.com/2022/02/202202021500309011.html

Random recommended