Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Introduce CasperJS

Introduce CasperJS

Introduce CasperJS. Easy way for browser testing.
M3 TechTalk #11 LT slide.
#m3dev

Takayuki Matsubara

October 11, 2013
Tweet

More Decks by Takayuki Matsubara

Other Decks in Programming

Transcript

  1. 6TFGVMGPS$* Prerequisites • PhantomJS 1.8.1 or greater. Installation instructions can

    be found here • Python 2.6 or greater for casperjs in the bin/ directory IUUQEPDTDBTQFSKTPSHFOMBUFTUJOTUBMMBUJPOIUNM
  2. TBNQMFKT var casper = require('casper').create(); casper.start('http://casperjs.org/', function() { this.echo(this.getTitle()); });

    casper.thenOpen('http://phantomjs.org', function() { this.echo(this.getTitle()); }); casper.run(); IUUQEPDTDBTQFSKTPSHFOMBUFTURVJDLTUBSUIUNM
  3. FOE