-
Notifications
You must be signed in to change notification settings - Fork 16
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
Conversation
Add an optional environment variable to use a custom Selendroid binary host.
@@ -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"; |
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
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
published in 1.5.0 |
Cool, thanks @jlipps |
Add an optional environment variable to use a custom Selendroid binary host.