Skip to content

ExtractFormData

Miriam McMahon edited this page Apr 27, 2023 · 6 revisions

Description

Extract form input elements from an HTML page response

Parameters

Parameter Name Description Type Resolved Type Required
ResponseObjectName The name of the HTTP Response object that contains the HTML page content String String Yes
FormObjectName The name of the variable to add or update with the collection of form inputs String String Yes
XPath Optional XPath of the form in the HTML page. Defaults to discovering all forms in the page String String No
ContainsSecret Avoid logging any input values; defaults to false Boolean Boolean No

Compatibility

This command was introduced in Safeguard 2.8

Examples

Example:

{
    "ExtractFormData": {
        "ResponseObjectName": "LoginFormResponse",
        "FormObjectName": "LoginForm"
    }
}