Skip to content

verifyNotFontWeight (UI Automation - Interrogation)

  • Purpose
  • Generated from getFontWeight(locator)
  • Retrieves the CSS font-weight attribute value applied to that element.
  • It returns true if the font-weight of text at the locator in the target is not the same as the value.
  • Syntax
  • verifyNotFontWeight(locator, pattern)
  • Target
  • locator - An element locator pointing to an element OR an element itself
  • Value
  • N/A
  • Return Value
  • Returns the font-weight in pixels.
 
 
 
 
 
 

Feedback and Knowledge Base