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