https://github.com/hex0cter/browserstack-guard
A cli command checking the available executors on your browserstack subscription.
https://github.com/hex0cter/browserstack-guard
Last synced: 8 months ago
JSON representation
A cli command checking the available executors on your browserstack subscription.
- Host: GitHub
- URL: https://github.com/hex0cter/browserstack-guard
- Owner: hex0cter
- Created: 2019-05-02T07:55:29.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2022-12-03T07:59:05.000Z (over 3 years ago)
- Last Synced: 2025-08-09T02:46:33.712Z (10 months ago)
- Language: JavaScript
- Homepage: https://www.npmjs.com/package/browserstack-guard
- Size: 852 KB
- Stars: 1
- Watchers: 0
- Forks: 0
- Open Issues: 14
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Browserstack guard
[](https://badge.fury.io/js/browserstack-guard) [](https://travis-ci.org/hex0cter/browserstack-guard)
A cli command checking the available executors on your browserstack subscription.
## Background
Browserstack supports limited number of queued tasks. If you run a test when the queue is already full, the test will fail. This command helps you check if it is possible to run a new test. If you have reached the upper limit of allowed parallel tests, the command will wait until an executor becomes available.
## Install
Just install the package as a global package on your system
```
npm install -g browserstack-guard
```
## How to use
Before you run any test on browserstack, run the following command:
```
browserstack-guard --username --accesskey
```
or
```
BROWSERSTACK_USERNAME= BROWSERSTACK_ACCESS_KEY= browserstack-guard
```
This could be very handy to run before you start any automated test in the build pipeline.
## Contributing
Pull requests are welcome for fixing issues or adding more features. Things that could be useful are unit tests and more safety nets for when something goes wrong.