Skip to content

verifyMarginRight (UI Automation - Interrogation)

  • Purpose
  • Generated from getMarginRight(locator).
  • This command retrieves the CSS margin-right attribute value applied to that element
  • Syntax
  • verifyMarginRight(locator, pattern).
  • Target
  • locator - An element locator pointing to an element OR an element itself.
  • Value
  • pattern - The margin value to be verified.
  • Return Value
  • Returns margin-right in pixels.

Feedback and Knowledge Base