assertTitle (UI Automation - Interrogation)
Compatible with:
- Purpose
- Generated from getTitle()
- This command is used to verify if the title of the current page matches the pattern given in Target.
- Syntax
- assertTitle(pattern)
- Target
- pattern - title
- Value
- N/A
- Return Value
- Returns true if the title matches with target pattern, false otherwise.