Skip to content

storeBackgroundImage (UI Automation - Manipulation)

Compatible with:
  • Purpose
  • Generated from getBackgroundImage(locator)
  • This commands retrieves the CSS background-image attribute value applied to that element.
  • Syntax
  • storeBackgroundImage(locator, variableName)
  • Target
  • locator - an element locator pointing to an element OR an element itself
  • Value
  • variableName - An identifier used to store the aforementioned property.
  • Return Value
  • The background-image.

Feedback and Knowledge Base