Skip to content

waitForMarginRight (UI Automation - Synchronization)

Compatible with:
  • Purpose
  • Generated from getMarginRight(locator)
  • This command waits for the CSS margin-right attribute value applied to that element.
  • waitForMarginRight(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-right in pixels.

Feedback and Knowledge Base