WebFormFields Commands Guide
Environment
12.0;12.1;12.2;12.4;12.3;12.6;13.0;13.2;13.1;14.0;14.2;14.6 Privileged Access Manager (PAM, self-hosted);Privilege Cloud PSM;Privileged Session Management (PSM);PSM for web
Procedure
Text Input
Purpose of the command:
Unsert text into element
Syntax:
- HtmlAttributeValue > Value (searchby=somevalue)
- HtmlAttributeValue > Value
Slow Text Input
Purpose of the command:
Unsert text into element with delay between each character inserted
Syntax:
- HtmlAttributeValue > Value (searchby=AttributeType) (sendslow=number of seconds to wait)
- HtmlAttributeValue > Value (sendslow=number of seconds to wait) (searchby=AttributeType)
- HtmlAttributeValue > Value (sendslow=number of seconds to wait)
Click
Purpose of the command:
Click on the requested html element
Syntax:
- HtmlAttributeValue > (Button) (searchby=AttributeType)
- HtmlAttributeValue > (Button)
- HtmlAttributeValue > (Click) (searchby=AttributeType)
- HtmlAttributeValue > (Click)
Iframe
Purpose of the command:
Focus on the requested iframe
Syntax:
- HtmlAttributeValue > (Iframe) (searchby=AttributeType)
- HtmlAttributeValue > (Iframe)
- (Iframe)
Note: use third option when iframe has no identifier
MainWindow
Purpose of the command:
Focus on the main window
Syntax:
- (MainWindow)
Validation
Purpose of the command:
Validate that the given element exists in page.
Syntax:
- HtmlAttributeValue > (Validation) (searchby=AttributeType)
- HtmlAttributeValue > (Validation)
- HtmlAttributeValue > (Verification) (searchby=AttributeType)
- HtmlAttributeValue > (Verification)
Failure
Purpose of the command:
Validate that the given element doesn't exists in page.
Syntax:
- HtmlAttributeValue > (Failure) (searchby=AttributeType)
- HtmlAttributeValue > (Failure) (message=error message)
- HtmlAttributeValue > (Failure) (message=error message) (searchby=AttributeType)
- HtmlAttributeValue > (Failure) (searchby=AttributeType) (message=error message)
Navigate
Purpose of the command:
Navigate the browser to the specified URL.
Syntax:
- (Navigate=URL)
Wait
Purpose of the command:
Wait the specified time in seconds
Syntax:
- (Wait=number of seconds)
Run Custom Logic
Purpose of the command:
Run the custom logic in the specified dll with the specified input parameters separated by />
Syntax:
- Run dllname (parameter1=value1/>parameter2=value2)
Note: The dllname is chosen from a hardcoded list:
- Generate_TOTP_MFA_Code = Cyberark.Extensions.GenerateTOTPCode.dll
Allowed Attribute Types
- Text
- Id
- Name
- Class
- Xpath
- Css
When not specified - uses Id by default