docs » cp.ui.Alert

Alert UI Module.

API Overview

  • Methods - API calls which can only be made on an object returned by a constructor

API Documentation



Signature cp.ui.Alert:containsText(value[, plain]) -> boolean
Type Method
Description Checks if there are any child text elements containing the exact text or pattern, from beginning to end.
  • * textPattern - The text pattern to check.
  • * plain - If `true`, the text will be compared exactly, otherwise it will be considered to be a pattern. Defaults to `false`.
  • * `true` if an element's `AXValue` matches the text pattern exactly.

results matching ""

    No results matching ""