
Research
2025 Report: Destructive Malware in Open Source Packages
Destructive malware is rising across open source registries, using delays and kill switches to wipe code, break builds, and disrupt CI/CD.
browserstack-automate
Advanced tools
Run Cucumber tests on BrowserStack Automate using our Ruby integration.
Running your Selenium tests on BrowserStack requires a username and an access key. To create an account go to BrowserStack Automate

You can use our integration to run your Cucumber tests on BrowserStack. It's a simple two-step process:
gem install browserstack-automate
support/env.rb fileYou just need to add this to your configuration file
require 'browserstack-automate'
BrowserStack.for "cucumber"
That's it! You can now execute your tests on BrowserStack by using the RUN_ON_BSTACK, BROWSERSTACK_USERNAME and BROWSERSTACK_ACCESS_KEY environment variables.
RUN_ON_BSTACK=true BROWSERSTACK_USERNAME=<your_username> BROWSERSTACK_ACCESS_KEY=<your_access_key> bundle exec cucumber
In order to run tests inside your local development environments, use BSTACK_LOCAL=true.
RUN_ON_BSTACK=true BSTACK_LOCAL=true BROWSERSTACK_USERNAME=<username> BROWSERSTACK_ACCESS_KEY=<access_key> bundle exec cucumber
This creates an instance of BrowserStack Local Binary for every single build. To know more about how this works, read our documentation on Local Testing.
You can run your parallel tests on BrowserStack by adding RUN_ON_BSTACK=true to your parallel tests.
RUN_ON_BSTACK=true BROWSERSTACK_USERNAME=<username> BROWSERSTACK_ACCESS_KEY=<access_key> bundle exec cucumber
Configure these parameters in your Continuous Integration platform to run your tests directly on BrowserStack
//Required
RUN_ON_BSTACK - Boolean. To run your tests on BrowserStack
BROWSERSTACK_USERNAME - your BrowserStack username
BROWSERSTACK_ACCESS_KEY - your BrowserStack accesskey
//Optional
BSTACK_LOCAL - Boolean. Whether to start/stop BrowserStackLocal for your tests
FAQs
Unknown package
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.

Research
Destructive malware is rising across open source registries, using delays and kill switches to wipe code, break builds, and disrupt CI/CD.

Security News
Socket CTO Ahmad Nassri shares practical AI coding techniques, tools, and team workflows, plus what still feels noisy and why shipping remains human-led.

Research
/Security News
A five-month operation turned 27 npm packages into durable hosting for browser-run lures that mimic document-sharing portals and Microsoft sign-in, targeting 25 organizations across manufacturing, industrial automation, plastics, and healthcare for credential theft.