Class: WWW::Mechanize::Page

Class | WWW::Mechanize::Page
In: | lib/www/mechanize/monkey_patch.rb lib/www/mechanize/page.rb lib/www/mechanize/page/base.rb lib/www/mechanize/page/frame.rb lib/www/mechanize/page/link.rb lib/www/mechanize/page/meta.rb
Parent: | Object

# Synopsis

This class encapsulates an HTML page. If Mechanize finds a content type of ‘text/html’, this class will be instantiated and returned.

## Example

     require 'rubygems'
     require 'mechanize'

     agent = WWW::Mechanize.new
     agent.get('http://google.com/').class  #=> WWW::Mechanize::Page

### Methods

bases content_type encoding encoding= forms frames iframes links meta new parser root title

### Classes and Modules

Class WWW::Mechanize::Page::Base
Class WWW::Mechanize::Page::Frame
Class WWW::Mechanize::Page::Link
Class WWW::Mechanize::Page::Meta

### External Aliases

pretty_inspect | -> | inspect

### Attributes

mech | [RW] |

### Public Class methods

new(uri=nil, response=nil, body=nil, code=nil, mech=nil)

### Public Instance methods

bases()
content_type()

Get the content type

encoding()
encoding=(encoding)
forms()
frames()
iframes()
links()
meta()
parser()
root()

Alias for parser

title()

[Validate]