{"id":21944765,"url":"https://github.com/browserstack/cucumber-js-browserstack","last_synced_at":"2025-08-24T16:38:33.803Z","repository":{"id":5390692,"uuid":"52944461","full_name":"browserstack/cucumber-js-browserstack","owner":"browserstack","description":"Selenium examples for Cucumber-JS and BrowserStack Automate","archived":false,"fork":false,"pushed_at":"2025-07-25T11:18:08.000Z","size":308,"stargazers_count":29,"open_issues_count":13,"forks_count":31,"subscribers_count":18,"default_branch":"master","last_synced_at":"2025-08-13T08:42:29.661Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://www.browserstack.com","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/browserstack.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":".github/CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2016-03-02T07:53:45.000Z","updated_at":"2025-07-25T10:34:42.000Z","dependencies_parsed_at":"2025-07-25T12:25:44.638Z","dependency_job_id":"3d1fe380-4b96-431f-9d06-9e5d6772d526","html_url":"https://github.com/browserstack/cucumber-js-browserstack","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/browserstack/cucumber-js-browserstack","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/browserstack%2Fcucumber-js-browserstack","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/browserstack%2Fcucumber-js-browserstack/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/browserstack%2Fcucumber-js-browserstack/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/browserstack%2Fcucumber-js-browserstack/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/browserstack","download_url":"https://codeload.github.com/browserstack/cucumber-js-browserstack/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/browserstack%2Fcucumber-js-browserstack/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":271378680,"owners_count":24749192,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-08-20T02:00:09.606Z","response_time":69,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-29T04:17:04.259Z","updated_at":"2025-08-20T20:31:46.884Z","avatar_url":"https://github.com/browserstack.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# cucumber-js-browserstack\n\n[Cucumber-JS](https://github.com/cucumber/cucumber-js) Integration with BrowserStack for E2E functional testing of UI using Selenium and [browserstack-node-sdk](https://www.npmjs.com/package/browserstack-node-sdk).\n\n![BrowserStack Logo](https://d98b8t1nnulk5.cloudfront.net/production/images/layout/logo-header.png?1469004780)\n\n\u003cimg src = \"https://cucumber.io/images/cucumber-logo.svg\" height = \"100\"\u003e\n\n\n## Run sample build\n\n---\n- Clone the repo\n- Install dependencies `npm install`\n- Set your [BrowserStack Username and Access Key](https://www.browserstack.com/accounts/settings) in [browserstack.yml](browserstack.yml) `npx setup --username userName --key accessKey`\n- To run sample test, run `npm run sample-test` or `yarn run sample-test`\n- To run tests on private websites,\n   - set browserstackLocal: true at [browserstack.yml](browserstack.yml)\n   - run `npm run sample-local-test` or `yarn run sample-local-test`\n\n Understand how many parallel sessions you need by using our [Parallel Test Calculator](https://www.browserstack.com/automate/parallel-calculator?ref=github)\n\n## Integrate your test suite\n\n---\n1. Install browserstack-node-sdk as a dev-dependency\n```\nnpm i -D browserstack-node-sdk\nor\nyarn add --dev browserstack-node-sdk\n```\n2. Setup\n```\nnpx setup --username userName --key accessKey\n```\n  * Adds a browserstack.yml file at root of your mocha project with your [BrowserStack Username and Access Key](https://www.browserstack.com/accounts/settings).\n  * Adds a new command for running tests on browserstack in scripts tag of package.json,\n  ```\n  \"scripts\": {\n    \"test\": \"cucumber-js [args]\",\n    \"browserstack-test\": \"browserstack-node-sdk cucumber-js [args]\"\n  },\n  ```\n\n\n## Notes\n\n---\n- You can view your test results on the [BrowserStack Automate dashboard](https://www.browserstack.com/automate)\n- To test on a different set of browsers, check out our [platform configurator](https://www.browserstack.com/automate/node#setting-os-and-browser)\n\n## Additional Resources\n\n---\n- [Documentation for writing Automate test scripts in Node](https://www.browserstack.com/automate/node)\n- [Customizing your tests on BrowserStack](https://www.browserstack.com/automate/capabilities)\n- [Browsers \u0026 mobile devices for selenium testing on BrowserStack](https://www.browserstack.com/list-of-browsers-and-platforms?product=automate)\n- [Using REST API to access information about your tests via the command-line interface](https://www.browserstack.com/automate/rest-api)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbrowserstack%2Fcucumber-js-browserstack","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbrowserstack%2Fcucumber-js-browserstack","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbrowserstack%2Fcucumber-js-browserstack/lists"}