[Mechanize-users] Get Frames

Jeremy Woertink jeremywoertink at gmail.com
Wed Mar 17 14:20:32 EDT 2010


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>


More information about the Mechanize-users mailing list