everything is nice up to here, then I’d like to click the
“Konjugieren” # button, which fails
ff.button(:title,“Konjugieren”).click
ff.close
The second-to-last line gives the following error:
/usr/local/lib/ruby/gems/1.8/gems/firewatir-1.6.2/lib/firewatir/MozillaBaseElement.rb:967:in assert_exists': Unable to locate element, using :title, "Konjugieren" (Watir::Exception::UnknownObjectException) from /usr/local/lib/ruby/gems/1.8/gems/firewatir-1.6.2/lib/firewatir/MozillaBaseElement.rb:1112:in click’
from f.rb:11
… yet there’s an element with :title ‘Konjugieren’ in the website
that’s generated when I enter the information by hand.
What am I missing ?
ff.button(:title,“Konjugieren”).click
from f.rb:11
[Jason Trebilcock]
What you’re running into is an object that looks like a button, but, for
all
intents and purposes, isn’t a button. I’ve been trying to debug the
above
using Watir and am not having a whole lot of luck.