TWAZI

Wait For Element

Waits for a specific element to appear or meet certain conditions on a web page.

Inputs

  • Web Page required: Browser instance with loaded page
  • Selector required: CSS or XPath selector for target element
  • Timeout: Maximum wait time in milliseconds (default: 30000)
  • Condition: Wait condition ("visible", "clickable", "present", default: "visible")

Example

{
  "Web Page": "<browser_instance>",
  "Selector": ".loading-complete",
  "Timeout": 60000,
  "Condition": "visible"
}

Outputs

  • Success: Boolean indicating if element was found
  • Element: Reference to found element
  • Time Elapsed: Time taken to find element in ms
Wait for element workflow example

On this page

Edit on GitHub