Class Scrubyt::FetchAction
In: lib/scrubyt/core/navigation/fetch_action.rb
Parent: Object

Fetching pages (and related functionality)

Since lot of things are happening during (and before) the fetching of a document, I decided to move out fetching related functionality to a separate class - so if you are looking for anything which is loading a document (even by submitting a form or clicking a link) and related things like setting a proxy etc. you should find it here.

Methods

Public Class methods

Click the link specified by the text

Action to fetch a document (either a file or a http address)

parameters

doc_url - the url or file name to fetch

At any given point, the current document can be queried with this method; Typically used when the navigation is over and the result document is passed to the wrapper

[Validate]