Gathering detailed insights and metrics for grunt-protractor-webdriver
Gathering detailed insights and metrics for grunt-protractor-webdriver
Gathering detailed insights and metrics for grunt-protractor-webdriver
Gathering detailed insights and metrics for grunt-protractor-webdriver
webdriver-manager
A selenium server and browser driver manager for your end to end tests.
grunt-protractor-runner
A Grunt plugin for running protractor runner.
firefox-profile
firefox profile for selenium WebDriverJs, admc/wd or any other node selenium driver that supports capabilities
ysb-grunt-protractor-webdriver
grunt plugin for starting Protractor's bundled Selenium Webdriver
npm install grunt-protractor-webdriver
Module System
Unable to determine the module system for this package.
Min. Node Version
Typescript Support
Node Version
NPM Version
30 Stars
28 Commits
9 Forks
6 Watching
1 Branches
3 Contributors
Updated on 11 Jan 2018
JavaScript (96.29%)
HTML (3.71%)
Cumulative downloads
Total Downloads
Last day
-22.6%
436
Compared to previous day
Last week
-21.4%
2,684
Compared to previous week
Last month
-10%
14,018
Compared to previous month
Last year
-14.6%
305,164
Compared to previous year
1
2
grunt plugin for starting Protractor's bundled Selenium WebDriver
This Grunt
task starts a Selenium WebDriver, blocks until it's ready to accept connections, and then leaves it running in the background until the Grunt
process finished. During startup it checks for already running WebDriver instances and at the end of the Grunt
process also shuts down the Selenium server to not leave you with any zombies.
grunt-protractor-webdriver
is capable to handle parallelized tasks in case you use helpers like grunt-concurrent
. That way you are able to work around the missing feature in Protractor that it's currently not able to run the tests against multiple browsers in parallel. See the Gruntfile.js
for an example on how to do that.
This plugin requires Grunt ~0.4.0
If you haven't used Grunt before, be sure to check out the Getting Started guide, as it explains how to create a Gruntfile as well as install and use Grunt plugins. Once you're familiar with that process, you may install this plugin with this command:
1npm install grunt-protractor-webdriver --save-dev
Once the plugin has been installed, it may be enabled inside your Gruntfile with this line of JavaScript:
1grunt.loadNpmTasks('grunt-protractor-webdriver');
In your project's Gruntfile, add a section named protractor_webdriver
to the data object passed into grunt.initConfig()
.
1grunt.initConfig({
2 protractor_webdriver: {
3 options: {
4 // Task-specific options go here.
5 },
6 your_target: {
7 // Target-specific file lists and/or options go here.
8 },
9 },
10});
Type: String
Default value: webdriver-manager start
Customize the way how the Selenium WebDriver is started. By default it assumes the presence of the webdriver-manager
script (which comes bundled with Protractor
) on the PATH
.
Type: String
Default value: ``
Customize the path to the actual command that starts the the Selenium WebDriver. By default it assumes the presence of your script on the PATH
.
Type: Boolean
Default value: false
Whether or not to keep the Selenium server process alive when no more browser session are connected.
1grunt.initConfig({
2 protractor_webdriver: {
3 your_target: {
4 options: {
5 path: '/path/to/',
6 command: 'custom-webdriver-manager start',
7 },
8 },
9 },
10});
By default the output of the Selenium WebDriver is not being piped to the console by the protractor_webdriver
task. In case you need detailed information about its state, just run your Grunt
tasks with the --verbose
flag.
In lieu of a formal styleguide, take care to maintain the existing coding style. Add unit tests for any new or changed functionality. Lint and test your code using Grunt.
path
configuration. Fix for issue #3. Always use node
now to execute the webdriver_manager
commands.keepAlive
also in case of exception being thrown by the Selenium process. Alternative implementation for original PR #5.keepAlive
.Protractor
v.20.1..on('error')
, .on('uncaughtException')
and .on('SIGINT')
.Selenium is already running
message on failure. Ensure waiting for all browser sessions to be deleted before shutdown.Copyright (c) 2014 Steffen Eckardt. Licensed under the MIT license.
No vulnerabilities found.
Reason
no binaries found in the repo
Reason
0 existing vulnerabilities detected
Reason
license file detected
Details
Reason
0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
Reason
Found 2/28 approved changesets -- score normalized to 0
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
security policy file not detected
Details
Reason
project is not fuzzed
Details
Reason
branch protection not enabled on development/release branches
Details
Reason
SAST tool is not run on all commits -- score normalized to 0
Details
Score
Last Scanned on 2024-11-18
The Open Source Security Foundation is a cross-industry collaboration to improve the security of open source software (OSS). The Scorecard provides security health metrics for open source projects.
Learn More