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.

Version 2.2 fails to find webdriver jar

See original GitHub issue

With previos version 2.1 it all worked but when i update to version 2.2 i get the following error:

/home/blacksonic/workspace/angular2-webpack-es6-starter/node_modules/gulp-protractor/node_modules/protractor/node_modules/q/q.js:155
                throw e;
                ^

Error: Could not find chromedriver at /home/blacksonic/workspace/angular2-webpack-es6-starter/node_modules/gulp-protractor/node_modules/protractor/selenium/chromedriver
    at LocalDriverProvider.addDefaultBinaryLocs_ (/home/blacksonic/workspace/angular2-webpack-es6-starter/node_modules/gulp-protractor/node_modules/protractor/lib/driverProviders/local.js:54:15)
    at LocalDriverProvider.setupEnv (/home/blacksonic/workspace/angular2-webpack-es6-starter/node_modules/gulp-protractor/node_modules/protractor/lib/driverProviders/local.js:71:8)
    at Runner.run (/home/blacksonic/workspace/angular2-webpack-es6-starter/node_modules/gulp-protractor/node_modules/protractor/lib/runner.js:278:31)
    at TaskRunner.run (/home/blacksonic/workspace/angular2-webpack-es6-starter/node_modules/gulp-protractor/node_modules/protractor/lib/taskRunner.js:123:19)
    at createNextTaskRunner (/home/blacksonic/workspace/angular2-webpack-es6-starter/node_modules/gulp-protractor/node_modules/protractor/lib/launcher.js:216:20)
    at /home/blacksonic/workspace/angular2-webpack-es6-starter/node_modules/gulp-protractor/node_modules/protractor/lib/launcher.js:239:7
    at _fulfilled (/home/blacksonic/workspace/angular2-webpack-es6-starter/node_modules/gulp-protractor/node_modules/protractor/node_modules/q/q.js:834:54)
    at self.promiseDispatch.done (/home/blacksonic/workspace/angular2-webpack-es6-starter/node_modules/gulp-protractor/node_modules/protractor/node_modules/q/q.js:863:30)
    at Promise.promise.promiseDispatch (/home/blacksonic/workspace/angular2-webpack-es6-starter/node_modules/gulp-protractor/node_modules/protractor/node_modules/q/q.js:796:13)
    at /home/blacksonic/workspace/angular2-webpack-es6-starter/node_modules/gulp-protractor/node_modules/protractor/node_modules/q/q.js:604:44

It seems that my config parameter may not be passed down although i pass in seleniumServerJar:

exports.config = {
  baseUrl: 'http://localhost:9000/',
  framework: 'jasmine',

  seleniumServerJar: findSeleniumJar(),

  useAllAngular2AppRoots: true
}

Issue Analytics

  • State:closed
  • Created 8 years ago
  • Comments:7 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
vuesomedevcommented, Mar 22, 2016

The difference is that with current version gulp-protractor’s protractor version and my installed one from package.json is the same. If i upgrade protractor it will complain about the version missmatch and the error comes it cant find chromedriver

0reactions
mattfritzcommented, Apr 6, 2016

Currently gulp-protractor installs Protractor as a dependency instead of a peerDependency (see https://github.com/mllrsohn/gulp-protractor/issues/101). Until that change is made, adding a different version of Protractor as an explicit dependency may have unexpected side effects when gulp-protractor searches for binaries.

I’ll update the version tonight to v3.2.2, but this problem is caused by installing multiple mismatched versions and is not supported. Let me know if you have any additional information and I’ll reopen the issue.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Why does every version of Selenium WebDriver give a "can ...
I'm trying to configure Selenium WebDriver to work with java bindings in Eclipse Oxygen. I've tried every single version from 2.39 to 3.8 ......
Read more >
Invalid or corrupt jarfile selenium-server-standalone-4.0.0 ...
When i start the webdriver-manager i take this error, i did not change ... jarfile selenium-server-standalone-4.0.0-alpha-1.zip.jar #5224.
Read more >
Downloads | Selenium
Downloads Below is where you can find the latest releases of all the Selenium components ... Download latest released version for Chrome or...
Read more >
How to fix common Selenium errors? - Ultimate QA
1. The latest Chrome version is 51.0 and the latest Firefox version is 46.0. Therefore, the Selenium WebDriver API does not get updated...
Read more >
WebDriverManager - Boni García
Selenium WebDriver carries out the automation using the native support of each ... WebDriverManager tries to find the browser version.
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