-
Notifications
You must be signed in to change notification settings - Fork 16
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Question about file locations.... #3
Comments
@Dylan-Chapman: I don't know much about this Gulp plugin, but in reading the code there appear to be the following options you can pass in:
That's what I see, but all I can do is to guess at what the different options mean and do. Here's a snippet of how you might change the screenshot and results paths: gulp.task('phantomcss', function() {
var phantomcss = require('gulp-phantomcss');
return gulp.src('./test/styles/phantomcss.js')
.pipe( phantomcss({
screenshots: './test/styles/screenshots',
results: './test/styles/results'
}) );
}); |
logLevel seems to correspond to CasperJS logging levels: http://docs.casperjs.org/en/latest/logging.html Edit: I just saw that the readme.md mentions this already. |
Updated the README to hopefully make things a bit clearer. |
How do you save screenshots to a different folder? I can't change them in phantomcss.init() ("has no method 'init'"), and it doesn't work passing the options directly into phantomcss(). I'm new to gulp in general, and more so this, so any direction would be appreciated.
The options I was testing are screenshotRoot and failedComparisonsRoot.
Are these options available and I'm overlooking how to do it?
The text was updated successfully, but these errors were encountered: