FireFox Profile Error - firefox

I am getting this https://www.mozilla.org/en-US/firefox/43.0.1/firstrun/learnmore/ while running my script in Firefox. This was running just fine until last week but it has stopped working now. I renamed and deleted the Firefox profile but that didn't help. Here are the error I am receiving in Eclipse. Any help will be appreciated.
org.openqa.selenium.firefox.NotConnectedException: Unable to connect to host 127.0.0.1 on port 7055 after 45000 ms. Firefox console output:
ddons.xpi DEBUG checkForChanges
1450818781417 addons.xpi DEBUG Loaded add-on state from prefs: {"app-profile":{"fxdriver#googlecode.com":{"d":"C:\\Users\\sluite\\AppData\\Local\\Temp\\anonymous4238069008057039774webdriver-profile\\extensions\\fxdriver#googlecode.com","e":false,"v":"2.45.0","st":1450818779415,"mt":1450818779275}},"app-global":{"{972ce4c6-7e08-4474-a285-3208198ce6fd}":{"d":"C:\\Program Files (x86)\\Mozilla Firefox\\browser\\extensions\\{972ce4c6-7e08-4474-a285-3208198ce6fd}","e":true,"v":"43.0.1","st":1450741870041,"mt":1450322003000}}}
1450818781418 addons.xpi DEBUG Existing add-on fxdriver#googlecode.com in app-profile
1450818781418 addons.xpi DEBUG getModTime: Recursive scan of {972ce4c6-7e08-4474-a285-3208198ce6fd}
1450818781419 addons.xpi DEBUG Existing add-on {972ce4c6-7e08-4474-a285-3208198ce6fd} in app-global
1450818781419 addons.xpi DEBUG getInstallState changed: false, state: {"app-profile":{"fxdriver#googlecode.com":{"d":"C:\\Users\\sluite\\AppData\\Local\\Temp\\anonymous4238069008057039774webdriver-profile\\extensions\\fxdriver#googlecode.com","e":false,"v":"2.45.0","st":1450818779415,"mt":1450818779275}},"app-global":{"{972ce4c6-7e08-4474-a285-3208198ce6fd}":{"d":"C:\\Program Files (x86)\\Mozilla Firefox\\browser\\extensions\\{972ce4c6-7e08-4474-a285-3208198ce6fd}","e":true,"v":"43.0.1","st":1450741870041,"mt":1450322003000}}}
1450818781420 addons.xpi DEBUG No changes found
1450818781426 addons.manager DEBUG Registering shutdown blocker for XPIProvider
1450818781426 addons.manager DEBUG Provider finished startup: XPIProvider
1450818781426 addons.manager DEBUG Starting provider: LightweightThemeManager
1450818781426 addons.manager DEBUG Registering shutdown blocker for LightweightThemeManager
1450818781427 addons.manager DEBUG Provider finished startup: LightweightThemeManager
1450818781427 addons.manager DEBUG Starting provider: GMPProvider
1450818781431 addons.manager DEBUG Registering shutdown blocker for GMPProvider
1450818781431 addons.manager DEBUG Provider finished startup: GMPProvider
1450818781431 addons.manager DEBUG Starting provider: PluginProvider
1450818781431 addons.manager DEBUG Registering shutdown blocker for PluginProvider
1450818781432 addons.manager DEBUG Provider finished startup: PluginProvider
1450818781432 addons.manager DEBUG Completed startup sequence
1450818781497 addons.xpi-utils DEBUG Starting async load of XPI database C:\Users\sluite\AppData\Local\Temp\anonymous4238069008057039774webdriver-profile\extensions.json
*** Blocklist::_loadBlocklistFromFile: blocklist is disabled
1450818781568 addons.manager DEBUG Starting provider: <unnamed-provider>
1450818781568 addons.manager DEBUG Registering shutdown blocker for <unnamed-provider>
1450818781568 addons.manager DEBUG Provider finished startup: <unnamed-provider>
1450818781653 addons.xpi-utils DEBUG Async JSON file read took 0 MS
1450818781653 addons.xpi-utils DEBUG Finished async read of XPI database, parsing...
1450818781653 addons.xpi-utils DEBUG Successfully read XPI database
1450818781711 addons.manager DEBUG Starting provider: PreviousExperimentProvider
1450818781711 addons.manager DEBUG Registering shutdown blocker for PreviousExperimentProvider
1450818781712 addons.manager DEBUG Provider finished startup: PreviousExperimentProvider
1450818825183 addons.manager DEBUG shutdown
1450818825183 addons.manager DEBUG Calling shutdown blocker for XPIProvider
1450818825184 addons.xpi DEBUG shutdown
1450818825184 addons.xpi-utils DEBUG shutdown
1450818825184 addons.manager DEBUG Calling shutdown blocker for LightweightThemeManager
1450818825184 addons.manager DEBUG Calling shutdown blocker for GMPProvider
1450818825185 addons.manager DEBUG Calling shutdown blocker for PluginProvider
1450818825186 addons.manager DEBUG Calling shutdown blocker for <unnamed-provider>
1450818825187 addons.manager DEBUG Calling shutdown blocker for PreviousExperimentProvider
1450818825189 addons.xpi DEBUG Notifying XPI shutdown observers
1450818825191 addons.manager DEBUG Async provider shutdown done
at org.openqa.selenium.firefox.internal.NewProfileExtensionConnection.start(NewProfileExtensionConnection.java:118)
at org.openqa.selenium.firefox.FirefoxDriver.startClient(FirefoxDriver.java:246)
at org.openqa.selenium.remote.RemoteWebDriver.<init>(RemoteWebDriver.java:114)
at org.openqa.selenium.firefox.FirefoxDriver.<init>(FirefoxDriver.java:193)
at org.openqa.selenium.firefox.FirefoxDriver.<init>(FirefoxDriver.java:186)
at org.openqa.selenium.firefox.FirefoxDriver.<init>(FirefoxDriver.java:182)
at org.openqa.selenium.firefox.FirefoxDriver.<init>(FirefoxDriver.java:95)
at WindowsHandle.HandleACLPopUP.baseURL(HandleACLPopUP.java:27)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:84)
at org.testng.internal.Invoker.invokeConfigurationMethod(Invoker.java:564)
at org.testng.internal.Invoker.invokeConfigurations(Invoker.java:213)
at org.testng.internal.Invoker.invokeConfigurations(Invoker.java:138)
at org.testng.TestRunner.beforeRun(TestRunner.java:641)
at org.testng.TestRunner.run(TestRunner.java:609)
at org.testng.SuiteRunner.runTest(SuiteRunner.java:334)
at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:329)
at org.testng.SuiteRunner.privateRun(SuiteRunner.java:291)
at org.testng.SuiteRunner.run(SuiteRunner.java:240)
at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)
at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)
at org.testng.TestNG.runSuitesSequentially(TestNG.java:1224)
at org.testng.TestNG.runSuitesLocally(TestNG.java:1149)
at org.testng.TestNG.run(TestNG.java:1057)
at org.testng.remote.RemoteTestNG.run(RemoteTestNG.java:111)
at org.testng.remote.RemoteTestNG.initAndRun(RemoteTestNG.java:204)
at org.testng.remote.RemoteTestNG.main(RemoteTestNG.java:175)

This issue seems fixed in recent versions of FirefoxDriver. If you are not using latest version of FirefoxDriver, please upgrade it to 2.49.1 (latest version)

Related

Receiving error: Failed to connect to binary FirefoxBinary on port 7055

i'm using a maven project to run a selenium test but when i run the test file i'm reciving the error: Failed to connect to binary FirefoxBinary(C:\Program Files (x86)\Mozilla Firefox\firefox.exe) on port 7055. It open a blank page of FF an then the Test Result throws the error:
Failed to connect to binary FirefoxBinary(C:\Program Files (x86)\Mozilla Firefox\firefox.exe) on port 7055; process output follows: e":true,"v":"1.0.5","st":1484790105743},"webcompat#mozilla.org":{"d":"C:\\Program Files (x86)\\Mozilla Firefox\\browser\\features\\webcompat#mozilla.org.xpi","e":true,"v":"1.0","st":1484790105745}},"app-global":{"{972ce4c6-7e08-4474-a285-3208198ce6fd}":{"d":"C:\\Program Files (x86)\\Mozilla Firefox\\browser\\extensions\\{972ce4c6-7e08-4474-a285-3208198ce6fd}.xpi","e":true,"v":"51.0","st":1484790105687}},"winreg-app-global":{"{D19CA586-DD6C-4a0a-96F8-14644F340D60}":{"d":"C:\\Program Files (x86)\\Common Files\\McAfee\\SystemCore","e":false,"v":"15.4.0","st":1484874384474,"mt":1481296942197}}} 1487083932603 addons.xpi DEBUG No changes found 1487083932618 addons.xpi DEBUG Registering manifest for C:\Program Files (x86)\Mozilla Firefox\browser\features\aushelper#mozilla.org.xpi 1487083932620 addons.xpi DEBUG Loading bootstrap scope from C:\Program Files (x86)\Mozilla Firefox\browser\features\aushelper#mozilla.org.xpi 1487083932629 addons.xpi DEBUG Calling bootstrap method startup on aushelper#mozilla.org version 1.0 1487083932631 addons.xpi DEBUG Registering manifest for C:\Program Files (x86)\Mozilla Firefox\browser\features\e10srollout#mozilla.org.xpi 1487083932633 addons.xpi DEBUG Loading bootstrap scope from C:\Program Files (x86)\Mozilla Firefox\browser\features\e10srollout#mozilla.org.xpi 1487083932638 addons.xpi DEBUG Calling bootstrap method startup on e10srollout#mozilla.org version 1.7 1487083932639 addons.xpi DEBUG Registering manifest for C:\Program Files (x86)\Mozilla Firefox\browser\features\firefox#getpocket.com.xpi 1487083932650 addons.xpi DEBUG Loading bootstrap scope from C:\Program Files (x86)\Mozilla Firefox\browser\features\firefox#getpocket.com.xpi 1487083932657 addons.xpi DEBUG Calling bootstrap method startup on firefox#getpocket.com version 1.0.5 1487083932669 addons.xpi-utils DEBUG Starting async load of XPI database C:\Users\EGLDT1~1\AppData\Local\Temp\anonymous5933286477074635697webdriver-profile\extensions.json 1487083932671 addons.xpi DEBUG Registering manifest for C:\Program Files (x86)\Mozilla Firefox\browser\features\webcompat#mozilla.org.xpi 1487083932673 addons.xpi DEBUG Loading bootstrap scope from C:\Program Files (x86)\Mozilla Firefox\browser\features\webcompat#mozilla.org.xpi 1487083932678 addons.xpi DEBUG Calling bootstrap method startup on webcompat#mozilla.org version 1.0 1487083932681 addons.manager DEBUG Registering shutdown blocker for XPIProvider 1487083932681 addons.manager DEBUG Provider finished startup: XPIProvider 1487083932681 addons.manager DEBUG Starting provider: LightweightThemeManager 1487083932681 addons.manager DEBUG Registering shutdown blocker for LightweightThemeManager 1487083932682 addons.manager DEBUG Provider finished startup: LightweightThemeManager 1487083932683 addons.manager DEBUG Starting provider: GMPProvider 1487083932701 addons.manager DEBUG Registering shutdown blocker for GMPProvider 1487083932701 addons.manager DEBUG Provider finished startup: GMPProvider 1487083932701 addons.manager DEBUG Starting provider: PluginProvider 1487083932702 addons.manager DEBUG Registering shutdown blocker for PluginProvider 1487083932702 addons.manager DEBUG Provider finished startup: PluginProvider 1487083932703 addons.manager DEBUG Completed startup sequence 1487083933230 addons.xpi-utils DEBUG Async JSON file read took 0 MS 1487083933230 addons.xpi-utils DEBUG Finished async read of XPI database, parsing... 1487083933236 addons.xpi-utils DEBUG Successfully read XPI database 1487083933253 addons.manager DEBUG Starting provider: 1487083933253 addons.manager DEBUG Registering shutdown blocker for 1487083933253 addons.manager DEBUG Provider finished startup: *** Blocklist::_loadBlocklistFromFile: blocklist is disabled 1487083933441 addons.manager DEBUG Starting provider: PreviousExperimentProvider 1487083933442 addons.manager DEBUG Registering shutdown blocker for PreviousExperimentProvider 1487083933442 addons.manager DEBUG Provider finished startup: PreviousExperimentProvider Build info: version: '2.45.0', revision: '5017cb8e7ca8e37638dc3091b2440b90a1d8686f', time: '2015-02-27 09:10:26' System info: host: 'Moises_Zarate', ip: '172.29.6.108', os.name: 'Windows 7', os.arch: 'amd64', os.version: '6.1', java.version: '1.7.0_60' Driver info: driver.version: FirefoxDriver
org.openqa.selenium.WebDriverException
e":true,"v":"1.0.5","st":1484790105743},"webcompat#mozilla.org":{"d":"C:\\Program Files (x86)\\Mozilla Firefox\\browser\\features\\webcompat#mozilla.org.xpi","e":true,"v":"1.0","st":1484790105745}},"app-global":{"{972ce4c6-7e08-4474-a285-3208198ce6fd}":{"d":"C:\\Program Files (x86)\\Mozilla Firefox\\browser\\extensions\\{972ce4c6-7e08-4474-a285-3208198ce6fd}.xpi","e":true,"v":"51.0","st":1484790105687}},"winreg-app-global":{"{D19CA586-DD6C-4a0a-96F8-14644F340D60}":{"d":"C:\\Program Files (x86)\\Common Files\\McAfee\\SystemCore","e":false,"v":"15.4.0","st":1484874384474,"mt":1481296942197}}}
1487083932603 addons.xpi DEBUG No changes found
1487083932618 addons.xpi DEBUG Registering manifest for C:\Program Files (x86)\Mozilla Firefox\browser\features\aushelper#mozilla.org.xpi
1487083932620 addons.xpi DEBUG Loading bootstrap scope from C:\Program Files (x86)\Mozilla Firefox\browser\features\aushelper#mozilla.org.xpi
1487083932629 addons.xpi DEBUG Calling bootstrap method startup on aushelper#mozilla.org version 1.0
1487083932631 addons.xpi DEBUG Registering manifest for C:\Program Files (x86)\Mozilla Firefox\browser\features\e10srollout#mozilla.org.xpi
1487083932633 addons.xpi DEBUG Loading bootstrap scope from C:\Program Files (x86)\Mozilla Firefox\browser\features\e10srollout#mozilla.org.xpi
1487083932638 addons.xpi DEBUG Calling bootstrap method startup on e10srollout#mozilla.org version 1.7
1487083932639 addons.xpi DEBUG Registering manifest for C:\Program Files (x86)\Mozilla Firefox\browser\features\firefox#getpocket.com.xpi
1487083932650 addons.xpi DEBUG Loading bootstrap scope from C:\Program Files (x86)\Mozilla Firefox\browser\features\firefox#getpocket.com.xpi
1487083932657 addons.xpi DEBUG Calling bootstrap method startup on firefox#getpocket.com version 1.0.5
1487083932669 addons.xpi-utils DEBUG Starting async load of XPI database C:\Users\EGLDT1~1\AppData\Local\Temp\anonymous5933286477074635697webdriver-profile\extensions.json
1487083932671 addons.xpi DEBUG Registering manifest for C:\Program Files (x86)\Mozilla Firefox\browser\features\webcompat#mozilla.org.xpi
1487083932673 addons.xpi DEBUG Loading bootstrap scope from C:\Program Files (x86)\Mozilla Firefox\browser\features\webcompat#mozilla.org.xpi
1487083932678 addons.xpi DEBUG Calling bootstrap method startup on webcompat#mozilla.org version 1.0
1487083932681 addons.manager DEBUG Registering shutdown blocker for XPIProvider
1487083932681 addons.manager DEBUG Provider finished startup: XPIProvider
1487083932681 addons.manager DEBUG Starting provider: LightweightThemeManager
1487083932681 addons.manager DEBUG Registering shutdown blocker for LightweightThemeManager
1487083932682 addons.manager DEBUG Provider finished startup: LightweightThemeManager
1487083932683 addons.manager DEBUG Starting provider: GMPProvider
1487083932701 addons.manager DEBUG Registering shutdown blocker for GMPProvider
1487083932701 addons.manager DEBUG Provider finished startup: GMPProvider
1487083932701 addons.manager DEBUG Starting provider: PluginProvider
1487083932702 addons.manager DEBUG Registering shutdown blocker for PluginProvider
1487083932702 addons.manager DEBUG Provider finished startup: PluginProvider
1487083932703 addons.manager DEBUG Completed startup sequence
1487083933230 addons.xpi-utils DEBUG Async JSON file read took 0 MS
1487083933230 addons.xpi-utils DEBUG Finished async read of XPI database, parsing...
1487083933236 addons.xpi-utils DEBUG Successfully read XPI database
1487083933253 addons.manager DEBUG Starting provider:
1487083933253 addons.manager DEBUG Registering shutdown blocker for
1487083933253 addons.manager DEBUG Provider finished startup:
*** Blocklist::_loadBlocklistFromFile: blocklist is disabled
1487083933441 addons.manager DEBUG Starting provider: PreviousExperimentProvider
1487083933442 addons.manager DEBUG Registering shutdown blocker for PreviousExperimentProvider
1487083933442 addons.manager DEBUG Provider finished startup: PreviousExperimentProvider
Build info: version: '2.45.0', revision: '5017cb8e7ca8e37638dc3091b2440b90a1d8686f', time: '2015-02-27 09:10:26'
System info: host: 'Moises_Zarate', ip: '172.29.6.108', os.name: 'Windows 7', os.arch: 'amd64', os.version: '6.1', java.version: '1.7.0_60'
Driver info: driver.version: FirefoxDriver
at org.openqa.selenium.firefox.internal.NewProfileExtensionConnection.start(NewProfileExtensionConnection.java:130)
at org.openqa.selenium.firefox.FirefoxDriver.startClient(FirefoxDriver.java:246)
at org.openqa.selenium.remote.RemoteWebDriver.(RemoteWebDriver.java:114)
at org.openqa.selenium.firefox.FirefoxDriver.(FirefoxDriver.java:191)
at org.openqa.selenium.firefox.FirefoxDriver.(FirefoxDriver.java:186)
at org.openqa.selenium.firefox.FirefoxDriver.(FirefoxDriver.java:182)
at ConsultaLogAuth.setUp(ConsultaLogAuth.java:26)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50)
at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:24)
at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57)
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
at org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:53)
at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:123)
at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:104)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:164)
at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:110)
at org.apache.maven.surefire.booter.SurefireStarter.invokeProvider(SurefireStarter.java:175)
at org.apache.maven.surefire.booter.SurefireStarter.runSuitesInProcessWhenForked(SurefireStarter.java:107)
at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:68)
Caused by: org.openqa.selenium.firefox.NotConnectedException: Unable to connect to host 127.0.0.1 on port 7055 after 45000 ms. Firefox console output:
e":true,"v":"1.0.5","st":1484790105743},"webcompat#mozilla.org":{"d":"C:\\Program Files (x86)\\Mozilla Firefox\\browser\\features\\webcompat#mozilla.org.xpi","e":true,"v":"1.0","st":1484790105745}},"app-global":{"{972ce4c6-7e08-4474-a285-3208198ce6fd}":{"d":"C:\\Program Files (x86)\\Mozilla Firefox\\browser\\extensions\\{972ce4c6-7e08-4474-a285-3208198ce6fd}.xpi","e":true,"v":"51.0","st":1484790105687}},"winreg-app-global":{"{D19CA586-DD6C-4a0a-96F8-14644F340D60}":{"d":"C:\\Program Files (x86)\\Common Files\\McAfee\\SystemCore","e":false,"v":"15.4.0","st":1484874384474,"mt":1481296942197}}}
These are my files:
pom.xml
<dependencies>
<dependency>
<groupId>org.seleniumhq.selenium</groupId>
<artifactId>selenium-java</artifactId>
<version>2.45.0</version>
</dependency>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>4.12</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.hamcrest</groupId>
<artifactId>hamcrest-core</artifactId>
<version>1.3</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.seleniumhq.selenium.server</groupId>
<artifactId>selenium-server</artifactId>
<version>2.48.2</version>
<scope>test</scope>
<type>jar</type>
</dependency>
</dependencies>
ConsultaLogAuth.java
import java.io.File;
import java.util.regex.Pattern;
import java.util.concurrent.TimeUnit;
import org.junit.*;
import static org.junit.Assert.*;
import static org.hamcrest.CoreMatchers.*;
import org.openqa.selenium.*;
import org.openqa.selenium.firefox.FirefoxBinary;
import org.openqa.selenium.firefox.FirefoxDriver;
import org.openqa.selenium.firefox.FirefoxProfile;
import org.openqa.selenium.support.ui.Select;
public class ConsultaLogAuth {
private WebDriver driver;
private String baseUrl;
private boolean acceptNextAlert = true;
private StringBuffer verificationErrors = new StringBuffer();
#Before
public void setUp() throws Exception {
File pathToBinary = new File("C:\\Program Files (x86)\\Mozilla Firefox\\firefox.exe");
FirefoxBinary ffBinary = new FirefoxBinary(pathToBinary);
FirefoxProfile firefoxProfile = new FirefoxProfile();
driver = new FirefoxDriver(ffBinary,firefoxProfile);
// driver = new FirefoxDriver();
baseUrl = "http://172.29.6.228:8025/";
driver.manage().timeouts().implicitlyWait(30, TimeUnit.SECONDS);
}
I have FireFox 51.0 and selenium-java 2.45.0(jar).
You need to upgrade your Selenium Server (e.g. to 3.5.x), so it can support your newer version of Firefox.
Example configuration in your pom.xml file:
<dependency>
<groupId>org.seleniumhq.selenium</groupId>
<artifactId>selenium-java</artifactId>
<version>3.5.2</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.seleniumhq.selenium.server</groupId>
<artifactId>selenium-server</artifactId>
<version>3.5.2</version>
<scope>test</scope>
<type>jar</type>
</dependency>
See:
selenium-java and selenium-server at MVN Repository
Selenium webdriver not working with Firefox 26+
Unable to connect to host 127.0.0.1 on port 7055 at GitHub

firefox44.01 doesnot support to webdriver 2.51

Getting below error while executing selenium webdriver(2.51 )scripts in firefox44:
webdriver can able to open the browser but not an empty browser with url :
https://www.mozilla.org/en-US/firefox/44.0.2/firstrun/learnmore/
can anyone please help me out.
org.openqa.selenium.firefox.NotConnectedException: Unable to connect to host 127.0.0.1 on port 7055 after 45000 ms. Firefox console output:
ranjans\AppData\Local\Temp\anonymous5188298946682853621webdriver-profile\extensions\fxdriver#googlecode.com
1455279332288 addons.xpi DEBUG Ignoring file entry whose name is not a valid add-on ID: C:\Users\cranjans\AppData\Local\Temp\anonymous5188298946682853621webdriver-profile\extensions\webdriver-staging
1455279332288 addons.xpi INFO SystemAddonInstallLocation directory is missing
1455279332289 addons.xpi INFO Mapping {972ce4c6-7e08-4474-a285-3208198ce6fd} to C:\Program Files (x86)\Mozilla Firefox\browser\extensions\{972ce4c6-7e08-4474-a285-3208198ce6fd}
1455279332289 addons.xpi DEBUG Skipping unavailable install location app-system-share
1455279332289 addons.xpi DEBUG Skipping unavailable install location app-system-local
1455279332289 addons.xpi DEBUG checkForChanges
1455279332290 addons.xpi DEBUG Loaded add-on state from prefs: {"app-profile":{"fxdriver#googlecode.com":{"d":"C:\\Users\\cranjans\\AppData\\Local\\Temp\\anonymous5188298946682853621webdriver-profile\\extensions\\fxdriver#googlecode.com","e":false,"v":"2.45.0","st":1455279330232,"mt":1455279330062}},"app-global":{"{972ce4c6-7e08-4474-a285-3208198ce6fd}":{"d":"C:\\Program Files (x86)\\Mozilla Firefox\\browser\\extensions\\{972ce4c6-7e08-4474-a285-3208198ce6fd}","e":true,"v":"44.0.2","st":1455258340685,"mt":1455258340500}}}
1455279332291 addons.xpi DEBUG Existing add-on fxdriver#googlecode.com in app-profile
1455279332291 addons.xpi DEBUG getModTime: Recursive scan of {972ce4c6-7e08-4474-a285-3208198ce6fd}
1455279332292 addons.xpi DEBUG Existing add-on {972ce4c6-7e08-4474-a285-3208198ce6fd} in app-global
1455279332292 addons.xpi DEBUG getInstallState changed: false, state: {"app-profile":{"fxdriver#googlecode.com":{"d":"C:\\Users\\cranjans\\AppData\\Local\\Temp\\anonymous5188298946682853621webdriver-profile\\extensions\\fxdriver#googlecode.com","e":false,"v":"2.45.0","st":1455279330232,"mt":1455279330062}},"app-global":{"{972ce4c6-7e08-4474-a285-3208198ce6fd}":{"d":"C:\\Program Files (x86)\\Mozilla Firefox\\browser\\extensions\\{972ce4c6-7e08-4474-a285-3208198ce6fd}","e":true,"v":"44.0.2","st":1455258340685,"mt":1455258340500}}}
1455279332293 addons.xpi DEBUG No changes found
1455279332299 addons.manager DEBUG Registering shutdown blocker for XPIProvider
1455279332299 addons.manager DEBUG Provider finished startup: XPIProvider
1455279332299 addons.manager DEBUG Starting provider: LightweightThemeManager
1455279332299 addons.manager DEBUG Registering shutdown blocker for LightweightThemeManager
1455279332300 addons.manager DEBUG Provider finished startup: LightweightThemeManager
1455279332300 addons.manager DEBUG Starting provider: GMPProvider
1455279332304 addons.manager DEBUG Registering shutdown blocker for GMPProvider
1455279332305 addons.manager DEBUG Provider finished startup: GMPProvider
1455279332305 addons.manager DEBUG Starting provider: PluginProvider
1455279332305 addons.manager DEBUG Registering shutdown blocker for PluginProvider
1455279332305 addons.manager DEBUG Provider finished startup: PluginProvider
1455279332305 addons.manager DEBUG Completed startup sequence
1455279332384 addons.xpi-utils DEBUG Starting async load of XPI database C:\Users\cranjans\AppData\Local\Temp\anonymous5188298946682853621webdriver-profile\extensions.json
*** Blocklist::_loadBlocklistFromFile: blocklist is disabled
1455279332479 addons.manager DEBUG Starting provider: <unnamed-provider>
1455279332479 addons.manager DEBUG Registering shutdown blocker for <unnamed-provider>
1455279332479 addons.manager DEBUG Provider finished startup: <unnamed-provider>
1455279332580 addons.xpi-utils DEBUG Async JSON file read took 0 MS
1455279332580 addons.xpi-utils DEBUG Finished async read of XPI database, parsing...
1455279332581 addons.xpi-utils DEBUG Successfully read XPI database
1455279332645 addons.manager DEBUG Starting provider: PreviousExperimentProvider
1455279332645 addons.manager DEBUG Registering shutdown blocker for PreviousExperimentProvider
1455279332645 addons.manager DEBUG Provider finished startup: PreviousExperimentProvider
It is happening because of new issue of selenium. You need to setPreference as xpinstall.signatures.required", false and then have to pass it in selenium object.
Below is the code which working fine for me. Take a reference of same
WebDriver driver = null;
final FirefoxProfile firefoxProfile = new FirefoxProfile();
firefoxProfile.setPreference("xpinstall.signatures.required", false);
driver = new FirefoxDriver(firefoxProfile);
driver.get("YOUR URL");
Hope it will help you :)
Yeah, all you need to do, to get it to work is to stop using the native navigate event in Firefox, and make a JavascriptExecutor that will navigate the page. Then, you will see that it will work. If you want to use that native navigate event, you need to downgrade to Firefox 31.6.0 ESR. You can try a later version of ESR, but I suspect it wont work for you either.

Unable to load a URL when using profiles in Firefox 44 using Selenium 2.51.0

I am using Firefox 44 on Ubuntu 12.04. I've got the Selenium Firefox Driver (Java 8) version 2.51.0.
It works fine with all my programs that use the default firefox profile.
However, I have a couple of programs that use a special Firefox profile, and these do not work.
The Firefox window opens, shows a blank page for a while, and then closes.
The error I get is:
org.openqa.selenium.firefox.NotConnectedException: Unable to connect to host 127.0.0.1 on port 7055 after 45000 ms. Firefox console output:
/lib/firefox/browser/extensions/{972ce4c6-7e08-4474-a285-3208198ce6fd}
1455175741082 addons.xpi INFO Mapping ubufox#ubuntu.com to /usr/share/mozilla/extensions/{ec8030f7-c20a-464f-9b0e-13a3a9e97384}/ubufox#ubuntu.com.xpi
1455175741083 addons.xpi DEBUG checkForChanges
1455175741083 addons.xpi DEBUG Loaded add-on state from prefs: {"app-profile":{"fxdriver#googlecode.com":{"d":"/tmp/anonymous1261823428052395525webdriver-profile/extensions/fxdriver#googlecode.com","e":false,"v":"2.45.0","st":1455175734000,"mt":1455175734000}},"app-global":{"{972ce4c6-7e08-4474-a285-3208198ce6fd}":{"d":"/usr/lib/firefox/browser/extensions/{972ce4c6-7e08-4474-a285-3208198ce6fd}","e":true,"v":"44.0","st":1454293453000,"mt":1453731912000}},"app-system-share":{"ubufox#ubuntu.com":{"d":"/usr/share/mozilla/extensions/{ec8030f7-c20a-464f-9b0e-13a3a9e97384}/ubufox#ubuntu.com.xpi","e":true,"v":"3.2","st":1442597112000}}}
1455175741084 addons.xpi DEBUG Existing add-on fxdriver#googlecode.com in app-profile
1455175741085 addons.xpi DEBUG getModTime: Recursive scan of {972ce4c6-7e08-4474-a285-3208198ce6fd}
1455175741085 addons.xpi DEBUG Existing add-on {972ce4c6-7e08-4474-a285-3208198ce6fd} in app-global
1455175741085 addons.xpi DEBUG getModTime: Recursive scan of ubufox#ubuntu.com
1455175741086 addons.xpi DEBUG Existing add-on ubufox#ubuntu.com in app-system-share
1455175741086 addons.xpi DEBUG getInstallState changed: false, state: {"app-profile":{"fxdriver#googlecode.com":{"d":"/tmp/anonymous1261823428052395525webdriver-profile/extensions/fxdriver#googlecode.com","e":false,"v":"2.45.0","st":1455175734000,"mt":1455175734000}},"app-global":{"{972ce4c6-7e08-4474-a285-3208198ce6fd}":{"d":"/usr/lib/firefox/browser/extensions/{972ce4c6-7e08-4474-a285-3208198ce6fd}","e":true,"v":"44.0","st":1454293453000,"mt":1453731912000}},"app-system-share":{"ubufox#ubuntu.com":{"d":"/usr/share/mozilla/extensions/{ec8030f7-c20a-464f-9b0e-13a3a9e97384}/ubufox#ubuntu.com.xpi","e":true,"v":"3.2","st":1442597112000}}}
1455175741087 addons.xpi DEBUG No changes found
1455175741095 addons.manager DEBUG Registering shutdown blocker for XPIProvider
1455175741095 addons.manager DEBUG Provider finished startup: XPIProvider
1455175741096 addons.manager DEBUG Starting provider: LightweightThemeManager
1455175741096 addons.manager DEBUG Registering shutdown blocker for LightweightThemeManager
1455175741096 addons.manager DEBUG Provider finished startup: LightweightThemeManager
1455175741096 addons.manager DEBUG Starting provider: GMPProvider
1455175741102 addons.manager DEBUG Registering shutdown blocker for GMPProvider
1455175741102 addons.manager DEBUG Provider finished startup: GMPProvider
1455175741102 addons.manager DEBUG Starting provider: PluginProvider
1455175741102 addons.manager DEBUG Registering shutdown blocker for PluginProvider
1455175741102 addons.manager DEBUG Provider finished startup: PluginProvider
1455175741103 addons.manager DEBUG Completed startup sequence
1455175741142 addons.xpi-utils DEBUG Starting async load of XPI database /tmp/anonymous1261823428052395525webdriver-profile/extensions.json
*** Blocklist::_loadBlocklistFromFile: blocklist is disabled
1455175741245 addons.manager DEBUG Starting provider: <unnamed-provider>
1455175741245 addons.manager DEBUG Registering shutdown blocker for <unnamed-provider>
1455175741245 addons.manager DEBUG Provider finished startup: <unnamed-provider>
1455175741325 addons.xpi-utils DEBUG Async JSON file read took 0 MS
1455175741325 addons.xpi-utils DEBUG Finished async read of XPI database, parsing...
1455175741326 addons.xpi-utils DEBUG Successfully read XPI database
1455175741389 addons.manager DEBUG Starting provider: PreviousExperimentProvider
1455175741389 addons.manager DEBUG Registering shutdown blocker for PreviousExperimentProvider
1455175741389 addons.manager DEBUG Provider finished startup: PreviousExperimentProvider
console.error:
[CustomizableUI]
Custom widget with id loop-button does not return a valid node
console.error:
[CustomizableUI]
Custom widget with id loop-button does not return a valid node
at org.openqa.selenium.firefox.internal.NewProfileExtensionConnection.start(NewProfileExtensionConnection.java:118)
at org.openqa.selenium.firefox.FirefoxDriver.startClient(FirefoxDriver.java:246)
at org.openqa.selenium.remote.RemoteWebDriver.<init>(RemoteWebDriver.java:114)
at org.openqa.selenium.firefox.FirefoxDriver.<init>(FirefoxDriver.java:193)
at org.openqa.selenium.firefox.FirefoxDriver.<init>(FirefoxDriver.java:186)
at org.openqa.selenium.firefox.FirefoxDriver.<init>(FirefoxDriver.java:182)
at org.openqa.selenium.firefox.FirefoxDriver.<init>(FirefoxDriver.java:99)
at mainPackage.MainClass.main(MainClass.java:45)
Is there some incompatibility that I am unaware of?
The code that I am using is :
ProfilesIni allProfiles = new ProfilesIni();
FirefoxProfile profile = allProfiles.getProfile("AutomationProfile");
WebDriver driver=new FirefoxDriver(profile);
driver.get("<some link>");
The error you are getting is due to compatability issues between Firefox & Selenium. Suggestions would be:
Running an older Firefox version
If you use JDK 7, try switching it to JDK 6.
As i understand, it runs ok with the default profile and without knowing what do you have inside your new profile makes it hard to identify the real cause.

Running protractor using firefox 44 error

I am trying to run multi browsers at once and I noticed that I cannot execute it with Firefox 44. I have already updated my selenium standalone server.
Below is my script on config.js
exports.config=
{
directConnect: true,
seleniumAddress:'http://localhost:4444/wd/hub',
capabilities: {
'browserName': 'firefox'
},
The error I am getting is as follows:
C:\Users\mivy\AppData\Roaming\npm\node_modules\protractor\node_modules\selenium-
webdriver\lib\atoms\error.js:113
var template = new Error(this.message);
^
UnknownError: Unable to connect to host 127.0.0.1 on port 7055 after 45000 ms. F
irefox console output:
454955423474 addons.xpi DEBUG Skipping unavailable install location ap
p-system-share
1454955423474 addons.xpi DEBUG Skipping unavailable install location ap
p-system-local
1454955423475 addons.xpi INFO Mapping {1E2593B2-E106-4697-BCE7-A9D30DE
05D73} to C:\Program Files (x86)\HttpWatch\Firefox
1454955423475 addons.xpi DEBUG checkForChanges
1454955423475 addons.xpi DEBUG Loaded add-on state from prefs: {"app-pr
ofile":{"fxdriver#googlecode.com":{"d":"C:\\Users\\mivy\\AppData\\Local\\Temp\\a
nonymous1228280274538478961webdriver-profile\\extensions\\fxdriver#googlecode.co
m","e":false,"v":"2.45.0","st":1454955418766,"mt":1454955418726}},"app-global":{
"{972ce4c6-7e08-4474-a285-3208198ce6fd}":{"d":"C:\\Program Files (x86)\\Mozilla
Firefox\\browser\\extensions\\{972ce4c6-7e08-4474-a285-3208198ce6fd}","e":true,"
v":"44.0","st":1454096785365,"mt":1454096777104}},"winreg-app-global":{"{1E2593B
2-E106-4697-BCE7-A9D30DE05D73}":{"d":"C:\\Program Files (x86)\\HttpWatch\\Firefo
x","e":false,"v":"10.0.27","st":1440422278442,"mt":1438081200000}}}
1454955423489 addons.xpi DEBUG Existing add-on fxdriver#googlecode.com
in app-profile
1454955423489 addons.xpi DEBUG getModTime: Recursive scan of {972ce4c6-
7e08-4474-a285-3208198ce6fd}
1454955423493 addons.xpi DEBUG Existing add-on {972ce4c6-7e08-4474-a285
-3208198ce6fd} in app-global
1454955423493 addons.xpi DEBUG Existing add-on {1E2593B2-E106-4697-BCE7
-A9D30DE05D73} in winreg-app-global
1454955423494 addons.xpi DEBUG getInstallState changed: false, state: {
"app-profile":{"fxdriver#googlecode.com":{"d":"C:\\Users\\mivy\\AppData\\Local\\
Temp\\anonymous1228280274538478961webdriver-profile\\extensions\\fxdriver#google
code.com","e":false,"v":"2.45.0","st":1454955418766,"mt":1454955418726}},"app-gl
obal":{"{972ce4c6-7e08-4474-a285-3208198ce6fd}":{"d":"C:\\Program Files (x86)\\M
ozilla Firefox\\browser\\extensions\\{972ce4c6-7e08-4474-a285-3208198ce6fd}","e"
:true,"v":"44.0","st":1454096785365,"mt":1454096777104}},"winreg-app-global":{"{
1E2593B2-E106-4697-BCE7-A9D30DE05D73}":{"d":"C:\\Program Files (x86)\\HttpWatch\
\Firefox","e":false,"v":"10.0.27","st":1440422278442,"mt":1438081200000}}}
1454955423498 addons.xpi DEBUG No changes found
1454955423505 addons.manager DEBUG Registering shutdown blocker for XPIProv
ider
1454955423505 addons.manager DEBUG Provider finished startup: XPIProvider
1454955423505 addons.manager DEBUG Starting provider: LightweightThemeManag
er
1454955423506 addons.manager DEBUG Registering shutdown blocker for Lightwe
ightThemeManager
1454955423506 addons.manager DEBUG Provider finished startup: LightweightTh
emeManager
1454955423506 addons.manager DEBUG Starting provider: GMPProvider
1454955423510 addons.manager DEBUG Registering shutdown blocker for GMPProv
ider
1454955423510 addons.manager DEBUG Provider finished startup: GMPProvider
1454955423510 addons.manager DEBUG Starting provider: PluginProvider
1454955423510 addons.manager DEBUG Registering shutdown blocker for PluginP
rovider
1454955423510 addons.manager DEBUG Provider finished startup: PluginProvide
r
1454955423511 addons.manager DEBUG Completed startup sequence
1454955423617 addons.xpi-utils DEBUG Starting async load of XPI datab
ase C:\Users\mivy\AppData\Local\Temp\anonymous1228280274538478961webdriver-profi
le\extensions.json
*** Blocklist::_loadBlocklistFromFile: blocklist is disabled
1454955423705 addons.manager DEBUG Starting provider: <unnamed-provider>
1454955423705 addons.manager DEBUG Registering shutdown blocker for <unname
d-provider>
1454955423705 addons.manager DEBUG Provider finished startup: <unnamed-prov
ider>
1454955423774 addons.xpi-utils DEBUG Async JSON file read took 0 MS
1454955423774 addons.xpi-utils DEBUG Finished async read of XPI datab
ase, parsing...
1454955423775 addons.xpi-utils DEBUG Successfully read XPI database
1454955423830 addons.manager DEBUG Starting provider: PreviousExperimentPro
vider
1454955423830 addons.manager DEBUG Registering shutdown blocker for Previou
sExperimentProvider
1454955423830 addons.manager DEBUG Provider finished startup: PreviousExper
imentProvider
at new bot.Error (C:\Users\mivy\AppData\Roaming\npm\node_modules\protractor\
node_modules\selenium-webdriver\lib\atoms\error.js:113:18)
at Object.bot.response.checkResponse (C:\Users\mivy\AppData\Roaming\npm\node
_modules\protractor\node_modules\selenium-webdriver\lib\atoms\response.js:106:9)
at C:\Users\mivy\AppData\Roaming\npm\node_modules\protractor\node_modules\se
lenium-webdriver\lib\webdriver\webdriver.js:158:24
at [object Object].promise.ControlFlow.runInFrame_ (C:\Users\mivy\AppData\Ro
aming\npm\node_modules\protractor\node_modules\selenium-webdriver\lib\webdriver\
promise.js:1877:20)
at [object Object].promise.Callback_.goog.defineClass.notify (C:\Users\mivy\
AppData\Roaming\npm\node_modules\protractor\node_modules\selenium-webdriver\lib\
webdriver\promise.js:2464:25)
at [object Object].promise.Promise.notify_ (C:\Users\mivy\AppData\Roaming\np
m\node_modules\protractor\node_modules\selenium-webdriver\lib\webdriver\promise.
js:563:12)
at Array.forEach (native)
at Object.goog.array.forEach (C:\Users\mivy\AppData\Roaming\npm\node_modules
\protractor\node_modules\selenium-webdriver\lib\goog\array\array.js:203:43)
at [object Object].promise.Promise.notifyAll_ (C:\Users\mivy\AppData\Roaming
\npm\node_modules\protractor\node_modules\selenium-webdriver\lib\webdriver\promi
se.js:552:16)
at goog.async.run.processWorkQueue (C:\Users\mivy\AppData\Roaming\npm\node_m
odules\protractor\node_modules\selenium-webdriver\lib\goog\async\run.js:125:21)
From: Task: WebDriver.createSession()
at Function.webdriver.WebDriver.acquireSession_ (C:\Users\mivy\AppData\Roami
ng\npm\node_modules\protractor\node_modules\selenium-webdriver\lib\webdriver\web
driver.js:155:22)
at Function.webdriver.WebDriver.createSession (C:\Users\mivy\AppData\Roaming
\npm\node_modules\protractor\node_modules\selenium-webdriver\lib\webdriver\webdr
iver.js:129:30)
at [object Object].Builder.build (C:\Users\mivy\AppData\Roaming\npm\node_mod
ules\protractor\node_modules\selenium-webdriver\builder.js:416:22)
at [object Object].DriverProvider.getNewDriver (C:\Users\mivy\AppData\Roamin
g\npm\node_modules\protractor\lib\driverProviders\driverProvider.js:38:7)
at [object Object].Runner.createBrowser (C:\Users\mivy\AppData\Roaming\npm\n
ode_modules\protractor\lib\runner.js:180:37)
at C:\Users\mivy\AppData\Roaming\npm\node_modules\protractor\lib\runner.js:2
56:21
at _fulfilled (C:\Users\mivy\AppData\Roaming\npm\node_modules\protractor\nod
e_modules\q\q.js:797:54)
at self.promiseDispatch.done (C:\Users\mivy\AppData\Roaming\npm\node_modules
\protractor\node_modules\q\q.js:826:30)
at Promise.promise.promiseDispatch (C:\Users\AppData\Roaming\npm\node_m
odules\protractor\node_modules\q\q.js:759:13)
at C:\Users\AppData\Roaming\npm\node_modules\protractor\node_modules\q\
q.js:525:49
[launcher] Process exited with error code 1
Is there anything that I missed on configuration? Or is it that I need to upgrade my plugin in firefox? Thanks!
Assuming you are using Protractor 3.0.0, the Firefox-related issue should be solved by upgrading it to the, currently latest, version 43. The Firefox 42 has compatibility issues with selenium 2.48.

Unable to launch Firefox 38.0.5 with Selenium 2.46.0

I'm using Selenium-java 2.46.0 and Firefox 38.0.5 but when I launch firefox using selenium like - WebDriver driver = new FirefoxDriver();
Opening of firefox fails with 'Firefox has stopped working' popup:
However if I open firefox manually, there is no issue.
Could you please help me to understand what could be wrong here and how this can be resolved?
It gives following error:
Exception in thread "main" org.openqa.selenium.WebDriverException: Failed to connect to binary FirefoxBinary(C:\Program Files (x86)\Mozilla Firefox\firefox.exe) on port 7055; process output follows:
BUG Save changes
1435762652130 addons.xpi DEBUG Updating XPIState for {"id":"{D19CA586-DD6C-4a0a-96F8-14644F340D60}","syncGUID":"e6CXkfz5RFLW","location":"winreg-app-global","version":"IDS_SS_VERSION","type":"extension","internalName":null,"updateURL":null,"updateKey":null,"optionsURL":null,"optionsType":null,"aboutURL":null,"iconURL":"chrome://vscore/content/ScriptFF.gif","icon64URL":null,"defaultLocale":{"name":"IDS_SS_NAME","description":null,"creator":"McAfee, Inc.","homepageURL":null},"visible":true,"active":false,"userDisabled":true,"appDisabled":false,"descriptor":"C:\\Program Files (x86)\\Common Files\\McAfee\\SystemCore","installDate":1401346981596,"updateDate":1401346981596,"applyBackgroundUpdates":1,"bootstrap":false,"size":1724679,"sourceURI":null,"releaseNotesURI":null,"softDisabled":false,"foreignInstall":true,"hasBinaryComponents":false,"strictCompatibility":false,"locales":[],"targetApplications":[{"id":"{ec8030f7-c20a-464f-9b0e-13a3a9e97384}","minVersion":"1.5","maxVersion":"9.9"}],"targetPlatforms":[],"multiprocessCompatible":false}
1435762652131 addons.xpi DEBUG Updating database with changes to installed add-ons
1435762652131 addons.xpi-utils DEBUG Updating add-on states
1435762652135 addons.xpi-utils DEBUG Writing add-ons list
1435762652178 addons.manager DEBUG Registering shutdown blocker for XPIProvider
1435762652179 addons.manager DEBUG Provider finished startup: XPIProvider
1435762652179 addons.manager DEBUG Starting provider: LightweightThemeManager
1435762652179 addons.manager DEBUG Registering shutdown blocker for LightweightThemeManager
1435762652179 addons.manager DEBUG Provider finished startup: LightweightThemeManager
1435762652180 addons.manager DEBUG Starting provider: GMPProvider
1435762652190 addons.manager DEBUG Registering shutdown blocker for GMPProvider
1435762652190 addons.manager DEBUG Provider finished startup: GMPProvider
1435762652190 addons.manager DEBUG Starting provider: PluginProvider
1435762652191 addons.manager DEBUG Registering shutdown blocker for PluginProvider
1435762652191 addons.manager DEBUG Provider finished startup: PluginProvider
1435762652192 addons.manager DEBUG Completed startup sequence
1435762652766 addons.manager DEBUG Starting provider: <unnamed-provider>
1435762652766 addons.manager DEBUG Registering shutdown blocker for <unnamed-provider>
1435762652767 addons.manager DEBUG Provider finished startup: <unnamed-provider>
1435762652925 DeferredSave.extensions.json DEBUG Starting timer
1435762653270 DeferredSave.extensions.json DEBUG Starting write
1435762653333 addons.manager DEBUG shutdown
1435762653333 addons.manager DEBUG Calling shutdown blocker for XPIProvider
1435762653334 addons.xpi DEBUG shutdown
1435762653334 addons.xpi-utils DEBUG shutdown
1435762653335 addons.manager DEBUG Calling shutdown blocker for LightweightThemeManager
1435762653336 addons.manager DEBUG Calling shutdown blocker for GMPProvider
1435762653339 addons.manager DEBUG Calling shutdown blocker for PluginProvider
1435762653339 addons.manager DEBUG Calling shutdown blocker for <unnamed-provider>
1435762653591 DeferredSave.extensions.json DEBUG Write succeeded
1435762653592 addons.xpi-utils DEBUG XPI Database saved, setting schema version preference to 16
1435762653592 addons.xpi DEBUG Notifying XPI shutdown observers
1435762653599 addons.manager DEBUG Async provider shutdown done
JavaScript error: resource://gre/modules/BookmarkHTMLUtils.jsm, line 897: NS_ERROR_UNEXPECTED: Component returned failure code: 0x8000ffff (NS_ERROR_UNEXPECTED) [nsINavBookmarksService.removeFolderChildren]
JavaScript error: resource://gre/modules/BookmarkHTMLUtils.jsm, line 897: NS_ERROR_UNEXPECTED: Component returned failure code: 0x8000ffff (NS_ERROR_UNEXPECTED) [nsINavBookmarksService.removeFolderChildren]
JavaScript error: jar:file:///C:/Program%20Files%20(x86)/Mozilla%20Firefox/browser/omni.ja!/components/nsBrowserGlue.js, line 1890: NS_ERROR_UNEXPECTED: Component returned failure code: 0x8000ffff (NS_ERROR_UNEXPECTED) [nsIAnnotationService.getItemsWithAnnotation]
Build info: version: '2.43.1', revision: '5163bceef1bc36d43f3dc0b83c88998168a363a0', time: '2014-09-10 09:43:55'
System info: host: 'W-GAMAHAJA-19', ip: '172.28.144.15', os.name: 'Windows 7', os.arch: 'amd64', os.version: '6.1', java.version: '1.7.0_40'
Driver info: driver.version: FirefoxDriver
at org.openqa.selenium.firefox.internal.NewProfileExtensionConnection.start(NewProfileExtensionConnection.java:134)
at org.openqa.selenium.firefox.FirefoxDriver.startClient(FirefoxDriver.java:246)
at org.openqa.selenium.remote.RemoteWebDriver.<init>(RemoteWebDriver.java:114)
at org.openqa.selenium.firefox.FirefoxDriver.<init>(FirefoxDriver.java:191)
at org.openqa.selenium.firefox.FirefoxDriver.<init>(FirefoxDriver.java:186)
at org.openqa.selenium.firefox.FirefoxDriver.<init>(FirefoxDriver.java:182)
at org.openqa.selenium.firefox.FirefoxDriver.<init>(FirefoxDriver.java:95)
at org.test.tutorials.DisableJS.main(DisableJS.java:22)
Caused by: org.openqa.selenium.WebDriverException: java.lang.InterruptedException: Process timed out after waiting for 45000 ms.
Build info: version: '2.43.1', revision: '5163bceef1bc36d43f3dc0b83c88998168a363a0', time: '2014-09-10 09:43:55'
System info: host: 'W-GAMAHAJA-19', ip: '172.28.144.15', os.name: 'Windows 7', os.arch: 'amd64', os.version: '6.1', java.version: '1.7.0_40'
Driver info: driver.version: FirefoxDriver
at org.openqa.selenium.os.CommandLine.waitFor(CommandLine.java:131)
at org.openqa.selenium.firefox.FirefoxBinary.waitFor(FirefoxBinary.java:222)
at org.openqa.selenium.firefox.FirefoxBinary.clean(FirefoxBinary.java:242)
at org.openqa.selenium.firefox.internal.NewProfileExtensionConnection.start(NewProfileExtensionConnection.java:91)
... 7 more
Caused by: java.lang.InterruptedException: Process timed out after waiting for 45000 ms.
at org.openqa.selenium.os.UnixProcess.waitFor(UnixProcess.java:148)
at org.openqa.selenium.os.CommandLine.waitFor(CommandLine.java:129)
... 10 more
Although others have had success with 2.46 and the latest version of Firefox, I've had similar issues running selenium on Firefox. In each case I've been able to bypass them by downgrading to an older version of Firefox.

Resources