Skip to content

storeBackgroundPosition (UI Automation - Manipulation)

Compatible with:
  • Purpose
  • Generated from getBackgroundPosition(locator)
  • This command retrieves the CSS background-position attribute value applied to that element.
  • Syntax
  • storeBackgroundPosition(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 position.
← to UI Automation - Manipulation home

Feedback and Knowledge Base