Skip to content

waitForMarginTop (UI Automation - Synchronization)

Compatible with:
  • Purpose
  • Generated from getMarginTop(locator)
  • This command waits for the CSS margin-top attribute value applied to that element.
  • waitForMarginTop(locator, pattern)
  • Target
  • locator - An element locator pointing to an element OR an element itself.
  • Value
  • pattern - The value to be verified.
  • Return Value
  • The margin-top in pixels.

Feedback and Knowledge Base