Skip to content

verifyOpacity (UI Automation - Interrogation)

Compatible with:
  • Purpose 
  • Generated from getOpacity(locator)
  • This command retrieves the CSS opacity attribute value applied to that element.
  • Syntax
  • verifyOpacity(locator, pattern)
  • Target
  • locator - An element locator pointing to an element OR an element itself.
  • Value
  • pattern - The pattern to be verified.
  • Return Value
  • The opacity value.
 

Feedback and Knowledge Base