Skip to content

storeFontSize (UI Automation - Manipulation)

Compatible with:
  • Purpose
  • This command is used to retrieve the css font-size attribute value applied to that element.It returns font-size in pixels.
  • Syntax
  • storeFontSize(locator, variableName)
  • Target
  • locator - an element locator pointing to an element OR an element itself
  • Value
  • variableName
  • Return Value
  • It returns font-size in pixels.
 

Feedback and Knowledge Base