Module: dCafCommands

Contains all of the commands for the hayD-Caf plugin.

Author:
  • Seth Hollingsead
Source:

Requires

Methods

(inner) buildBrowserActionFunction(inputData, inputMetaData) → {array.<boolean, object>}

Creates a function that can be used to execute an action against a browser or HTML interface of some kind.

Parameters:
Name Type Description
inputData array.<string>

An array that could actually contain anything, depending on what the user entered. But the function filters all of that internally and extracts the case the user has entered a list of meta-data that should be used for construction the browser action. inputData[0] === 'buildBrowserActionFunction' inputData[1] === CSS-locator inputData[2] === parent inputData[n] === action (default/override)

inputMetaData string

Not used for this command.

Author:
  • Seth Hollingsead
Source:
Returns:

An array that contains a boolean to indicate that the application should not exit, and a JSON object that contains data about the object after the change was made.

Type
array.<boolean, object>