{"_id":"@dreamlines.dev/testcafe-browser-provider-puppeteer","_rev":"1-04e2d8e974a18a24de919382bf9d6600","name":"@dreamlines.dev/testcafe-browser-provider-puppeteer","dist-tags":{"latest":"1.5.0"},"versions":{"1.5.0":{"name":"@dreamlines.dev/testcafe-browser-provider-puppeteer","version":"1.5.0","description":"puppeteer TestCafe browser provider plugin.","repository":{"type":"git","url":"git+https://github.com/dreamlines-dev/testcafe-browser-provider-puppeteer.git"},"homepage":"https://github.com/dreamlines-dev/testcafe-browser-provider-puppeteer","author":{"name":"jdobosz","email":"jacek@dobosz.at"},"contributors":[{"name":"Lukasz Szmit","email":"lukasz.szmit@workday.com"}],"main":"lib/index","scripts":{"test":"cd test && npm test","build":"gulp build"},"keywords":["testcafe","browser provider","plugin"],"license":"MIT","dependencies":{"@babel/runtime":"^7.0.0","puppeteer":"^1.20.0"},"devDependencies":{"@babel/cli":"^7.0.0","@babel/core":"^7.0.0","@babel/plugin-transform-runtime":"^7.0.0","@babel/preset-env":"^7.0.0","babel-eslint":"^10.0.0","babel-plugin-add-module-exports":"^1.0.0","del":"^3.0.0","gulp":"^4.0.0","gulp-babel":"^8.0.0","gulp-eslint":"^5.0.0","gulp-mocha":"^6.0.0","node-version":"^1.1.3"},"gitHead":"1becc6138f5ff793478e421ae63606ecf52896b1","bugs":{"url":"https://github.com/dreamlines-dev/testcafe-browser-provider-puppeteer/issues"},"_id":"@dreamlines.dev/testcafe-browser-provider-puppeteer@1.5.0","_nodeVersion":"13.3.0","_npmVersion":"6.13.1","dist":{"integrity":"sha512-ASwcNbLMutd13eFBcAMO6/duN5psG52DBP4Qww12ubHfK7Ir2EL1/dgXhgVPJz0GlwkFLfFqrYh4GTXhLkDimg==","shasum":"f6ea7dadf9cbf34e7b9d7cdb2c8b56e8cbf46bb7","tarball":"https://registry.npmjs.org/@dreamlines.dev/testcafe-browser-provider-puppeteer/-/testcafe-browser-provider-puppeteer-1.5.0.tgz","fileCount":4,"unpackedSize":10575,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeHzIrCRA9TVsSAnZWagAAIl8QAKAhjdoQkyv8baRUd1Qx\n9IVl6/L45TJxnvixo38z7pVySKT0p1Q/yOX6nHwLi+gECefFQSQmyZFB9Kwx\nqoDgeBhNZcVVrNUy4NllY7OFknSa+8r4/aDNVimg+yov/6O/w8sLrcPAmnrF\nfH6ayqKohR7h3PxEfWMore94d099VUD4AEoAZHR5HqG2lRq9cUUv5NaF6+6U\nDsz91W8aFD+5oXhNkwrMQ4YdClynlhgtYu8ov3O8ZhHXObfVYcv+8T6LJbuk\nCE7B6vo/0UlTjgXJL2zXMzT0SU/yKzAwCbdyBk02Auy+zQo+Z6Io+VaJJhL2\nxUppATnCISWFUk5bDQI2BWo86zKqumWAkvAF47YAm7M6aoCKNwf8a0RMcafc\nRkGI1OIUOKs65jCyG6TR4EX+LTANP796QTzy5SvRtklodEcFhJCtb2dW+U7w\nf4q4dGEGKz6cJUT8fOn+SuVxFy8jbcDLi/6JC1BRKfCPPEoo00/HYx9WShLE\nwQHP7ugLfJKDWEZVj6rV2btXusMSAjSr5GjnRoij2SBQcBVHqTP9F+acWrlk\nJjslU3uN7V5NNoGS3v6VEfFnpkN3rubyc5bHkOULP6ubMF6xuIATKDiGa6ZN\nqwBoqU89MwLS1mkyZBXyAtB8qJvPxaD0AbdIxN8hEKEuB7D/eLn+qvkK8hC/\nDqHc\r\n=1SaH\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDzt2eK9FAm6LKEXBG7DJPaFrxMrPpfIAyOgIGJhwSIGgIhAPimhvJfdqlPM5A2/dPeIQFqsn5z+TA0MOjfUS0LmJa6"}]},"maintainers":[{"name":"alivenotions","email":"dhanjalbhavdeep@gmail.com"},{"name":"gustavo.edinger","email":"gustavo@edinger.com.br"},{"name":"dajk","email":"hajdukovic.radovan@gmail.com"}],"_npmUser":{"name":"alivenotions","email":"dhanjalbhavdeep@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/testcafe-browser-provider-puppeteer_1.5.0_1579102763051_0.36342219472561377"},"_hasShrinkwrap":false}},"time":{"created":"2020-01-15T15:39:22.809Z","1.5.0":"2020-01-15T15:39:23.174Z","modified":"2022-04-05T05:37:39.822Z"},"maintainers":[{"name":"alivenotions","email":"dhanjalbhavdeep@gmail.com"},{"name":"gustavo.edinger","email":"gustavo@edinger.com.br"},{"name":"dajk","email":"hajdukovic.radovan@gmail.com"}],"description":"puppeteer TestCafe browser provider plugin.","homepage":"https://github.com/dreamlines-dev/testcafe-browser-provider-puppeteer","keywords":["testcafe","browser provider","plugin"],"repository":{"type":"git","url":"git+https://github.com/dreamlines-dev/testcafe-browser-provider-puppeteer.git"},"contributors":[{"name":"Lukasz Szmit","email":"lukasz.szmit@workday.com"}],"author":{"name":"jdobosz","email":"jacek@dobosz.at"},"bugs":{"url":"https://github.com/dreamlines-dev/testcafe-browser-provider-puppeteer/issues"},"license":"MIT","readme":"# testcafe-browser-provider-puppeteer\n[![Build Status](https://travis-ci.org/jdobosz/testcafe-browser-provider-puppeteer.svg)](https://travis-ci.org/jdobosz/testcafe-browser-provider-puppeteer)\n[![npm version](https://badge.fury.io/js/testcafe-browser-provider-puppeteer.svg)](https://badge.fury.io/js/testcafe-browser-provider-puppeteer)\n\nThis is the [puppeteer](https://github.com/GoogleChrome/puppeteer)/chromium browser provider plugin for [TestCafe](http://devexpress.github.io/testcafe).\nIt allows to run tastcafe e2e tests headless in CI pipeline without any external dependency like xvfb, since everything what is needed is installed via npm.\n\n## Install\n\n```\nnpm install --save-dev testcafe-browser-provider-puppeteer\n```\n\n## Usage\n\n\nWhen you run tests from the command line, use the provider name when specifying browsers:\n\n```\ntestcafe puppeteer 'path/to/test/file.js'\n```\n\n\nWhen you use API, pass the provider name to the `browsers()` method:\n\n```js\ntestCafe\n    .createRunner()\n    .src('path/to/test/file.js')\n    .browsers('puppeteer')\n    .run();\n```\n\n## Troubleshooting\n\nOn same older linux distributions, fails chromium due to sandbox issues - see [this](https://github.com/GoogleChrome/puppeteer/blob/master/docs/troubleshooting.md#chrome-headless-fails-due-to-sandbox-issues).\n\nYou can try in such case running the plugin without sandbox restriction\n\n ```\ntestcafe puppeteer:no_sandbox 'path/to/test/file.js'\n\n```\n\nIn order to speedup CI you can provide custom executable of chromium browser instead to download it all the time:\n\n```\nrunner\n  .browsers(['puppeteer:no_sandbox?/usr/bin/chromium-browser'])\n\n\nrunner\n  .browsers(['puppeteer:?/usr/bin/chromium-browser'])\n\n```\n\n## Author\nJacek Dobosz\n\n## Contributors\nLukasz Szmit\n\nPedro Scaff\n","readmeFilename":"README.md"}