waitForColor (UI Automation - Synchronization)
Compatible with:
- Purpose
- This command is used to wait for the CSS color of a specific element.
- Syntax
- waitForColor(locator, pattern)
- Target
- locator -an element locator pointing to an element OR an element itself
- Value
- pattern
- Return Value
- The color in rgb(r, g, b) format.