We only have unit tests for accessing iframes by name and by index. The DOM accesses to frames is different in several ways from other page elements and therefore Watir has lots of special purpose code to make the Watir interface to frames look similar to that of other objects. Someone needs to sign up for generalizing the frame support to also work for iframes.
Bret At 05:40 PM 11/28/2005, Jeff Wood wrote: >Hmm, seems IFRAMES are woefully undersupported... > >I've got a page with an IFrame embedded. > ><iframe id="contentFrame" src="subpage.html" height="100%" width="100%" >frameborder="no"></iframe> >I seem only to be able to get to this frame by :index > >:id, /contentFrame/ returns "NoMethodError": undefined method 'invoke' for >nil:NilClass > >:src doesn't appear to be a supported :how either ... > >Can anybody point me to some light? > >j. > > >-- >"Remember. Understand. Believe. Yield! -> ><http://ruby-lang.org>http://ruby-lang.org" > >Jeff Wood >_______________________________________________ >Wtr-general mailing list >[email protected] >http://rubyforge.org/mailman/listinfo/wtr-general _____________________ Bret Pettichord www.pettichord.com _______________________________________________ Wtr-general mailing list [email protected] http://rubyforge.org/mailman/listinfo/wtr-general
