1. Download and install the Firefox browser: https://www.firefox.com.cn/
2. Download the driver corresponding to the Firefox browser version and place it under the Python installation directory Scripts, such as my own: D:\Program Files\Python\Python37\Scripts
Driver download address: https://github.com/mozilla/geckodriver/releases