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

#38 - Selenium binary host configuration #39

Merged
merged 3 commits into from
Dec 13, 2016

Conversation

marcbuils
Copy link
Contributor

Add an optional environment variable to use a custom Selendroid binary host.

Add an optional environment variable to use a custom Selendroid binary host.
@jsf-clabot
Copy link

jsf-clabot commented Dec 13, 2016

CLA assistant check
All committers have signed the CLA.

@@ -6,7 +6,8 @@ import log from './logger';
import crypto from 'crypto';

const SE_VER = "0.17.0";
const SE_DOWNLOAD = `http://repo1.maven.org/maven2/io/selendroid/selendroid-standalone/${SE_VER}/selendroid-standalone-${SE_VER}-with-dependencies.jar`;
const SE_DOWNLOAD_CDNURL = process.env.APPIUM_SELENDROID_CDNURL || "http://repo1.maven.org/maven2/io/selendroid/selendroid-standalone";
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

would be great to include this as an npm install parameter as well as an environment variable, like we do in appium-chromedriver; care to add that? otherwise this looks great.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good idea, I update the code ;)
Thanks

Selenium binary host configuration with npm arguments or environment variable.
Thanks jlipps for this remark !
Update README.md to add the custom binaries url configuration
@jlipps jlipps merged commit ff47a79 into appium-boneyard:master Dec 13, 2016
@jlipps
Copy link
Contributor

jlipps commented Dec 13, 2016

published in 1.5.0

@marcbuils marcbuils deleted the patch-1 branch December 13, 2016 22:55
@marcbuils
Copy link
Contributor Author

Cool, thanks @jlipps

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.

3 participants