I am trying to use my Selenium scripts in java with JMeter\'s WebDriver Sampler.
Inside the webdriver sampler, the language is seleced to java, and the following code
If you are using Chrome driver 2.28 with Selenium 3.x.x you have to set the path of the Chrome driver before you open the browser.
Add this line: System.setProperty("webdriver.chrome.driver", "C:\\your_folder\\chrome.exe");
System.setProperty("webdriver.chrome.driver", "C:\\your_folder\\chrome.exe");
Next, WebDriver driver;
WebDriver driver;
Let me know if this helps you.