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

Wrong configuration #3

Open
tomfun opened this issue Apr 22, 2019 · 0 comments
Open

Wrong configuration #3

tomfun opened this issue Apr 22, 2019 · 0 comments

Comments

@tomfun
Copy link

tomfun commented Apr 22, 2019

I've used selenium hub, with the only running chrome browser. With default configuration (from readme) it attempts to launch firefox, and in my case fails.
This configuration worked for me:

// ...
    customLaunchers: {
      selenium_chrome: {
        base: 'Selenium',
        config: {
          desiredCapabilities: {
            browserName: 'chrome', // <-- ! browser name here
          },
          // host: 'selenium-hub',
          host: process.env.SELENIUM_HOST,
          port: 4444,
          path: '/wd/hub',
        },
        name: 'Karma Test',
      },
    },
    hostname: process.env.KARMA_HOST || 'localhost',
// ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant