Everytime I start karma with for testing, a new instance of browser is opened (Firefox in my case). This is annoying because it pops out over the other windows (I am using windows 8).
Is there any karma configuration to make it start minimized? Or maybe another solution which would solve my problem.
No, you cannot at the moment. There's an issue on the repo for that but it hasn't been closed yet.
While it is possible to pass some user preferences, there's not yet the option to pass the -tray
command line option described here.
Update 2022; below causes errors, like:
Chrome failed 2 times (cannot start). Giving up.
You can definitely add flags to the Chrome launcher configuration.
I'm not sure you can do what you are looking for tough: the only thing I found is the --no-startup-window
flag.
Add it to the launcher configuration section and let us know if it works for your purpose.
Have a look at the launcher
documentation to see how to add flags.