docs: Match browser name with custom launcher name (#39480)
The browser being launched needs to match the custom launcher name. Otherwise Karma would still trigger the original Chrome executable without the flags. PR Close #39480
This commit is contained in:
parent
dd0ba3f4ab
commit
75bfc400cd
|
@ -238,7 +238,7 @@ We'll be using [Headless Chrome](https://developers.google.com/web/updates/2017/
|
||||||
|
|
||||||
* In the Karma configuration file, `karma.conf.js`, add a custom launcher called ChromeHeadlessCI below browsers:
|
* In the Karma configuration file, `karma.conf.js`, add a custom launcher called ChromeHeadlessCI below browsers:
|
||||||
```
|
```
|
||||||
browsers: ['Chrome'],
|
browsers: ['ChromeHeadlessCI'],
|
||||||
customLaunchers: {
|
customLaunchers: {
|
||||||
ChromeHeadlessCI: {
|
ChromeHeadlessCI: {
|
||||||
base: 'ChromeHeadless',
|
base: 'ChromeHeadless',
|
||||||
|
|
Loading…
Reference in New Issue