Skip to content

storeFontWeight (UI Automation - Manipulation)

Compatible with:
  • Purpose 
  • Generated from getFontWeight(locator)
  • Retrieves the CSS font-weight attribute value applied to that element
  • Syntax
  • storeFontWeight(locator, variableName)
  • Target
  • locator - An element locator pointing to an element OR an element itself.
  • Value
  • variableName - An identifier used to store the aforementioned property.
  • Return Value
  • The font-weight in pixels.
 
 

Feedback and Knowledge Base