assertTextAlign (UI Automation - Interrogation)
Compatible with:
- Purpose
- Generated from getTextAlign(locator)
- This command is used to verify if the retrieved text-align - css attribute applied on that element matches with the pattern given in Value.
- Syntax
- assertTextAlign(locator, pattern)
- Target
- locator
- Value
- pattern
- Return Value
- Returns true if the pattern matches the text, false otherwise.