lib/watir-classic/element.rb in watir-classic-3.0.0 vs lib/watir-classic/element.rb in watir-classic-3.1.0
- old
+ new
@@ -294,11 +294,9 @@
def fire_event(event)
perform_action {dispatch_event(event); @container.wait}
end
def dispatch_event(event)
- assert_exists
-
if IE.version_parts.first.to_i >= 9 && container.page_container.document.documentMode.to_i >= 9
ole_object.dispatchEvent(create_event(event))
else
ole_object.fireEvent(event)
end