Skip to content

verifyBackgroundPosition (UI Automation - Interrogation)

  • Purpose
  • Generated from getBackgroundPosition(locator).
  • Retrieves the CSS background-position attribute value applied to that element.
  • Syntax
  • verifyBackgroundPosition(locator, pattern)
  • Target
  • locator - an element locator pointing to an element OR an element itself.
  • Value
  • Pattern - The position to be verified.
  • Return Value
  • The background-position.

 

Feedback and Knowledge Base