Recently,I just found the automated function test with selenium will failed.
and i search the Web and find what is the root cause of it, we need to update the geckodriver to the latest version.
The steps to configure this are as follows
1. pip install -U selenium -> Selenium to 3.4 or greater
2. find the selenium version ->pip show selenium
3. Downlod the latest geckodriver from https://github.com/mozilla/geckodriver/releases
It could work fine again!