Skip to main content

Capture the Current Application URL in Scenario Editor

Capture the Current Application URL in Scenario Editor

Capture the current URL when a Scenario Editor test needs to verify navigation, store a deep link, or include location evidence in execution output.

  • Use URL validation for navigation outcomes, redirects, or route-specific behavior.
  • Avoid hard-coding environment-specific hosts in reusable scenarios.
  • Compare only the stable URL parts needed by the test.
  • Mask or avoid logging sensitive query parameters.

Validation workflow

  1. Navigate to the target flow.
  2. Wait for the page to finish loading or for a stable route marker.
  3. Capture the current URL.
  4. Validate the expected path, domain, or parameter according to the test objective.

Last updated: September 20, 2026