Skip to content

waitForBackgroundImage (UI Automation - Synchronization)

Compatible with:
  • Purpose
  • Generated from getBackgroundImage(locator)
  • This command waits for the CSS background-image attribute value applied to that element
  • Syntax
  • waitForBackgroundImage(locator, pattern)
  • Target
  • locator - An element locator pointing to an element OR an element itself.
  • Value
  • pattern - The value to be verified.
  • Return Value
  • The background-image.

Feedback and Knowledge Base