My self facing the same issue in Jmeter. Mozilla firefox is opening automatically and the given URL is not get opening automatically.
My Test plan is Thread Group jp@gc - Firefox Driver Config jp@gc - WebDriver Sampler View Results in Table
Webdriver sampler has the following code:
var pkg = JavaImporter(org.openqa.selenium)
var support_ui = JavaImporter(org.openqa.selenium.support.ui.WebDriverWait)
var wait = new support_ui.WebDriverWait(WDS.browser, 5000)
WDS.sampleResult.sampleStart()
WDS.browser.get('http://login.salesforce.com')
WDS.sampleResult.sampleEnd()
And I am using, Jmeter - 3.1 version Mozilla Firefox - 50.1.0 jmeter-plugins-webdriver- 1.4.0 jmeter-plugins-manager- 0.11
Please give me some solutions. Thanks in advance.