{"_id":"@aleen42/karma-selenium-webdriver-launcher","_rev":"1-25f5abeb1a4c52c5381f017cba528557","name":"@aleen42/karma-selenium-webdriver-launcher","dist-tags":{"latest":"1.0.0"},"versions":{"1.0.0":{"name":"@aleen42/karma-selenium-webdriver-launcher","version":"1.0.0","description":"A Karma plugin. Run tests in an instance of a Selenium Webdriver.","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git://github.com/PixnBits/karma-selenium-webdriver-launcher.git"},"keywords":["karma-plugin","karma-launcher","browserstack","browser-stack"],"peerDependencies":{"karma":">=6"},"license":"MIT","devDependencies":{"eslint":"^7.4.0","eslint-config-aleen42":"^1.0.7"},"author":{"name":"PixnBits","email":"github@pixnbits.org"},"contributors":[{"name":"Sebastian Krzyszkowiak","url":"https://github.com/dos1"},{"name":"Jason Marshall","url":"https://github.com/jdmarshall"},{"name":"Aleen","url":"https://github.com/aleen42"}],"gitHead":"1bf542165cbb081b66d30a3e1c6d98a4465de44f","bugs":{"url":"https://github.com/PixnBits/karma-selenium-webdriver-launcher/issues"},"homepage":"https://github.com/PixnBits/karma-selenium-webdriver-launcher#readme","_id":"@aleen42/karma-selenium-webdriver-launcher@1.0.0","_nodeVersion":"13.14.0","_npmVersion":"6.14.4","dist":{"integrity":"sha512-3jHjM9sd5EYj4BhrBBn0G+yoDXMgN+9UgRvh48hZX64+2yVyQPXtBurfXaNgfYF76SzhUZ6ScG5QSpgFzMiKZw==","shasum":"d1fa351415f855eafcc624d14d98d922caa0bbce","tarball":"https://registry.npmjs.org/@aleen42/karma-selenium-webdriver-launcher/-/karma-selenium-webdriver-launcher-1.0.0.tgz","fileCount":4,"unpackedSize":5377,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiFg+1ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqbBQ//YgEWQ2o8CIR/NShf3VNrJ36P+VDMvHywmwtR9OUJnyNyXqBq\r\nN/iXeQUaIobfyIsLNNp3opc0SX+pcYk/c3tD7OvZ6QcfgpUeY6NL0m5a0gry\r\nK+DRCIHn8QsmgP+SykdYUfKJI9FRXiT8fHhmj/K77XYEAfEt+8aLS07/+PiP\r\nU+eN08gOjFMq+n8S/e/33YQ6rdQervF7uTDzzoYw/9RvZ0oCnbsL8YPJvYoK\r\nBs6rzHd60GcrRhWv6Auyppytr+HEQc/PYTAllVRUdcy8CU26j6HGcrGl02u8\r\nCU6dxNzqD9sjXbsqCMnwVinPaeT1P4NnKUj4qqgeWbPeeH3xVoII3V0jYC7j\r\naAuEHf4QztKMKLWgyIOiW15tfcB2i+u5Tp0sHxOrUWbU/ysbjFvyoiQtK5ZB\r\njWw/LCM/K0HoRFJwSewD53WmgJwKGN0k+70/V66oAkIt+y8OEIfcSmYnQg2H\r\nChR0jpCWg5/rSr/aNLSniRW2MFDWHYT4Upq0QpxcO+DRgSZAjddFD9nNCE+/\r\nAYIzZXOR/BpQxu+ebQRfToww2uFwfnZXJB4BPa56BXw1UuQ4rRzNmjKGBCFh\r\n+5d7Gv3ErlQksMd3LF/bh0LdH8bQ2q1a6z2RF3pHXqnJUWCOVdaWODQsQLiA\r\nAglJcRQgfw6b3jmgdsPbPUZXY8DvibbWVnA=\r\n=3/nK\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIH8jXuH3n2e8rQIhEh+9l7WJ5BeBhY51LcrI+r1j1OTXAiAaN/HNNg5gUzBIB7D9m8ckuNrS9zxWKqdYTqHpBSOEUw=="}]},"_npmUser":{"name":"aleen42","email":"aleen42@vip.qq.com"},"directories":{},"maintainers":[{"name":"aleen42","email":"aleen42@vip.qq.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/karma-selenium-webdriver-launcher_1.0.0_1645612981361_0.8459231842444956"},"_hasShrinkwrap":false}},"time":{"created":"2022-02-23T10:43:01.290Z","1.0.0":"2022-02-23T10:43:01.482Z","modified":"2022-04-04T12:36:59.565Z"},"maintainers":[{"name":"aleen42","email":"aleen42@vip.qq.com"}],"description":"A Karma plugin. Run tests in an instance of a Selenium Webdriver.","homepage":"https://github.com/PixnBits/karma-selenium-webdriver-launcher#readme","keywords":["karma-plugin","karma-launcher","browserstack","browser-stack"],"repository":{"type":"git","url":"git://github.com/PixnBits/karma-selenium-webdriver-launcher.git"},"contributors":[{"name":"Sebastian Krzyszkowiak","url":"https://github.com/dos1"},{"name":"Jason Marshall","url":"https://github.com/jdmarshall"},{"name":"Aleen","url":"https://github.com/aleen42"}],"author":{"name":"PixnBits","email":"github@pixnbits.org"},"bugs":{"url":"https://github.com/PixnBits/karma-selenium-webdriver-launcher/issues"},"license":"MIT","readme":"# karma-selenium-webdriver-launcher\n\n> Use a custom [Selenium Webdriver](http://www.seleniumhq.org/) instance. Useful for iron fist control, ex: extension testing.\n\n\n## Installation\n\nThe easiest way is to keep `karma-selenium-webdriver-launcher` as a devDependency in your `package.json`.\n```json\n{\n  \"devDependencies\": {\n    \"karma\": \"~0.10\",\n    \"karma-selenium-webdriver-launcher\": \"~0.1\"\n  }\n}\n```\n\nYou can also add it by this command:\n```bash\nnpm install karma-selenium-webdriver-launcher --save-dev\n```\n\n\n## Configuration\n\n```js\n// karma.conf.js\nvar By = require('selenium-webdriver').By,\n    until = require('selenium-webdriver').until,\n    firefox = require('selenium-webdriver/firefox');\n\nmodule.exports = function(config) {\n  config.set({\n    frameworks: ['jasmine'],\n\n    // define browsers\n    customLaunchers: {\n      swd_firefox: {\n        base: 'SeleniumWebdriver',\n        browserName: 'Firefox',\n        getDriver: function(){\n          // example from https://www.npmjs.com/package/selenium-webdriver#usage\n          var driver = new firefox.Driver();\n          return driver;\n        }\n      },\n    },\n\n    browsers: ['swd_firefox']\n  });\n};\n```\n\n### Browser options\n- `browserName` name of the browser (ideally we'll use `Capabilities` in the future)\n- `getDriver` function that will return a webdriver instance to the karma test runner (not the test being run)\n\n## Additional Test API\nTODO (see [#3](https://github.com/PixnBits/karma-selenium-webdriver-launcher/issues/3))\n\n----\n\nFor more information on Karma see the [homepage](http://karma-runner.github.io).\n","readmeFilename":"README.md"}