JMeter-plugins WebDriver using specific Firefox version/EXE

This post only concerns WebDriver if used with JMeter via the WebDriver jmeter-plugins.

As you probably well know WebDriver is picky when it comes to browser versions. You will have one version of Firefox installed but WebDriver wants another to execute. There is no google-obvious way to tell JMeter/WebDriver to pick a specific EXE. So here goes how that is done:

  1. Download the version of Firefox that you need here.
  2. Right-click on the EXE and “open archive” with a compression program.
  3. Copy the content of the core folder to where you want to have it installed (in this example C:\<path>\firefox_47.0).
  4. Start Firefox and type about:preferences#advanced<enter> in the address bar.
  5. Under Advanced, Select Update. Check the settings.
  6. Turn off installing of updates.
  7. Now start JMeter from the command line with: jmeter.bat -Dwebdriver.firefox.bin=C:\<path>\Firefox_47.0\firefox.exe

If you now start your WebDriver JMX it will choose the specific Firefox version.

by

Oliver Erlewein

One thought on “JMeter-plugins WebDriver using specific Firefox version/EXE

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

w

Connecting to %s