我尝试在 Python 2.7 中使用 Selenium,但出现以下错误,
WebDriverException: Message: Expected browser binary location, but unable to find binary in default location, no 'moz:firefoxOptions.binary' capability provided, and no binary flag set on the command line
知道它会是什么吗?
请您参考如下方法:
您可以通过两种不同的方式避免此问题:
