karma-runner / karma-webdriver-launcher

A plugin for Karma. Launch any browser with WebDriver.
MIT License
66 stars 40 forks source link

Allow for the host to run tests against to be passed in via karmaHost property #16

Closed sonarsphere closed 9 years ago

sonarsphere commented 10 years ago

I have found a need to be able to pass a host which webdriver test instances should use to run their tests against.

Being able to alter the host on the webdriver launcher means that tests which run locally can still utilize the default host (localhost) and hence be less likely to have proxy issues.

mtscout6 commented 9 years ago

Use the hostname config value in your Karma config. See the hostname definition at http://karma-runner.github.io/0.12/config/configuration-file.html