
Security News
npm Adopts OIDC for Trusted Publishing in CI/CD Workflows
npm now supports Trusted Publishing with OIDC, enabling secure package publishing directly from CI/CD workflows without relying on long-lived tokens.
browserstack-node-sdk
Advanced tools
Node SDK for browserstack selenium-webdriver tests
npm i -D browserstack-node-sdk
#or
yarn add --dev browserstack-node-sdk
npx setup --username userName --key accessKey
# before
"scripts": {
# Jest tests
"jest-test": "jest ...args",
# Mocha tests
"mocha-test": "mocha ...args",
# Cucumber tests
"cucumber-test": "cucumber-js ...args",
},
# after
"scripts": {
# Jest tests
"jest-test": "jest ...args",
"browserstack-jest-test": "browserstack-node-sdk jest ...args",
# Mocha tests
"mocha-test": "mocha ...args",
"browserstack-mocha-test": "browserstack-node-sdk mocha ...args",
# Cucumber tests
"cucumber-test": "cucumber-js ...args",
"browserstack-cucumber-test": "browserstack-node-sdk cucumber-js ...args"
},
Run tests on browserstack by running
npm run browserstack-jest-test
# or
npm run browserstack-mocha-test
# or
npm run browserstack-cucumber-test
Sample test scripts are available in the jest-js-browserstack, mocha-browserstack & cucumber-js-browserstack repositories.
FAQs
Node SDK for browserstack selenium-webdriver tests
The npm package browserstack-node-sdk receives a total of 152,994 weekly downloads. As such, browserstack-node-sdk popularity was classified as popular.
We found that browserstack-node-sdk demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
npm now supports Trusted Publishing with OIDC, enabling secure package publishing directly from CI/CD workflows without relying on long-lived tokens.
Research
/Security News
A RubyGems malware campaign used 60 malicious packages posing as automation tools to steal credentials from social media and marketing tool users.
Security News
The CNA Scorecard ranks CVE issuers by data completeness, revealing major gaps in patch info and software identifiers across thousands of vulnerabilities.