Skip to content

Commit

Permalink
Merge pull request #55 from mCzolko/master
Browse files Browse the repository at this point in the history
Take control of instances of injected driver.
  • Loading branch information
chenglou committed Apr 6, 2014
2 parents c5d4165 + 8a15f2d commit 1ea8397
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/browser/driver.js
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ function _open(browserName, serverUrl, next) {
function open(browserName, serverUrl, next) {
if (_injectedDriver) {
console.log('Using injected driver.');
next(null, _injectedDriver);
next(null, _injectedDriver());
return;
}

Expand Down

0 comments on commit 1ea8397

Please sign in to comment.