From 75bfc400cd034411caa2add708aa2b92e3a5fd81 Mon Sep 17 00:00:00 2001 From: Shadab Ansari Date: Thu, 29 Oct 2020 01:51:09 +0530 Subject: [PATCH] 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 --- aio/content/guide/testing.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aio/content/guide/testing.md b/aio/content/guide/testing.md index d601187525..43663cffc0 100644 --- a/aio/content/guide/testing.md +++ b/aio/content/guide/testing.md @@ -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: ``` -browsers: ['Chrome'], +browsers: ['ChromeHeadlessCI'], customLaunchers: { ChromeHeadlessCI: { base: 'ChromeHeadless',