Gathering detailed insights and metrics for jasminewd2-retry
Gathering detailed insights and metrics for jasminewd2-retry
Gathering detailed insights and metrics for jasminewd2-retry
Gathering detailed insights and metrics for jasminewd2-retry
npm install jasminewd2-retry
Typescript
Module System
Node Version
NPM Version
70.8
Supply Chain
85
Quality
74.8
Maintenance
100
Vulnerability
100
License
JavaScript (62.5%)
TypeScript (33.44%)
Shell (4.06%)
Total Downloads
1,100
Last Day
2
Last Week
3
Last Month
9
Last Year
74
MIT License
47 Stars
78 Commits
36 Forks
12 Watchers
3 Branches
19 Contributors
Updated on Mar 20, 2025
Minified
Minified + Gzipped
Latest Version
0.0.6
Package Id
jasminewd2-retry@0.0.6
Size
5.62 kB
NPM Version
2.6.0
Node Version
0.10.28
Cumulative downloads
Total Downloads
Last Day
0%
2
Compared to previous day
Last Week
0%
3
Compared to previous week
Last Month
0%
9
Compared to previous month
Last Year
-11.9%
74
Compared to previous year
3
Adapter for Jasmine-to-WebDriverJS. Used by Protractor.
Important: There are two active branches of jasminewd.
jasminewd
.jasminewd2
.Automatically makes tests asynchronously wait until the WebDriverJS control flow is empty.
If a done
function is passed to the test, waits for both the control flow and until done is called.
Enhances expect
so that it automatically unwraps promises before performing the assertion.
npm install jasminewd2
Assumes selenium-webdriver as a peer dependency.
1// In your setup. 2var JasmineRunner = require('jasmine'); 3var jrunner = new JasmineRunner(); 4require('jasminewd2'); 5 6global.driver = new webdriver.Builder(). 7 usingServer('http://localhost:4444/wd/hub'). 8 withCapabilities({browserName: 'chrome'}). 9 build(); 10 11jrunner.projectBaseDir = ''; 12jrunner.execute(['**/*_spec.js']); 13 14// In your tests 15 16describe('tests with webdriver', function() { 17 it('will wait until webdriver is done', function() { 18 // This will be an asynchronous test. It will finish once webdriver has 19 // loaded the page, found the element, and gotten its text. 20 driver.get('http://www.example.com'); 21 22 var myElement = driver.findElement(webdriver.By.id('hello')); 23 24 // Here, expect understands that myElement.getText() is a promise, 25 // and resolves it before asserting. 26 expect(myElement.getText()).toEqual('hello world'); 27 }); 28})
No vulnerabilities found.
Reason
no binaries found in the repo
Reason
0 existing vulnerabilities detected
Reason
license file detected
Details
Reason
security policy file detected
Details
Reason
Found 9/30 approved changesets -- score normalized to 3
Reason
branch protection is not maximal on development and all release branches
Details
Reason
0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
project is not fuzzed
Details
Reason
SAST tool is not run on all commits -- score normalized to 0
Details
Score
Last Scanned on 2025-06-23
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