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 Chrome version detected to be 0.0.0 on Linux #2923

Closed
applecool opened this issue Jan 26, 2018 · 5 comments
Closed

Headless Chrome version detected to be 0.0.0 on Linux #2923

applecool opened this issue Jan 26, 2018 · 5 comments

Comments

@applecool
Copy link

Expected behaviour

Karma should display a real version number of Chrome Headless.

Actual behaviour

It always displays HeadlessChrome 0.0.0 (Linux 0.0.0).

Environment Details

  • OS version: Ubuntu 16.04.3 LTS
  • Karma version (output of karma --version):
    2.0.0
  • Relevant part of your karma.config.js file
    browsers: ['ChromeHeadless']

Steps to reproduce the behaviour

  1. Specify browsers: ['ChromeHeadless'] in the Karma config.
  2. Run any tests.
  3. Look at the terminal.

Console Output:

26 01 2018 07:24:08.869:INFO [launcher]: Starting browser ChromeHeadless
26 01 2018 07:24:09.145:INFO [HeadlessChrome 0.0.0 (Linux 0.0.0)]: Connected on socket rmz46iav0YsA7WiUAAAA with id 10185539
@lusarz
Copy link
Contributor

lusarz commented Feb 12, 2018

It may be related with:
3rd-Eden/useragent#118

@mmermerkaya
Copy link

In my project, HeadlessChrome version detection works fine in Karma 2.0.0, but doesn't work in 2.0.2.

@mmermerkaya
Copy link

Looks like it's because useragent was downgraded from 2.3.0 to 2.2.1 in #2937, most likely because of this bug: 3rd-Eden/useragent#120.

So it's either proper Windows versions or proper HeadlessChrome version... 😕

@rkuzsma
Copy link
Contributor

rkuzsma commented Nov 3, 2018

Dupe of #2762

@mgol
Copy link
Contributor

mgol commented Nov 10, 2018

This issue should be closed as it's a duplicate and the issue it duplicates is already closed.

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

No branches or pull requests

6 participants