karma-runner/karma-webdriver-launcher — pull request #14 by tatablack (2014-05-10 13:46:55+00:00)
Title: Fix karma hanging after execution

While trying to use this launcher to execute tests on browsers from a Selenium Grid, I noticed that I had intermittent errors from the grid (browser timeouts, or "Failed to navigate" errors). In those cases, Karma would hang just after this launcher printed `Killed Karma test`.

This commits changes the WD.js invocation style, and solves the issue.