Skip to content

verifyMarginLeft (UI Automation - Interrogation)

  • Purpose
  • Generated from getMarginLeft(locator).
  • This command retrieves the CSS margin-left attribute value applied to that element
  • Syntax
  • verifyMarginLeft(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-left in pixels.

Feedback and Knowledge Base