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

Use environment variable to specify protractor location #72

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

AdamSelene
Copy link

Hi,
In some situations, it's useful to be able to specify one protractor install location to use.
For instance, one of my clients prevents any .cmd or .bat file to be executed outside of a specific directory (where global npm packages are installed). Thus, I needed to tell gulp-protractor to use the globally installed protractor.
This PR introduces the PROTRACTOR_DIR environment variable to specify the directory where the protractor and webdriver-manager binaries / wrappers are located.

@ArchmageInc
Copy link
Contributor

+1

1 similar comment
@pachirel
Copy link

+1

@jfstephe
Copy link

gulp-protractor doesn't work with --no-bin-links as .bin doesn't exist. This could be a good work around for this. Can this be merged?
@AdamSelene - can you resolve the conflicts?

@AdamSelene
Copy link
Author

@jfstephe done

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

Successfully merging this pull request may close these issues.

4 participants