# Capture the Current Application URL in Scenario Editor

Suppose you want to extract the URL of the application. Below is the method to extract it.

\_eval("window.location.href")

![](https://docs.appvance.net/uploads/images/gallery/2026-07/scaled-1680-/eMFjBQ48JqgZklup-0bd77185970e.png)---

If you have any feedback on this topic, please contact us at <documentation@appvance.ai>

Last updated: October 16, 2026