JMeter WebDriver Sampler 不适用于最新的 Firefox 版本

JMeter WebDriver Sampler doesn't work with latest Firefox version

我将 JMeter WebDriver Sampler (JMeter v4.0) 用于 Chrome 驱动程序(我在 jp@gc - Chrome Driver Config 中指定了 chromedriver 的路径),并且它有效。

现在我想尝试使用最新的 Firefox 浏览器 (FF Quantum v59.0),但它不起作用。 FF 浏览器打开但没有继续,ex WDS.browser.get('http://jmeter-plugins.org') 未执行。

JMeter WebDriver Sampler 似乎没有赶上 geckodriver 和 FF 的变化。我 google 它,但我没有找到这方面的任何信息。有谁知道这方面的任何更新?有什么解决方法吗?谢谢

你应该看看 JMeter Firefox Driver Config 插件限制:

the latest Firefox version may not work with the latest WebDriver set. The table below describes the version of Firefox that is compatible with JMeterPlugins:

当前版本仅与 Firefox 26 兼容

firefox jmeter addon不兼容

This add-on is not compatible with your version of Firefox.

Not compatible with Firefox Quantum

jmeter firefox驱动配置只兼容firefox 26、33,最新的是45和46。

不能使用46.0以上的firefox

您是否在环境变量"Path"中添加了geckodriver文件路径。如果不试试。我将最新的 firefox 与 Jmeter Webdriver 一起使用,并且正在为我工​​作。

计算机属性-高级系统设置-环境变量-路径(添加不带文件名的文件路径)