Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ChromeDataDir doesn't work #89

Closed
quyetvivn opened this issue Dec 31, 2016 · 1 comment
Closed

ChromeDataDir doesn't work #89

quyetvivn opened this issue Dec 31, 2016 · 1 comment

Comments

@quyetvivn
Copy link

I have config as below:

    browsers: ['Chromium', 'ChromiumWithData'],

    customLaunchers: {
      ChromiumWithData: {
        base: 'Chromium',
        chromeDataDir: __dirname + '/.chromium'
      }
    }

But when I run karma start --browsers ChromiumWithData, Karma doesn't use .chromium as dataDir. This is message from karma:
31 12 2016 23:13:18.494:DEBUG [launcher]: /usr/bin/chromium --user-data-dir=/tmp/karma-38163120 --no-default-bro wser-check --no-first-run --disable-default-apps --disable-popup-blocking --disable-translate --disable-backgrou nd-timer-throttling http://localhost:9876/?id=38163120

@maksimr
Copy link

maksimr commented Jan 1, 2017

@quyetvivn only Chrome[*] support custom user-data-dir

[*] - Chrome https://github.com/karma-runner/karma-chrome-launcher/blob/master/index.js#L24
- Chromium https://github.com/karma-runner/karma-chrome-launcher/blob/master/index.js#L85

Pull Request welcome

Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants