{"name":"casperjs","description":"A navigation scripting & testing utility for PhantomJS and SlimerJS","version":"1.1.3","keywords":["phantomjs","slimerjs","test","testing","scraping"],"bin":{"casperjs":"./bin/casperjs"},"author":{"name":"CasperJS Organization","url":"https://casperjs.org/"},"bugs":{"url":"https://github.com/casperjs/casperjs/issues"},"repository":{"type":"git","url":"git://github.com/casperjs/casperjs.git"},"licenses":[{"type":"MIT","url":"http://www.opensource.org/licenses/mit-license.php"}],"homepage":"http://casperjs.org","gitHead":"f231707feb8f4acf5fc6462e93a38b23b1e1e374","_id":"casperjs@1.1.3","scripts":{},"_shasum":"9653de731f8aa44d0915a69ba2233164bb2eaf94","_from":".","_npmVersion":"3.3.12","_nodeVersion":"5.4.0","_npmUser":{"name":"bigjuevos","email":"ryan.null@gmail.com"},"dist":{"shasum":"9653de731f8aa44d0915a69ba2233164bb2eaf94","tarball":"http://registry-npm.ywwl.com/casperjs/download/casperjs-1.1.3.tgz","integrity":"sha512-jFYlwCJfJb3N6bdSs941MXKlpGBxSUPOGu9u/jalNiKPLhdF1QBIk6zdLReJ2HQAf0dt5o6M731zm1OoaE3QWw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD6Z0/+CE+fF2I7pBFARCy/re4x8G7E+b622B1j6JWt5AIgNczEOQvmvK2f4m/l6PeZDE/DI1sDxutTf+yVavdRaTg="}],"size":678617,"noattachment":false,"key":"/casperjs/-/casperjs-1.1.3.tgz"},"maintainers":[{"name":"istr","email":"npm@ingostruck.de"},{"name":"mickaelandrieu","email":"andrieu.travail@gmail.com"},{"name":"n1k0","email":"nicolas@perriault.net"}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/casperjs-1.1.3.tgz_1469210398318_0.37494457769207656"},"directories":{},"readme":"# CasperJS\n\n[![Build Status](https://travis-ci.org/casperjs/casperjs.svg?branch=master)](https://travis-ci.org/casperjs/casperjs)\n\n>**Important note:** the `master` branch hosts the development version of CasperJS, which is now pretty stable and should be the right version to use if you ask me. Users interested in a pretty stable, recent version working with PhantomJS 2.0 and newer should choose the packaged 1.1.0 and following releases.\n>\n> The [`1.0` branch](https://github.com/casperjs/casperjs/tree/1.0) is now obsolete. Please note that\n>- it is only recommended if you need to keep old production tests running that could do with the now **unmaintained PhantomJS 1.9**\n>- 1.0 tests unfortunately have to be run manually using the `casperjs selftest` command\n> \n> **Note that all versions up to and including 1.1-beta3 do not support PhantomJS 2.0 and newer.**\n\nThe complete documentation for the current releases is **hosted on [docs.casperjs.org](http://docs.casperjs.org/).**\n\nCasperJS is a navigation scripting & testing utility for [PhantomJS](http://www.phantomjs.org/)\nand [SlimerJS](http://slimerjs.org/) (still experimental).\nIt eases the process of defining a full navigation\nscenario and provides useful high-level functions, methods & syntactic sugar for doing common\ntasks such as:\n\n- defining & ordering [navigation steps](http://docs.casperjs.org/en/latest/quickstart.html)\n- [filling forms](http://docs.casperjs.org/en/latest/modules/casper.html#fill)\n- [clicking links](http://docs.casperjs.org/en/latest/modules/casper.html#click)\n- [capturing screenshots](http://docs.casperjs.org/en/latest/modules/casper.html#captureselector) of a page (or an area)\n- [making assertions on remote DOM](http://docs.casperjs.org/en/latest/modules/tester.html)\n- [logging](http://docs.casperjs.org/en/latest/logging.html) & [events](http://docs.casperjs.org/en/latest/events-filters.html)\n- [downloading](http://docs.casperjs.org/en/latest/modules/casper.html#download) resources, even binary ones\n- catching errors and react accordingly\n- writing [functional test suites](http://docs.casperjs.org/en/latest/testing.html), exporting results as JUnit XML (xUnit)\n\nBrowse the [sample examples repository](https://github.com/casperjs/casperjs/tree/master/samples).\nDon't hesitate to pull request for any cool example of yours as well!\n\n**Read the [full documentation](http://docs.casperjs.org/) on casperjs documentation website.**\n\nSubscribe to the [project mailing-list](https://groups.google.com/forum/#!forum/casperjs)\n\nFollow the CasperJS project [on twitter](https://twitter.com/casperjs_org) and [Google+](https://plus.google.com/b/106641872690063476159/).\n\n## Show me some code!\n\nFirst [install CasperJS](http://docs.casperjs.org/en/latest/installation.html), we'll use 1.1 beta here.\n\nSample test to see if some dropdown can be opened:\n\n```javascript\ncasper.test.begin('a twitter bootstrap dropdown can be opened', 2, function(test) {\n    casper.start('http://getbootstrap.com/2.3.2/javascript.html#dropdowns', function() {\n        test.assertExists('#navbar-example');\n        this.click('#dropdowns .nav-pills .dropdown:last-of-type a.dropdown-toggle');\n        this.waitUntilVisible('#dropdowns .nav-pills .open', function() {\n            test.pass('Dropdown is open');\n        });\n    }).run(function() {\n        test.done();\n    });\n});\n```\n\nRun the script:\n\n![](http://cl.ly/image/271e2i403A0F/Capture%20d%E2%80%99%C3%A9cran%202013-01-20%20%C3%A0%2009.26.15.png)\n\n## Support\n\n**Help request**. If you're stuck using CasperJS and don't understand how to achieve something, please [ask on the mailing-list](https://groups.google.com/forum/#!forum/casperjs) first. If the discussion reveals that you have found a real issue that might need a change within CasperJS, file an issue.\n\n**Filing issues**. It takes a lot of time to review, validate, and de-duplicate filed issues. This time could be spent better on actually improving on CasperJS. Filing an issue might be a helpful contribution, but we expect you to read our [CONTRIBUTING.md](https://github.com/casperjs/casperjs/blob/master/CONTRIBUTING.md) guidelines first. \n\n**Professional Support**. Need help with getting CasperJS up and running? Got a time-consuming problem you want to get solved quickly?\n\nTry to find someone to address your specific problem and [post a reward at bountysource](https://www.bountysource.com).\n\nIf you need to have a known issue resolved and don't have the time or skills to do it on your own, you could [post a reward for any open issue directly](https://www.bountysource.com/teams/casperjs/issues).\n\n## Contributing\n\n### Contributing code\n\nPlease read the [CONTRIBUTING.md](https://github.com/casperjs/casperjs/blob/master/CONTRIBUTING.md) file contents.\n\n### Contributing documentation\n\nCasperJS's documentation is written using the [Markdown format](http://daringfireball.net/projects/markdown/), and hosted on Github thanks to the [Github Pages Feature](http://pages.github.com/).\n\nTo view the source files on github, head to [the gh-pages branch](https://github.com/casperjs/casperjs/tree/gh-pages), and check the [documentation's README](https://github.com/casperjs/casperjs/tree/gh-pages#readme) for further instructions.\n\n## Team\n\n- Nicolas Perriault ([@n1k0](https://github.com/n1k0))\n- Nick Currier ([@hexid](https://github.com/hexid))\n- Laurent Jouanneau ([@laurentj](https://github.com/laurentj))\n- Mickaël Andrieu ([@mickaelandrieu](https://github.com/mickaelandrieu))\n- Matt DuVall ([@mduvall](https://github.com/mduvall))\n- Ryan Null ([@BIGjuevos](https://github.com/BIGjuevos))\n\n## License\n\nMIT\n","publish_time":1469210401722,"_cnpm_publish_time":1469210401722,"dist-tags":{"latest":"1.1.4"}}