Actions

 

 

 

Applies to:

Reference

 

Description:

Actions are functions (methods) that can be executed on a target object. Actions are methods owned by a BrowserBob object. In other words: each BrowserBob object owns certain actions that can be executed upon itself.

 

Example: each BrowserBob web object owns the action "Back". If this action is executed, the web object navigates to the previous page.

 

Definition of an action:

An action is defined by the 3 basic parts, the owner object (target), the action name and possible parameters.

 

Target: object on which the action is performed (e.g.: Main Web)

Action: function to be executed (e.g.: Navigate to Target)

Parameter: additional information for the function (e.g.: www.browserbob.com)

 

Triggering actions:

Actions can be triggered by buttons (which would be the most obvious way), by events, by the scanning functionality, by action lists as well as the BrowserBob Script extension - directly out of html content.

 

In order to call an action, the target object for the action needs to be specified (selected) first. Depending on the type of target object (or the object itself, if it owns action lists), different actions can be executed.

 

Example: if the target object is a web object, available actions would be back, forward, cancel, navigate to target (link), reload and many others.

 

 

List of all available actions, sorted by target object