Grunt
不支持JSON格式化密钥'phantomjs.binary.path'
grunt.initConfig ({
protractor: {
options: {
configFile: './protractor-conf.js',
keepAlive: true,
noColor: false
},
phantomjs: {
options: {
args: {
capabilities: {
browserName: "phantomjs",
'phantomjs.binary.path': './node_modules/.bin/phantomjs',
},
},
}
},
},