{"id":21944937,"url":"https://github.com/browserstack/protractor-browserstack","last_synced_at":"2025-04-22T21:11:49.773Z","repository":{"id":2243498,"uuid":"43819706","full_name":"browserstack/protractor-browserstack","owner":"browserstack","description":"Selenium examples for Protractor and BrowserStack Automate","archived":false,"fork":false,"pushed_at":"2024-11-20T15:59:57.000Z","size":251,"stargazers_count":43,"open_issues_count":13,"forks_count":45,"subscribers_count":14,"default_branch":"master","last_synced_at":"2025-04-19T07:24:31.415Z","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":"CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2015-10-07T14:04:29.000Z","updated_at":"2024-11-04T10:53:07.000Z","dependencies_parsed_at":"2024-11-29T04:17:30.017Z","dependency_job_id":"23512aab-70b7-4e4b-91e8-ffb539e0d5b8","html_url":"https://github.com/browserstack/protractor-browserstack","commit_stats":{"total_commits":48,"total_committers":14,"mean_commits":"3.4285714285714284","dds":0.7291666666666667,"last_synced_commit":"9a1b71da3dedcb94e24bc0eae0ab57f52819df45"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/browserstack%2Fprotractor-browserstack","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/browserstack%2Fprotractor-browserstack/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/browserstack%2Fprotractor-browserstack/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/browserstack%2Fprotractor-browserstack/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/browserstack","download_url":"https://codeload.github.com/browserstack/protractor-browserstack/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250324697,"owners_count":21411946,"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","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:26.769Z","updated_at":"2025-04-22T21:11:49.751Z","avatar_url":"https://github.com/browserstack.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# protractor-browserstack [deprecated]\n\n[Protractor](https://github.com/angular/protractor/) Integration with BrowserStack.\n\n![BrowserStack Logo](https://d98b8t1nnulk5.cloudfront.net/production/images/layout/logo-header.png?1469004780)\n\n\u003cimg src =\"http://nchaulet.github.io/slide-protractor-lyonjs/images/protractor-logo.png\" height = \"100\"\u003e\n\n---\n\n**Protractor is no longer supported by the Angular team. If you're looking for alternatives, here are popular frameworks with migration guides:**\n\n- **Selenium based**\n  - [Nightwatch](https://nightwatchjs.org/guide/migrating-to-nightwatch/from-protractor.html)\n  - [WebdriverIO](https://webdriver.io/docs/protractor-migration/)\n- **Other Frameworks**\n  - [Cypress](https://docs.cypress.io/guides/migrating-to-cypress/protractor)\n  - [Playwright](https://playwright.dev/docs/protractor)\n  - [TestCafe](https://testcafe.io/documentation/403554/recipes/migration/migrate-tests-from-protractor-to-testcafe)\n---\n\n\n## Setup\n\n* Clone the repo\n* Install dependencies `npm install`\n* Update `*.conf.js` files inside the `conf/` directory with your [BrowserStack Username and Access Key](https://www.browserstack.com/accounts/settings)\n\n## Running your tests\n* To run a single test, run `npm run single`\n* To run local tests, run `npm run local`\n* To run parallel tests, run `npm run parallel`\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## Notes\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* You can export the environment variables for the Username and Access Key of your BrowserStack account\n  \n  ```\n  export BROWSERSTACK_USERNAME=\u003cbrowserstack-username\u003e \u0026\u0026\n  export BROWSERSTACK_ACCESS_KEY=\u003cbrowserstack-access-key\u003e\n  ```\n* Set browserstackUser and browserstackKey in config to automatically mark your test results, \"completed\" and \"failed\", on browserstack dashboard. [Sample config](conf/single.conf.js)\n\n## Additional Resources\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%2Fprotractor-browserstack","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbrowserstack%2Fprotractor-browserstack","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbrowserstack%2Fprotractor-browserstack/lists"}