chenglou/node-huxley — pull request #66 by SlexAxton (2014-07-02 00:14:28+00:00)
Title: Don't use the openDummy technique with injected drivers.

I *think* the entire technique may be able to be retired entirely since we're not taking screenshots of the whole browser ui, but just in case, this just disables it for external driver situations. We could also just reuse the 'driver' function and create a new injectedDriver, but in situations like in sauce or browserstack, this would spin up an entirely unrelated session.

More specifically, there's no guarantees of a `serverUrl` or anything when an external driver is being used. For me, this caused `ECONNREFUSED` errors in the dummy driver because it didn't have anywhere to connect.