0
votes

I use JMeter4 + Selenium2 + Firefox 45 in webdriver sampler to test GUI. This works well, but if we want to test the new version of Firefox (for example, version 55), we need to install Selenium 3. The JMeter webdriver plugin (version 2.3) requires Selenium 2.

How can I make webdriver sampler + selenium 3 work in jmeter?

1

1 Answers

0
votes

You will not able to use current WebDriver Sampler version with Selenium 3.x as it relies on some Selenium API which has incompatible changes, even if you upgrade Selenium libraries the WebDriver Sampler will not work.

However you can try the following approach:

  1. Uninstall WebDriver Sampler and all its dependencies (or even better obtain a fresh copy of JMeter)
  2. Download Selenium 3 client .jar(s) and put them into JMeter Classpath
  3. Write your Selenium-related code using JSR223 Sampler or JUnit Request sampler

You can also reach out WebDriver Sampler plugin developers/maintainers and clarify when/if support of newer Selenium version will be added at JMeter Plugins Support Forum