{"_id":"@dgieselaar/testcafe-browser-provider-browserstack","_rev":"1-59b7f1a65c86132d5b2316889cb3d996","name":"@dgieselaar/testcafe-browser-provider-browserstack","dist-tags":{"latest":"1.4.1"},"versions":{"1.4.1":{"name":"@dgieselaar/testcafe-browser-provider-browserstack","version":"1.4.1","description":"browserstack TestCafe browser provider plugin.","repository":{"type":"git","url":"git+https://github.com/DevExpress/testcafe-browser-provider-browserstack.git"},"engines":{"node":">=4.0.0"},"homepage":"https://github.com/DevExpress/testcafe-browser-provider-browserstack","author":{"name":"Andrey Belym","email":"belym.a.2105@gmail.com","url":"https://github.com/DevExpress/testcafe-browser-provider-browserstack"},"main":"lib/index","files":["lib"],"scripts":{"test":"gulp test","publish-please":"publish-please"},"keywords":["testcafe","browser provider","plugin","browserstack"],"license":"MIT","dependencies":{"babel-runtime":"^6.11.6","browserstack-local":"^1.3.0","desired-capabilities":"^0.1.0","jimp":"^0.2.27","os-family":"^1.0.0","pinkie":"^2.0.4","request":"^2.79.0","request-promise":"^4.1.1"},"devDependencies":{"babel-eslint":"^6.1.2","babel-plugin-add-module-exports":"^0.2.1","babel-plugin-transform-runtime":"^6.12.0","babel-preset-es2015":"^6.13.2","babel-preset-es2015-loose":"^7.0.0","babel-preset-stage-3":"^6.11.0","chai":"^3.5.0","del":"^2.2.2","execa":"^0.9.0","gulp":"^3.9.0","gulp-babel":"^6.1.2","gulp-eslint":"^3.0.1","gulp-sequence":"^0.4.6","mocha":"^5.0.1","node-version":"^1.0.0","publish-please":"^2.1.4","testcafe":"latest","tmp":"0.0.31"},"gitHead":"a8f7d4f52c41a4e1d4adc8a5aad3872625a2d1fc","bugs":{"url":"https://github.com/DevExpress/testcafe-browser-provider-browserstack/issues"},"_id":"@dgieselaar/testcafe-browser-provider-browserstack@1.4.1","_npmVersion":"5.5.1","_nodeVersion":"8.9.0","_npmUser":{"name":"dgieselaar","email":"d.gieselaar@gmail.com"},"dist":{"integrity":"sha512-frWiwqyCOL7zOkOuOIgcVdXgRv/j5JfZCYzDMjdRBJLuelpCd79PWieMOzs9o633I6Jy++Bb5b3gzBVeVkIyrg==","shasum":"d3238d36fdbf569328e083f673ac3944ed279528","tarball":"https://registry.npmjs.org/@dgieselaar/testcafe-browser-provider-browserstack/-/testcafe-browser-provider-browserstack-1.4.1.tgz","fileCount":13,"unpackedSize":82880,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbCBjGCRA9TVsSAnZWagAAb1sP/RgAjkl8D5dM8XsBQPG9\n2WF5ml3spbU0boV+nRlsiSUndcMNlxvp4nUySnNJfd8RFD3xGzF7tEmaGwiV\ngzPSFwWm4N8OlsrvoAcZYgzAlsTf7CXzYtH21/RRwJW/zSgVgZ0xX9GM3+/c\neT9qw62R/uXh4aaJ2GtS2Uf1NS84Xgz4Eac4iY5OZsTtMrMpWlpcix4cdwDL\nef2BzDTlcw+UxxQysAfvti89f08H66vMaiNf6FCqYOficMhFUSZXZT7iP1AB\ngfQCVd7i3NlMXFquRvzxQJBM3c6ng4VJ+dkKo+ALdGVE1HY+E1drVarNy0qi\nU3+EJKjMcvTzXYU27ShAJ5vmGvSwo7vDOhPfXim0drTtWulgjJiP/+5VHH/J\nEpB6fiScY8BQnjUM5ouwBP/omcScppcgpRvWtE9yr4IwRIWTOdcRV9rx3eLH\nwL3sFv5BpCh7GJep+BJcjUIy/vclH3sGTQ1TWw1BN0gjbCklqskVKQlGwkXu\nDD85VMy2YnAdbDkOPUIN2TfKblgSe4EGuv7tBUq1YI+Qu1e5GhyiJ11EjEBs\ntfoDubeC9gWmwmIYSffGNCTD8oOMFD7IOPguzRTuI0/FWf6U1T3c843u5K8Y\nVeIFvc7i2AIpirFS7MZjVtSuPSSKF3st2xHUUdybNCOM6bJKbWdYandKRdQ7\nn55z\r\n=KgYZ\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCcNLYS3b//AEFQtdflfWi/IzS2uwIAU44txbgqxfQDNAIhAKKzBWrL56P1NlFaj8Gbjp1pUmzBJiS6oClGH+qEMcWg"}]},"maintainers":[{"name":"dgieselaar","email":"d.gieselaar@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/testcafe-browser-provider-browserstack_1.4.1_1527257285344_0.21831861461750446"},"_hasShrinkwrap":false}},"time":{"created":"2018-05-25T14:08:04.965Z","1.4.1":"2018-05-25T14:08:05.428Z","modified":"2022-04-05T04:18:16.073Z"},"maintainers":[{"name":"dgieselaar","email":"d.gieselaar@gmail.com"}],"description":"browserstack TestCafe browser provider plugin.","homepage":"https://github.com/DevExpress/testcafe-browser-provider-browserstack","keywords":["testcafe","browser provider","plugin","browserstack"],"repository":{"type":"git","url":"git+https://github.com/DevExpress/testcafe-browser-provider-browserstack.git"},"author":{"name":"Andrey Belym","email":"belym.a.2105@gmail.com","url":"https://github.com/DevExpress/testcafe-browser-provider-browserstack"},"bugs":{"url":"https://github.com/DevExpress/testcafe-browser-provider-browserstack/issues"},"license":"MIT","readme":"# testcafe-browser-provider-browserstack\n[![Build Status](https://travis-ci.org/DevExpress/testcafe-browser-provider-browserstack.svg)](https://travis-ci.org/DevExpress/testcafe-browser-provider-browserstack)\n\nThis plugin integrates [TestCafe](http://devexpress.github.io/testcafe) with the [BrowserStack Testing Cloud](https://browserstack.com/).\n\n## Install\n\n```\nnpm install testcafe-browser-provider-browserstack\n```\n\n## Usage\nBefore using this plugin, save the BrowserStack username and access key to environment variables `BROWSERSTACK_USERNAME` and `BROWSERSTACK_ACCESS_KEY`.\n\nProject name and build name will be displayed in BrowserStack if you set the environment variables `BROWSERSTACK_PROJECT_NAME` and `BROWSERSTACK_BUILD_ID`.\n\nIf you have troubles starting multiple browsers at once, or get `browserstack-local` related errors like [#27](https://github.com/DevExpress/testcafe-browser-provider-browserstack/issues/27),\ntry setting the `BROWSERSTACK_PARALLEL_RUNS` environment variable to the number of browsers you want to run simultaneously, or to 1 if you want to run just one browser. \n\nYou can determine the available browser aliases by running\n```\ntestcafe -b browserstack\n```\n\nIf you run tests from the command line, use the alias when specifying browsers:\n\n```\ntestcafe \"browserstack:Chrome@53.0:Windows 10\" \"path/to/test/file.js\"\n```\n\n\nWhen you use API, pass the alias to the `browsers()` method:\n\n```js\ntestCafe\n    .createRunner()\n    .src('path/to/test/file.js')\n    .browsers('browserstack:Chrome@53.0:Windows 10')\n    .run();\n```\n\nTip: you can skip version (`@53.0`) or/and OS name (`:Windows 10`).\n\n## Browserstack Proxy Options\nProxy options can be passed via envrionment variables.\n\n - `BROWSERSTACK_PROXY` - a string that specifies a proxy for the Browserstack local binary. It should have the following structure: `user:pass@proxyHostName:port`,\n - `BROWERSTACK_LOCAL_PROXY` - a string that specifies a proxy for the local web server. It should have the following structure: `user:pass@proxyHostName:port`, \n - `BROWSERSTACK_FORCE_PROXY` - if it's not empty, forces all traffic of Browserstack local binary to go through the proxy,\n - `BROWSERSTACK_FORCE_LOCAL` - if it's not empty, forces all traffic of Browserstack local binary to go through the local machine\n\n## Browserstack JS Testing and Browserstack Automate \nBrowserstack offers two APIs for browser testing:\n - [Browserstack JS Testing](https://www.browserstack.com/javascript-testing-api)\n - [Browserstack Automate](https://www.browserstack.com/automate)\n \n JS testing supports more types of devices (compare: [JS Testing devices](https://www.browserstack.com/list-of-browsers-and-platforms?product=js_testing) \n vs [Automate devices](https://www.browserstack.com/list-of-browsers-and-platforms?product=automate)), \n while Automate allows for much longer tests ([2 hours](https://www.browserstack.com/automate/timeouts) vs [30 minutes](https://github.com/browserstack/api#timeout300)) \n and provides some additional features (like the window resizing functionality).\n    \n TestCafe uses the JS Testing API by default. In order to use Browserstack Automate, \n set the `BROWSERSTACK_USE_AUTOMATE` environment variable to `1`.\n\n## Author\nDeveloper Express Inc. (https://devexpress.com)\n","readmeFilename":"README.md"}