I have tried many versions of Firefox, but can’t get protractor to run them. I have followed the installation steps on their site and I downgraded to Firefox 31.0.
Currently it will begin properly, then swap the app icon in the dock 2x then do nothing, not even open a browser window. After aprox. one minute and then it will timeout and quit.
The first line hangs, lines two and after came about a minute later.
$ protractor conf.js
Using the selenium server at http://localhost:4444/wd/hub
A Jasmine spec timed out. Resetting the WebDriver Control Flow.
The last active task was:
WebDriver.createSession()
at <anonymous>
at <anonymous>
at <anonymous>
at <anonymous>
at <anonymous>
at <anonymous>
at <anonymous>
at <anonymous>
at <anonymous>
at <anonymous>
at <anonymous>
at <anonymous>
at <anonymous>
at <anonymous>
at <anonymous>
FF
/usr/local/lib/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. Firefox console output:
kipping unavailable install location app-system-share
1414172895384 addons.xpi DEBUG Ignoring file entry whose name is not a valid add-on ID: /var/folders/55/rcwf6nxx41nctw5qgtln0zqw0000gn/T/anonymous999359446682165432webdriver-profile/extensions/webdriver-staging
1414172895398 addons.xpi DEBUG checkForChanges
1414172895404 addons.xpi DEBUG Directory state JSON differs: cache [] state [{"name":"app-system-local","addons":{"web2pdfextension#web2pdf.adobedotcom":{"descriptor":"/Library/Application Support/Mozilla/Extensions/{ec8030f7-c20a-464f-9b0e-13a3a9e97384}/web2pdfextension#web2pdf.adobedotcom","mtime":1411008686000,"rdfTime":1348459481000}}},{"name":"app-global","addons":{"{972ce4c6-7e08-4474-a285-3208198ce6fd}":{"descriptor":"/Applications/Firefox.app/Contents/MacOS/browser/extensions/{972ce4c6-7e08-4474-a285-3208198ce6fd}","mtime":1405567571000,"rdfTime":1405565774000}}},{"name":"app-profile","addons":{"fxdriver#googlecode.com":{"descriptor":"/var/folders/55/rcwf6nxx41nctw5qgtln0zqw0000gn/T/anonymous999359446682165432webdriver-profile/extensions/fxdriver#googlecode.com","mtime":1414172895000,"rdfTime":1414172895000}}}]
1414172895408 addons.xpi-utils DEBUG Opening XPI database /var/folders/55/rcwf6nxx41nctw5qgtln0zqw0000gn/T/anonymous999359446682165432webdriver-profile/extensions.json
1414172895409 addons.xpi DEBUG New add-on fxdriver#googlecode.com installed in app-profile
*** Blocklist::_loadBlocklistFromFile: blocklist is disabled
1414172895423 addons.xpi-utils DEBUG Make addon app-profile:fxdriver#googlecode.com visible
1414172895424 DeferredSave.extensions.json DEBUG Save changes
1414172895424 DeferredSave.extensions.json DEBUG Save changes
1414172895424 addons.xpi DEBUG New add-on {972ce4c6-7e08-4474-a285-3208198ce6fd} installed in app-global
1414172895426 addons.xpi-utils DEBUG Make addon app-global:{972ce4c6-7e08-4474-a285-3208198ce6fd} visible
1414172895426 DeferredSave.extensions.json DEBUG Save changes
1414172895426 DeferredSave.extensions.json DEBUG Save changes
1414172895426 addons.xpi DEBUG New add-on web2pdfextension#web2pdf.adobedotcom installed in app-system-local
1414172895428 addons.xpi-utils DEBUG Make addon app-system-local:web2pdfextension#web2pdf.adobedotcom visible
1414172895429 DeferredSave.extensions.json DEBUG Save changes
1414172895429 DeferredSave.extensions.json DEBUG Save changes
1414172895432 addons.xpi DEBUG Updating database with changes to installed add-ons
1414172895432 addons.xpi-utils DEBUG Updating add-on states
1414172895433 addons.xpi-utils DEBUG Writing add-ons list
1414172895513 DeferredSave.extensions.json DEBUG Starting timer
1414172895529 addons.manager DEBUG shutdown
1414172895529 addons.xpi DEBUG shutdown
1414172895529 addons.xpi-utils DEBUG shutdown
1414172895530 DeferredSave.extensions.json DEBUG Flush called while data is dirty
1414172895538 DeferredSave.extensions.json DEBUG Starting write
1414172895593 DeferredSave.extensions.json DEBUG Write succeeded
1414172895593 addons.xpi-utils DEBUG XPI Database saved, setting schema version preference to 16
1414172895593 addons.xpi DEBUG Notifying XPI shutdown observers
1414172895595 addons.manager DEBUG Async provider shutdown done
1414172895795 addons.manager DEBUG Loaded provider scope for resource://gre/modules/addons/XPIProvider.jsm: ["XPIProvider"]
1414172895797 addons.manager DEBUG Loaded provider scope for resource://gre/modules/LightweightThemeManager.jsm: ["LightweightThemeManager"]
1414172895798 addons.xpi DEBUG startup
1414172895799 addons.xpi DEBUG Skipping unavailable install location app-system-share
1414172895800 addons.xpi DEBUG Ignoring file entry whose name is not a valid add-on ID: /var/folders/55/rcwf6nxx41nctw5qgtln0zqw0000gn/T/anonymous999359446682165432webdriver-profile/extensions/webdriver-staging
1414172895814 addons.xpi DEBUG checkForChanges
1414172895820 addons.xpi DEBUG No changes found
1414172895906 addons.manager DEBUG shutdown
1414172895906 addons.xpi DEBUG shutdown
1414172895906 addons.xpi DEBUG Notifying XPI shutdown observers
1414172895912 addons.manager DEBUG Async provider shutdown done
at new bot.Error (/usr/local/lib/node_modules/protractor/node_modules/selenium-webdriver/lib/atoms/error.js:113:18)
at Object.bot.response.checkResponse (/usr/local/lib/node_modules/protractor/node_modules/selenium-webdriver/lib/atoms/response.js:106:9)
at /usr/local/lib/node_modules/protractor/node_modules/selenium-webdriver/lib/webdriver/webdriver.js:151:24
at /usr/local/lib/node_modules/protractor/node_modules/selenium-webdriver/lib/goog/base.js:1582:15
at [object Object].webdriver.promise.ControlFlow.runInNewFrame_ (/usr/local/lib/node_modules/protractor/node_modules/selenium-webdriver/lib/webdriver/promise.js:1640:20)
at notify (/usr/local/lib/node_modules/protractor/node_modules/selenium-webdriver/lib/webdriver/promise.js:444:12)
at notifyAll (/usr/local/lib/node_modules/protractor/node_modules/selenium-webdriver/lib/webdriver/promise.js:422:7)
at resolve (/usr/local/lib/node_modules/protractor/node_modules/selenium-webdriver/lib/webdriver/promise.js:400:7)
at fulfill (/usr/local/lib/node_modules/protractor/node_modules/selenium-webdriver/lib/webdriver/promise.js:512:5)
at /usr/local/lib/node_modules/protractor/node_modules/selenium-webdriver/lib/goog/base.js:1582:15
at [object Object].webdriver.promise.ControlFlow.runInNewFrame_ (/usr/local/lib/node_modules/protractor/node_modules/selenium-webdriver/lib/webdriver/promise.js:1640:20)
at notify (/usr/local/lib/node_modules/protractor/node_modules/selenium-webdriver/lib/webdriver/promise.js:444:12)
at notifyAll (/usr/local/lib/node_modules/protractor/node_modules/selenium-webdriver/lib/webdriver/promise.js:422:7)
at resolve (/usr/local/lib/node_modules/protractor/node_modules/selenium-webdriver/lib/webdriver/promise.js:400:7)
at [object Object].fulfill (/usr/local/lib/node_modules/protractor/node_modules/selenium-webdriver/lib/webdriver/promise.js:512:5)
at /usr/local/lib/node_modules/protractor/node_modules/selenium-webdriver/lib/webdriver/promise.js:703:49
at /usr/local/lib/node_modules/protractor/node_modules/selenium-webdriver/lib/webdriver/http/http.js:96:5
at IncomingMessage.<anonymous> (/usr/local/lib/node_modules/protractor/node_modules/selenium-webdriver/http/index.js:131:7)
at IncomingMessage.EventEmitter.emit (events.js:117:20)
at _stream_readable.js:920:16
at process._tickCallback (node.js:415:13)
==== async task ====
WebDriver.navigate().to(data:text/html,<html></html>)
at [object Object].webdriver.WebDriver.schedule (/usr/local/lib/node_modules/protractor/node_modules/selenium-webdriver/lib/webdriver/webdriver.js:302:15)
at [object Object].webdriver.WebDriver.Navigation.to (/usr/local/lib/node_modules/protractor/node_modules/selenium-webdriver/lib/webdriver/webdriver.js:969:23)
at [object Object].webdriver.WebDriver.get (/usr/local/lib/node_modules/protractor/node_modules/selenium-webdriver/lib/webdriver/webdriver.js:661:26)
at [object Object].Protractor.get (/usr/local/lib/node_modules/protractor/lib/protractor.js:1221:15)
at [object Object].<anonymous> (/Users/kirkstrobeck/git/tipfortip/www/public/index-spec.js:14:13)
at /usr/local/lib/node_modules/protractor/node_modules/jasminewd/index.js:94:14
at [object Object].webdriver.promise.ControlFlow.runInNewFrame_ (/usr/local/lib/node_modules/protractor/node_modules/selenium-webdriver/lib/webdriver/promise.js:1640:20)
at [object Object].webdriver.promise.ControlFlow.runEventLoop_ (/usr/local/lib/node_modules/protractor/node_modules/selenium-webdriver/lib/webdriver/promise.js:1505:8)
at [object Object].wrapper [as _onTimeout] (timers.js:252:14)
at Timer.listOnTimeout [as ontimeout] (timers.js:110:15)
==== async task ====
Asynchronous test function: it()
at [object Object].<anonymous> (/usr/local/lib/node_modules/protractor/node_modules/jasminewd/index.js:93:33)
at [object Object].<anonymous> (/usr/local/lib/node_modules/protractor/node_modules/minijasminenode/lib/async-callback.js:45:37)
at [object Object].jasmine.Block.execute (/usr/local/lib/node_modules/protractor/node_modules/minijasminenode/lib/jasmine-1.3.1.js:1174:17)
at [object Object].jasmine.Queue.next_ (/usr/local/lib/node_modules/protractor/node_modules/minijasminenode/lib/jasmine-1.3.1.js:2209:31)
at [object Object].jasmine.Queue.start (/usr/local/lib/node_modules/protractor/node_modules/minijasminenode/lib/jasmine-1.3.1.js:2162:8)
at [object Object].jasmine.Spec.execute (/usr/local/lib/node_modules/protractor/node_modules/minijasminenode/lib/jasmine-1.3.1.js:2503:14)
at [object Object].jasmine.Queue.next_ (/usr/local/lib/node_modules/protractor/node_modules/minijasminenode/lib/jasmine-1.3.1.js:2209:31)
at onComplete (/usr/local/lib/node_modules/protractor/node_modules/minijasminenode/lib/jasmine-1.3.1.js:2205:18)
at [object Object].jasmine.Spec.finish (/usr/local/lib/node_modules/protractor/node_modules/minijasminenode/lib/jasmine-1.3.1.js:2477:5)
at [object Object].onComplete (/usr/local/lib/node_modules/protractor/node_modules/minijasminenode/lib/jasmine-1.3.1.js:2504:10)
at [object Object].jasmine.Queue.next_ (/usr/local/lib/node_modules/protractor/node_modules/minijasminenode/lib/jasmine-1.3.1.js:2219:14)
at [object Object]._onTimeout (/usr/local/lib/node_modules/protractor/node_modules/minijasminenode/lib/jasmine-1.3.1.js:2199:18)
at Timer.listOnTimeout [as ontimeout] (timers.js:110:15)==== async task ====
Error
at [object Object].<anonymous> (/Users/kirkstrobeck/git/tipfortip/www/public/index-spec.js:13:3)
at [object Object].jasmine.Env.describe_ (/usr/local/lib/node_modules/protractor/node_modules/minijasminenode/lib/jasmine-1.3.1.js:913:21)
at [object Object].jasmine.Env.describe (/usr/local/lib/node_modules/protractor/node_modules/minijasminenode/lib/jasmine-1.3.1.js:898:15)
at describe (/usr/local/lib/node_modules/protractor/node_modules/minijasminenode/lib/jasmine-1.3.1.js:658:27)
at Object.<anonymous> (/Users/kirkstrobeck/git/tipfortip/www/public/index-spec.js:1:63)
at Module._compile (module.js:456:26)
at Object.Module._extensions..js (module.js:474:10)
at Module.load (/usr/local/lib/node_modules/coffee-script/lib/coffee-script/register.js:45:36)
at Function.Module._load (module.js:312:12)
at Module.require (module.js:364:17)
at require (module.js:380:17)
at Object.exports.executeSpecs (/usr/local/lib/node_modules/protractor/node_modules/minijasminenode/lib/index.js:130:7)
at /usr/local/lib/node_modules/protractor/lib/frameworks/jasmine.js:49:12
at _fulfilled (/usr/local/lib/node_modules/protractor/node_modules/q/q.js:797:54)
at self.promiseDispatch.done (/usr/local/lib/node_modules/protractor/node_modules/q/q.js:826:30)
at Promise.promise.promiseDispatch (/usr/local/lib/node_modules/protractor/node_modules/q/q.js:759:13)
at /usr/local/lib/node_modules/protractor/node_modules/q/q.js:525:49
at flush (/usr/local/lib/node_modules/protractor/node_modules/q/q.js:108:17)
at process._tickCallback (node.js:415:13)
at Function.Module.runMain (module.js:499:11)
at startup (node.js:119:16)
at node.js:902:3
$
If you encounter this issue in 2016, try updating Firefox to the latest, precisely to
Firefox v47.0.1
and your protractor tests should run again; no need to go to an older versions as of today, 07/28/2016 :)
Also note that Firefox comes prepackaged with the selenium server jar so you don't need to declare an explicit driver for it as you do with chrome, so in your protractor configuration file,
just declare browser name like below and it should work:
capabilities: {
'browserName': 'firefox'
},
Related
I am using firefox on RHEL 6.4 for selenium script. For this I had used selenium 2.48.2, 2.49 version but I could not find compatible version of firefox with these selenium version. I am using Xming for triggering the firefox from linux on windows. please can anyone provide some help to which firefox driver is compatible with selenium 2.49 or 2.48.2. I had already tried firefox 39,41,43,44 version but I am getting the following exception -
org.openqa.selenium.firefox.NotConnectedException: Unable to connect to host 127.0.0.1 on port 7055 after 45000 ms. Firefox console output:
iding the updated system add-ons.
1456292657904 addons.manager DEBUG Registering startup change 'installed' for fxdriver#googlecode.com
1456292657904 addons.xpi-utils DEBUG Make addon app-profile:fxdriver#googlecode.com visible
1456292657905 DeferredSave.extensions.json DEBUG Save changes
1456292657905 addons.xpi-utils DEBUG Make addon app-global:{972ce4c6-7e08-4474-a285-3208198ce6fd} visible
1456292657905 DeferredSave.extensions.json DEBUG Save changes
1456292657906 addons.xpi DEBUG Updating XPIState for `{"id":"fxdriver#googlecode.com","syncGUID":"RdhxVFQ80wzQ","location":"app-profile","version":"2.48.0","type":"extension","internalName":null,"updateURL":null,"updateKey":null,"optionsURL":null,"optionsType":null,"aboutURL":null,"iconURL":null,"icon64URL":null,"defaultLocale":{"name":"Firefox WebDriver","description":"WebDriver implementation for Firefox","creator":"Simon Stewart","homepageURL":null},"visible":true,"active":true,"userDisabled":false,"appDisabled":false,"descriptor":"/tmp/anonymous3945461434748043456webdriver-profile/extensions/fxdriver#googlecode.com","installDate":1456292633000,"updateDate":1456292633000,"applyBackgroundUpdates":1,"bootstrap":false,"size":3213569,"sourceURI":null,"releaseNotesURI":null,"softDisabled":false,"foreignInstall":true,"hasBinaryComponents":true,"strictCompatibility":false,"locales":[],"targetApplications":[{"id":"{ec8030f7-c20a-464f-9b0e-13a3a9e97384}","minVersion":"3.0","maxVersion":"45.0"}],"targetPlatforms":[{"os":"Darwin","abi":null},{"os":"SunOS","abi":null},{"os":"FreeBSD","abi":null},{"os":"OpenBSD","abi":null},{"os":"WINNT","abi":"x86-msvc"},{"os":"Linux","abi":null}],"multiprocessCompatible":false,"signedState":0}
1456292657907 addons.xpi DEBUG getModTime: Recursive scan of fxdriver#googlecode.com
1456292657909 addons.xpi DEBUG Updating XPIState for {"id":"{972ce4c6-7e08-4474-a285-3208198ce6fd}","syncGUID":"B6gLC6ZQUiLs","location":"app-global","version":"43.0","type":"theme","internalName":"classic/1.0","updateURL":null,"updateKey":null,"optionsURL":null,"optionsType":null,"aboutURL":null,"iconURL":null,"icon64URL":null,"defaultLocale":{"name":"Default","description":"The default theme.","creator":"Mozilla","homepageURL":null,"contributors":["Mozilla Contributors"]},"visible":true,"active":true,"userDisabled":false,"appDisabled":false,"descriptor":"/opt/firefox/browser/extensions/{972ce4c6-7e08-4474-a285-3208198ce6fd}","installDate":1449604917000,"updateDate":1449604917000,"applyBackgroundUpdates":1,"skinnable":true,"size":5022,"sourceURI":null,"releaseNotesURI":null,"softDisabled":false,"foreignInstall":false,"hasBinaryComponents":false,"strictCompatibility":true,"locales":[],"targetApplications":[{"id":"{ec8030f7-c20a-464f-9b0e-13a3a9e97384}","minVersion":"43.0","maxVersion":"43.0"}],"targetPlatforms":[]}
1456292657910 addons.xpi DEBUG getModTime: Recursive scan of {972ce4c6-7e08-4474-a285-3208198ce6fd}
1456292657911 DeferredSave.extensions.json DEBUG Save changes
1456292657911 addons.xpi DEBUG Updating database with changes to installed add-ons
1456292657911 addons.xpi-utils DEBUG Updating add-on states
1456292657912 addons.xpi-utils DEBUG Writing add-ons list
1456292657923 addons.manager DEBUG Registering shutdown blocker for XPIProvider
1456292657924 addons.manager DEBUG Provider finished startup: XPIProvider
1456292657924 addons.manager DEBUG Starting provider: LightweightThemeManager
1456292657924 addons.manager DEBUG Registering shutdown blocker for LightweightThemeManager
1456292657925 addons.manager DEBUG Provider finished startup: LightweightThemeManager
1456292657926 addons.manager DEBUG Starting provider: GMPProvider
1456292657932 addons.manager DEBUG Registering shutdown blocker for GMPProvider
1456292657932 addons.manager DEBUG Provider finished startup: GMPProvider
1456292657932 addons.manager DEBUG Starting provider: PluginProvider
1456292657933 addons.manager DEBUG Registering shutdown blocker for PluginProvider
1456292657933 addons.manager DEBUG Provider finished startup: PluginProvider
1456292657934 addons.manager DEBUG Completed startup sequence
at org.openqa.selenium.firefox.internal.NewProfileExtensionConnection.start(NewProfileExtensionConnection.java:123)
at org.openqa.selenium.firefox.FirefoxDriver.startClient(FirefoxDriver.java:271)
at org.openqa.selenium.remote.RemoteWebDriver.<init>(RemoteWebDriver.java:117)
at org.openqa.selenium.firefox.FirefoxDriver.<init>(FirefoxDriver.java:216)
at org.openqa.selenium.firefox.FirefoxDriver.<init>(FirefoxDriver.java:211)
at org.openqa.selenium.firefox.FirefoxDriver.<init>(FirefoxDriver.java:207)`
Also I could find that selenium 2.41 is working with firefox 30 version, but I want to use selenium 2.49 so I want compatible firefox for 2.49 version.
Here is the change log : https://github.com/SeleniumHQ/selenium/blob/master/dotnet/CHANGELOG
Firefox v41 should work fine with selenium 2.49
Firefox v42 will work fine. I used v42 for both versions
It says in the CHANGELOG notes for version 2.48 that you MUST USE no later version than Firefox 31.6.0 ESR if your intent is to use any of the native event calls, such as driver.navigate() or element.click() .
If you open a browser and use synthetic non-native events with Javascript to navigate the url and/or to click on stuff, then yes, all later versions of Firefox will work for you.
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.
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.
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.
I'm getting problems where I can't get firefox to sync up with selenium when running automated tests. When I run the selenium server & the firefox phpunit tests, firefox continually times out (apparently) as it's unable to connect on the appropriate port. When I connect myself, I get some kind of jetty 403 error "forbidden for proxy", but I don't really know what to do to correct the issue.
How do I debug this to determine where the problem lies?
More detail on the logs and the error messages below:
I start the selenium server:
java -jar selenium-server-standalone-2.42.2.jar
Oct 20, 2014 2:44:09 PM org.openqa.grid.selenium.GridLauncher main
INFO: Launching a standalone server
14:44:09.957 INFO - Java: Oracle Corporation 25.25-b02
14:44:09.957 INFO - OS: Linux 3.2.0-70-generic amd64
14:44:09.964 INFO - v2.42.2, with Core v2.42.2. Built from revision 6a6995d
14:44:10.048 INFO - Default driver org.openqa.selenium.ie.InternetExplorerDriver registration is skipped: registration capabilities Capabilities [{ensureCleanSession=true, browserName=internet explorer, version=, platform=WINDOWS}] does not match with current platform: LINUX
14:44:10.086 INFO - RemoteWebDriver instances should connect to: http://127.0.0.1:4444/wd/hub
14:44:10.088 INFO - Version Jetty/5.1.x
14:44:10.089 INFO - Started HttpContext[/selenium-server,/selenium-server]
14:44:10.111 INFO - Started org.openqa.jetty.jetty.servlet.ServletHandler#725bef66
14:44:10.111 INFO - Started HttpContext[/wd,/wd]
14:44:10.111 INFO - Started HttpContext[/selenium-server/driver,/selenium-server/driver]
14:44:10.111 INFO - Started HttpContext[/,/]
14:44:10.115 INFO - Started SocketListener on 0.0.0.0:4444
14:44:10.115 INFO - Started org.openqa.jetty.jetty.Server#30dae81
Then I run the functional selenium tests for firefox as the www-data user:
sudo -u www-data ../../vendor/bin/phpunit -c refox.xml functional
PHPUnit 3.7.37 by Sebastian Bergmann.
Configuration read from /srv/xxx/protected/tests/firefox.xml
PHP Notice: Undefined offset: 1 in /srv/xxx/protected/extensions/webdriver-bindings/phpwebdriver/WebDriver.php on line 58
FCurrent URL: (Unknown)
Current Title: (Unknown)
Screenshot file: /srv/xxx/protected/tests/output/test.failed.1413831941.6997.png
Now, from what I can tell, the pertinent error from selenium is:
15:40:30.768 WARN - Exception: Unable to connect to host 127.0.0.1 on port 7055 after 45000 ms. Firefox console output:
#googlecode.com visible
1413833983888 DeferredSave.extensions.json DEBUG Save changes
1413833983889 DeferredSave.extensions.json DEBUG Save changes
1413833983889 addons.xpi DEBUG New add-on langpack-en-GB#firefox.mozilla.org installed in app-global
1413833983896 addons.xpi-utils DEBUG Make addon app-global:langpack-en-GB#firefox.mozilla.org visible
1413833983896 DeferredSave.extensions.json DEBUG Save changes
1413833983896 DeferredSave.extensions.json DEBUG Save changes
1413833983898 addons.xpi DEBUG New add-on {972ce4c6-7e08-4474-a285-3208198ce6fd} installed in app-global
1413833983900 addons.xpi-utils DEBUG Make addon app-global:{972ce4c6-7e08-4474-a285-3208198ce6fd} visible
1413833983900 DeferredSave.extensions.json DEBUG Save changes
1413833983900 DeferredSave.extensions.json DEBUG Save changes
1413833983900 addons.xpi DEBUG New add-on langpack-en-ZA#firefox.mozilla.org installed in app-global
1413833983906 addons.xpi-utils DEBUG Make addon app-global:langpack-en-ZA#firefox.mozilla.org visible
1413833983906 DeferredSave.extensions.json DEBUG Save changes
1413833983906 DeferredSave.extensions.json DEBUG Save changes
1413833983907 addons.xpi DEBUG New add-on ubufox#ubuntu.com installed in app-system-share
1413833983910 addons.xpi-utils DEBUG Make addon app-system-share:ubufox#ubuntu.com visible
1413833983910 DeferredSave.extensions.json DEBUG Save changes
1413833983910 DeferredSave.extensions.json DEBUG Save changes
1413833983915 addons.xpi DEBUG Updating database with changes to installed add-ons
1413833983915 addons.xpi-utils DEBUG Updating add-on states
1413833983916 addons.xpi-utils DEBUG Writing add-ons list
1413833983917 addons.xpi DEBUG Registering manifest for /usr/lib/firefox/browser/extensions/langpack-en-GB#firefox.mozilla.org.xpi
1413833983918 addons.xpi DEBUG Registering manifest for /usr/lib/firefox/browser/extensions/langpack-en-ZA#firefox.mozilla.org.xpi
1413833984887 DeferredSave.extensions.json DEBUG Starting timer
1413833984920 addons.manager DEBUG shutdown
1413833984921 DeferredSave.extensions.json DEBUG Starting write
1413833984922 addons.xpi DEBUG shutdown
1413833984922 addons.xpi-utils DEBUG shutdown
1413833984986 DeferredSave.extensions.json DEBUG Write succeeded
1413833984986 addons.xpi-utils DEBUG XPI Database saved, setting schema version preference to 16
1413833984986 addons.xpi DEBUG Notifying XPI shutdown observers
1413833984990 addons.manager DEBUG Async provider shutdown done
1413833985681 addons.manager DEBUG Loaded provider scope for resource://gre/modules/addons/XPIProvider.jsm: ["XPIProvider"]
1413833985682 addons.manager DEBUG Loaded provider scope for resource://gre/modules/LightweightThemeManager.jsm: ["LightweightThemeManager"]
1413833985685 addons.xpi DEBUG startup
1413833985686 addons.xpi INFO Mapping ubufox#ubuntu.com to /usr/share/mozilla/extensions/{ec8030f7-c20a-464f-9b0e-13a3a9e97384}/ubufox#ubuntu.com
1413833985686 addons.xpi INFO Mapping langpack-en-GB#firefox.mozilla.org to /usr/lib/firefox/browser/extensions/langpack-en-GB#firefox.mozilla.org.xpi
1413833985686 addons.xpi INFO Mapping {972ce4c6-7e08-4474-a285-3208198ce6fd} to /usr/lib/firefox/browser/extensions/{972ce4c6-7e08-4474-a285-3208198ce6fd}
1413833985687 addons.xpi INFO Mapping langpack-en-ZA#firefox.mozilla.org to /usr/lib/firefox/browser/extensions/langpack-en-ZA#firefox.mozilla.org.xpi
1413833985687 addons.xpi DEBUG Ignoring file entry whose name is not a valid add-on ID: /tmp/anonymous6261528948184700600webdriver-profile/extensions/webdriver-staging
1413833985687 addons.xpi INFO Mapping fxdriver#googlecode.com to /tmp/anonymous6261528948184700600webdriver-profile/extensions/fxdriver#googlecode.com
1413833985688 addons.xpi DEBUG checkForChanges
1413833985692 addons.xpi DEBUG No changes found
1413833985695 addons.xpi DEBUG Registering manifest for /usr/lib/firefox/browser/extensions/langpack-en-GB#firefox.mozilla.org.xpi
1413833985696 addons.xpi DEBUG Registering manifest for /usr/lib/firefox/browser/extensions/langpack-en-ZA#firefox.mozilla.org.xpi
*** Blocklist::_preloadBlocklistFile: blocklist is disabled
15:41:08.028 INFO - Executing: [new session: Capabilities [{nativeEvents=false, name=AmericaTest-firefox, browserName=firefox, javascriptEnabled=true, version=}]])
15:41:08.029 INFO - Creating a new session for Capabilities [{nativeEvents=false, name=AmericaTest-firefox, browserName=firefox, javascriptEnabled=true, version=}]
When I connect to 127.0.0.1:7055 manually in google chrome or firefox, it gets the error page:
HTTP ERROR: 403
Forbidden for Proxy
RequestURI=/
Powered by Jetty://
But I can connect to http://127.0.0.1:4444/wd/hub/ which shows this selenium widget
And hitting "create a session" creates a blank firefox page, just like the tests are doing.
So yeah, how do I force the firefox tests to use the appropriate port, and make sure that that proxying port is all set for selenium?
It seems that each release of Selenium only supports the latest stable version of Firefox. As stated below:
Each release of Selenium only supports Firefox N, N-1, ESR, & ESR-1 where N is the Firefox stable > channel at the time of release and ESR is the current ESR release. This means for Selenium 2.42 we > support Firefox 31 (N/ESR), 30 (N-1), 24 (ESR - 1). We should have the 2.43 release out within the > week, which will support 32 (N), 31 (N-1/ESR), 24 (ESR -1)
Have you tired to update Selenium or tried to use an older version of Firefox?