https://github.com/ankurgel/selenium-hub-utilities
Utilities to measure performance for selenium tests
https://github.com/ankurgel/selenium-hub-utilities
browserstack browserstack-automate selenium selenium-hub-utilities selenium-tests
Last synced: 3 months ago
JSON representation
Utilities to measure performance for selenium tests
- Host: GitHub
- URL: https://github.com/ankurgel/selenium-hub-utilities
- Owner: AnkurGel
- Created: 2016-09-22T13:49:53.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2016-10-26T20:57:08.000Z (over 8 years ago)
- Last Synced: 2025-02-28T21:06:46.272Z (4 months ago)
- Topics: browserstack, browserstack-automate, selenium, selenium-hub-utilities, selenium-tests
- Language: JavaScript
- Size: 14.6 KB
- Stars: 5
- Watchers: 3
- Forks: 3
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Selenium Hub Utilities
> Set of utilities to measure performance of selenium tests.### Select best hub for [BrowserStack Automate](https://browserstack.com/automate)
Install the [latest release](https://github.com/AnkurGel/selenium-hub-utilities/releases).
#### For Mac
```
BROWSERSTACK_USERNAME=your_user_name BROWSERSTACK_ACCESS_KEY=your_access_key ./selenium-hub-utilities-mac
```
#### For Linux
```
BROWSERSTACK_USERNAME=your_user_name BROWSERSTACK_ACCESS_KEY=your_access_key ./selenium-hub-utilities-linux-x86
```
#### For Windows
```
set BROWSERSTACK_USERNAME=your_user_name && set BROWSERSTACK_ACCESS_KEY=your_access_key && .\selenium-hub-utilities-win32.exe
```
#### From git project
```
BROWSERSTACK_USERNAME=your_user_name BROWSERSTACK_ACCESS_KEY=your_access_key node index.js
```
### Results> Running test with http://hub-us.browserstack.com. Please wait...
> Time taken by http://hub-us.browserstack.com - 5948 ms
> Running test with https://hub-us.browserstack.com. Please wait...
> Time taken by https://hub-us.browserstack.com - 14325 ms
> Running test with http://hub-us.browserstack.com:4444. Please wait...
> Time taken by http://hub-us.browserstack.com:4444 - 13509 ms
> Running test with http://hub-cloud-us.browserstack.com. Please wait...
> Time taken by http://hub-cloud-us.browserstack.com - 17680 ms
> Running test with https://hub-cloud-us.browserstack.com. Please wait...
> Time taken by https://hub-cloud-us.browserstack.com - 40771 ms> --------------------------------------------------------------
> ----------------------------REPORT----------------------------
> -- http://hub-us.browserstack.com 5948 ms --
> -- http://hub-us.browserstack.com:4444 13509 ms --
> -- https://hub-us.browserstack.com 14325 ms --
> -- http://hub-cloud-us.browserstack.com 17680 ms --
> -- https://hub-cloud-us.browserstack.com 40771 ms --> --------------------------------------------------------------
> > You can select the best hub endpoint according to report.#### Options
* Add `REGION=region_name` to select a particular region. The available regions are:
* us_east
* us_west
* eu_west