Skip to content

assertBackgroundPosition (UI Automation - Interrogation)

    Compatible with:
  • Purpose
  • Generated from getBackgroundPosition(locator).
  • Retrieves the CSS background-position attribute value applied to that element.
  • Syntax
  • assertBackgroundPosition(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