{"_attachments":{},"_id":"operadriver","_rev":"496642-61f22e7352eaed99a4870422","author":{"name":"fengmk2","email":"m@fengmk2.com","url":"http://fengmk2.com"},"description":"OperaDriver for Selenium","dist-tags":{"latest":"1.0.0"},"maintainers":[{"name":"fengmk2","email":"fengmk2@gmail.com"}],"name":"operadriver","readme":"OperaDriver\n=======\n\n[![NPM version][npm-image]][npm-url]\n[![build status][travis-image]][travis-url]\n[![Gittip][gittip-image]][gittip-url]\n[![David deps][david-image]][david-url]\n[![iojs version][iojs-image]][iojs-url]\n[![node version][node-image]][node-url]\n[![npm download][download-image]][download-url]\n\n[npm-image]: https://img.shields.io/npm/v/operadriver.svg?style=flat-square\n[npm-url]: https://npmjs.org/package/operadriver\n[travis-image]: https://img.shields.io/travis/cnpm/operadriver.svg?style=flat-square\n[travis-url]: https://travis-ci.org/cnpm/operadriver\n[gittip-image]: https://img.shields.io/gittip/fengmk2.svg?style=flat-square\n[gittip-url]: https://www.gittip.com/fengmk2/\n[david-image]: https://img.shields.io/david/cnpm/operadriver.svg?style=flat-square\n[david-url]: https://david-dm.org/cnpm/operadriver\n[iojs-image]: https://img.shields.io/badge/io.js-%3E=_1.0-yellow.svg?style=flat-square\n[iojs-url]: http://iojs.org/\n[node-image]: https://img.shields.io/badge/node.js-%3E=_0.10-green.svg?style=flat-square\n[node-url]: http://nodejs.org/download/\n[download-image]: https://img.shields.io/npm/dm/operadriver.svg?style=flat-square\n[download-url]: https://npmjs.org/package/operadriver\n\n___This project forked from [giggio/node-chromedriver](https://github.com/giggio/node-chromedriver).___\n\nAn NPM wrapper for Selenium [OperaDriver](https://github.com/operasoftware/operachromiumdriver/releases).\n\nBuilding and Installing\n-----------------------\n\n```shell\n$ npm install operadriver\n```\n\nOr grab the source and\n\n```shell\n$ node ./install.js\n```\n\nWhat this is really doing is just grabbing a particular \"blessed\" (by\nthis module) version of OperaChromiumDriver. As new versions are released\nand vetted, this module will be updated accordingly.\n\nThe package has been set up to fetch and run OperaChromiumDriver for MacOS (darwin),\nLinux based platforms (as identified by nodejs), and Windows. If you\nspot any platform weirdnesses, let us know or send a patch.\n\n### Custom binaries url\n\nTo use a mirror of the OperaDriver binaries use npm config property `operadriver_cdnurl`.\nDefault is `http://cnpmjs.org/mirrors/operadriver`.\n\n```shell\nnpm install operadriver --operadriver_cdnurl=https://npm.taobao.org/mirrors/operadriver\n```\n\nOr add property into your [`.npmrc`](https://docs.npmjs.com/files/npmrc) file.\n\n```ini\noperadriver_cdnurl=https://npm.taobao.org/mirrors/operadriver\n```\n\nAnother option is to use PATH variable `OPERADRIVER_CDNURL`.\n\n```shell\nOPERADRIVER_CDNURL=https://npm.taobao.org/mirrors/operadriver npm install operadriver\n```\n\nRunning\n-------\n\n```shell\nbin/operadriver [arguments]\n```\n\nAnd npm will install a link to the binary in `node_modules/.bin` as\nit is wont to do.\n\nRunning via node\n----------------\n\nThe package exports a `path` string that contains the path to the\nchromdriver binary/executable.\n\nBelow is an example of using this package via node.\n\n```javascript\nvar childProcess = require('child_process');\nvar operadriver = require('operadriver');\nvar binPath = operadriver.path;\n\nvar childArgs = [\n  'some argument'\n];\n\nchildProcess.execFile(binPath, childArgs, function(err, stdout, stderr) {\n  // handle results\n});\n\n```\n\nYou can also use the start and stop methods:\n\n\n```javascript\nvar operadriver = require('operadriver');\n\noperadriver.start();\n//run your tests\noperadriver.stop();\n```\n\nVersioning\n----------\n\nThe NPM package version tracks the version of operadriver that will be installed,\nwith an additional build number that is used for revisions to the installer.\n\nA Note on operadriver\n-------------------\n\noperadriver is not a library for NodeJS.\n\nThis is an _NPM wrapper_ and can be used to conveniently make OperaDriver available\nIt is not a Node JS wrapper.\n\nContributing\n------------\n\nQuestions, comments, bug reports, and pull requests are all welcome.  Submit them at\n[the project on GitHub](https://github.com/cnpm/node-operadriver/).\n\nBug reports that include steps-to-reproduce (including code) are the\nbest. Even better, make them in the form of pull requests.\n\nOrigin Author\n------\n\n[Giovanni Bassi](https://github.com/giggio)\n\nThanks for Obvious and their PhantomJS project for heavy inspiration! Check their project on [Github](https://github.com/Obvious/phantomjs/tree/master/bin).\n\nLicense\n-------\n\nMIT\n","time":{"created":"2022-01-27T05:32:35.605Z","modified":"2022-05-20T10:22:04.588Z","0.2.1":"2015-04-10T17:10:07.714Z","0.2.2":"2015-05-11T15:11:11.395Z","0.2.3":"2016-11-04T06:36:40.157Z","1.0.0":"2016-11-20T15:37:01.585Z"},"versions":{"0.2.1":{"name":"operadriver","version":"0.2.1","keywords":["operadriver","chromedriver","selenium"],"description":"OperaDriver for Selenium","homepage":"https://github.com/cnpm/node-operadriver","repository":{"type":"git","url":"git://github.com/cnpm/node-operadriver.git"},"licenses":[{"type":"MIT"}],"author":{"name":"fengmk2","email":"m@fengmk2.com","url":"http://fengmk2.com"},"main":"lib/operadriver","files":["bin/","lib/operadriver.js","install.js"],"bin":{"operadriver":"./bin/operadriver"},"scripts":{"install":"node install.js"},"dependencies":{"adm-zip":"^0.4.7","kew":"^0.5.0","mkdirp":"^0.5.0","npmconf":"^2.1.1","rimraf":"^2.0.3"},"gitHead":"3b7d8bcad5974a958b0b6dccb029465069468f7b","bugs":{"url":"https://github.com/cnpm/node-operadriver/issues"},"_id":"operadriver@0.2.1","_shasum":"7f057701e6f84b61f88044a6bb2eb1a308c129d2","_from":".","_npmVersion":"2.7.5","_nodeVersion":"1.6.4","_npmUser":{"name":"fengmk2","email":"fengmk2@gmail.com"},"maintainers":[{"name":"fengmk2","email":"fengmk2@gmail.com"}],"dist":{"shasum":"7f057701e6f84b61f88044a6bb2eb1a308c129d2","tarball":"https://registry.npmmirror.com/operadriver/-/operadriver-0.2.1.tgz","size":4549,"integrity":"sha512-SeaC8POEzkg6ccm10Z3PPsujdUpDjvux+/A8nncJdduU/EM3YdnowgnNT+2Wn+LygD3RDueRTvyb/hDpWvxNtQ=="},"directories":{},"_cnpmcore_publish_time":"2021-12-20T07:11:09.704Z","hasInstallScript":true},"0.2.2":{"name":"operadriver","version":"0.2.2","keywords":["operadriver","chromedriver","selenium"],"description":"OperaDriver for Selenium","homepage":"https://github.com/cnpm/node-operadriver","repository":{"type":"git","url":"git://github.com/cnpm/node-operadriver.git"},"licenses":[{"type":"MIT"}],"author":{"name":"fengmk2","email":"m@fengmk2.com","url":"http://fengmk2.com"},"main":"lib/operadriver","files":["bin/","lib/operadriver.js","install.js"],"bin":{"operadriver":"./bin/operadriver"},"scripts":{"install":"node install.js"},"dependencies":{"adm-zip":"^0.4.7","kew":"^0.5.0","mkdirp":"^0.5.0","npmconf":"^2.1.1","rimraf":"^2.0.3","urllib":"~2.3.5"},"gitHead":"b9ec685a6942265855db39b1544fc43e4d7b1bb7","bugs":{"url":"https://github.com/cnpm/node-operadriver/issues"},"_id":"operadriver@0.2.2","_shasum":"01056b140c0ca2c458286f6028da400f76a02450","_from":".","_npmVersion":"2.9.0","_nodeVersion":"2.0.0","_npmUser":{"name":"fengmk2","email":"fengmk2@gmail.com"},"maintainers":[{"name":"fengmk2","email":"fengmk2@gmail.com"}],"dist":{"shasum":"01056b140c0ca2c458286f6028da400f76a02450","tarball":"https://registry.npmmirror.com/operadriver/-/operadriver-0.2.2.tgz","size":4375,"integrity":"sha512-INZETTUWH8r2CTWqPLK7SpU0wZzR0BAaHyzv8FzqWPgD9XAhrakWB2PYFng96Px8SopKxZ0EqBtVJgjK7KSIjg=="},"directories":{},"_cnpmcore_publish_time":"2021-12-20T07:11:10.571Z","hasInstallScript":true},"0.2.3":{"name":"operadriver","version":"0.2.3","keywords":["operadriver","chromedriver","selenium"],"description":"OperaDriver for Selenium","homepage":"https://github.com/cnpm/node-operadriver","repository":{"type":"git","url":"git://github.com/cnpm/node-operadriver.git"},"licenses":[{"type":"MIT"}],"author":{"name":"fengmk2","email":"m@fengmk2.com","url":"http://fengmk2.com"},"main":"lib/operadriver","files":["bin/","lib/operadriver.js","install.js"],"bin":{"operadriver":"./bin/operadriver"},"scripts":{"install":"node install.js"},"dependencies":{"adm-zip":"^0.4.7","kew":"^0.5.0","mkdirp":"^0.5.0","npmconf":"^2.1.1","rimraf":"^2.0.3","urllib":"~2.3.5"},"gitHead":"24f27cf0688eb756155044a86580d38ba471b530","bugs":{"url":"https://github.com/cnpm/node-operadriver/issues"},"_id":"operadriver@0.2.3","_shasum":"272f32e1bfdbc1d657714c1902d70287d26eb961","_from":".","_npmVersion":"3.10.8","_nodeVersion":"6.9.1","_npmUser":{"name":"fengmk2","email":"fengmk2@gmail.com"},"dist":{"shasum":"272f32e1bfdbc1d657714c1902d70287d26eb961","tarball":"https://registry.npmmirror.com/operadriver/-/operadriver-0.2.3.tgz","size":4370,"integrity":"sha512-zkjp/Blrpm25AOwL9o+dlXHwxUXSkykkL0ZpKFBWj/CsZQypydD8LuP2Dx935wG/OCFSZ6swSbiGwbLSs6n6ew=="},"maintainers":[{"name":"fengmk2","email":"fengmk2@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/operadriver-0.2.3.tgz_1478241398062_0.07345257210545242"},"directories":{},"_cnpmcore_publish_time":"2021-12-20T07:11:11.449Z","hasInstallScript":true},"1.0.0":{"name":"operadriver","version":"1.0.0","keywords":["operadriver","chromedriver","selenium"],"description":"OperaDriver for Selenium","homepage":"https://github.com/cnpm/node-operadriver","repository":{"type":"git","url":"git://github.com/cnpm/node-operadriver.git"},"licenses":[{"type":"MIT"}],"author":{"name":"fengmk2","email":"m@fengmk2.com","url":"http://fengmk2.com"},"main":"lib/operadriver","files":["bin/","lib/operadriver.js","install.js"],"bin":{"operadriver":"./bin/operadriver"},"scripts":{"install":"node install.js"},"dependencies":{"adm-zip":"^0.4.7","kew":"^0.5.0","mkdirp":"^0.5.0","npmconf":"^2.1.1","rimraf":"^2.0.3","urllib":"~2.3.5"},"gitHead":"4fc23f9ce13c9c8299f5f4539dd11e8835201fc0","bugs":{"url":"https://github.com/cnpm/node-operadriver/issues"},"_id":"operadriver@1.0.0","_shasum":"6455f2cbec826b07c14dc223c3f9574a0f56f742","_from":".","_npmVersion":"3.10.8","_nodeVersion":"6.9.1","_npmUser":{"name":"fengmk2","email":"fengmk2@gmail.com"},"dist":{"shasum":"6455f2cbec826b07c14dc223c3f9574a0f56f742","tarball":"https://registry.npmmirror.com/operadriver/-/operadriver-1.0.0.tgz","size":4478,"integrity":"sha512-L003YmGhWbX5WaVig5sq4SM8S+MGHA4foLZ/WfTsGLKZ4J3LHbwYhMJA3dYArlJGksVufOZ5Rv4LTk2pHw0tKg=="},"maintainers":[{"name":"fengmk2","email":"fengmk2@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/operadriver-1.0.0.tgz_1479656219424_0.4433740358799696"},"directories":{},"_cnpmcore_publish_time":"2021-12-20T07:11:11.543Z","hasInstallScript":true}},"bugs":{"url":"https://github.com/cnpm/node-operadriver/issues"},"homepage":"https://github.com/cnpm/node-operadriver","keywords":["operadriver","chromedriver","selenium"],"repository":{"type":"git","url":"git://github.com/cnpm/node-operadriver.git"},"_source_registry_name":"default"}