From e1534ff58470d55ad935057f2c9164f9d75ff3f6 Mon Sep 17 00:00:00 2001 From: Hugh McGowan Date: Wed, 1 Feb 2012 14:12:26 -0600 Subject: [PATCH] IE9 needed a parameter sent to ole_object#submit. Another silent failure --- watir/lib/watir/form.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/watir/lib/watir/form.rb b/watir/lib/watir/form.rb index 93c1ce5a..7d376488 100644 --- a/watir/lib/watir/form.rb +++ b/watir/lib/watir/form.rb @@ -41,7 +41,7 @@ def locate # Submit the data -- equivalent to pressing Enter or Return to submit a form. def submit assert_exists - @o.submit if dispatch_event "onSubmit" + @o.submit(0) if dispatch_event "onSubmit" @container.wait end