diff --git a/lib/rewrite_config.js b/lib/rewrite_config.js
index <HASH>..<HASH> 100644
--- a/lib/rewrite_config.js
+++ b/lib/rewrite_config.js
@@ -17,8 +17,8 @@ module.exports = function (sourceConfigPath, tempAssetPath, options) {
     conf.selenium.port = options.localSeleniumPort;
     conf.test_settings.default.selenium_port = options.localSeleniumPort;
 
-    if (options.seleniumServerVersion) {
-      conf.selenium.server_path = util.format(SELEMIUM_VER_STR_TMPLT, options.seleniumServerVersion);
+    if (options.localSeleniumVersion) {
+      conf.selenium.server_path = util.format(SELEMIUM_VER_STR_TMPLT, options.localSeleniumVersion);
     }
   }
patch selenium server version while launching up