Version 2.2 fails to find webdriver jar
See original GitHub issueWith 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:
- Created 8 years ago
- Comments:7 (1 by maintainers)
Top 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 >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
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
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.