The getPageAction() method searches and returns the action object from the specified page instance.

Syntax

bapi.helper.getPageAction(*page, actID*)

Parameters

page

The page instance.

actID

A unique action id from the provided page.

Return Value

Returns the action object found or null if action not found.

Example

bapi.helper.getPageAction(CURRENT_BROWSER_FORM, 320016);

Result

{
	id: 320016,
	deleted: 0,
	name: "Element - Set value - ",
	type: 100016,
	formID: 301596,
	...
}