Skip to content

storeOpacity (UI Automation - Manipulation)

Compatible with:
  • Purpose 
  • Generated from getOpacity(locator)
  • Retrieves the CSS opacity attribute value applied to that element.
  • Syntax
  • storeOpacity(locator, variableName)
  • Target
  • locator - An element locator pointing to an element OR an element itself.
  • Value
  • variableName - A variable to store.
  • Return Value
  • The opacity value.
 

Feedback and Knowledge Base