Comparing version 0.1.1 to 0.1.2
@@ -6,2 +6,4 @@ var __slice = Array.prototype.slice; | ||
var promiseWebdriver = require('./promise-webdriver'); | ||
var utils = require('./utils'); | ||
var element = require('./element'); | ||
var _ = require("underscore"); | ||
@@ -13,3 +15,3 @@ | ||
// for backward compatibility | ||
// for backward compatibility | ||
if( configUrl.host && (configUrl.host.indexOf(':') < 0) && configUrl.port ) | ||
@@ -56,4 +58,4 @@ { | ||
port: '4444', | ||
pathname: '/wd/hub' | ||
}); | ||
pathname: '/wd/hub' | ||
}); | ||
@@ -63,3 +65,3 @@ // strip any trailing slashes from pathname | ||
if (parsed.pathname[parsed.pathname.length - 1] === '/') { | ||
parsed.pathname = parsed.pathname.slice(0, parsed.pathname.length - 1) | ||
parsed.pathname = parsed.pathname.slice(0, parsed.pathname.length - 1); | ||
} | ||
@@ -85,3 +87,3 @@ return parsed; | ||
// saucelabs automatic config | ||
// saucelabs automatic config | ||
if( /saucelabs\.com/.exec(config.hostname) ) | ||
@@ -124,1 +126,4 @@ { | ||
exports.webdriver = webdriver; | ||
// export utils for other projects to use as well | ||
exports.utils = utils; |
@@ -10,3 +10,3 @@ { | ||
], | ||
"version": "0.1.1", | ||
"version": "0.1.2", | ||
"author": "Adam Christian <adam.christian@gmail.com>", | ||
@@ -13,0 +13,0 @@ "contributors": [ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
625236
83
7885