Pycharm prompts Unresolved reference 'webdriver'
Pycharm + selenium + python hint Unresolved reference 'webdriver' solution:
Import the selenium package in the file, and from selenium import webdriver prompts you to report an error Unresolved reference 'webdriver'. This is caused by pycharm's inability to find the selenium module.
Solution:
1. The virtual environment where the command line enters the project directory: cd D:\ pycode\ test\ venv
2. Enter the python virtual environment: Scripts\ activate
3. Execute pip install selenium and install selenium module
4. On the pycharm page, the selenium package has been installed and no error has been reported.