karma-chrome-launcher
karma-chrome-launcher copied to clipboard
Open a new instance of browser
Is there any configuration for karma to launch browser in a separate instance? I usually has chrome open for my own surfing web purpose. When i startup karma, it always open a new tab in the chrome which i have opened. For some reason, this is not what i want. I need it to open in a separate window
@hanct that's not supposed to happen. Are you passing the same --data-dir
as your personal chrome to the karma chrome?
Hey @rogeriopvl I have the same question. In my karma.conf.js I have browsers: ['Chrome']
listed. Running ng test
opens a second instance of Chrome for Karma. (using the default Angular CLI testing settings with Karma-Chrome-Launcher)
@BenRacicot that's actually the opposite of what @hanct was mentioning. So it's the expected behavior. You shouldn't use your personal chrome instance because the results may be tainted by installed extensions, configs etc.