Closed gfranko closed 10 years ago
Way cool, I'll merge this. Note that it's best not to use typeof to check for a string because typeof 'abc' != typeof new String('abc')
. Otherwise looks good.
Awesome, thanks for merging this and updating the typeof
check.
This PR adds a new
customCSS
option that allows a user to pass custom CSS rules that will be applied to a webpage before the screenshot will be taken.Example
Note: I wasn't sure how to adequately test this with Mocha and ImageMagick, so I only verified that it works manually.