SublimeText-CasperJS ==================== A collection of [CasperJS](http://casperjs.org/) snippets bundled for [SublimeText2](http://sublimetext.com/2) or [SublimeText3](http://www.sublimetext.com/3). ![](https://s3.amazonaws.com/f.cl.ly/items/3V3O0F1i2319102t3L2h/fg76.gif) Available snippets ------------------ - `cspc`: Create a new Casper instance - `cspcd`: Create a new Casper instance with debug mode enabled - `cspe`: `throw new CasperError("");` - `cspeach`: `Casper.each()` - `cspeval`: `Casper.evaluate()` - `cspfill`: `Casper.fill()` - `cspfills`: `Casper.fillSelectors()` - `cspfillx`: `Casper.fillXPath()` - `cspon`: event listener - `cspscript`: a basic casperjs script - `cspstart`: `Casper.start()` - `csptest`: a basic casperjs test script - `cspthen`: `Casper.then()` - `csptheno`: `Casper.thenOpen()` - `cjsh`: [JSHint](http://jshint.org/) directives for standard casper script - `cjsht`: JSHint directives for test casper script - `req`: `require()` License ------- MIT