New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to run protractor with firefox both directly connect or selenium server on latest #4182
Comments
I think that this was solved here: SeleniumHQ/selenium@5234b32 Updating to selenium-webdriver 3.3.1 should fix the issue |
@benitogf Do I need to go back selenium 3.3.0? I have 3.3.1 |
not sure, I made some changes to this file https://github.com/SeleniumHQ/selenium/blob/master/javascript/node/selenium-webdriver/lib/http.js and got it working for v3.0.1 which is the current one here https://github.com/angular/protractor/blob/master/package.json#L26 surely it will be fixed soon |
@benitogf I move it back 3.0.1 selenium but I still got the same error for firefox. |
I get the same problem with directConnect and Firefox 52.0.1 (64-bit) on OS X El Capitan. Standalone works fine though. |
@pawelus Do you set anything else in capabilities other than browserName? |
@jlin412 My capabilities are as follows:
I also tried with |
Did some checking in the geckodriver repo issues and they have this one: |
Able to move pass to my angular site with standalone server. I see a new error now. Similar to this stackoverflow page:
Anyone see this error before and know how to resolve it? |
@jlin412 That's a known issue (angular/zone.js#616) in zone.js. Unfortunately, it breaks webdriver testing with Firefox. There is a fix, it'll go out in the next release. |
Testing firefox with Angular 2+ is fixed as of Zone.js 0.8.7. The issue with directConnect still persists, you need to use selenium standalone instead of directConnect. See #4253 |
Firefox Version : 45.x, code in conf.js: multiCapabilities:[
{
'browserName': 'internet explorer',
},
{
'browserName' : 'chrome',
},
{
'browserName' : 'firefox',
},
] Able to run in IE and Chrome but "not able to run my protractor test on firefox" |
@makwanaparth94 , maybe first upgrade Firefox to the latest version and then try again |
I am currently facing this issue, where the protractor tests are failing due to System - Mac-OS-Sierra 10.12.4 Here is my
|
Has there been any resolution to this? I recently started trying to test firefox both on an angularJs project as well as a new project generated with angular-cli@1.1.1 and it seems like chrome runs fine but firefox gives the following error: WebDriverError: Unable to parse new session response: {"value": {"sessionId":"b2854fcc-1505-8548-999d-d6f9f8767587","capabilities":{"acceptInsecureCerts":true,"browserName":"firefox","browserVersion":"54.0","moz:accessibilityChecks":false,"moz:processID":93595,"moz:profile":"/var/folders/b5/5kptwjxj0xsgdzw2rfs4dwyncmp_vb/T/rust_mozprofile.8H4QjAeDEvoU","pageLoadStrategy":"normal","platformName":"darwin","platformVersion":"15.6.0","rotatable":false,"specificationLevel":0,"timeouts":{"implicit":0,"pageLoad":300000,"script":30000}}}} My firefox capabilities are simply: Firefox will open a new browser instance but then errors out. System - Mac-OS El Capitan 10.11.6 Both projects give the exact same error. |
I'm seeing the same problem as @nortain with Unable to parse new session response: {
"value":{
"sessionId":"8d850de2-84fd-b542-abe8-e4719ed53646",
"capabilities":{
"acceptInsecureCerts":false,
"browserName":"firefox",
"browserVersion":"55.0.2",
"moz:accessibilityChecks":false,
"moz:processID":13869,
"moz:profile":"/var/folders/8s/_zbwn6_91x97r3vk2lcqq2h00000gn/T/rust_mozprofile.x9a4Bwzs5pT3",
"pageLoadStrategy":"normal",
"platformName":"darwin",
"platformVersion":"16.7.0",
"rotatable":false,
"specificationLevel":0,
"timeouts":{
"implicit":0,
"pageLoad":300000,
"script":30000
}
}
}
} |
I've got it working with
but only when I use a standalone webdriver-manager. With npm run test.example
> protractor@5.1.2 test.example /Users/wswebcreation/contributions/protractor
> node ./bin/protractor example/conf.js
[08:28:49] I/launcher - Running 1 instances of WebDriver
[08:28:49] I/local - Starting selenium standalone server...
[08:28:50] I/local - Selenium standalone server started at http://192.168.1.17:54140/wd/hub
[08:28:50] E/launcher - Unable to create new service: GeckoDriverService
Build info: version: '3.5.2', revision: '10229a9020', time: '2017-08-21T17:54:21.164Z'
System info: host: 'MacBook-Pro-2.local', ip: 'fe80:0:0:0:d7:c484:75bf:69ef%en0', os.name: 'Mac OS X', os.arch: 'x86_64', os.version: '10.12.6', java.version: '1.8.0_25'
Driver info: driver.version: unknown
[08:28:50] E/launcher - SessionNotCreatedError: Unable to create new service: GeckoDriverService
Build info: version: '3.5.2', revision: '10229a9020', time: '2017-08-21T17:54:21.164Z'
System info: host: 'MacBook-Pro-2.local', ip: 'fe80:0:0:0:d7:c484:75bf:69ef%en0', os.name: 'Mac OS X', os.arch: 'x86_64', os.version: '10.12.6', java.version: '1.8.0_25' Can you check again? |
is it working? |
I was able to run Firefox 62.0 (32-bit) in Lubuntu with your capabilities. (Needed to switch to ff because protractor didn't work with Chromium). Thanks by the way! |
I have tried running firefox on both directConnect or selenium Server.
Both failed with different error:
With directConnect, error response:
With selenium server 3.3.1, error response:
Bug report
6.9.4
5.1.1
hybrid of 1.5 and 2
firefox
Mac
The text was updated successfully, but these errors were encountered: