Skip to content

Wait for Element (Web)

Function Description

TIP

Wait for the specified element on the web page to appear or disappear before proceeding with the next steps

Wait for Element (Web)

Configuration Item Description

General

Command Input

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

  • Target ElementTTarget: Select the web element you want to operate on

  • Wait StateInteger: Select the wait state

  • Set TimeoutBoolean: Set the wait timeout period; the process will continue automatically if it times out

  • Timeout (Milliseconds)Integer: Set the maximum wait time

Command Output

  • Wait ResultBoolean: If true, the wait was successful; otherwise, it timed out

Advanced

  • Delay Before (ms)Integer: The waiting time before instruction execution

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