
Security News
Browserslist-rs Gets Major Refactor, Cutting Binary Size by Over 1MB
Browserslist-rs now uses static data to reduce binary size by over 1MB, improving memory use and performance for Rust-based frontend tools.
browserstack-automate
Advanced tools
Run selenium tests on BrowserStack using our node.js integration.
Patches for Selenium scripts and test suites to run on BrowserStack when RUN_ON_BSTACK=true is set in environment. Currently supports Nightwatch.js.
npm install browserstack-automate
npm link && cd examples/simple_sample/ && npm install && npm link browserstack-automate
RUN_ON_BSTACK=true node sample.js
Add the following line in your configuration file:
require('browserstack-automate').Nightwatch();
To run locally, run npm link && cd examples/nightwatch/ && npm install && npm link browserstack-automate
To run on BrowserStack, run RUN_ON_BSTACK=true ./node_modules/.bin/nightwatch -c conf.js
The following environment variables are supported,
RUN_ON_BSTACK - Boolean. To run your tests on BrowserStack
BSTACK_LOCAL - Boolean. Whether to start/stop BrowserStackLocal for your tests
BROWSERSTACK_USERNAME - your BrowserStack username
BROWSERSTACK_ACCESS_KEY - your BrowserStack accesskey
Clone the repo
Install dependencies npm install
Export the environment variables for the Username and Access Key of your BrowserStack account
export BROWSERSTACK_USERNAME=<browserstack-username>
export BROWSERSTACK_ACCESS_KEY=<browserstack-access-key>
npm test
conf.js
file.require('browserstack-automate').Nightwatch();
FAQs
Run selenium tests on BrowserStack using our node.js integration.
The npm package browserstack-automate receives a total of 1 weekly downloads. As such, browserstack-automate popularity was classified as not popular.
We found that browserstack-automate 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.
Security News
Browserslist-rs now uses static data to reduce binary size by over 1MB, improving memory use and performance for Rust-based frontend tools.
Research
Security News
Eight new malicious Firefox extensions impersonate games, steal OAuth tokens, hijack sessions, and exploit browser permissions to spy on users.
Security News
The official Go SDK for the Model Context Protocol is in development, with a stable, production-ready release expected by August 2025.