Skip to content

Karma fails to capture Chrome v93 (but OK with Chrome Headless) #234

@craigfowler

Description

@craigfowler

Not so much a Karma bug but an issue I imagine others will search for. I figure it's worth reporting it here so that others may find both the problem and workaround together. I have also posted this on StackOverflow with further detail.

I have recently found that following an auto-update to Chrome v93 on our CI build agents, Karma has begun failing to capture Chrome and eventually gives up. In our karma.conf.js file, we were previously using browsers: ['Chrome'].

We have worked around this (and our builds succeed again) by switching to browsers: ['ChromeHeadless'] in our Karma config.

There might also be some kind of issue with Chrome itself which needs fixing, but for those who can manage with ChromeHeadless instead of full Chrome, the workaround should get things going again.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions