add logging to webdriver config

This commit is contained in:
Thomas Aylott
2013-11-06 15:19:17 -05:00
parent dfb4dde8fd
commit 3e2d3e4837
+10 -8
View File
@@ -1,16 +1,18 @@
var grunt = require('grunt');
exports.local = {
webdriver: {
remote: {
protocol: 'http:',
hostname: '127.0.0.1',
port: '9515',
path: '/'
}
remote: { protocol: 'http:', hostname: '127.0.0.1', port: 9515, path: '/' }
},
browser:{browserName:'chrome'},
url: "http://127.0.0.1:9999/test/sauce-harness.html",
onComplete: function(report){
var browser = this;
console.log('report.passed', report.passed)
if (!report.passed){
grunt.fatal("tests failed");
}
},
onError: function(error){
grunt.fatal(error);
}
}