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

headless=false #43

Merged
merged 4 commits into from May 17, 2019
Merged

headless=false #43

merged 4 commits into from May 17, 2019

Conversation

dbushong
Copy link
Member

  • fix: support testium_chrome__headless=false
  • chore: switch to npm6

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

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:
Copy link
Member

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?

Copy link
Member Author

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?

Copy link
Member Author

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);
Copy link
Member

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
@dbushong dbushong merged commit 631a999 into master May 17, 2019
@dbushong dbushong deleted the dbushong/feature/master/headless-false branch May 17, 2019 16:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants