前言
有不少小伙伴在安装selenium环境后启动firefox报错,因为现在selenium升级到3.0了,跟2.0的版本还有有一点区别的。
安装环境过程中主要会遇到三个坑:
1.'...\webdriver\common\service.py", line 81, in start
os.path.basename(self.path), self.start_error_message...)
selenium.common.exceptions.WebDriverException: Message: 'geckodriver' executable needs to be in PATH...errorhandler.py", line 193, in check_response
raise exception_class(message, screen, stacktrace)
selenium.common.exceptions.WebDriverException...errorhandler.py", line 193, in check_response
raise exception_class(message, screen, stacktrace)
selenium.common.exceptions.WebDriverException