Class WWW::Impostor::Wwf79
In: lib/www/impostor/wwf79.rb
Parent: WWW::Impostor
Impostor WWW dot/f_3.png

Methods

Public Class methods

After initializing the parent a mechanize agent is created

Additional configuration parameters:

:forum_posts_page :post_message_page

Typical configuration parameters { :type => :wwf79, :app_root => ‘example.com/forum/’, :login_page => ‘login_user.asp’, :forum_posts_page => ‘forum_posts.asp’, :post_message_page => ‘post_message_form.asp’ :user_agent => ‘Windows IE 7’, :username => ‘myuser’, :password => ‘mypasswd’ }

Public Instance methods

Get the new posts page for the application (specific to WWF7.9)

does the work of logging into WWF 7.9

clean up the state of the library and log out

Get the new topic page for the application (specific to WWF7.9)

Protected Instance methods

fetches the login page

Checks if the agent is already logged by stored cookie

returns the login form and its button from the login page

does the work of posting the login form

[Validate]