Browse files

IE9 needed a parameter sent to ole_object#submit. Another silent failure

  • Loading branch information...
1 parent 2c3e394 commit e1534ff58470d55ad935057f2c9164f9d75ff3f6 Hugh McGowan committed Feb 1, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 watir/lib/watir/form.rb
View
2 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

0 comments on commit e1534ff

Please sign in to comment.