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 pageSelector
required: CSS or XPath selector for target elementTimeout
: Maximum wait time in milliseconds (default: 30000)Condition
: Wait condition ("visible", "clickable", "present", default: "visible")
Example
Outputs
Success
: Boolean indicating if element was foundElement
: Reference to found elementTime Elapsed
: Time taken to find element in ms
