Solving the problem of selenium automatically exiting the browser window after execution

Development tools, such as pycharm, have an automatic memory recycling mechanism. The memory will be automatically recycled after the code is executed. It can be executed in the upper right corner or ctrl+shift+f10.

Solution:

Right click and select Run file in python console

Guess you like

Origin blog.csdn.net/Mr_wilson_liu/article/details/128950166