Created
April 8, 2009 11:51
-
-
Save raldred/91738 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/firewatir/lib/firewatir/firefox.rb b/firewatir/lib/firewatir/firefox.rb | |
index 68e240c..89d1ccf 100644 | |
--- a/firewatir/lib/firewatir/firefox.rb | |
+++ b/firewatir/lib/firewatir/firefox.rb | |
@@ -129,10 +129,10 @@ module FireWatir | |
if current_os == :macosx && !%x{ps x | grep firefox-bin | grep -v grep}.empty? | |
raise "Firefox is running without -jssh" if jssh_down | |
- options[:launch_new_window] = true | |
+ launch_override = true | |
end | |
- if options[:launch_new_window] and not options[:suppress_launch_process] | |
+ if launch_override and not options[:suppress_launch_process] | |
open_window | |
elsif not options[:suppress_launch_process] | |
bin = path_to_bin() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment