protractor: Unable to run protractor with firefox both directly connect or selenium server on latest
I have tried running firefox on both directConnect or selenium Server. Both failed with different error:
With directConnect, error response:
I/direct - Using FirefoxDriver directly...
Ignoring uncaught error WebDriverError: Unable to parse new session response: {"value": {"sessionId":"d81ef6c2-716d-cd40-92ed-06074e92e5ad","value":{"acceptInsecureCerts":false,"browserName":"firefox","browserVersion":"52.0","moz:accessibilityChecks":false,"moz:processID":78446,"moz:profile":"/var/folders/h_/9whk89t96qx1vg3kn2f56z9r197k29/T/rust_mozprofile.XRiJ573zqmWm","pageLoadStrategy":"normal","platformName":"darwin","platformVersion":"15.6.0","rotatable":false,"specificationLevel":0,"timeouts":{"implicit":0,"page load":300000,"script":30000}}}}
[13:04:41] E/launcher - BUG: launcher exited with 1 tasks remaining
With selenium server 3.3.1, error response:
Ignoring uncaught error WebDriverError: Cannot find firefox binary version 'ANY' in PATH
Build info: version: '3.3.1', revision: '5234b32', time: '2017-03-10 09:04:52 -0800'
System info: host: 'CDLVDIW700982', ip: '51.16.105.196', os.name: 'Windows 7', os.arch: 'x86', os.version: '6.1', java.version: '1.8.0_121'
Driver info: driver.version: FirefoxDriver
[13:18:17] E/launcher - BUG: launcher exited with 1 tasks remaining
Bug report
- Node Version:
6.9.4
- Protractor Version:
5.1.1
- Angular Version:
hybrid of 1.5 and 2
- Browser(s):
firefox
- Operating System and Version
Mac
- Your protractor configuration file
- A relevant example test
- Output from running the test
- Steps to reproduce the bug
- The URL you are running your tests against (if relevant)
About this issue
- Original URL
- State: closed
- Created 7 years ago
- Comments: 20 (4 by maintainers)
@matt328
I’ve got it working with
but only when I use a standalone webdriver-manager.
With
directConnect
I get this errorCan you check again?
Able to move pass to my angular site with standalone server. I see a new error now. Similar to this stackoverflow page: http://stackoverflow.com/questions/42760973/unable-to-use-firefox-v52-0-with-protractor
Anyone see this error before and know how to resolve it?
Did some checking in the geckodriver repo issues and they have this one: https://github.com/mozilla/geckodriver/issues/529 So our problems should be gone as soon as the new version of geckodriver will be released
@jlin412 That’s a known issue (https://github.com/angular/zone.js/issues/616) in zone.js. Unfortunately, it breaks webdriver testing with Firefox. There is a fix, it’ll go out in the next release.