Skip to content

waitForFontStyle (UI Automation - Synchronization)

Compatible with:
  • Purpose
  • Generated from getFontStyle(locator)
  • This command waits for the CSS font-style attribute value applied to that element.
  • waitForFontStyle(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 font-family.

Feedback and Knowledge Base