Skip to content

Commit ce33d7e

Browse files
committed
Have the FirefoxDriver accept lower case proxy types (which is the format documented on the wiki)
1 parent 7019451 commit ce33d7e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

javascript/firefox-driver/js/proxy.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,8 @@ fxdriver.proxy.configure_ = function(proxy_config) {
177177
proxy_config));
178178
}
179179

180-
var type = fxdriver.proxy.TYPES_[proxy_config['proxyType']];
180+
var type = fxdriver.proxy.TYPES_[
181+
(proxy_config['proxyType'] || '').toUpperCase()];
181182

182183
if (!type) {
183184
goog.log.info(fxdriver.proxy.LOG_,

0 commit comments

Comments
 (0)