Skip to content

verifyMarginBottom (UI Automation - Interrogation)

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

Feedback and Knowledge Base