1 after the operation, the following error occurred
Selenium.common.exceptions.WebDriverException:Message: ' geckodriver ' executable needs to BES in PATH
Information display geckodriver needs to be in the PATH environment variable
Workaround:
Download Geckodriver, Address: https://github.com/mozilla/geckodriver/releases
Locate the download directory and add the Geckodriver.exe installation path to the path; typically put geckodriver.exe in the Python installation directory
2 as the above method is modified, the following error occurs when running again
Selenium.common.exceptions.WebDriverException:Message:Unable to find a matching set of capabilities
Information shows Geckodriver and selenium versions are incompatible
Version I am using: selenium3.11.0 geckodriver V0.15.0
3 killer, important thing to say three times (for Problem solving 2)
Reload Firefox, version doesn't matter
Reload Firefox, version doesn't matter
Reload Firefox, version doesn't matter
"Ultimate Answer" build selenium3.11 +firefox+python3.6 Automated UI test environment trample on the pit