Skip to content

Instantly share code, notes, and snippets.

@harobed
Created October 17, 2012 12:09
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save harobed/3905215 to your computer and use it in GitHub Desktop.
Save harobed/3905215 to your computer and use it in GitHub Desktop.
Append client scripts in casperjs
var casper = casperjs.create({
verbose: true,
logLevel: "error",
clientScripts: [
'jquery.js',
'jquery.simulate.js',
'jquery.simulate.ext.js',
'jquery.simulate.drag-n-drop.js',
'jquery.simulate.key-combo.js',
'jquery.simulate.key-sequence.js'
],
viewportSize: {
width: 1024,
height: 800
}
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment