Open Krithikmano opened 3 years ago
Install: https://www.npmjs.com/package/cross-env
Add to package.json
"protractor": "cross-env DIRECT_CONNECT=true protractor e2e/protractor.conf.js"
... and change your protractor.conf.js
file:
exports.config = { directConnect: process.env.DIRECT_CONNECT, };
Could you please provide how to pass directConnect value in conf.js file via CLI. I tried it all possible way and it is not taking the passing value.