-
Notifications
You must be signed in to change notification settings - Fork 201
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
Make SELENIUM_OVERRIDES available to override from base package.json #953
Comments
That's exactly what I need!!! |
Maybe we can even expose it as an environment variable?
|
@philippw you mean an env variable with package.json path? |
@bernardoVale Yes and no. I'd like to be able to overwrite it with config values from your base
If you just overwrite the |
@philippw take a look at my PR, I've tested locally and it works fine.
but it could be your To override with your local
|
I'm trying to convince wct-local to download selenium and its drivers via an internal Artifactory server instead of directly from GitHub. selenium-standalone supports this via its baseURL settings.
However, as selenium-standalone is a transitive dependency of wct-local I cannot override the default values.
Fortunately, there's the scripts/postinstall.js and its SELENIUM_OVERRIDES, which would allow for excatly that, would it not be the case that it only ever parses settings fromwct-local's ownpackage.json`.
Can we change the lookup path from ../package.json to ../../../package.json to be able to override the Selenium settings from the base package.json?
Bug migrated from the web-component-tester issues.
The text was updated successfully, but these errors were encountered: