I tried this method after seeing this thread as it got me curious as
I'd never seen it before; and got the same error.  I dug a little
deeper, and found you'll possibly need to add in an extra command.
Does this work for you?

browser.element(how, what).document.scrollIntoView

such as...

browser.button(:id, "btnSave").document.scrollIntoView




On Apr 21, 2:51 pm, Abe Heward <abe.hew...@gmail.com> wrote:
> Unfortunately that just fails with an unknown method error.
>
> There aren't any text fields in the part of the screen that I want to get
> to. Perhaps this method only works with text fields?

-- 
Before posting, please read http://watir.com/support. In short: search before 
you ask, be nice.

watir-general@googlegroups.com
http://groups.google.com/group/watir-general
watir-general+unsubscr...@googlegroups.com

Reply via email to