Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

focus page container before focusing on the element itself

  • Loading branch information...
commit 684286ed84170b5ad61d4c260a9a02a50f035748 1 parent 0d1e8b2
@jarmo jarmo authored
Showing with 1 addition and 0 deletions.
  1. +1 −0  watir/lib/watir/element.rb
View
1  watir/lib/watir/element.rb
@@ -437,6 +437,7 @@ def create_event(event)
def focus
assert_exists
assert_enabled
+ @page_container.focus
ole_object.focus
end
Please sign in to comment.
Something went wrong with that request. Please try again.