assertLocation (UI Automation - Interrogation)
Compatible with:
- Purpose
- Generated from getLocation()
- Gets the absolute URL of the current page and compares it with the pattern given in Target.
- This command is useful for verifying the absolute URL of the current page.
- Syntax
- assertLocation(pattern)
- Target
- pattern
- Value
- N/A
- Return Value
- Returns true or false