Skip to content

IF Web Page Contains

Function Description

TIP

Check if the specified text or element appears on the web page

IF Web Page Contains

Configuration Item Description

General

Command Input

  • Web Page ObjectTBrowser: Enter a web page object obtained or created by the 'Open Web Page' function

  • Check if the web page containsInteger: Specify the type of content you want to check, either element or text

  • Target ElementTTarget: Select the web page element to check

  • Text Contentstring: Input the text content to check

Command Output

No output for the current command

Error Handling

  • Print Error LogsBoolean: Whether to print error logs to the "Logs" panel when the command fails. Default is checked.

  • Handling MethodInteger:

    • Terminate Process: If the command fails, terminate the process.

    • Ignore Exception and Continue Execution: If the command fails, ignore the exception and continue the process.

    • Retry This Command: If the command fails, retry the command a specified number of times with a specified interval between retries.

Usage Example

Process logic description:

Common Errors and Handling

None

Frequently Asked Questions

None