Gathering detailed insights and metrics for protractor-cucumber-boilerplate
Gathering detailed insights and metrics for protractor-cucumber-boilerplate
Gathering detailed insights and metrics for protractor-cucumber-boilerplate
Gathering detailed insights and metrics for protractor-cucumber-boilerplate
npm install protractor-cucumber-boilerplate
Typescript
Module System
Node Version
NPM Version
JavaScript (100%)
Total Downloads
0
Last Day
0
Last Week
0
Last Month
0
Last Year
0
MIT License
186 Commits
2 Forks
11 Branches
5 Contributors
Updated on May 08, 2023
Latest Version
0.12.2
Package Id
protractor-cucumber-boilerplate@0.12.2
Unpacked Size
268.62 kB
Size
64.44 kB
File Count
28
NPM Version
3.10.10
Node Version
6.11.4
Cumulative downloads
Total Downloads
Last Day
0%
NaN
Compared to previous day
Last Week
0%
NaN
Compared to previous week
Last Month
0%
NaN
Compared to previous month
Last Year
0%
NaN
Compared to previous year
gulp test --env dev --tags "@debug"
##Page Map
1const AbstractPageMap = require("protractor-boilerplate").AbstractPageMap; 2const LoginPage = require("./page/LoginPage"); 3 4class PageMap extends AbstractPageMap { 5 6 constructor() { 7 super(); 8 9 this.definePage("Login", "^.+))$", LoginPage); 10 11 } 12 13}
###Methods
param | mandatory | description |
---|---|---|
alias | M | alias of the page |
regexp | M | regexp of URL to determine page |
clazz | M | page class |
##Page
1const Page = require("protractor-boilerplate").AbstractPage; 2const CustomComponent = require("./CustomComponent"); 3 4class CustomPage extends Page { 5 6 constructor() { 7 super(); 8 9 this.defineComponent("Custom Component", new CustomComponent()); 10 this.defineElement("Custom Element", "h3"); 11 this.defineCollection("Custom Collection", "h3.button"); 12 } 13 14}
###Methods
param | mandatory | description |
---|---|---|
alias | M | alias of the component |
component | M | component object |
param | mandatory | description |
---|---|---|
alias | M | alias of the component |
selector | M | css selector of element |
param | mandatory | description |
---|---|---|
alias | M | alias of the component |
selector | M | css selector of element |
##Component
1const Component = require("protractor-boilerplate").Component; 2 3class CustomComponent extends Component { 4 5 constructor(alias = "Dashboard", selector = ".div", isCollection = false) { 6 super(alias, selector, isCollection); 7 8 this.defineComponent("Custom Component", new CustomComponent()); 9 this.defineElement("Custom Element", "h3"); 10 this.defineCollection("Custom Collection", "h3.button"); 11 } 12 13}
###Methods
param | mandatory | description |
---|---|---|
alias | M | alias of the component |
selector | M | css selector of element |
isCollection | M | isCollection flag |
param | mandatory | description |
---|---|---|
alias | M | alias of the component |
component | M | component object |
param | mandatory | description |
---|---|---|
alias | M | alias of the component |
selector | M | css selector of element |
param | mandatory | description |
---|---|---|
alias | M | alias of the component |
selector | M | css selector of element |
##Memory
1const Memory = require("protractor-boilerplate").Memory; 2 3defineSupportCode(({setDefaultTimeout, When}) => { 4 5 When(/^I remember "(.+)" value as "(.+)"$/, (alias, key) => { 6 const page = State.getPage(); 7 8 return page.getElement(alias).getText() 9 .then((text) => { 10 Memory.setValue(key, text); 11 }) 12 }); 13}
###Methods
param | mandatory | description |
---|---|---|
key | M | key of stored item |
value | M | value of stored item |
param | mandatory | description |
---|---|---|
value | M | a key or simple value |
No vulnerabilities found.
Reason
no binaries found in the repo
Reason
license file detected
Details
Reason
Found 6/14 approved changesets -- score normalized to 4
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
security policy file not detected
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
Reason
75 existing vulnerabilities detected
Details
Score
Last Scanned on 2025-07-07
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