Skip to content

assertBorderWidth (UI Automation - Interrogation)

Compatible with:
  • Purpose
  • Generated from getBorderWidth(locator)
  • Retrieves the CSS border-width attribute value applied to that element
  • Syntax
  • assertBorderWidth(locator, pattern)
  • Target
  • locator - An element locator pointing to an element OR an element itself
  • Value
  • Pattern - The border-width to be verified.
  • Return Value
  • border-width in pixels.

Feedback and Knowledge Base