Comments (1)
Actually we started to explore the same issue and the thing that helped was to start use of custom launcher with couple of flags.
Before our karma.conf.js contained the following settings:
module.exports = function (config) {
config.set({
...
browsers: ['Chrome'],
...
customLaunchers: {
ChromeHeadlessNoSandbox: {
base: 'ChromeHeadless',
flags: ['--no-sandbox']
}
},
});
}
Now it contains the following changes and tests are started to run again:
module.exports = function (config) {
config.set({
...
browsers: ['ChromeNoSandbox'],
...
customLaunchers: {
ChromeNoSandbox: {
base: 'Chrome',
flags: [
'--no-sandbox',
]
}
},
});
}
P.S.
Added the same comment on StackOverflow
from karma-chrome-launcher.
Related Issues (20)
- Single run true is not launching KARMA chrome browser(chrome_bin env variable Issue) in SAPUI5
- Chrome headless fails to start HOT 1
- libXcomposite HOT 1
- Launch chrome with debug logs on console HOT 3
- Headless Chromium without Puppeteer HOT 2
- Broken link to project homepage HOT 1
- Set user agent
- Set Up CI/CD with GitHub Actions HOT 1
- Use Semantic Release instead of Grunt
- Using chrome with Windows+WSL
- Chrome not launching on Ubuntu 20.04 HOT 1
- Disallow `chore` Commit Type Across Org HOT 1
- npm i -D karma-chrome-launcher
- Tests are running slower on the launched chrome browser HOT 4
- Chrome headless lost WebGL support on MacOS HOT 7
- Using puppeteer Chrome bin broken with version 111
- Support for Chrome's new headless mode
- Add doc deprecation recommending @web/test-runner-chrome
- Add --disable-backgrounding-occluded-windows to default flags
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from karma-chrome-launcher.