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
headless=false #43
headless=false #43
Conversation
Unfortunately, the env var overrides from `rc` set strings, which aren't falsey - since your DISPLAY might be defaulting even an unset headless to `true`, you couldn't override it conveniently before
it now produces `Unable to locate package oracle-java8-set-default`
.travis.yml
Outdated
@@ -18,4 +17,5 @@ addons: | |||
- ubuntu-toolchain-r-test | |||
packages: | |||
- g++-4.8 | |||
- oracle-java8-set-default | |||
before_install: |
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.
Do we still need this on node 8?
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.
Oh, which version started shipping npm6?
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.
looks like 8.12.0; will fix.
if (config.get('chrome.headless', !process.env.DISPLAY)) { | ||
args.push('--headless'); | ||
} | ||
var headlessCfg = config.get('chrome.headless', !process.env.DISPLAY); |
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.
🎉
with 8.x > 8.12.0 we get npm6 preinstalled
Unfortunately, the env var overrides from
rc
set strings, which aren'tfalsey - since your DISPLAY might be defaulting even an unset headless
to
true
, you couldn't override it conveniently before