configurable seleniumAddress
parent
7031a80c88
commit
6a1a9e42ac
|
@ -171,4 +171,8 @@ if (argv.ie) {
|
|||
};
|
||||
}
|
||||
|
||||
if (argv.seleniumAddress) {
|
||||
config.seleniumAddress = argv.seleniumAddress;
|
||||
}
|
||||
|
||||
exports.config = config;
|
||||
|
|
|
@ -49,6 +49,10 @@ function launchProtractor(suit) {
|
|||
protractorParams.push('--firefox');
|
||||
}
|
||||
|
||||
if (argv.seleniumAddress) {
|
||||
protractorParams.push('--seleniumAddress=' + seleniumAddress);
|
||||
}
|
||||
|
||||
child_process.spawnSync('protractor', protractorParams, {stdio: "inherit"});
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue