Skip to content

Instantly share code, notes, and snippets.

@2get
Created March 15, 2015 11:45
Show Gist options
  • Save 2get/49199ad2d441616e8c83 to your computer and use it in GitHub Desktop.
Save 2get/49199ad2d441616e8c83 to your computer and use it in GitHub Desktop.
BacktopJS (CasperJS) SSL Site Capture
var tests = ['--ssl-protocol=tlsv1', '--ignore-ssl-errors=true', 'capture/genBitmaps.js'];
var casperProcess = (process.platform === "win32" ? "casperjs.cmd" : "casperjs");
var casperChild = spawn(casperProcess, tests);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment