Element.focus loops with nested frames #41

Closed
Plecebo opened this Issue Aug 9, 2012 · 1 comment

Projects

None yet

2 participants

Plecebo commented Aug 9, 2012

I am having issues with Element.focus looping with nested frames on my site.

Changing the Element.focus method from:

def focus
      assert_exists
      assert_enabled
      @page_container.focus
      ole_object.focus(0)
    end

to

def focus
      assert_exists
      assert_enabled
      @container.focus
      ole_object.focus(0)
    end

fixed this issue for me.

@jarmo jarmo closed this in 22f94a6 Oct 20, 2012
Owner
jarmo commented Oct 20, 2012

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment