Skip to content

Use environment variable to specify protractor location#72

Open
AdamSelene wants to merge 2 commits intomllrsohn:masterfrom
AdamSelene:master
Open

Use environment variable to specify protractor location#72
AdamSelene wants to merge 2 commits intomllrsohn:masterfrom
AdamSelene:master

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