question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

e2e fails when using firefox

See original GitHub issue

Bug Report or Feature Request (mark with an x)

  • bug report -> please search issues before submitting
  • feature request

Versions.

@angular/cli: 1.0.0 node: 6.9.4 os: win32 x64

Windows 7

Repro steps.

  • Run ng new angular-cli-firefox-e2e-test
  • Update protractor.conf.js: set browsername to firefox
  • Run ng e2e

The log given by the failure.

** NG Live Development Server is running on http://localhost:49159 **
Hash: 0af19760eb30dd0be722
Time: 22495ms
chunk    {0} polyfills.bundle.js, polyfills.bundle.js.map (polyfills) 158 kB {4} [initial] [rendered]
chunk    {1} main.bundle.js, main.bundle.js.map (main) 3.69 kB {3} [initial] [rendered]
chunk    {2} styles.bundle.js, styles.bundle.js.map (styles) 9.77 kB {4} [initial] [rendered]
chunk    {3} vendor.bundle.js, vendor.bundle.js.map (vendor) 2.37 MB [initial] [rendered]
chunk    {4} inline.bundle.js, inline.bundle.js.map (inline) 0 bytes [entry] [rendered]
webpack: Compiled successfully.
[11:02:14] I/update - chromedriver: file exists C:\Sandboxes\Research\angular-cli-require-test\node_modules\webdriver-manager\selenium\chromedriver_2.29.zip
[11:02:14] I/update - chromedriver: unzipping chromedriver_2.29.zip
[11:02:14] I/update - chromedriver: chromedriver_2.29.exe up to date
[11:02:15] I/launcher - Running 1 instances of WebDriver
[11:02:15] I/direct - Using FirefoxDriver directly...
[11:02:15] E/direct - Error code: 135
[11:02:15] E/direct - Error message: Could not find update-config.json. Run 'webdriver-manager update' to download binaries.
[11:02:15] E/direct - Error: Could not find update-config.json. Run 'webdriver-manager update' to download binaries.
    at IError (C:\Sandboxes\Research\angular-cli-require-test\node_modules\protractor\lib\exitCodes.ts:7:1)
    at ProtractorError (C:\Sandboxes\Research\angular-cli-require-test\node_modules\protractor\lib\exitCodes.ts:20:5)
    at BrowserError (C:\Sandboxes\Research\angular-cli-require-test\node_modules\protractor\lib\exitCodes.ts:67:5)
    at Direct.getNewDriver (C:\Sandboxes\Research\angular-cli-require-test\node_modules\protractor\lib\driverProviders\direct.ts:99:17)
    at Runner.createBrowser (C:\Sandboxes\Research\angular-cli-require-test\node_modules\protractor\lib\runner.ts:225:39)
    at q.then.then (C:\Sandboxes\Research\angular-cli-require-test\node_modules\protractor\lib\runner.ts:391:27)
    at _fulfilled (C:\Sandboxes\Research\angular-cli-require-test\node_modules\q\q.js:834:54)
    at self.promiseDispatch.done (C:\Sandboxes\Research\angular-cli-require-test\node_modules\q\q.js:863:30)
    at Promise.promise.promiseDispatch (C:\Sandboxes\Research\angular-cli-require-test\node_modules\q\q.js:796:13)
    at C:\Sandboxes\Research\angular-cli-require-test\node_modules\q\q.js:556:49
    at runSingle (C:\Sandboxes\Research\angular-cli-require-test\node_modules\q\q.js:137:13)
    at flush (C:\Sandboxes\Research\angular-cli-require-test\node_modules\q\q.js:125:13)
    at _combinedTickCallback (internal/process/next_tick.js:67:7)
    at process._tickCallback (internal/process/next_tick.js:98:9)
[11:02:15] E/launcher - Process exited with error code 135

Desired functionality.

The e2e test should be able to run on firefox

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Reactions:5
  • Comments:10 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
pchoruscommented, Apr 27, 2017

@britvik I have the same problem using Protractor 5.1.0 and Firefox Version 53.0 (64-bit) on macOS Sierra 10.12…4

1reaction
filipesilvacommented, Apr 10, 2017

I think this happens because we only update the chrome webdriver by default. It should work if you run webdriver-manager update as the error message suggests.

The easiest way of doing it is by setting a npm script and running it (npm run webdriver):

  "scripts": {
    // ...
    "webdriver": "webdriver-manager update"
  },

Maybe we could detect this automatically but can’t really think of an optimal way of doing that.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Protractor tests can not intiated for firefox browser
I am currently trying to launch protractor e2e tests on Firefox web browser , however i got this error, can any one have...
Read more >
Django Tutorial Part 10: Testing a Django web application
Here we see that we had one test failure, and we can see exactly what function failed and why (this failure is expected,...
Read more >
Troubleshooting | Cypress Documentation
If the smoke test fails to execute, check if a shared library is missing (a common problem on Linux machines without all of...
Read more >
CCS/MSP432P401R: GUI Composer "New Project" Fails in Firefox ...
CCS/MSP432P401R: GUI Composer "New Project" Fails in Firefox 60.0.9esr on Linux (little circle spins forever) ... (the Help menu does take me to...
Read more >
NimRecorder extension for Google Chrome and Firefox
... extension on Chrome and Firefox and includes troubleshooting the error-> ... This technical document discusses the following e2e topics:.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found