nathanboktae / mocha-casperjs

Write CasperJS tests using Mocha
MIT License
120 stars 30 forks source link

Add command line options: viewport and userAgent #10

Closed ptmt closed 10 years ago

ptmt commented 10 years ago

For various tests I need to set custom PhantomJS's viewport size and userAgent. If mocha-casperjs.opts is the wrong place for it, please let me know how I can configure CasperJS/PhantomJS in other way?

nathanboktae commented 10 years ago

Thanks! If you could fix the minor issues and add 2 tests for those, I'll take this merge.

ptmt commented 10 years ago

Thanks! Would be great if you''ll correct my English too.