Chrome shows no text when started by chromedriver
See original GitHub issueIf I run tests in an angular-cli project via karma with chromedriver 2.40 chrome shows no text at all. The tests are successful, even if I check for HTML text values, but nothing is readable.
Even the dev tools (here opened in the right bar) and any other website I open have no text rendered. When running the end2end Tests with protractor I had the same problem which I could fix by adding the flag --no-sandbox. In Karma that didn’t help.
If I open another Chrome instance manually everything works as expected.
I’m on MacOSX Sierra 10.12.6. Chrome Version is 67.0.3396.99 (Offizieller Build) (64-Bit) My karma config is: `
basePath: '',
frameworks: ['jasmine', '@angular-devkit/build-angular'],
plugins: [
require('karma-jasmine'),
require('karma-chrome-launcher'),
require('karma-jasmine-html-reporter'),
require('karma-coverage-istanbul-reporter'),
require('@angular-devkit/build-angular/plugins/karma')
],
client: {
clearContext: false // leave Jasmine Spec Runner output visible in browser
},
coverageIstanbulReporter: {
dir: require('path').join(__dirname, '../coverage'),
reports: ['html', 'lcovonly'],
fixWebpackSourcePaths: true
},
reporters: ['progress', 'kjhtml'],
port: 9876,
colors: true,
logLevel: config.LOG_INFO,
autoWatch: true,
browsers: ['Chrome'],
singleRun: false
`
Issue Analytics
- State:
- Created 5 years ago
- Reactions:3
- Comments:5
Top Results From Across the Web
Google Chrome shows no text/fonts when opened with selenium
Google Chrome shows no text/fonts when opened with selenium · 2. I just found out that the scripts still work if i execute...
Read more >Chrome doesn't start or crashes immediately - ChromeDriver
First, try launching the same Chrome binary that your test uses from a normal user command prompt (check your chromedriver.log file to see...
Read more >Fix text that isn't displaying properly - Google Chrome Help
Text looks fuzzy or blurry (Windows only) If text doesn't look clear on. ... On your Windows computer, click the Start menu: Start...
Read more >ChromeDriver 103.0.5060.53 has been released
We are happy to announce that ChromeDriver version 103.0.5060.53 has been released, and is now available at the ChromeDriver Downloads site.
Read more >How To Remove Chrome Warning In Selenium WebDriver
... I will show you how you can fix Chrome Warning In Selenium WebDriver. While working with chrome you will get Timed out...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I had the same problem and found a fix: add the
--disable-gpu
flag.Issue seems to be fixed in recent versions.
Failed to reproduce the problem with a vanilla angular-cli project: