Launcher for Yandex Browser, a Chromium-based browser from Yandex, Russian largest search engine company.
The easiest way is to keep karma-yandex-launcher
as a devDependency in your package.json
.
{
"devDependencies": {
"karma": "~0.10",
"karma-yandex-launcher": "~0.1"
}
}
You can simple do it by:
npm install karma-yandex-launcher --save-dev
You can create launchers, here's a list of Chromium command-line switches.
// karma.conf.js
module.exports = function(config) {
config.set({
browsers: ['Yandex', 'Yandex_without_security'],
customLaunchers: {
Yandex_without_security: {
base: 'Yandex',
flags: ['--disable-web-security']
}
}
});
};
You can pass list of browsers as a CLI argument too:
karma start --browsers Yandex