Research
Security News
Quasar RAT Disguised as an npm Package for Detecting Vulnerabilities in Ethereum Smart Contracts
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
browserstack-select
Advanced tools
Filters BrowserStack config flat hash and outputs a JSON array fit to be used with runner config.
Filters BrowserStack Automate flat map of browser configurations (as from their REST API) and outputs a JSON array fit to be used with browserstack.json
config for browserstack-runner.
npm install -g browserstack-select
browserstack-select <os> <os_version> <browser> <browser_version> <device>
Put any
where you want all possibilies.
Trim spaces for all values that have spaces!
For example OS X
-> OSX
, Mountain Lion
-> MountainLion
, Motorolla Razor
-> MotorollaRazor
etc ...
Expects a file browserstack.options.json
containing source data in working directory.
Adding up configurations
You can add up several configuration sets. One set consisting of: <os> <os_version> <browser> <browser_version> <device>
, further abreviated as <set>
:
browserstack-select <set> + <set> + ...
will add up results of each set selected.
Source data can be retrieved from BrowserStack API with a command like:
curl -u "USERNAME:PASSWORD" https://www.browserstack.com/automate/browsers.json > browserstack.options.json
browsers
fieldWe want a config for Chrome 47.0 on all Windows versions.
$ browserstack-select Windows any chrome 47.0 any
[ { os_version: 'XP',
browser_version: '47.0',
device: null,
os: 'Windows',
browser: 'chrome' },
{ os_version: '8',
browser_version: '47.0',
device: null,
os: 'Windows',
browser: 'chrome' },
{ os_version: '7',
browser_version: '47.0',
device: null,
os: 'Windows',
browser: 'chrome' },
{ os_version: '10',
browser_version: '47.0',
device: null,
os: 'Windows',
browser: 'chrome' },
{ os_version: '8.1',
browser_version: '47.0',
device: null,
os: 'Windows',
browser: 'chrome' } ]
$ browserstack-select Windows 8 chrome 47.0 any + OSX MountainLion chrome 47.0 any
[ { browser_version: '47.0',
os: 'OS X',
browser: 'chrome',
device: null,
os_version: 'Mountain Lion' },
{ browser_version: '47.0',
os: 'Windows',
browser: 'chrome',
device: null,
os_version: '8' } ]
FAQs
Filters BrowserStack config flat hash and outputs a JSON array fit to be used with runner config.
The npm package browserstack-select receives a total of 0 weekly downloads. As such, browserstack-select popularity was classified as not popular.
We found that browserstack-select demonstrated a not healthy version release cadence and project activity because the last version was released 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.
Research
Security News
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
Security News
Research
A supply chain attack on Rspack's npm packages injected cryptomining malware, potentially impacting thousands of developers.
Research
Security News
Socket researchers discovered a malware campaign on npm delivering the Skuld infostealer via typosquatted packages, exposing sensitive data.