Comments (6)
@larskendall as per my experience, it is properly downloading gecko driver .
I think you need to configure firefox args properly. Have you tried directConnect: true
and standalone server both? It seems to be related to protractor.conf.js
. And even the driver update is dependent on protractor + webdriver-manager versions.
$ gulp wd:update
[12:07:05] Using gulpfile D:\projects\portal\gulpfile.js
[12:07:05] Starting 'wd:update'...
[12:07:42] I/update - selenium standalone: file exists D:\projects\portal\node_modules\protractor
\node_modules\webdriver-manager\selenium\selenium-server-standalone-3.3.1.jar
[12:07:42] I/update - selenium standalone: selenium-server-standalone-3.3.1.jar up to date
[12:07:42] I/update - chromedriver: file exists D:\projects\portal\node_modules\protractor\node_m
odules\webdriver-manager\selenium\chromedriver_2.28.zip
[12:07:42] I/update - chromedriver: unzipping chromedriver_2.28.zip
[12:07:43] I/update - chromedriver: chromedriver_2.28.exe up to date
[12:07:49] I/update - geckodriver: file exists D:\projects\portal\node_modules\protractor\node_mo
dules\webdriver-manager\selenium\geckodriver-v0.15.0.zip
[12:07:49] I/update - geckodriver: unzipping geckodriver-v0.15.0.zip
[12:07:49] I/update - geckodriver: geckodriver-v0.15.0.exe up to date
[12:07:49] Finished 'wd:update' after 44 s
My code is as below:
'use strict';
var gulp = require('gulp'),
gp = require('gulp-protractor');
// Setting up the test task
gulp.task('wd:update', gp.webdriver_update_specific({
webdriverManagerArgs: ['--versions.chrome', '2.28']
}));
gulp.task('e2e', ['e2e-analysis', 'wd:update'], function(callback) {
gulp
.src(['e2e/**/*.js'])
.pipe(gp.protractor({
'configFile': 'protractor.conf.js'
}))
.on('error', function(e) {
// console.log(e);
throw e;
})
.on('end', callback);
});
gulp.task('e2e-analysis', ['e2e-jshint', 'e2e-jscs']);
from gulp-protractor.
It seems many are facing issue with Firefox and gecko driver see here
Closing this issue as it is not related to gulp-protractor
.
from gulp-protractor.
@larskendall some more help with webdriver-manager update
$ ./node_modules/.bin/webdriver-manager update --help
Usage: update [options]
update help
Description: install or update selected binaries
Options:
--out_dir Location to output/expect
[default: D:\projects\portal\node_modules\protractor\node_modules\webdriver-manager\seleni
um]
--verbose Extra console output
--ignore_ssl Ignore SSL certificates
--proxy Proxy to use for the install or update command
--alternate_cdn Alternate CDN to binaries
--standalone Install or update selenium standalone
[default: true]
--chrome Install or update chromedriver
[default: true]
--gecko Install or update geckodriver
[default: true]
--android Update/use the android sdk
--android-api-levels Which versions of the android API you want to emulate
[default: 24]
--android-archs Which architectures you want to use in android emulation. By default it will try to match os.ar
ch() [default: x86_64]
--android-platorms Which platforms you want to use in android emulation
[default: google_apis]
--android-accept-licenses Automatically accept android licenses
--ie Install or update 32-bit ie driver
--ie32 Install or update 32-bit ie driver
--ie64 Update: install or update 64-bit IE driver. Start: use installed x64 IE driver.
--versions.standalone Optional seleniuim standalone server version (use 'latest' to get the most recent version)
[default: latest]
--versions.chrome Optional chrome driver version (use 'latest' to get the most recent version)
[default: latest]
--versions.appium Optional appium version
[default: 1.6.0]
--versions.android Optional android sdk version
[default: 24.4.1]
--versions.gecko Optional gecko driver version
[default: latest]
--versions.ie Optional internet explorer driver version (use 'latest' to get the most recent version)
[default: latest]
from gulp-protractor.
I'm having the same issue with running Firefox. @larskendall were you able to find a solution? I would love to get some help with this.
from gulp-protractor.
@peggybear I'm afraid not. I had to move on to some other tasks and haven't gotten back to this one yet, so I'm not sure if the issue I was having has been resolved or not. Sorry I can't be of more help.
from gulp-protractor.
@peggybear Have you tried the solution I have provided?
from gulp-protractor.
Related Issues (20)
- gulp-protractor autostarstop does not update chromedriver HOT 4
- Misleading/incorrect seleniumServerJar path example in README.md HOT 1
- Tests fail with error EADDRINUSE 127.0.0.1:SOME_PORT HOT 2
- Update to protractor 5.x HOT 8
- MAINTAINER NEEDED HOT 7
- support --ignore_ssl in webdriver_update HOT 4
- Server terminated early with status 1 HOT 10
- Update README HOT 1
- Not able to run webdriver_update HOT 4
- webdriver_update_specific ignores proxy settings HOT 1
- Test cases are not running in all browsers HOT 7
- How do I run webdriver standalone task ahead of protractor task via gulp HOT 2
- Replace deprecated dependency gulp-util HOT 3
- webdriver_standalone starts only chrome server HOT 1
- Unable to create session HOT 2
- Fix event-stream dep HOT 3
- webdriver_update_specific not update HOT 1
- Upgrade to protractor 6.x HOT 7
- Upgrade to protractor 7 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gulp-protractor.