【发布时间】:2016-10-10 07:28:51
【问题描述】:
如何让它发挥作用?我需要 Firefox 45 esr 才能与 selenium webdriver 2.53.0 一起使用,但是在实例化 FirefoxDriver(desiredCapabilities) 时它会引发异常:
Unable to determine the current version of FireFox using the registry, please make sure you have installed FireFox correctly
它们不兼容吗?如何让 webdriver 为 Firefox 45 esr 工作?
更新: 只有当我安装到 C:\Program Files (x86)\Mozilla Firefox 时,我才能让 64 位 Firefox 安装程序工作。对于 32 位安装程序,我无法让它在任何地方工作。为什么会这样?
【问题讨论】:
-
应该没有问题,webdriver版本
2.53.0应该支持firefox v45。 Firefox 是否安装在您机器的默认位置? -
是的。 C:\Program Files (x86)\Mozilla Firefox
-
firefox v45 有效。但是esr版本不起作用。 Firefox 设置 45.0esr
-
是的,我认为 esr 版本行不通。
-
任何解决方法?你知道 45 的所有 esr 版本是否都不能工作吗?
标签: c# selenium selenium-webdriver