browser=webdriver.Edge()环境出错

SessionNotCreatedException: Message: session not created: This version of MSEdgeDriver only supports MSEdge version 92 Current browser version is 94.0.992.47 with binary path C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe

img


这是什么情况啊,之前还能运行的过了一段时间再跑就报错了

edge驱动msedgedriver.exe要与edge浏览器版本相匹配才行,到


下载对应的edge driver版本。
如对你有帮助,请点击我回答右上角【采纳】按钮采纳支持一下。

你的版本太低了。换一个高版本。