<div><br></div>Looking at the rdocs, <a href="http://wtr.rubyforge.org/rdoc/1.6.5/">http://wtr.rubyforge.org/rdoc/1.6.5/</a>, have you tried<div><br></div><div>browser.frame(&quot;main&quot;).html</div><div><br></div><div>
?<br><br><div class="gmail_quote">On Tue, Apr 20, 2010 at 10:51 AM, Dan Martin <span dir="ltr">&lt;<a href="mailto:ummar143@shaw.ca">ummar143@shaw.ca</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
I am learning to navigate and scrape.  I have had more success with<br>
Firewatir than Ruby mechanize, but both are poorly documented.<br>
<br>
Current problem:  logging into a site webpage, Firwatir can see the<br>
frames, but cannot access them.<br>
<br>
 &gt;&gt; browser.show_frames<br>
There are 3 frames<br>
frame: name: topbar<br>
       index: 1<br>
frame: name: langFrame<br>
       index: 2<br>
frame: name: main<br>
       index: 3<br>
=&gt; 0..2<br>
<br>
 &gt;&gt; browser.frame(:index, 1)<br>
=&gt; #&lt;FireWatir::Frame:0x1a9260c located=false how=:index what=1&gt;<br>
<br>
 &gt;&gt; browser.frame(&quot;main&quot;)<br>
=&gt; #&lt;FireWatir::Frame:0x1a90dd4 located=false how=:name what=&quot;main&quot;&gt;<br>
<br>
Firefox shows the webpage source [I show only the top levels]<br>
structure as:<br>
<br>
&lt;html&gt;<br>
<br>
&lt;head&gt;<br>
        &lt;meta http-equiv=&quot;content-type&quot; content=&quot;text/html;charset=iso-8859-1&quot;&gt;<br>
        &lt;title&gt;TITLE&lt;/title&gt;<br>
        &lt;link rel=&quot;stylesheet&quot; href=&quot;all.css&quot;&gt;<br>
<br>
        &lt;script language=&quot;JavaScript&quot; src=&quot;WEBPAGE&quot;&gt;&lt;/script&gt;<br>
        &lt;script language=&quot;JavaScript&quot;&gt;FUNCTIONS&lt;/script&gt;<br>
&lt;/head&gt;<br>
<br>
        &lt;frameset rows=&quot;63,0,*&quot; border=&quot;0&quot; id=&quot;frameset_ID&quot; framespacing=&quot;0&quot;<br>
frameborder=&quot;no&quot; onload=&quot;loadHomepage(1);&quot; onunload=&quot;forceLogout();&quot;&gt;<br>
                &lt;frame src=&quot;/TDM/header.htm&quot; name=&quot;topbar&quot; scrolling=&quot;no&quot;<br>
noresize&gt;STUFF IN HERE&lt;/frame&gt;<br>
<br>
                &lt;frame name=&quot;langFrame&quot; src=&quot;lang.html&quot;&gt;STUFF IN HERE&lt;/frame&gt;<br>
                &lt;frame src=&quot;&quot; id=&quot;main_ID&quot; name=&quot;main&quot; noresize&gt;STUFF IN HERE THAT I<br>
WANT&lt;/frame&gt;<br>
        &lt;/frameset&gt;<br>
<br>
        &lt;noframes&gt;<br>
                STUFF IN HERE<br>
        &lt;/noframes&gt;<br>
<br>
&lt;/html&gt;<br>
<br>
<br>
I cannot access any forms etc included in the frame unless I can<br>
name / access the frame.<br>
Any ideas?<br>
<br>
Dan Martin<br>
GP Hospital Practitioner<br>
Computer Scientist<br>
<a href="mailto:ummar143@shaw.ca">ummar143@shaw.ca</a><br>
(204) 831-1746<br>
answering machine always on<br>
<br>
_______________________________________________<br>
Roundtable mailing list<br>
<a href="mailto:Roundtable@muug.mb.ca">Roundtable@muug.mb.ca</a><br>
<a href="http://www.muug.mb.ca/mailman/listinfo/roundtable" target="_blank">http://www.muug.mb.ca/mailman/listinfo/roundtable</a><br>
</blockquote></div><br><br clear="all"><br>-- <br>Sean Walberg &lt;<a href="mailto:sean@ertw.com">sean@ertw.com</a>&gt;    <a href="http://ertw.com/">http://ertw.com/</a><br>
</div>