install idea
install python
Put the following directories of installed python into the path variable:
D:\Python\Python311,D:\Python\Python311\Scripts
3. Download Google Drive chromedriver.exe and place it in the D:\Python\Python311 directory
4. Install selenium, cmd command installation
pip3 install -U selenium
Selenium can also be downloaded in idea, as shown below
5.python can be downloaded in idea, as shown below
You can also automatically download the python plugin and put it in the following folder of idea:
6. After the above steps are completed, the new project selection is as follows:
Create a new .py file
Enter print("hello") to debug the first program