Browse Source

Stop using XRE_PROFILE_PATH for FF binary startup

Daniel Gempesaw 9 years ago
parent
commit
68991da7a8
1 changed files with 1 additions and 4 deletions
  1. 1 4
      lib/Selenium/Firefox/Binary.pm

+ 1 - 4
lib/Selenium/Firefox/Binary.pm

@@ -70,10 +70,7 @@ sub setup_firefox_binary_env {
     $profile->add_webdriver($port);
     $profile->add_webdriver($port);
     $profile->add_marionette($marionette_port);
     $profile->add_marionette($marionette_port);
 
 
-    $ENV{'XRE_PROFILE_PATH'} = $profile->_layout_on_disk;
-    $ENV{'MOZ_NO_REMOTE'} = '1';             # able to launch multiple instances
-    $ENV{'MOZ_CRASHREPORTER_DISABLE'} = '1'; # disable breakpad
-    $ENV{'NO_EM_RESTART'} = '1';             # prevent the binary from detaching from the console.log
+    return $profile;
 }
 }