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.

Protractor 3.0 webdrive-manager not found

See original GitHub issue

Gulp-protractor cannot find the webdrive-manager.cmd when using protractor 3.0.

11:11:10] Using gulpfile d:\jenkins-1.616\jobs\upgrade-protractor\workspace\gulpfile.js
[11:11:10] Starting 'e2e'...
[11:11:10] Starting 'webdriver_update'...
events.js:85
      throw er; // Unhandled 'error' event
            ^
Error: spawn d:\jenkins-1.616\jobs\upgrade-protractor\workspace\node_modules\protractor\bin\webdriver-manager.cmd ENOENT
    at exports._errnoException (util.js:746:11)
    at Process.ChildProcess._handle.onexit (child_process.js:1046:32)
    at child_process.js:1137:20
    at process._tickCallback (node.js:355:11)
    at Function.Module.runMain (module.js:503:11)
    at startup (node.js:129:16)
    at node.js:814:3

Issue Analytics

  • State:closed
  • Created 8 years ago
  • Comments:10

github_iconTop GitHub Comments

1reaction
mattfritzcommented, Dec 2, 2015

That is a different error… it is indicating that the selenium jar did not get downloaded. Did you run the webdriver_update task? You can add the selenium updater task to your gulpfile:

var webdriver_standalone = require("gulp-protractor").webdriver_standalone;
gulp.task('webdriver_standalone', webdriver_standalone);
0reactions
Shyam-Chencommented, Nov 22, 2016

I have the same problem.

gulp.task('webdriver', protractor.webdriver_update);
> Vanilla-Starter-Kit@1.0.0 webdriver /home/travis/build/Shyam-Chen/Vanilla-Starter-Kit
> gulp webdriver
[06:01:26] Using gulpfile ~/build/Shyam-Chen/Vanilla-Starter-Kit/gulpfile.js
[06:01:26] Starting 'webdriver'...
events.js:160
      throw er; // Unhandled 'error' event
      ^
Error: spawn /home/travis/build/Shyam-Chen/Vanilla-Starter-Kit/node_modules/.bin/webdriver-manager ENOENT
    at exports._errnoException (util.js:1022:11)
    at Process.ChildProcess._handle.onexit (internal/child_process.js:193:32)
    at onErrorNT (internal/child_process.js:359:16)
    at _combinedTickCallback (internal/process/next_tick.js:74:11)
    at process._tickCallback (internal/process/next_tick.js:98:9)
Read more comments on GitHub >

github_iconTop Results From Across the Web

Unable to use Protractor webdriver-manager - Stack Overflow
When that command is run, I get an error that says: 'webdriver-manager' is not recognized as an internal or external command, operable ...
Read more >
protractor should be able to find webdriver-manager installed ...
About the issue you are facing , make sure that you are using webdriver-manager installed along with protractor and not a separate installation:....
Read more >
webdriver-manager - Yarn
A selenium server and browser driver manager for your end to end tests. This is the same tool as webdriver-manager from the Protractor...
Read more >
angular/protractor - Gitter
clean your npm cache and webdriver-manager and give it a try ... UnknownError: unknown error: [ng:test] no injector found for element argument to ......
Read more >
grunt-protractor-runner - npm package - Snyk
Run webdriver-manager update to install/update selenium driver for global install protractor. Q: Error: Could not find chromedriver at.... You need to install/ ...
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