Skip to content
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

directConnect via CLI - Not working #5488

Open
Krithikmano opened this issue Jan 16, 2021 · 1 comment
Open

directConnect via CLI - Not working #5488

Krithikmano opened this issue Jan 16, 2021 · 1 comment

Comments

@Krithikmano
Copy link

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.

@andredesousa
Copy link

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, };

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants