Class
mechanize._mechanize.Browser

Browser-like class with support for history, forms and links.

BrowserStateError is raised whenever the browser is in the wrong state to complete the requested operation - eg., when .back() is called when the browser history is empty, or when .follow_link() is called when the current response does not contain HTML data.

Public attributes:

request: current request (mechanize.Request or urllib2.Request) form: currently selected form (see .select_form())

Base classes

Implemented Interfaces

There are no implemented interfaces.

Attributes/Properties

Methods