Hello, How to acess frames with Mechanize? this is the page:>> form.submit=> #<Mechanize::Page{url #<URI::HTTP:0x1011cc918 URL: http://assistemas.no-ip.org:8088/helpdesk/corpocliente.html>} {meta} {title nil} {iframes} {frames #<Mechanize::Page::Frame "menuprincipalcliente" "menuprincipalcliente.html"> #<Mechanize::Page::Frame "homecliente" "homecliente.html">} {links} {forms}>>>-- Atenciosamente, Andr? Lima -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://rubyforge.org/pipermail/mechanize-users/attachments/20100317/31e0247d/attachment.html>
sorry, this is the page: => #<Mechanize::Page {url #<URI::HTTP:0x1017119f0 URL: http://assistemas.no-ip.org:8088/helpdesk/atendimento.php>} {meta} {title nil} {iframes} {frames} {links} {forms}>>>2010/3/17 Andr? Lima Silva <andrelimasilva at gmail.com>> Hello, > > How to acess frames with Mechanize? > > this is the page: > > >> form.submit=> #<Mechanize::Page > {url > #<URI::HTTP:0x1011cc918 URL: > http://assistemas.no-ip.org:8088/helpdesk/corpocliente.html>} > {meta} > {title nil} > {iframes} > {frames > #<Mechanize::Page::Frame "menuprincipalcliente" > "menuprincipalcliente.html"> > #<Mechanize::Page::Frame "homecliente" "homecliente.html">} > {links} > {forms}> > > >> > > > -- > Atenciosamente, > > Andr? Lima > >-- Atenciosamente, Andr? Lima -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://rubyforge.org/pipermail/mechanize-users/attachments/20100317/db4dc7f0/attachment.html>
page = form.submit page.frames The second one you sent doesn''t look like it has any frames to access though. ~Jeremy 2010/3/17 Andr? Lima Silva <andrelimasilva at gmail.com>> sorry, > > this is the page: > > => #<Mechanize::Page > {url > #<URI::HTTP:0x1017119f0 URL: > http://assistemas.no-ip.org:8088/helpdesk/atendimento.php>} > {meta} > {title nil} > {iframes} > {frames} > {links} > {forms}> > > >> > > 2010/3/17 Andr? Lima Silva <andrelimasilva at gmail.com> > > Hello, >> >> How to acess frames with Mechanize? >> >> this is the page: >> >> >> form.submit=> #<Mechanize::Page >> {url >> #<URI::HTTP:0x1011cc918 URL: >> http://assistemas.no-ip.org:8088/helpdesk/corpocliente.html>} >> {meta} >> {title nil} >> {iframes} >> {frames >> #<Mechanize::Page::Frame "menuprincipalcliente" >> "menuprincipalcliente.html"> >> #<Mechanize::Page::Frame "homecliente" "homecliente.html">} >> {links} >> {forms}> >> >> >> >> >> >> -- >> Atenciosamente, >> >> Andr? Lima >> >> > > > -- > Atenciosamente, > > Andr? Lima > > > _______________________________________________ > Mechanize-users mailing list > Mechanize-users at rubyforge.org > http://rubyforge.org/mailman/listinfo/mechanize-users >-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://rubyforge.org/pipermail/mechanize-users/attachments/20100317/7ebcda7c/attachment.html>