After the Python+selenium automation environment is set up, select Execute to be able to open Firefox, but can not continue to perform subsequent operations. The reason is that the version of selenium is incompatible with the version of Firefox.
Workaround:
1. Reduce Firefox to the version corresponding to selenium. For example, I use Selenium version is 3.3.3, then my corresponding version of Firefox is 52.0.2, if Firefox continues to upgrade, there will be incompatibilities. Suggestions can be set in Firefox tools----options--advanced to not check for updates, so as not to prevent automatic software updates problems.
2. Install the geckodriver that corresponds to the browser version. Can be found on the network. After downloading the latest geckodriver, place it in the Firefox installation directory and add the path to Firefox in the environment variable path, for example: D:\Program Files\Mozilla Firefox.
Python+selenium automation environment, can open Firefox, but unable to perform automated operations