lib/watir/ie-process.rb in watir-3.0.0.rc1 vs lib/watir/ie-process.rb in watir-3.0.0.rc2
- old
+ new
@@ -4,10 +4,11 @@
class IE
class Process
def self.start
program_files = ENV['ProgramFiles'] || "c:\\Program Files"
startup_command = "#{program_files}\\Internet Explorer\\iexplore.exe"
- startup_command << " -nomerge" if IE.version_parts.first.to_i >= 8
+ startup_command << " -nomerge" if IE.version_parts.first.to_i == 8
+ startup_command << " -noframemerging" if IE.version_parts.first.to_i >= 9
process_info = ::Process.create('app_name' => "#{startup_command} about:blank")
process_id = process_info.process_id
new process_id
end