Skip to content

assertBackgroundRepeat (UI Automation - Interrogation)

Compatible with:
  • Purpose
  • Generated from getBackgroundRepeat(locator).
  • Retrieves the CSS background-repeat attribute value applied to that element.
  • Syntax
  • assertBackgroundRepeat(locator, pattern) 
  • Target
  • locator - an element locator pointing to an element OR an element itself.
  • Value
  • Pattern - The repeat to be verified.  
  • Return Value
  • The background-repeat.

Feedback and Knowledge Base