I'm having the following error with Selenium Firefox Webdriver
Exception in thread "main" org.openqa.selenium.WebDriverException: Unable to bind to locking port 7054 within 45000 ms Build info: version: '2.53.1', revision: 'a36b8b1', time: '2016-06-30 17:32:46' System info: host: '***', ip: '192.168.100.1', os.name: 'Windows', os.arch: 'amd64', os.version: '6.1', java.version: '1.8.0_101' Driver info: driver.version: FirefoxDriver at org.openqa.selenium.internal.SocketLock.lock (SocketLock.java:99) at org.openqa.selenium.firefox.internal.NewProfileExtensionConnection.start (NewProfileExtensionConnection.java:80) at org.openqa.selenium.firefox.FirefoxDriver.startClient (FirefoxDriver.java:271) at org.openqa.selenium.remote.RemoteWebDriver. (RemoteWebDriver.java:119) at org.openqa.selenium.firefox.FirefoxDriver. (FirefoxDriver.java:218) at org.openqa.selenium.firefox.FirefoxDriver. (FirefoxDriver.java:211) at org.openqa.selenium.firefox.FirefoxDriver. (FirefoxDriver.java:207) at org.openqa.selenium.firefox.FirefoxDriver. (FirefoxDriver.java:124)
This problem arises when I am running my program for the second time (I have some test running with the firefox webdriver).
Is it possible to use the firefox webdriver from 2 java programs? Do I have to modify the port? How do I do it?